/* styles.css */

/* Local heading font (Galano) - keep ONLY this import block as requested */
@font-face {
  font-family: "Galano";
  src: url("fonts/galano.woff2") format("woff2"),
       url("fonts/galano.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-body: "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --font-heading: "Galano", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;

  /* Frame controls */
  --frame-inset: 3px; /* distance from viewport edge to frame */
  --frame-width: 8px;  /* thickness of frame */
}

/* Basic reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

/* Minimal scrollbar (default) */
html {
  scrollbar-width: thin; /* Firefox */
  scrollbar-color: rgba(0, 0, 0, 0.35) transparent; /* thumb track */
}

/* WebKit scrollbar styling (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.28);
  border-radius: 999px;
  border: 3px solid transparent; /* creates a slimmer-looking thumb */
  background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.38);
  border: 3px solid transparent;
  background-clip: content-box;
}

/* OPTIONAL: fully hide scrollbar but keep scrolling.
   If you want this, uncomment the block below. */
/*
html {
  scrollbar-width: none;
}
body::-webkit-scrollbar {
  display: none;
}
*/

body {
  min-height: 100vh;
  margin: 0;

  color: #0c0c0f;
  font-family: var(--font-body);
  line-height: 1.35;
  font-size: font-size: clamp(17px, calc(16.27px + 0.194vw), 20px);

  /* Keep content away from the inset frame */
  padding: calc(var(--frame-inset) + var(--frame-width));

  /* Prevent accidental horizontal scroll */
  overflow-x: hidden;
}

/* Inset frame */
body::before {
  content: "";
  position: fixed;
  inset: var(--frame-inset);
  border: var(--frame-width) solid #000;
  pointer-events: none;
  z-index: 9999;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
}

.center {
  text-align: center;
}

.mt-md { margin-top: 12px; }
.mt-lg { margin-top: 22px; }
.mt-xl { margin-top: 34px; }
.mt-2xl { margin-top: 52px; }

.muted {
  color: rgba(12, 12, 15, 0.62);
}

.small {
  font-size: 14px;
}

.italic {
  font-style: italic;
}

/* Headings */
.hero-title,
.h2,
.h3,
.brand-name,
.btn,
.mode-tag,
.step-num {
  font-family: var(--font-heading);
  font-weight: 700;
}

/* Accents */
.accent-blue { color: #19a7ff; }
.accent-pink { color: #ff3aa6; }
.accent-teal { color: #16b88a; }
.accent-purple { color: #6d53ff; }

/* Header / Nav */
.site-header {
  position: sticky;
  /* Sticky should respect the inset frame and padding */
  top: calc(var(--frame-inset) + var(--frame-width));
  z-index: 20;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.02em;
  user-select: none;
}

.brand-logo {
width: auto;
  display: block;
  max-height: 1.8vw;
}

.brand-name {
  font-size: 12px;
  color: #1a4cff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 20px;
  color: #7252DF;
}



.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  border-radius: 10px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(109, 83, 255, 0.85);
  margin: 4px 0;
  border-radius: 2px;
}

/* Hero */
.hero {
  padding: 56px 0 38px;
}

.hero-inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 16px;
}

.hero-title {
  font-size: clamp(34px, 4.3vw, 56px);
  line-height: 0.9;
  margin: 0;
}

.hero-subtitle {
  margin: 0;
  font-size: 24px;
  padding: 40px 0;
  line-height: 1.25;
}

.hero-actions {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.hero-note {
  margin: 0;
  font-size: 12px;
  color: rgba(12, 12, 15, 0.50);
}

/* Divider line */
.section-divider {
  height: 1px;
  background: rgba(0, 0, 0, 0.7);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 6px;
  letter-spacing: 0.01em;
  border: 2px solid rgba(0, 0, 0, 0.9);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.9);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.9);
  text-decoration: none;
}

.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.9);
}

.btn-primary {
  background: #18b86f;
  color: #06110c;
}

/* Placeholder images */
.img-placeholder {
  border-radius: 14px;
  border: 1px dashed rgba(0, 0, 0, 0.25);
  display: grid;
  place-items: center;
  color: rgba(12, 12, 15, 0.55);
  font-weight: 700;
  text-transform: none;
}

.img-placeholder span {
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.img-hero {
  width: min(420px, 85vw);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  border-style: dashed;
}

.img-wide {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
}

.img-tall {
  width: 100%;
  aspect-ratio: 4 / 5;
}

/* Vibe section */
.vibe {
  padding: 54px 0 10px;
}

.vibe-inner {
  display: grid;
  place-items: center;
}

/* Sections */
.section {
  padding: 60px 0;
}

.section-tight {
  padding: 48px 0;
}

.kicker {
  font-size: 12px;
  line-height: 1.45;
  margin: 0 0 18px;
}

.h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.02;
  margin: 0;
  letter-spacing: -0.02em;
}

.h3 {
  font-size: 16px;
  margin: 0 0 6px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
}

.align-center {
  align-items: center;
}

.stack {
  display: grid;
  gap: 14px;
}

/* Swap list */
.swaplist {
  margin: 26px auto 0;
  width: min(820px, 100%);
  display: grid;
  gap: 14px;
}

.swaprow {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.swap-left {
  text-align: right;
}

.swap-right {
  text-align: left;
}

.swap-arrow {
  text-align: center;
  color: #19a7ff;
  font-weight: 900;
}

/* Modes list */
.modes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 13px;
}

.mode-tag {
  display: inline-block;
  min-width: 70px;
  letter-spacing: 0.02em;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: rgba(0, 0, 0, 0.04);
  margin-right: 10px;
}

/* Steps */
.steps {
  display: grid;
  gap: 18px;
}

.step {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #ff3aa6;
  border: 2px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.14);
}

/* FAQ */
.faq {
  padding: 18px 18px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.65);
}

.faq-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(12, 12, 15, 0.62);
  display: grid;
  gap: 8px;
  font-size: 13px;
}

/* CTA */
.cta {
  padding: 72px 0;
}

.cta-inner {
  display: grid;
  justify-items: center;
  gap: 8px;
}

/* Footer */
.site-footer {
  padding: 26px 0 34px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.65);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(12, 12, 15, 0.70);
}

.footer-logo {
  width: 18px;
  height: 18px;
  display: block;
}

.footer-brand {
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 18px;
  font-size: 12px;
  color: rgba(12, 12, 15, 0.55);
}

/* Responsive */
@media (max-width: 860px) {
  .container {
    width: min(1040px, calc(100% - 28px));
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(56px + var(--frame-inset));
    right: calc(14px + var(--frame-inset));
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
  }

  .nav-links.is-open {
    display: flex;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .swaprow {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .swap-left,
  .swap-right {
    text-align: left;
  }

  .swap-arrow {
    display: none;
  }

  .hero {
    padding: 44px 0 30px;
  }

  .hero-subtitle {
    font-size: 13px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .btn {
    width: 100%;
    max-width: 340px;
  }

  .img-hero {
    width: min(320px, 82vw);
  }
}
