/* =========================================================
   Filaquote landing — "maker studio", logo-matched palette
   bright + tactile, cool tones drawn from the woven-filament
   app icon (pink -> violet -> blue -> cyan).
   ========================================================= */

:root {
  /* cool paper surfaces (match the logo's light tile) */
  --bg:        #F5F6FB;
  --bg-2:      #EAECF6;
  --surface:   #FFFFFF;
  --surface-2: #FAFBFE;
  --line:      rgba(26,24,48,0.10);
  --line-2:    rgba(26,24,48,0.17);

  /* cool ink text */
  --text:  #1A1830;
  --muted: #595772;
  --faint: #8C8AA6;

  /* logo gradient: pink -> violet -> blue */
  --g-pink:   #FF3DA6;
  --g-violet: #8B3DF0;
  --g-blue:   #4F6BFF;
  --hot:      linear-gradient(100deg, #FF3DA6, #8B3DF0 48%, #4F6BFF);
  --hot-soft: linear-gradient(120deg, rgba(255,61,166,.12), rgba(79,107,255,.12));
  --accent-ink: #C21C90;   /* readable magenta for text on light */

  /* cyan pop (the logo's cool strands) */
  --cyan: #06B6D4;

  --radius:    22px;
  --radius-sm: 14px;
  --container: 1180px;
  --ease: cubic-bezier(.2,.7,.2,1);

  --shadow-soft: 0 18px 40px -22px rgba(26,24,48,.30);
  --shadow-hot:  0 22px 50px -24px rgba(139,61,240,.45);

  --font-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* cool graph-paper grid across the page */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(26,24,48,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,24,48,.04) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(130% 95% at 50% 0%, #000 30%, transparent 78%);
  mask-image: radial-gradient(130% 95% at 50% 0%, #000 30%, transparent 78%);
  pointer-events: none; z-index: 0;
}

/* faint paper grain */
.grain {
  position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .02; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.container--narrow { max-width: 820px; }

.grad { background: var(--hot); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn {
  --pad: .74rem 1.2rem;
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  letter-spacing: -.01em; padding: var(--pad); border-radius: 999px;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
  white-space: nowrap;
}
.btn--lg { --pad: .98rem 1.7rem; font-size: 1.02rem; }
.btn--block { width: 100%; justify-content: center; }
.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--solid {
  color: #fff; background: var(--hot);
  box-shadow: var(--shadow-hot), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 28px 60px -24px rgba(139,61,240,.6), inset 0 1px 0 rgba(255,255,255,.45); }

.btn--ghost {
  color: var(--text); background: var(--surface); border-color: var(--line-2);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--text); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(245,246,251,.9), rgba(245,246,251,.62)); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.nav.is-stuck { border-color: var(--line); box-shadow: 0 8px 24px -20px rgba(26,24,48,.5); }
.nav__inner { display: flex; align-items: center; gap: 1.4rem; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand__mark { display: grid; place-items: center; }
.brand__mark img { width: 32px; height: 32px; border-radius: 9px; display: block; box-shadow: 0 6px 16px -8px rgba(139,61,240,.5); }
.footer__brand .brand__mark img { width: 26px; height: 26px; border-radius: 7px; }
.nav__links { display: flex; gap: 1.5rem; margin-left: auto; font-size: .94rem; color: var(--muted); font-weight: 500; }
.nav__links a { transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__cta { display: flex; gap: .6rem; }
.nav__burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(4rem,9vw,7rem); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); }
.blob--a { width: 520px; height: 520px; top: -160px; right: -120px; background: radial-gradient(circle, rgba(255,61,166,.4), transparent 66%); }
.blob--b { width: 480px; height: 480px; bottom: -200px; left: -140px; background: radial-gradient(circle, rgba(79,107,255,.34), transparent 66%); }
.blob--c { width: 640px; height: 640px; top: 50%; left: 50%; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(139,61,240,.3), transparent 64%); }
.grid-plane {
  position: absolute; inset: auto -10% -30% -10%; height: 60%;
  background-image: linear-gradient(rgba(6,182,212,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(6,182,212,.3) 1px, transparent 1px);
  background-size: 38px 38px; transform: perspective(600px) rotateX(62deg); opacity: .5;
  -webkit-mask-image: linear-gradient(transparent, #000 60%); mask-image: linear-gradient(transparent, #000 60%);
}

.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
  padding: .42rem .85rem; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-soft); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(6,182,212,.18); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { opacity: .4; } }

.hero__title { font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; line-height: .98;
  font-size: clamp(2.7rem, 6.6vw, 5rem); margin: 1.2rem 0 1rem; }
.hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.24rem); color: var(--muted); max-width: 31ch; }
.hero__actions { display: flex; gap: .8rem; margin: 1.9rem 0 1.4rem; flex-wrap: wrap; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 1.1rem; color: var(--faint); font-size: .88rem; font-family: var(--font-mono); }

/* hero demo: light viewer card */
.hero__demo { position: relative; }
.viewer { position: relative; background: var(--surface); border: 1.5px solid var(--line-2);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft);
  animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-10px); } }
.viewer__bar { display: flex; align-items: center; gap: .45rem; padding: .75rem .95rem; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.vdot { width: 10px; height: 10px; border-radius: 50%; background: #DADCEC; }
.vdot:nth-child(1){ background:#FF3DA6; } .vdot:nth-child(2){ background:#8B3DF0; } .vdot:nth-child(3){ background:#06B6D4; }
.viewer__file { margin-left: auto; font-family: var(--font-mono); font-size: .74rem; color: var(--faint); }

.viewer__stage { position: relative; height: 246px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(120% 85% at 50% 25%, rgba(6,182,212,.1), rgba(139,61,240,.07) 70%, transparent); }
.plate { position: absolute; bottom: 38px; width: 72%; height: 60px;
  background-image: linear-gradient(rgba(6,182,212,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(6,182,212,.5) 1px, transparent 1px);
  background-size: 22px 22px; transform: perspective(420px) rotateX(64deg); opacity: .6;
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent); mask-image: radial-gradient(closest-side, #000, transparent); }

/* rotating cube — logo gradient faces */
.cube { position: relative; width: 92px; height: 92px; transform-style: preserve-3d; animation: spin 14s linear infinite; margin-bottom: 26px; }
@keyframes spin { from { transform: rotateX(-22deg) rotateY(0); } to { transform: rotateX(-22deg) rotateY(360deg); } }
.face { position: absolute; width: 92px; height: 92px; border: 1.5px solid rgba(139,61,240,.45);
  background: linear-gradient(135deg, rgba(255,61,166,.5), rgba(79,107,255,.42)); }
.f1 { transform: rotateY(0deg) translateZ(46px); }
.f2 { transform: rotateY(90deg) translateZ(46px); }
.f3 { transform: rotateY(180deg) translateZ(46px); }
.f4 { transform: rotateY(-90deg) translateZ(46px); }
.f5 { transform: rotateX(90deg) translateZ(46px); }
.f6 { transform: rotateX(-90deg) translateZ(46px); }
.scanline { position: absolute; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 12px rgba(6,182,212,.85); animation: scan 3.4s ease-in-out infinite; }
@keyframes scan { 0%,100% { top: 18%; } 50% { top: 78%; } }

.specs { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); }
.spec { padding: .72rem .8rem; border-right: 1px solid var(--line); }
.spec:last-child { border-right: 0; }
.spec__k { display: block; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .06em; color: var(--faint); }
.spec__v { display: block; font-family: var(--font-mono); font-size: .9rem; font-weight: 700; color: var(--text); margin-top: 2px; }

.quote { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-top: 1px solid var(--line); background: var(--surface-2); }
.quote__label { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .08em; color: var(--faint); }
.quote__price { font-family: var(--font-display); font-weight: 800; font-size: 1.85rem; letter-spacing: -.02em; margin-right: auto;
  background: var(--hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
.quote__price .cur { font-size: 1.1rem; vertical-align: top; }
.quote__btn { font-family: var(--font-display); font-weight: 700; font-size: .85rem; color: #fff; background: var(--hot);
  border: 0; border-radius: 999px; padding: .58rem 1.05rem; cursor: default; box-shadow: var(--shadow-hot); }

.float-chip { position: absolute; font-family: var(--font-mono); font-size: .72rem; font-weight: 700; color: var(--text);
  background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 999px; padding: .45rem .8rem; box-shadow: var(--shadow-soft); }
.chip--1 { top: 6%; left: -24px; animation: floaty 6s ease-in-out infinite; }
.chip--1::before { content: "●"; color: #2B2B2B; margin-right: .4rem; }
.chip--2 { bottom: 14%; right: -20px; animation: floaty 8s ease-in-out .6s infinite; }
.chip--2::before { content: "⚡"; color: var(--cyan); margin-right: .35rem; }

/* ---------- stats band ---------- */
.stats { background: var(--surface); border-top: 1px solid var(--line); }
.stats__inner { display: grid; grid-template-columns: repeat(3, 1fr); padding: 2.6rem 24px; text-align: center; }
.stat { display: grid; gap: .35rem; padding: .2rem 1rem; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.3rem, 5.2vw, 3.1rem); letter-spacing: -.03em; line-height: 1;
  background: var(--hot); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

/* ---------- trust strip ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.strip__inner { padding: 1.6rem 24px; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.strip__label { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .03em; color: var(--faint); text-transform: uppercase; }
.strip__items { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; justify-content: center;
  font-family: var(--font-display); font-weight: 700; color: var(--muted); letter-spacing: -.01em; }
.strip__items span { transition: color .2s; }
.strip__items span:hover { color: var(--text); }
.strip__sep { width: 1px; height: 16px; background: var(--line-2); }

/* ---------- sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { max-width: 720px; margin-bottom: 3rem; }
.kicker { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); font-weight: 700; }
.kicker--mute { color: var(--faint); }
.sec-title { font-family: var(--font-display); font-weight: 800; letter-spacing: -.025em; line-height: 1.02;
  font-size: clamp(1.95rem, 4vw, 3rem); margin: .7rem 0 .6rem; }
.sec-lede { color: var(--muted); font-size: 1.1rem; }

/* ---------- split (problem/solution) ---------- */
.split__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.split__col { padding: 2rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-soft); }
.split__col--hot { background: linear-gradient(160deg, #FCEFFA, #EEF1FF 80%); border-color: rgba(139,61,240,.26); }
.split__h { font-family: var(--font-display); font-weight: 800; font-size: 1.62rem; letter-spacing: -.02em; margin: .5rem 0 1.1rem; }
.cons, .pros { list-style: none; display: grid; gap: .8rem; }
.cons li, .pros li { position: relative; padding-left: 1.7rem; color: var(--muted); }
.cons li::before { content: "✕"; position: absolute; left: 0; color: var(--faint); font-weight: 700; }
.pros li { color: var(--text); }
.pros li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-ink); font-weight: 800; }

/* ---------- steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
.step { position: relative; padding: 2rem 1.7rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface);
  box-shadow: var(--shadow-soft); transition: transform .3s var(--ease), border-color .3s; }
.step:hover { transform: translateY(-6px); border-color: rgba(139,61,240,.3); }
.step__no { font-family: var(--font-mono); font-size: .85rem; font-weight: 700; color: #fff; background: var(--hot);
  display: inline-block; padding: .3rem .7rem; border-radius: 9px; margin-bottom: 1.1rem; box-shadow: var(--shadow-hot); }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.24rem; letter-spacing: -.02em; margin-bottom: .55rem; }
.step p { color: var(--muted); font-size: .98rem; }

/* ---------- bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.card { position: relative; padding: 1.7rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface);
  box-shadow: var(--shadow-soft); overflow: hidden; transition: transform .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-6px); border-color: rgba(139,61,240,.28); }
.card--wide { grid-column: span 2; }
.card--accent { background: linear-gradient(160deg, #FBEFFA, var(--surface) 62%); border-color: rgba(255,61,166,.28); }
.card--global { background: linear-gradient(160deg, #ECFAFE, var(--surface) 62%); border-color: rgba(6,182,212,.3); }
.card__icon { font-size: 1.45rem; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px;
  background: var(--hot-soft); border: 1.5px solid var(--line); margin-bottom: 1rem; }
.card--global .card__icon { background: linear-gradient(135deg, rgba(6,182,212,.2), rgba(6,182,212,.08)); }
.card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; margin-bottom: .5rem; }
.card p { color: var(--muted); font-size: .96rem; }
.card__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.card__meta span { font-family: var(--font-mono); font-size: .72rem; font-weight: 700; color: var(--muted);
  padding: .28rem .65rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface-2); }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; align-items: start; }
.plan { position: relative; padding: 2.1rem 1.9rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-soft); }
.plan--featured { background: linear-gradient(170deg, #FBEFFA, #EEF1FF 75%); border-color: rgba(139,61,240,.4);
  box-shadow: var(--shadow-hot); transform: translateY(-8px); }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-family: var(--font-mono); font-size: .66rem;
  letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--hot); padding: .32rem .85rem; border-radius: 999px; font-weight: 700; box-shadow: var(--shadow-hot); }
.plan__name { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; letter-spacing: .01em; text-transform: uppercase; color: var(--muted); }
.plan--featured .plan__name { color: var(--accent-ink); }
.plan__price { font-family: var(--font-display); font-weight: 800; font-size: 3.3rem; letter-spacing: -.04em; margin: .4rem 0 .2rem; line-height: 1; }
.plan__price .cur { font-size: 1.4rem; vertical-align: super; }
.plan__price .per { font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--faint); letter-spacing: 0; }
.plan__tag { color: var(--muted); font-size: .95rem; margin-bottom: 1.4rem; }
.plan__list { list-style: none; display: grid; gap: .7rem; margin-bottom: 1.6rem; }
.plan__list li { position: relative; padding-left: 1.6rem; color: var(--muted); font-size: .96rem; }
.plan__list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-ink); font-weight: 800; }
.plan__list li strong { color: var(--text); }
.plan__list li:has(strong)::before { content: ""; }

/* ---------- faq ---------- */
.faq { display: grid; gap: .8rem; }
.qa { border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow-soft); overflow: hidden; transition: border-color .3s; }
.qa[open] { border-color: rgba(139,61,240,.4); }
.qa summary { list-style: none; cursor: pointer; padding: 1.15rem 1.35rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; letter-spacing: -.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa__plus { position: relative; width: 16px; height: 16px; flex: none; }
.qa__plus::before, .qa__plus::after { content: ""; position: absolute; background: var(--accent-ink); border-radius: 2px; transition: transform .3s var(--ease); }
.qa__plus::before { top: 7px; left: 0; width: 16px; height: 2px; }
.qa__plus::after { left: 7px; top: 0; width: 2px; height: 16px; }
.qa[open] .qa__plus::after { transform: rotate(90deg); opacity: 0; }
.qa p { padding: 0 1.35rem 1.25rem; color: var(--muted); }

/* ---------- final cta ---------- */
.cta { position: relative; padding: clamp(4rem,9vw,7rem) 0; text-align: center; overflow: hidden; }
.cta__bg { position: absolute; inset: 0; z-index: 0; }
.cta__inner { max-width: 720px; }
.cta__title { font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; line-height: 1; font-size: clamp(2.3rem,5.6vw,3.7rem); }
.cta__sub { color: var(--muted); font-size: 1.16rem; margin: 1rem 0 1.8rem; }
.cta__actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.cta__fine { font-family: var(--font-mono); font-size: .82rem; color: var(--faint); margin-top: 1.3rem; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 3.5rem 0 2rem; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.footer__brand p { color: var(--muted); margin-top: .8rem; max-width: 28ch; font-size: .95rem; }
.footer__cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.footer__col { display: grid; gap: .6rem; align-content: start; }
.footer__col h4 { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin-bottom: .3rem; }
.footer__col a { color: var(--muted); font-size: .95rem; transition: color .2s; }
.footer__col a:hover { color: var(--text); }
.footer__base { display: flex; justify-content: space-between; padding-top: 1.5rem; color: var(--faint); font-family: var(--font-mono); font-size: .8rem; flex-wrap: wrap; gap: .5rem; }
.footer__base a { color: var(--muted); border-bottom: 1px dotted var(--line-2); transition: color .2s, border-color .2s; }
.footer__base a:hover { color: var(--accent-ink); border-bottom-color: var(--accent-ink); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .cube, .scanline, .viewer, .float-chip, .eyebrow .dot { animation: none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__demo { max-width: 440px; margin: 0 auto; }
  .hero__sub { max-width: none; }
  .split__inner { grid-template-columns: 1fr; }
  .steps, .bento, .plans { grid-template-columns: 1fr; }
  .card--wide { grid-column: span 1; }
  .plan--featured { transform: none; }
  .footer__inner { grid-template-columns: 1fr; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; margin-left: auto; }
  .nav.is-open .nav__links { display: flex; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: .5rem 24px 1rem; box-shadow: var(--shadow-soft); }
  .nav.is-open .nav__links a { padding: .8rem 0; border-bottom: 1px solid var(--line); }
  .nav.is-open .nav__cta { display: flex; position: absolute; top: 70px; left: 0; right: 0; transform: translateY(190px); padding: 0 24px; }
}
@media (min-width: 600px) and (max-width: 900px) {
  .bento { grid-template-columns: repeat(2,1fr); }
  .card--wide { grid-column: span 2; }
}

/* =========================================================
   Guide / article pages (hub + spokes)
   ========================================================= */

/* breadcrumb */
.crumbs { padding: clamp(1.6rem, 4vw, 2.6rem) 0 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .78rem; color: var(--faint); }
.crumbs li { display: inline-flex; align-items: center; gap: .5rem; }
.crumbs li + li::before { content: "/"; color: var(--line-2); }
.crumbs a { color: var(--muted); transition: color .2s; }
.crumbs a:hover { color: var(--accent-ink); }
.crumbs [aria-current="page"] { color: var(--text); }

/* article shell */
.guide { padding: clamp(1.4rem, 3vw, 2.2rem) 0 clamp(3.5rem, 7vw, 5.5rem); }
.guide__head { max-width: 760px; margin-bottom: 2.4rem; }
.guide__title { font-family: var(--font-display); font-weight: 800; letter-spacing: -.03em; line-height: 1.04;
  font-size: clamp(2.1rem, 4.8vw, 3.4rem); margin: .9rem 0 .9rem; }
.guide__lede { color: var(--muted); font-size: clamp(1.06rem, 1.5vw, 1.22rem); max-width: 60ch; }
.guide__meta { font-family: var(--font-mono); font-size: .76rem; color: var(--faint); letter-spacing: .03em;
  display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-top: 1.1rem; }

.guide__author { font-size: .85rem; color: var(--muted); margin-top: .6rem; }
.guide__author a { color: var(--accent); text-decoration: none; }
.guide__author a:hover { text-decoration: underline; }

/* prose typography */
.prose { max-width: 760px; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.025em; line-height: 1.1;
  font-size: clamp(1.5rem, 3vw, 2.05rem); margin-top: 2.8rem; scroll-margin-top: 90px; }
.prose h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(1.15rem, 2vw, 1.38rem); margin-top: 1.9rem; }
.prose p, .prose li { color: var(--muted); font-size: 1.04rem; }
.prose strong { color: var(--text); font-weight: 700; }
.prose a { color: var(--accent-ink); border-bottom: 1px solid rgba(194,28,144,.3); transition: border-color .2s; }
.prose a:hover { border-bottom-color: var(--accent-ink); }
.prose ul, .prose ol { padding-left: 1.3rem; display: grid; gap: .55rem; }
.prose li::marker { color: var(--accent-ink); }
.prose code { font-family: var(--font-mono); font-size: .9em; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: 6px; padding: .12em .42em; color: var(--text); }

/* worked-example formula box */
.formula { background: linear-gradient(160deg, #FBEFFA, #EEF1FF 80%); border: 1.5px solid rgba(139,61,240,.26);
  border-radius: var(--radius); padding: 1.5rem 1.6rem; box-shadow: var(--shadow-soft); }
.formula__label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-ink); font-weight: 700; }
.formula__eq { font-family: var(--font-mono); font-size: 1.02rem; color: var(--text); margin-top: .7rem; line-height: 1.7; }

/* data table */
.prose table { width: 100%; border-collapse: collapse; font-size: .96rem; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden; }
.prose th, .prose td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.prose th { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--text); background: var(--surface-2); }
.prose tr:last-child td { border-bottom: 0; }
.prose td strong { color: var(--text); }

/* product callout */
.callout { margin-top: 2.6rem; background: var(--surface); border: 1.5px solid rgba(6,182,212,.3);
  border-radius: var(--radius); padding: 1.7rem 1.8rem; box-shadow: var(--shadow-soft);
  background-image: linear-gradient(160deg, #ECFAFE, var(--surface) 60%); }
.callout h3 { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; margin-bottom: .5rem; }
.callout p { color: var(--muted); margin-bottom: 1.1rem; }

/* related guides */
.related { margin-top: 3rem; }
.related__title { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--faint); font-weight: 700; margin-bottom: 1.1rem; }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.guide-card { display: block; padding: 1.5rem; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-soft); transition: transform .3s var(--ease), border-color .3s; }
.guide-card:hover { transform: translateY(-6px); border-color: rgba(139,61,240,.28); }
.guide-card__kicker { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-ink); font-weight: 700; }
.guide-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.14rem; letter-spacing: -.02em; margin: .5rem 0 .4rem; }
.guide-card p { color: var(--muted); font-size: .94rem; }

@media (max-width: 900px) {
  .related__grid { grid-template-columns: 1fr; }
  .prose table { display: block; overflow-x: auto; }
}
