/* ============================================================
   CreateDeck — type-led manifesto
   Brand DNA kept (near-black / Tiger Flame / Electric Sapphire),
   but the page is carried by enormous type and full-bleed color
   drenches. Anton = the poster voice. Archivo = everything you
   read. Spline Sans Mono = genuine telemetry only, never decoration.
   Flat & matte: depth from value, scale, and color, never glow.
   ============================================================ */

:root {
  --surface: #0A0A0A;
  --card: #161619;
  --elevated: #232327;
  --sunken: #050505;
  --bezel: #141417;

  --flame: #FE6237;
  --flame-dim: #D14C2A;
  --sapphire: #4164FF;
  --sapphire-dim: #3551D1;
  --gold: #FFB62E;
  --maya: #7CC3FF;

  --text: #FFFFFF;
  --muted: #9A9AA2;
  --tertiary: #5C5C63;
  --on-color: #0A0A0A;

  --hairline: rgba(255,255,255,0.10);
  --hairline-strong: rgba(255,255,255,0.18);

  --r-btn: 12px;
  --r-card: 18px;
  --r-card-lg: 26px;
  --r-pill: 999px;

  --display: "Anton", "Archivo", system-ui, sans-serif;
  --sans: "Archivo", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: "Spline Sans Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --shell: 1240px;
  --pad: clamp(20px, 5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--surface);
  color: var(--text);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
:focus-visible { outline: 2px solid var(--sapphire); outline-offset: 3px; border-radius: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--flame); color: var(--on-color); font-weight: 700;
  padding: 10px 16px; border-radius: var(--r-btn); transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 700; font-size: 0.95rem;
  text-transform: uppercase; letter-spacing: 0.05em; line-height: 1;
  padding: 15px 24px; border-radius: var(--r-btn); white-space: nowrap;
  transition: transform .22s var(--ease), background-color .22s var(--ease),
              color .22s var(--ease), filter .22s var(--ease), box-shadow .22s var(--ease);
}
.btn--lg { padding: 18px 30px; font-size: 1rem; }
.btn--xl { padding: 22px 38px; font-size: 1.1rem; }
.btn--full { width: 100%; }
.btn__apple { width: 1.05em; height: 1.2em; transform: translateY(-1px); fill: currentColor; }

.btn--primary { background: var(--flame); color: var(--on-color); }
.btn--primary:hover { filter: brightness(1.07); transform: translateY(-2px); }
.btn--primary:active { background: var(--flame-dim); filter: none; transform: translateY(0); }

.btn--line { background: transparent; color: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; }
.btn--line:hover { background: var(--text); color: var(--on-color); transform: translateY(-2px); }

.btn--ink { background: var(--on-color); color: var(--text); }
.btn--ink:hover { filter: brightness(1.6); transform: translateY(-2px); }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__word { font-family: var(--sans); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--hairline); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 70px; }
.nav__links { display: flex; gap: 30px; }
.nav__links a {
  font-family: var(--mono); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); transition: color .2s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__cta { padding: 11px 20px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-block: clamp(48px, 8vw, 110px) clamp(64px, 9vw, 120px); }
.hero__tag {
  font-family: var(--mono); font-size: clamp(0.78rem, 1vw, 0.92rem);
  text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted);
  display: flex; align-items: center;
}
.hero__tag::before {
  content: ""; width: 11px; height: 11px; background: var(--flame);
  border-radius: 2px; margin-right: 12px; flex: 0 0 auto;
}
.hero__title {
  margin-top: clamp(24px, 3vw, 40px);
  font-family: var(--display); font-weight: 400;
  font-size: clamp(3.6rem, 13.5vw, 13rem); line-height: 0.97;
  text-transform: uppercase; letter-spacing: -0.005em; color: var(--text);
}
.hero__line { display: block; }
.hero__line--flame { color: var(--flame); }

.hero__foot {
  margin-top: clamp(34px, 4.5vw, 60px);
  display: flex; justify-content: space-between; align-items: flex-start; gap: clamp(32px, 5vw, 64px);
}
.hero__pitch { max-width: 540px; min-width: 0; }
.hero__sub { font-size: clamp(1.1rem, 1.5vw, 1.4rem); color: var(--muted); line-height: 1.5; max-width: 42ch; }
.hero__cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__evidence { flex: 0 0 auto; width: clamp(186px, 18vw, 236px); margin-top: 4px; }

/* ---------- phone frame ---------- */
.phone { width: 100%; }
.phone__frame {
  background: var(--bezel); border: 1px solid var(--hairline-strong);
  border-radius: 42px; padding: 6px;
  box-shadow: 0 50px 90px -50px rgba(0,0,0,0.95);
}
.phone__screen {
  position: relative; aspect-ratio: 1206 / 2622; overflow: hidden;
  border-radius: 37px; background: var(--sunken);
}
.phone__screen img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   DRENCH (full-bleed color statements)
   ============================================================ */
.drench { position: relative; overflow: hidden; padding-block: clamp(80px, 12vw, 168px); }
.drench--flame { background: var(--flame); color: var(--on-color); }
.drench--sapphire { background: var(--sapphire); color: #fff; }
.drench__texture {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background: repeating-linear-gradient(90deg, transparent 0 7px, rgba(10,10,10,0.09) 7px 8px);
  -webkit-mask: radial-gradient(75% 80% at 92% 6%, #000, transparent 72%);
          mask: radial-gradient(75% 80% at 92% 6%, #000, transparent 72%);
}
.drench .shell { position: relative; z-index: 1; }

.statement {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.5rem, 6.2vw, 6.2rem); line-height: 0.98;
  text-transform: uppercase; letter-spacing: -0.005em; max-width: 17ch; color: inherit;
}
.drench__kicker {
  font-family: var(--mono); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.72); margin-bottom: 22px;
}
.drench__body {
  margin-top: 30px; font-size: clamp(1.1rem, 1.5vw, 1.5rem); line-height: 1.5; max-width: 58ch;
}
.drench--flame .drench__body { color: rgba(10,10,10,0.82); }
.drench--sapphire .drench__body { color: rgba(255,255,255,0.88); }

.drench--sapphire__inner { max-width: 980px; }
.loop {
  margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  font-family: var(--mono); font-size: clamp(0.85rem, 1.3vw, 1.05rem);
  text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.85);
}
.loop i { color: rgba(255,255,255,0.5); font-style: normal; }
.loop svg { width: 22px; height: 22px; color: rgba(255,255,255,0.6); }
.loop b { background: #fff; color: var(--on-color); padding: 6px 14px; border-radius: 8px; font-weight: 700; }

/* ============================================================
   FLOW
   ============================================================ */
.flow { padding-block: clamp(80px, 12vw, 170px); scroll-margin-top: 80px; }
.section-title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.7rem, 7vw, 7rem); line-height: 0.96;
  text-transform: uppercase; letter-spacing: -0.005em;
}
.steps { margin-top: clamp(40px, 6vw, 80px); }
.stepline {
  display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 60px);
  align-items: baseline; padding: clamp(26px, 3vw, 44px) 0; border-top: 1px solid var(--hairline);
  transition: background-color .3s var(--ease);
}
.stepline:last-child { border-bottom: 1px solid var(--hairline); }
.stepline__num {
  font-family: var(--display); font-size: clamp(2.6rem, 6vw, 5.5rem); line-height: 0.8;
  color: transparent; -webkit-text-stroke: 1.5px var(--hairline-strong);
  transition: -webkit-text-stroke-color .3s var(--ease), color .3s var(--ease);
}
.stepline__main { min-width: 0; }
.stepline__main h3 {
  font-weight: 800; font-size: clamp(1.5rem, 2.7vw, 2.5rem); line-height: 1.04; letter-spacing: -0.02em;
}
.stepline__main p { margin-top: 12px; color: var(--muted); font-size: 1.05rem; line-height: 1.5; max-width: 50ch; }
.stepline__tag {
  font-family: var(--mono); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--flame); align-self: center; white-space: nowrap;
}
.stepline:nth-child(even) .stepline__tag { color: var(--sapphire); }
.stepline:hover .stepline__num { -webkit-text-stroke-color: var(--flame); }
.stepline:nth-child(even):hover .stepline__num { -webkit-text-stroke-color: var(--sapphire); }

/* ============================================================
   EVIDENCE
   ============================================================ */
.evidence { padding-block: clamp(70px, 10vw, 150px); overflow: hidden; }
.evidence__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.evidence__head p { margin-top: 18px; color: var(--muted); font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.5; max-width: 56ch; }
.rail {
  display: flex; gap: clamp(18px, 2.5vw, 32px);
  overflow-x: auto; scroll-snap-type: x proximity;
  padding-inline: var(--pad); padding-bottom: 24px;
  max-width: calc(var(--shell) + var(--pad) * 2); margin-inline: auto;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail__item { flex: 0 0 auto; width: clamp(196px, 24vw, 258px); scroll-snap-align: center; }
.rail__item figcaption {
  margin-top: 16px; font-family: var(--mono); font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing { padding-block: clamp(80px, 12vw, 170px); scroll-margin-top: 80px; }
.pricing__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 60px); }
.toggle { display: inline-flex; gap: 4px; padding: 5px; background: var(--card); border: 1px solid var(--hairline); border-radius: var(--r-pill); }
.toggle__btn {
  padding: 10px 20px; border-radius: var(--r-pill);
  font-family: var(--mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); transition: color .25s var(--ease), background-color .25s var(--ease);
}
.toggle__btn.is-active { background: var(--sapphire); color: #fff; }

.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.plan {
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--r-card-lg); padding: clamp(28px, 3.5vw, 48px);
  display: flex; flex-direction: column;
}
.plan--pro { background: var(--flame); color: var(--on-color); border-color: transparent; }
.plan__name { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.85rem; color: var(--muted); }
.plan--pro .plan__name { color: rgba(10,10,10,0.7); }
.plan__price { font-family: var(--display); font-size: clamp(3.4rem, 6.5vw, 5.6rem); line-height: 0.82; margin-top: 18px; display: flex; align-items: flex-start; }
.plan__cur { font-size: 0.36em; margin-top: 0.5em; margin-right: 2px; }
.plan__per { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; align-self: flex-end; margin-bottom: 0.5em; margin-left: 8px; color: var(--muted); }
.plan--pro .plan__per { color: rgba(10,10,10,0.66); }
.plan__bill { margin-top: 12px; font-size: 0.92rem; color: var(--muted); min-height: 1.4em; }
.plan--pro .plan__bill { color: rgba(10,10,10,0.7); }
.plan__list { margin-top: 28px; display: grid; gap: 14px; flex: 1; }
.plan__list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.4; color: #d7d7db; }
.plan--pro .plan__list li { color: rgba(10,10,10,0.9); }
.plan__list svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; color: var(--sapphire); }
.plan--pro .plan__list svg { color: var(--on-color); }
.plan .btn { margin-top: 32px; }
.pricing__note { margin-top: 26px; color: var(--tertiary); font-size: 0.92rem; }

/* ============================================================
   PRIVACY
   ============================================================ */
.privacy { padding-block: clamp(80px, 12vw, 170px); scroll-margin-top: 80px; }
.privacy__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.privacy__inner > * { min-width: 0; }
.privacy__lede { margin-top: 22px; color: var(--muted); font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.55; max-width: 44ch; }
.link-arrow {
  margin-top: 30px; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.9rem;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--flame); }
.link-arrow:hover svg { transform: translateX(4px); }
.facts > div { padding: 26px 0; border-top: 1px solid var(--hairline); }
.facts > div:first-child { border-top: 0; padding-top: 0; }
.facts dt { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.78rem; color: var(--sapphire); margin-bottom: 10px; }
.facts dd { color: var(--muted); line-height: 1.55; max-width: 52ch; }

/* ============================================================
   CLOSER (flame drench)
   ============================================================ */
.closer { position: relative; overflow: hidden; background: var(--flame); color: var(--on-color); padding-block: clamp(88px, 14vw, 190px); text-align: center; }
.closer__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.closer__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.9rem, 9vw, 9rem); line-height: 0.96;
  text-transform: uppercase; letter-spacing: -0.005em; max-width: 15ch; color: var(--on-color);
}
.closer .btn { margin-top: clamp(32px, 4vw, 48px); }
.closer__meta { margin-top: 24px; font-family: var(--mono); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(10,10,10,0.66); }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { border-top: 1px solid var(--hairline); padding-block: clamp(56px, 8vw, 100px) 44px; }
.foot__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.foot__cry { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 5.5vw, 4.4rem); line-height: 0.96; text-transform: uppercase; }
.foot__cols { display: flex; flex-direction: column; gap: 36px; align-items: flex-start; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.foot__nav a { color: var(--muted); font-size: 0.98rem; transition: color .2s var(--ease); }
.foot__nav a:hover { color: var(--text); }
.foot__meta { display: flex; flex-direction: column; gap: 10px; font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.03em; color: var(--tertiary); }

/* ============================================================
   REVEAL
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in-view { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 40px; }
  .hero__evidence { width: 250px; }
  .privacy__inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .plans { grid-template-columns: 1fr; }
  .foot__inner { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 600px) {
  .stepline { grid-template-columns: auto 1fr; column-gap: 20px; row-gap: 4px; align-items: center; }
  .stepline__num { grid-row: span 2; align-self: start; }
  .stepline__tag { grid-column: 2; justify-self: start; align-self: start; order: -1; }
  .stepline__main { grid-column: 2; }
  .hero__cta .btn { width: 100%; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
