/* =====================================================================
   DayiAds — site.css
   Editorial monochrome system: warm paper, ink type, hairline rules,
   one signal color (cobalt) and product screenshots as the only "loud"
   surface. Mobile-first breakpoints at 1080 / 900 / 720 / 520.
   ===================================================================== */

:root {
  --paper: #f4f1ea;
  --paper-2: #edeae2;
  --paper-3: #e5e1d8;
  --white: #fffdf8;
  --ink: #0b0b0b;
  --ink-2: #171717;
  --ink-3: #242424;
  --muted: #5f5c55;
  --dim: #8b877d;
  --line: rgba(11, 11, 11, .15);
  --line-soft: rgba(11, 11, 11, .08);
  --line-inv: rgba(255, 253, 248, .16);
  --signal: #2e2bff;
  --signal-soft: rgba(46, 43, 255, .09);
  --ok: #0f7a4f;
  --warn: #9a5b00;
  --err: #b3261e;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shell: 1280px;
  --pad: clamp(20px, 4vw, 42px);
  --font-display: "Inter Tight", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--paper); }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  z-index: 200;
}
.skip:focus { left: 12px; top: 12px; }

.sr {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ------------------------------------------------------------- typography */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 550;
  letter-spacing: -.035em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow i {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px var(--signal-soft);
  flex: 0 0 auto;
}

.mono { font-family: var(--font-mono); font-size: .92em; letter-spacing: .01em; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.link:hover { border-color: currentColor; color: var(--signal); }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 26px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); background: var(--signal); border-color: var(--signal); color: #fff; }
.btn:active { transform: translateY(0); }

.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--ink); }

.btn--sm { height: 40px; padding: 0 18px; font-size: 13.5px; }
.btn--block { width: 100%; }

/* ------------------------------------------------------------------ head */

.announce {
  background: var(--ink);
  color: rgba(255, 253, 248, .86);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px var(--pad);
}
.announce span { display: inline-block; }

.head {
  position: sticky;
  top: 0;
  z-index: 90;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
}
.head__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 70px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 26px; height: 26px; color: var(--ink); }
.brand__word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -.045em;
}
.brand__word span { color: var(--signal); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav__link:hover { color: var(--ink); background: rgba(11, 11, 11, .045); }
.nav__link.is-active { color: var(--ink); }
.nav__link--auth { display: none; }

.head__actions { display: flex; align-items: center; gap: 12px; }
.head__signin { font-size: 14px; color: var(--muted); padding: 8px 4px; }
.head__signin:hover { color: var(--ink); }

.burger {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.burger span:not(.sr) {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.5px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 20.5px; }
.burger span:nth-child(3) { top: 25px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 76px);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent calc(25% - .5px), var(--line-soft) 25%, transparent calc(25% + .5px)),
    linear-gradient(90deg, transparent calc(50% - .5px), var(--line-soft) 50%, transparent calc(50% + .5px)),
    linear-gradient(90deg, transparent calc(75% - .5px), var(--line-soft) 75%, transparent calc(75% + .5px));
  opacity: .55;
  pointer-events: none;
}
.hero__top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.hero__title {
  font-size: clamp(44px, 7vw, 96px);
  line-height: .96;
  letter-spacing: -.05em;
  margin: 22px 0 0;
}
.hero__title em {
  font-style: normal;
  color: var(--signal);
}
.hero__title .thin {
  color: var(--dim);
  display: block;
  font-size: .52em;
  line-height: 1.02;
  letter-spacing: -.045em;
  margin-top: 10px;
}
.hero__aside {
  padding-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero__lede {
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.6;
  max-width: 42ch;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dim);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--signal); }

.hero__visual {
  position: relative;
  margin-top: clamp(34px, 5vw, 58px);
}
.window {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 40px 80px -50px rgba(11, 11, 11, .55), 0 2px 0 rgba(11, 11, 11, .04);
}
.window__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper-2);
}
.window__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.window__addr {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  color: var(--dim);
}
.window img { width: 100%; height: auto; }

.float-pill {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--white) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  box-shadow: 0 16px 30px -22px rgba(11, 11, 11, .7);
}
.float-pill i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(15, 122, 79, .16);
}
.float-pill--a { top: 9%; left: -14px; }
.float-pill--b { right: -12px; bottom: 14%; }
.float-pill--b i { background: var(--signal); box-shadow: 0 0 0 3px var(--signal-soft); }

/* ---------------------------------------------------------------- ticker */

.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background: var(--white);
  padding: 15px 0;
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 42px;
  width: max-content;
  animation: tick 46s linear infinite;
}
.ticker__track span {
  display: inline-flex;
  align-items: center;
  gap: 42px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.ticker__track b { color: var(--signal); font-weight: 400; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- section */

.sec {
  padding: clamp(58px, 8vw, 104px) 0;
  border-bottom: 1px solid var(--line-soft);
}
.sec--soft { background: var(--paper-2); }
.sec--white { background: var(--white); }
.sec--dark {
  background: var(--ink);
  color: var(--paper);
  border-bottom-color: var(--line-inv);
}
.sec--dark .sec__kicker,
.sec--dark .muted { color: rgba(255, 253, 248, .55); }
.sec--dark .sec__head { border-top-color: var(--line-inv); }
.sec--dark .eyebrow { color: rgba(255, 253, 248, .6); }
.sec--flush { padding-bottom: 0; border-bottom: 0; }

.sec__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  margin-bottom: clamp(30px, 4vw, 52px);
}
.sec__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 14px;
}
.sec__title {
  font-size: clamp(30px, 4.2vw, 54px);
  letter-spacing: -.045em;
  max-width: 24ch;
}
.sec__note {
  max-width: 34ch;
  color: var(--muted);
  font-size: 15px;
  padding-bottom: 6px;
}
.sec__head .link { flex: 0 0 auto; margin-bottom: 8px; }

/* ----------------------------------------------------------------- stats */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stat {
  padding: 26px 26px 26px 0;
  border-right: 1px solid var(--line-soft);
}
.stat:last-child { border-right: 0; }
.stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 46px);
  letter-spacing: -.04em;
  line-height: 1;
}
.stat__label {
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
}
.sec--dark .stats { border-top-color: var(--line-inv); }
.sec--dark .stat { border-right-color: var(--line-inv); }
.sec--dark .stat__label { color: rgba(255, 253, 248, .5); }

/* ---------------------------------------------------------------- formats */

.fmt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 26px);
}
.fmt-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.fmt-card:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 11, 11, .3);
  box-shadow: 0 30px 50px -40px rgba(11, 11, 11, .7);
}
.fmt-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.fmt-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.fmt-card:hover .fmt-card__media img { transform: scale(1.025); }
.fmt-card__index {
  position: absolute;
  top: 14px; left: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .1em;
  padding: 6px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--white) 88%, transparent);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line-soft);
}
.fmt-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.fmt-card__title { font-size: 24px; letter-spacing: -.035em; }
.fmt-card__desc { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.fmt-card__foot {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dim);
}
.fmt-card__foot b { color: var(--ink); font-weight: 500; }
.fmt-card__foot .arw { font-size: 15px; transition: transform .3s var(--ease); }
.fmt-card:hover .fmt-card__foot .arw { transform: translateX(4px); color: var(--signal); }

/* ----------------------------------------------------------------- split */

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(26px, 3.4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  min-height: 360px;
  overflow: hidden;
}
.panel--dark {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.panel--signal {
  background: var(--signal);
  color: #fff;
  border-color: var(--signal);
}
.panel__tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}
.panel--dark .panel__tag { color: rgba(255,253,248,.55); }
.panel--signal .panel__tag { color: rgba(255,255,255,.72); }
.panel__title { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.04em; max-width: 18ch; }
.panel__desc { font-size: 15px; color: var(--muted); max-width: 40ch; }
.panel--dark .panel__desc { color: rgba(255,253,248,.62); }
.panel--signal .panel__desc { color: rgba(255,255,255,.78); }
.panel__foot { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; }
.panel--signal .btn { background: #fff; border-color: #fff; color: var(--ink); }
.panel--signal .btn:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.panel--signal .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.panel--signal .btn--ghost:hover { background: #fff; color: var(--ink); }

/* ------------------------------------------------------------- capability */

.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.cap {
  padding: 28px 26px 30px 0;
  border-bottom: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  margin-right: 26px;
}
.cap:nth-child(3n) { border-right: 0; margin-right: 0; }
.cap__num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  color: var(--signal);
  margin-bottom: 16px;
}
.cap__title { font-size: 19px; letter-spacing: -.03em; margin-bottom: 10px; }
.cap__desc { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* ----------------------------------------------------------------- plans */

.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.plan:hover { transform: translateY(-3px); box-shadow: 0 26px 40px -36px rgba(11,11,11,.6); }
.plan--featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  position: relative;
}
.plan__badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
}
.plan--featured .plan__badge { border-color: var(--line-inv); color: rgba(255,253,248,.8); }
.plan__name { font-size: 20px; letter-spacing: -.03em; }
.plan__tag { font-size: 13.5px; color: var(--muted); line-height: 1.5; min-height: 40px; }
.plan--featured .plan__tag { color: rgba(255,253,248,.6); }
.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding: 16px 0 6px;
  border-top: 1px solid var(--line-soft);
}
.plan--featured .plan__price { border-top-color: var(--line-inv); }
.plan__price b {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 550;
  letter-spacing: -.045em;
  line-height: 1;
}
.plan__price span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.plan__feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 13.5px; color: var(--muted); }
.plan--featured .plan__feat { color: rgba(255,253,248,.72); }
.plan__feat li { display: flex; gap: 9px; line-height: 1.45; }
.plan__feat li::before { content: "—"; color: var(--signal); flex: 0 0 auto; }
.plan--featured .plan__feat li::before { color: #fff; }
.plan .btn { margin-top: auto; }
.plan .btn--ghost { border-color: var(--line); }
.plan--featured .btn--ghost { border-color: var(--line-inv); color: var(--paper); }

/* ----------------------------------------------------------------- quote */

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.quote {
  padding: 30px 30px 30px 0;
  border-right: 1px solid var(--line-soft);
  margin-right: 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.quote:last-child { border-right: 0; margin-right: 0; }
.quote__mark { font-family: var(--font-display); font-size: 34px; color: var(--signal); line-height: .6; }
.quote__text { font-size: 16.5px; line-height: 1.55; letter-spacing: -.012em; }
.quote__who { margin-top: auto; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.quote__who b { display: block; color: var(--ink); font-weight: 500; margin-bottom: 4px; }

/* --------------------------------------------------------------- rail/cards */

.rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 26px 40px -36px rgba(11,11,11,.6); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line-soft); background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card__meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.card__title { font-size: 19px; letter-spacing: -.03em; line-height: 1.2; }
.card__desc { font-size: 14px; color: var(--muted); line-height: 1.55; }
.card__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 13px; display: flex; justify-content: space-between; align-items: center; color: var(--dim); }
.card__foot b { color: var(--ink); font-weight: 500; }

/* ------------------------------------------------------------------ steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.step {
  padding: 26px 30px 10px 0;
  border-right: 1px solid var(--line-soft);
  margin-right: 30px;
}
.step:last-child { border-right: 0; margin-right: 0; }
.step__num { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--signal); }
.step__title { font-size: 21px; letter-spacing: -.03em; margin: 16px 0 10px; }
.step__desc { font-size: 14.5px; color: var(--muted); line-height: 1.6; }

/* -------------------------------------------------------------- cta band */

.cta-band {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(64px, 8vw, 110px) 0;
  border-top: 1px solid var(--ink);
}
.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: end;
}
.cta-band h2 {
  font-size: clamp(38px, 5.6vw, 74px);
  letter-spacing: -.05em;
  line-height: .98;
}
.cta-band h2 em { font-style: normal; color: rgba(255,253,248,.5); }
.cta-band__aside { display: flex; flex-direction: column; gap: 18px; }
.cta-band__aside p { color: rgba(255,253,248,.6); font-size: 15px; max-width: 34ch; }
.cta-band .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta-band .btn:hover { background: var(--signal); border-color: var(--signal); color: #fff; }
.cta-band .btn--ghost { background: transparent; color: var(--paper); border-color: var(--line-inv); }
.cta-band .btn--ghost:hover { background: var(--paper); color: var(--ink); }

/* ------------------------------------------------------------------ foot */

.foot { background: var(--paper); border-top: 1px solid var(--line); }
.foot__top {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: clamp(30px, 5vw, 70px);
  padding: 58px 0 46px;
}
.foot__brand { display: flex; flex-direction: column; gap: 16px; }
.foot__brand p { color: var(--muted); font-size: 14px; max-width: 30ch; line-height: 1.6; }
.foot__mail { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; border-bottom: 1px solid var(--line); align-self: flex-start; padding-bottom: 2px; }
.foot__mail:hover { color: var(--signal); border-color: currentColor; }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.foot__col h3 {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 16px;
}
.foot__col a { display: block; font-size: 13.5px; color: var(--muted); padding: 5px 0; transition: color .2s; }
.foot__col a:hover { color: var(--ink); }
.foot__word {
  font-family: var(--font-display);
  font-size: clamp(72px, 19vw, 250px);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: .78;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
  padding: 10px 0 0;
  user-select: none;
}
.foot__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dim);
}
.foot__bottom a:hover { color: var(--ink); }

/* ------------------------------------------------------------- inner pages */

.page-hero {
  padding: clamp(52px, 7vw, 88px) 0 clamp(38px, 5vw, 58px);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent calc(33.33% - .5px), var(--line-soft) 33.33%, transparent calc(33.33% + .5px)),
    linear-gradient(90deg, transparent calc(66.66% - .5px), var(--line-soft) 66.66%, transparent calc(66.66% + .5px));
  opacity: .5;
  pointer-events: none;
}
.page-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(30px, 5vw, 70px); align-items: end; }
.page-hero h1 {
  font-size: clamp(38px, 5.6vw, 74px);
  letter-spacing: -.05em;
  line-height: .98;
  margin-top: 20px;
}
.page-hero__lede { color: var(--muted); font-size: clamp(15px, 1.2vw, 17px); line-height: 1.6; max-width: 40ch; padding-bottom: 6px; }
.page-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.crumbs a:hover { color: var(--ink); }

/* ------------------------------------------------------------------ prose */

.prose { max-width: 720px; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.035em; margin: 44px 0 14px; }
.prose h3 { font-size: 20px; margin: 30px 0 10px; letter-spacing: -.02em; }
.prose p { color: var(--muted); font-size: 16.5px; line-height: 1.72; margin: 0 0 18px; }
.prose ul, .prose ol { color: var(--muted); font-size: 16px; line-height: 1.72; padding-left: 20px; margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); font-weight: 550; }
.prose a { border-bottom: 1px solid var(--line); }
.prose a:hover { color: var(--signal); border-color: currentColor; }
.prose blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--ink);
  font-size: 19px;
  letter-spacing: -.02em;
  line-height: 1.5;
}
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 34px 0; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(30px, 5vw, 80px); align-items: start; }
.article-side {
  position: sticky;
  top: 96px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13.5px;
  color: var(--muted);
}
.article-side h3 { font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 400; }
.article-side a { padding: 4px 0; }
.article-side a:hover { color: var(--ink); }

/* ------------------------------------------------------------------ forms */

.form-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
  padding: clamp(24px, 3vw, 36px);
}
.form-card h3 { font-size: 22px; letter-spacing: -.03em; margin-bottom: 6px; }
.form-card > p { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: start; }
.field { margin-bottom: 18px; }
.field:last-child { margin-bottom: 0; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  appearance: none;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(11, 11, 11, .06);
}
.field textarea { min-height: 116px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:disabled { opacity: .6; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field__hint { font-size: 12px; color: var(--dim); margin-top: 7px; line-height: 1.5; }
.field__hint a { border-bottom: 1px solid var(--line); }
.field-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin: 12px 0; line-height: 1.5; }
.field-check input { margin-top: 3px; accent-color: var(--ink); width: 15px; height: 15px; flex: 0 0 auto; }
.field-check a { border-bottom: 1px solid var(--line); }
.field-check a:hover { color: var(--ink); }
.form-note { font-size: 12px; color: var(--dim); margin-top: 14px; line-height: 1.55; }

/* --------------------------------------------------------------- auth page */

.auth-wrap {
  min-height: calc(100vh - 300px);
  display: grid;
  place-items: center;
  padding: clamp(40px, 6vw, 80px) var(--pad);
  position: relative;
  overflow: hidden;
}
.auth-wrap::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(40% 40% at 20% 20%, rgba(46,43,255,.05), transparent 70%),
    radial-gradient(50% 50% at 85% 80%, rgba(11,11,11,.05), transparent 70%);
  pointer-events: none;
}
.auth-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: 0 40px 80px -60px rgba(11,11,11,.7);
}
.auth-card h1 { font-size: 34px; letter-spacing: -.045em; margin-bottom: 8px; }
.auth-sub { color: var(--muted); font-size: 14px; margin-bottom: 26px; line-height: 1.6; }
.auth-card .btn { margin-top: 8px; }
.auth-alt { margin-top: 22px; font-size: 13.5px; color: var(--muted); text-align: center; }
.auth-alt a { border-bottom: 1px solid var(--line); }
.auth-alt a:hover { color: var(--ink); }

/* ---------------------------------------------------------------- account */

.order-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.side-panel {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper-2);
  padding: 26px 26px 28px;
}
.side-panel h3 { font-size: 19px; letter-spacing: -.03em; margin-bottom: 14px; }
.side-panel--accent { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.side-panel--accent h3 { color: var(--paper); }
.side-panel--accent .muted, .side-panel--accent .checklist li { color: rgba(255,253,248,.65); }
.side-panel--accent .order-line { border-color: var(--line-inv); }
.side-panel--accent .order-line__label { color: rgba(255,253,248,.55); }

.order-lines { display: flex; flex-direction: column; }
.order-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
}
.order-line:first-child { border-top: 1px solid var(--line-soft); }
.order-line__label { color: var(--dim); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding-top: 3px; }
.order-line__value { text-align: right; font-weight: 450; }
.order-line--total { border-bottom: 0; font-size: 17px; }
.order-line--total .order-line__value { font-family: var(--font-display); font-size: 24px; letter-spacing: -.03em; }

/* ------------------------------------------------------------------ table */

.table-wrap { border: 1px solid var(--line); border-radius: var(--r); overflow: auto; background: var(--white); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
  white-space: nowrap;
}
.table td { padding: 15px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table a { border-bottom: 1px solid var(--line); }
.table a:hover { color: var(--signal); border-color: currentColor; }
.table .mono { color: var(--muted); font-size: 12.5px; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
  white-space: nowrap;
}
.status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.st-wait { color: var(--warn); border-color: rgba(154,91,0,.3); background: rgba(154,91,0,.06); }
.st-paid { color: var(--ok); border-color: rgba(15,122,79,.3); background: rgba(15,122,79,.06); }
.st-progress { color: var(--signal); border-color: rgba(46,43,255,.3); background: var(--signal-soft); }
.st-done { color: var(--ok); border-color: rgba(15,122,79,.3); background: rgba(15,122,79,.06); }
.st-cancel { color: var(--err); border-color: rgba(179,38,30,.3); background: rgba(179,38,30,.06); }

/* ------------------------------------------------------------------- list */

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14px; color: var(--muted); }
.checklist li { display: flex; gap: 10px; line-height: 1.55; }
.checklist li::before { content: "—"; color: var(--signal); flex: 0 0 auto; }
.checklist b { color: var(--ink); font-weight: 550; }

/* ------------------------------------------------------------------- faq */

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.5vw, 20px);
  letter-spacing: -.025em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--dim);
  line-height: 1;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); color: var(--ink); }
.faq details p { color: var(--muted); font-size: 14.5px; line-height: 1.7; max-width: 72ch; padding: 0 0 24px; }

/* ------------------------------------------------------------- cpm table */

.cpm { width: 100%; border-collapse: collapse; font-size: 14px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--white); }
.cpm th, .cpm td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.cpm thead th {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.cpm tbody tr:last-child td { border-bottom: 0; }
.cpm td:first-child { font-weight: 500; }
.cpm td:not(:first-child) { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }

/* ------------------------------------------------------------------ flash */

.flash-stack { display: grid; gap: 8px; padding-top: 18px; }
.flash {
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
  border-radius: 10px;
  background: var(--white);
  padding: 12px 16px;
  font-size: 14px;
}
.flash--success { border-left-color: var(--ok); }
.flash--error { border-left-color: var(--err); }
.flash--info { border-left-color: var(--signal); }

/* ------------------------------------------------------------- popover etc */

.note {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--paper-2);
  padding: 20px 22px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.note b { color: var(--ink); }
.mt-24 { margin-top: 24px; }
.mt-12 { margin-top: 12px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }

.media-frame {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
}
.media-frame img { width: 100%; height: auto; }

.figure-cap { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-top: 10px; }

/* ------------------------------------------------------------- page blocks */

.page-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 70px); align-items: start; }
.page-split--wide { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }

.legal { max-width: 780px; }
.legal h2 { font-size: 22px; margin: 38px 0 12px; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--muted); font-size: 15px; line-height: 1.7; }
.legal ul { padding-left: 20px; margin: 10px 0 18px; }
.legal p { margin: 0 0 14px; }
.legal .updated { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }

/* --------------------------------------------------------------- reveal */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__track { animation: none; }
  .btn:hover, .card:hover, .fmt-card:hover, .plan:hover { transform: none; }
}

/* ------------------------------------------------------------ breakpoints */

@media (max-width: 1080px) {
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cap:nth-child(3n) { border-right: 1px solid var(--line-soft); margin-right: 26px; }
  .cap:nth-child(2n) { border-right: 0; margin-right: 0; }
  .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; }
}

@media (max-width: 900px) {
  .hero__top { grid-template-columns: 1fr; gap: 30px; align-items: start; }
  .hero__aside { max-width: 560px; }
  .page-hero__inner { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .split, .fmt-grid, .quote-grid, .rail, .steps, .cta-band__inner, .order-grid,
  .page-split, .page-split--wide, .form-grid, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
  .quote, .step, .cap { border-right: 0; margin-right: 0; }
  .quote { border-bottom: 1px solid var(--line-soft); padding-bottom: 26px; }
  .quote:last-child, .step:last-child { border-bottom: 0; }
  .foot__top { grid-template-columns: 1fr; }
  .float-pill--a { left: 8px; }
  .float-pill--b { right: 8px; }
  .nav {
    position: fixed;
    inset: 70px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px var(--pad) 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(11,11,11,.4);
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 13px 12px; font-size: 16px; border-radius: 10px; }
  .nav__link--auth { display: block; }
  .burger { display: inline-flex; }
  .head__signin { display: none; }
  .head__actions .btn { display: none; }
  .sec__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sec__head .link { margin-bottom: 0; }
}

@media (max-width: 640px) {
  .plan-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { padding-right: 16px; }
  .table { min-width: 560px; }
  .field-row { grid-template-columns: 1fr; }
  .hero__meta { gap: 8px 14px; }
  .float-pill { font-size: 9.5px; padding: 8px 12px; }
  .float-pill--a { top: 4%; }
  .float-pill--b { bottom: 6%; }
  .foot__cols { gap: 22px 16px; }
  .window__addr { display: none; }
  .cta-band h2 { font-size: clamp(32px, 9vw, 46px); }
}
