/* ═══════════════════════════════════════════════════════════
   ThirtyPosts — marketing site
   A deliberately narrow palette: one blue, black, white, and the
   neutrals that sit between them. Nothing else gets to be a colour,
   so the blue always means "this is the thing to click".
   Self-contained: the app's stylesheet is not loaded here.
   ═══════════════════════════════════════════════════════════ */

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

:root {
  /* The one colour */
  --blue:      #0B5CFF;
  --blue-700:  #0846C7;
  --blue-800:  #063494;
  --blue-100:  #D7E4FF;
  --blue-50:   #EFF4FF;

  /* Black → white, cooled very slightly so it belongs to the blue */
  --black:     #05070E;
  --ink:       #0A0D16;
  --ink-2:     #2B3242;
  --muted:     #626B7E;
  --faint:     #949CAC;
  --line:      #E3E8F1;
  --line-2:    #EFF2F8;
  --paper-2:   #F6F8FC;
  --white:     #FFFFFF;

  --radius:    14px;
  --radius-lg: 22px;
  --wrap:      1180px;

  --shadow-sm: 0 1px 2px rgba(5, 7, 14, .05);
  --shadow:    0 4px 16px -4px rgba(5, 7, 14, .09), 0 1px 3px rgba(5, 7, 14, .05);
  --shadow-lg: 0 28px 60px -20px rgba(5, 7, 14, .22), 0 8px 22px -12px rgba(5, 7, 14, .14);
  --shadow-blue: 0 22px 60px -18px rgba(11, 92, 255, .38);

  --ease: cubic-bezier(.22, .68, .28, 1);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { margin: 0; font-weight: 680; letter-spacing: -.028em; line-height: 1.1; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 44px); margin-inline: auto; }

/* Anchor targets clear the sticky header instead of hiding under it. */
section[id] { scroll-margin-top: 80px; }
.center { text-align: center; }
.mono { font-family: var(--mono); }

/* ── Type scale ─────────────────────────────────────────── */

.display {
  font-size: clamp(2.05rem, 6.4vw, 4.6rem);
  letter-spacing: -.042em;
  line-height: 1.04;
  font-weight: 700;
}
.h2 { font-size: clamp(1.72rem, 3.8vw, 3rem); letter-spacing: -.035em; line-height: 1.1; }
.h3 { font-size: clamp(1.15rem, 1.9vw, 1.4rem); letter-spacing: -.02em; }
.lead {
  font-size: clamp(1.03rem, 1.55vw, 1.2rem);
  color: var(--muted);
  line-height: 1.66;
  font-weight: 420;
}
.small { font-size: .9rem; }
.tiny  { font-size: .78rem; }
.muted { color: var(--muted); }
.balance { text-wrap: balance; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 650; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue);
}
.eyebrow::before {
  content: ''; width: 18px; height: 1.5px; background: var(--blue); border-radius: 2px;
}
.eyebrow.plain::before { display: none; }

/* ── Buttons ────────────────────────────────────────────── */

.btn {
  --btn-bg: var(--blue); --btn-fg: #fff; --btn-bd: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: 10px; cursor: pointer;
  font-size: .935rem; font-weight: 600; letter-spacing: -.01em;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  transition: transform .16s var(--ease), box-shadow .18s var(--ease), background .16s, color .16s, border-color .16s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1.5px); }
.btn:active { transform: translateY(0); }

.btn-primary { box-shadow: 0 6px 18px -6px rgba(11, 92, 255, .5); }
.btn-primary:hover { --btn-bg: var(--blue-700); --btn-bd: var(--blue-700); box-shadow: 0 12px 26px -8px rgba(11, 92, 255, .55); }

.btn-dark { --btn-bg: var(--black); --btn-bd: var(--black); }
.btn-dark:hover { --btn-bg: #12172a; --btn-bd: #12172a; }

.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn-outline:hover { --btn-bd: var(--ink); }

.btn-white { --btn-bg: #fff; --btn-fg: var(--blue); --btn-bd: #fff; }
.btn-white:hover { --btn-bg: var(--blue-50); --btn-bd: var(--blue-50); }

.btn-ghost-white { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.34); }
.btn-ghost-white:hover { --btn-bd: #fff; }

.btn-lg { padding: 15px 30px; font-size: 1rem; border-radius: 11px; }
.btn-sm { padding: 8px 15px; font-size: .86rem; border-radius: 8px; }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 570; color: var(--blue); font-size: .935rem;
}
.link-arrow svg { transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ── Header ─────────────────────────────────────────────── */

.header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.header.stuck { border-bottom-color: var(--line); box-shadow: 0 1px 20px -8px rgba(5,7,14,.12); }
.header .wrap { display: flex; align-items: center; gap: 30px; height: 66px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 680; letter-spacing: -.03em; font-size: 1.06rem; }
.logo-mark {
  width: 27px; height: 27px; border-radius: 8px; flex: none;
  background: var(--blue); color: #fff;
  display: grid; place-items: center;
  font-size: .74rem; font-weight: 750; letter-spacing: -.05em;
  box-shadow: 0 3px 9px -2px rgba(11,92,255,.5);
}
.logo-mark.on-dark { background: #fff; color: var(--blue); box-shadow: none; }

.header nav { display: flex; align-items: center; gap: 28px; margin-left: 6px; }
.header nav a { font-size: .91rem; font-weight: 500; color: var(--ink-2); transition: color .15s; }
.header nav a:hover { color: var(--blue); }
.header .spacer { flex: 1; }
.header-cta { display: flex; align-items: center; gap: 12px; }
.header-cta a[data-signin] { font-size: .91rem; font-weight: 550; color: var(--ink-2); }
.header-cta a[data-signin]:hover { color: var(--blue); }

.burger {
  display: none; width: 38px; height: 38px; border-radius: 9px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.burger span { display: block; width: 15px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger.open span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }

.mobile-menu {
  display: none; border-bottom: 1px solid var(--line); background: #fff;
  padding: 14px 0 22px;
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 11px 0; font-weight: 550; border-bottom: 1px solid var(--line-2); }
.mobile-menu .btn { margin-top: 16px; }

@media (max-width: 940px) {
  .header nav, .header-cta a[data-signin] { display: none; }
  .burger { display: flex; }
  .header .wrap { gap: 14px; }
}

/* ── Hero ───────────────────────────────────────────────── */

.hero { position: relative; padding: clamp(58px, 9vw, 104px) 0 0; overflow: hidden; }
.hero::before {
  /* Fine grid, fading out — structure without decoration. */
  content: ''; position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(to right, rgba(11,92,255,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,92,255,.055) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 110% 72% at 50% 0%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 110% 72% at 50% 0%, #000 35%, transparent 78%);
}
.hero::after {
  content: ''; position: absolute; z-index: -1;
  top: -260px; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(11,92,255,.16), transparent 62%);
  filter: blur(20px); pointer-events: none;
}

.hero-inner { max-width: 800px; margin-inline: auto; text-align: center; }

.badge-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 8px 6px 7px; border-radius: 99px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); font-size: .82rem; color: var(--ink-2); font-weight: 500;
}
.badge-pill b {
  background: var(--blue); color: #fff; border-radius: 99px;
  padding: 3px 9px; font-size: .7rem; font-weight: 650; letter-spacing: .02em;
}

.hero h1 { margin-top: 24px; }
.hero h1 .u {
  position: relative; color: var(--blue); white-space: nowrap;
}
.hero h1 .u::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: .04em; height: .1em;
  background: var(--blue-100); border-radius: 99px; z-index: -1;
}
.hero .lead { margin: 22px auto 0; max-width: 590px; }

.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }

@media (max-width: 560px) {
  /* One column of equal-width buttons reads tidier than two ragged ones. */
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  /* The headline break is set for desktop; let it reflow on a phone. */
  .hero h1 br { display: none; }
  .hero h1 .u { white-space: normal; }
  .hero .lead { font-size: 1rem; }
  .hero-note { gap: 8px 18px; }
}
.hero-note { margin-top: 18px; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; font-size: .84rem; color: var(--muted); }
.hero-note svg { color: var(--blue); flex: none; }

/* ── Platform marks ─────────────────────────────────────
 * Seven brands, one colour. Rendering the marks monochrome keeps the page a
 * single blue instead of a fruit salad, and still reads instantly.
 */
.strip-wrap { margin-top: 40px; }
.strip-label {
  display: block; font-size: .72rem; font-weight: 620; letter-spacing: .13em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 16px;
}
.plat-strip {
  display: flex; align-items: center; justify-content: center;
  gap: 10px 26px; flex-wrap: wrap;
}
.plat-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .86rem; font-weight: 550; color: var(--ink-2);
  transition: color .18s var(--ease), transform .18s var(--ease);
}
.plat-chip:hover { color: var(--blue); transform: translateY(-1px); }
.plat-mark { display: inline-flex; color: var(--muted); transition: color .18s; }
.plat-chip:hover .plat-mark { color: var(--blue); }

.plat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.plat-grid > :nth-child(5) { grid-column: 1 / span 1; }
@media (max-width: 1040px) { .plat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .plat-grid { grid-template-columns: 1fr; } }

.plat-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: 22px 20px; transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.plat-card:hover { border-color: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow); }
.plat-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 11px; margin-bottom: 15px;
  background: var(--blue-50); color: var(--blue);
}
.plat-card:hover .plat-icon { background: var(--blue); color: #fff; }
.plat-card b { display: block; font-size: 1rem; font-weight: 640; letter-spacing: -.02em; }
.plat-card p { margin-top: 7px; color: var(--muted); font-size: .89rem; line-height: 1.6; }

/* ── Product frame ──────────────────────────────────────── */

.frame-wrap { margin-top: clamp(46px, 6vw, 72px); position: relative; }
.frame-wrap::before {
  content: ''; position: absolute; inset: 12% 6% -6%; z-index: -1;
  background: radial-gradient(ellipse at 50% 50%, rgba(11,92,255,.20), transparent 68%);
  filter: blur(46px);
}
.frame {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow-lg);
}
.frame-bar {
  display: flex; align-items: center; gap: 8px; padding: 11px 15px;
  border-bottom: 1px solid var(--line-2); background: var(--paper-2);
}
.frame-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.frame-url {
  margin-left: 10px; flex: 1; max-width: 300px;
  background: #fff; border: 1px solid var(--line); border-radius: 7px;
  padding: 4px 12px; font-size: .72rem; color: var(--faint); font-family: var(--mono);
}
.frame-body { padding: clamp(16px, 2.4vw, 26px); background: #fff; }

.mock-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.mock-title { font-weight: 660; letter-spacing: -.024em; font-size: 1.02rem; }
.mock-seg { display: flex; gap: 3px; padding: 3px; border-radius: 9px; background: var(--paper-2); margin-left: auto; }
.mock-seg span { padding: 5px 12px; border-radius: 7px; font-size: .77rem; font-weight: 550; color: var(--muted); }
.mock-seg span.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }

.mock-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.mock-dow { font-size: .62rem; font-weight: 660; letter-spacing: .09em; color: var(--faint); text-align: center; padding-bottom: 3px; }
.mock-cell {
  min-height: 92px; border: 1px solid var(--line); border-radius: 9px; padding: 8px 9px;
  display: flex; flex-direction: column; gap: 5px; background: #fff; position: relative;
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.mock-cell:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow); }
.mock-cell.void { background: var(--paper-2); border-style: dashed; }
.mock-cell.lit { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11,92,255,.1); }
.mock-num { font-size: .63rem; font-weight: 650; color: var(--faint); letter-spacing: .03em; }
.mock-tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 5px;
  font-size: .58rem; font-weight: 620; padding: 3px 7px; border-radius: 5px;
  background: var(--blue-50); color: var(--blue-700);
}
.mock-mark { display: inline-flex; align-items: center; }
.mock-mark svg { display: block; }
.mock-line { height: 5px; border-radius: 3px; background: var(--line-2); }
.mock-txt { font-size: .68rem; line-height: 1.35; color: var(--ink-2); font-weight: 480;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mock-dot { position: absolute; top: 8px; right: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--blue); }

@media (max-width: 780px) {
  .mock-grid { grid-template-columns: repeat(3, 1fr); }
  .mock-dow, .mock-cell.void { display: none; }
  .mock-cell { min-height: 78px; }
}

/* ── Section shells ─────────────────────────────────────── */

.section { padding: clamp(72px, 9vw, 118px) 0; }
.section-sm { padding: clamp(48px, 6vw, 76px) 0; }
.tint { background: var(--paper-2); }
.bordered { border-top: 1px solid var(--line); }

.section-head { max-width: 680px; margin-bottom: clamp(38px, 5vw, 58px); }
.section-head.mid { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 16px; }
.section-head .lead { margin-top: 18px; }

/* ── Problem strip ──────────────────────────────────────── */

.problem-quote {
  font-size: clamp(1.5rem, 3.2vw, 2.35rem); font-weight: 620;
  letter-spacing: -.032em; line-height: 1.22; max-width: 900px;
}
.problem-quote .dim { color: var(--faint); }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 52px; }
.problem-grid h3 { font-size: 1.02rem; margin-bottom: 7px; }
.problem-grid p { color: var(--muted); font-size: .93rem; }
.problem-grid .n {
  font-family: var(--mono); font-size: .74rem; color: var(--blue);
  font-weight: 600; letter-spacing: .06em; margin-bottom: 13px;
  padding-top: 13px; border-top: 2px solid var(--blue);
  display: inline-block; min-width: 34px;
}
@media (max-width: 800px) { .problem-grid { grid-template-columns: 1fr; gap: 30px; } }

/* ── Dark section ───────────────────────────────────────── */

.dark {
  background: var(--black); color: #fff;
  background-image:
    radial-gradient(ellipse 70% 55% at 78% 0%, rgba(11,92,255,.24), transparent 62%),
    radial-gradient(ellipse 60% 50% at 12% 100%, rgba(11,92,255,.14), transparent 60%);
}
.dark h2, .dark h3 { color: #fff; }
.dark .lead, .dark .muted { color: rgba(255,255,255,.6); }
.dark .eyebrow { color: #fff; }
.dark .eyebrow::before { background: var(--blue); }

.count-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); overflow: hidden;
}
.count-cell { padding: 26px 22px; border-left: 1px solid rgba(255,255,255,.13); }
.count-cell:first-child { border-left: none; }
.count-cell .n {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 700; letter-spacing: -.04em;
  color: #fff; line-height: 1;
}
.count-cell .k { margin-top: 9px; font-size: .85rem; color: rgba(255,255,255,.58); }
@media (max-width: 900px) {
  .count-grid { grid-template-columns: repeat(2, 1fr); }
  .count-cell:nth-child(odd) { border-left: none; }
  .count-cell:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.13); }
}

.inside-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px 40px; margin-top: 44px; }
.inside-row {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 17px 0; border-top: 1px solid rgba(255,255,255,.11);
}
.inside-row .tick {
  width: 19px; height: 19px; border-radius: 50%; flex: none; margin-top: 2px;
  background: var(--blue); display: grid; place-items: center; color: #fff; font-size: .62rem;
}
.inside-row b { font-weight: 600; font-size: .95rem; }
.inside-row p { color: rgba(255,255,255,.55); font-size: .87rem; margin-top: 3px; }
@media (max-width: 860px) { .inside-list { grid-template-columns: 1fr; } }

/* ── Steps ──────────────────────────────────────────────── */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.step { position: relative; }
.step-n {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--blue); color: #fff; font-weight: 680; font-size: 1.02rem;
  box-shadow: 0 8px 20px -8px rgba(11,92,255,.6); margin-bottom: 20px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 9px; }
.step p { color: var(--muted); font-size: .94rem; }
.step::after {
  content: ''; position: absolute; top: 21px; left: 56px; right: -26px; height: 1.5px;
  background: repeating-linear-gradient(to right, var(--line) 0 6px, transparent 6px 12px);
}
.step:last-child::after { display: none; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 32px; } .step::after { display: none; } }

/* ── Sample tabs ────────────────────────────────────────── */

.tabs-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-bottom: 34px; }
.tab-btn {
  padding: 9px 18px; border-radius: 99px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); font-size: .89rem; font-weight: 550; cursor: pointer;
  transition: all .16s var(--ease);
}
.tab-btn:hover { border-color: var(--blue); color: var(--blue); }
.tab-btn.on { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 6px 16px -6px rgba(11,92,255,.5); }

.sample { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 900px) { .sample { grid-template-columns: 1fr; } }

.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.post-card-top {
  display: flex; align-items: center; gap: 10px; padding: 13px 17px;
  border-bottom: 1px solid var(--line-2); background: var(--paper-2);
}
.day-chip {
  background: var(--black); color: #fff; border-radius: 6px;
  padding: 3px 9px; font-size: .66rem; font-weight: 680; letter-spacing: .05em;
}
.post-card-body { padding: 19px 20px; }
.post-hook { font-weight: 620; font-size: 1.02rem; letter-spacing: -.018em; margin-bottom: 12px; }
.post-text { white-space: pre-line; font-size: .93rem; line-height: 1.72; color: var(--ink-2); }
.post-tags { margin-top: 14px; color: var(--blue); font-size: .84rem; word-spacing: 3px; line-height: 1.75; }
.post-note {
  margin-top: 14px; padding: 10px 13px; border-radius: 9px;
  background: var(--blue-50); font-size: .85rem; color: var(--ink-2);
  border-left: 2px solid var(--blue);
}
.post-note b { color: var(--blue-700); }
.post-card-foot { display: flex; gap: 7px; padding: 12px 17px; border-top: 1px solid var(--line-2); flex-wrap: wrap; }
.mini-btn {
  padding: 6px 12px; border-radius: 7px; border: 1px solid var(--line);
  background: #fff; font-size: .8rem; font-weight: 530; color: var(--ink-2); cursor: pointer;
  transition: all .15s;
}
.mini-btn:hover { border-color: var(--blue); color: var(--blue); }
.mini-btn.done { background: var(--blue); border-color: var(--blue); color: #fff; }

.side-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow-sm);
}
.side-card + .side-card { margin-top: 14px; }
.side-card h4 { font-size: .96rem; margin-bottom: 12px; }
.kv-row { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-top: 1px solid var(--line-2); font-size: .87rem; }
.kv-row:first-of-type { border-top: none; }
.kv-row span:first-child { color: var(--muted); }
.kv-row span:last-child { font-weight: 560; text-align: right; }
.pill-row { display: flex; flex-wrap: wrap; gap: 6px; }
.pill {
  padding: 4px 10px; border-radius: 99px; background: var(--blue-50);
  color: var(--blue-700); font-size: .78rem; font-weight: 530;
}

/* ── Feature rows ───────────────────────────────────────── */

.feature-row {
  display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(34px, 5vw, 72px);
  align-items: center; padding: clamp(44px, 5.5vw, 70px) 0;
  border-top: 1px solid var(--line);
}
.feature-row:first-of-type { border-top: none; }
.feature-row.flip .feature-text { order: 2; }
@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; gap: 30px; padding: 40px 0; }
  .feature-row.flip .feature-text { order: 0; }
}
.feature-text h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); margin: 14px 0 14px; }
.feature-text p { color: var(--muted); font-size: 1rem; }
.feature-text ul { margin-top: 20px; display: grid; gap: 10px; }
.feature-text li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.feature-text li svg { color: var(--blue); flex: none; margin-top: 3px; }

.feature-visual {
  border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff;
  box-shadow: var(--shadow); padding: 20px; position: relative; overflow: hidden;
}
.feature-visual.on-tint { background: linear-gradient(180deg, #fff, var(--paper-2)); }

/* ── Pricing ────────────────────────────────────────────── */

.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 1050px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .price-grid { grid-template-columns: 1fr; } }

.price-card {
  display: flex; flex-direction: column; padding: 26px 24px;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.price-card.hero-plan {
  border-color: var(--blue); box-shadow: var(--shadow-blue); position: relative;
}
.price-flag {
  position: absolute; top: -11px; left: 24px;
  background: var(--blue); color: #fff; border-radius: 99px;
  padding: 3px 12px; font-size: .68rem; font-weight: 650; letter-spacing: .05em;
}
.price-name { font-size: 1.04rem; font-weight: 650; }
.price-tag { color: var(--muted); font-size: .85rem; margin-top: 4px; min-height: 38px; }
.price-amt { font-size: 2.5rem; font-weight: 700; letter-spacing: -.045em; line-height: 1; margin-top: 14px; }
.price-per { font-size: .84rem; color: var(--faint); font-weight: 500; margin-left: 3px; letter-spacing: 0; }
.price-feats { margin: 22px 0 24px; display: grid; gap: 10px; }
.price-feats li { display: flex; gap: 9px; align-items: flex-start; font-size: .87rem; color: var(--ink-2); }
.price-feats svg { color: var(--blue); flex: none; margin-top: 3px; }
.price-card .btn { margin-top: auto; }

/* ── FAQ ────────────────────────────────────────────────── */

.faq { max-width: 780px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 21px 0; background: none; border: none; cursor: pointer; text-align: left;
  font-size: 1.01rem; font-weight: 570; letter-spacing: -.016em; color: var(--ink);
}
.faq-q:hover { color: var(--blue); }
.faq-sign { position: relative; width: 15px; height: 15px; flex: none; }
.faq-sign::before, .faq-sign::after {
  content: ''; position: absolute; background: var(--blue); border-radius: 2px;
  transition: transform .24s var(--ease);
}
.faq-sign::before { top: 6.7px; left: 0; width: 15px; height: 1.7px; }
.faq-sign::after  { left: 6.7px; top: 0; height: 15px; width: 1.7px; }
.faq-item.open .faq-sign::after { transform: rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a p { padding-bottom: 22px; color: var(--muted); font-size: .95rem; max-width: 92%; }

/* ── CTA band ───────────────────────────────────────────── */

.cta-band {
  background: var(--blue); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(42px, 6vw, 70px) clamp(26px, 5vw, 60px); text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000, transparent 72%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); margin: 16px auto 0; max-width: 500px; font-size: 1.05rem; }
.cta-band .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ── Footer ─────────────────────────────────────────────── */

.footer { background: var(--black); color: rgba(255,255,255,.62); padding: 58px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 38px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; } }
.footer h5 { color: #fff; font-size: .8rem; font-weight: 620; letter-spacing: .07em; text-transform: uppercase; margin: 0 0 15px; }
.footer a { color: rgba(255,255,255,.62); font-size: .89rem; display: block; padding: 5px 0; transition: color .15s; }
.footer a:hover { color: #fff; }
.footer .logo { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem;
}

/* ── Help centre ────────────────────────────────────────── */

.input-lg {
  width: 100%; padding: 14px 18px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; font-size: 1rem;
  box-shadow: var(--shadow-sm); transition: border-color .16s, box-shadow .16s;
}
.input-lg:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11,92,255,.15); }
.input-lg::placeholder { color: var(--faint); }

.cat-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 22px; }
.cat-btn {
  padding: 7px 15px; border-radius: 99px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); font-size: .85rem; font-weight: 530; cursor: pointer;
  transition: all .15s var(--ease);
}
.cat-btn:hover { border-color: var(--blue); color: var(--blue); }
.cat-btn.on { background: var(--blue); border-color: var(--blue); color: #fff; }

.help-wrap { max-width: 820px; margin-inline: auto; }
.help-cat {
  font-size: .74rem; font-weight: 660; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); margin: 34px 0 6px;
}
.help-wrap > .help-cat:first-child { margin-top: 0; }
.help-item { border-bottom: 1px solid var(--line); }
.help-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 19px 0; background: none; border: none; cursor: pointer; text-align: left;
  font-size: 1rem; font-weight: 555; letter-spacing: -.015em; color: var(--ink);
}
.help-q:hover { color: var(--blue); }
.help-sign { position: relative; width: 14px; height: 14px; flex: none; }
.help-sign::before, .help-sign::after {
  content: ''; position: absolute; background: var(--blue); border-radius: 2px;
  transition: transform .22s var(--ease);
}
.help-sign::before { top: 6.2px; left: 0; width: 14px; height: 1.6px; }
.help-sign::after  { left: 6.2px; top: 0; height: 14px; width: 1.6px; }
.help-item.open .help-sign::after { transform: rotate(90deg); }
.help-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.help-a > div { padding-bottom: 21px; color: var(--muted); font-size: .95rem; line-height: 1.7; max-width: 68ch; }
.help-a b { color: var(--ink-2); font-weight: 600; }

.grid-2-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .grid-2-cards { grid-template-columns: 1fr; } }
.card-lite {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; align-items: flex-start;
}
.code-block {
  margin: 14px 0 0; padding: 14px 16px; border-radius: 10px; width: 100%;
  background: var(--black); color: #E6ECF7; font-family: var(--mono);
  font-size: .78rem; line-height: 1.7; overflow-x: auto; white-space: pre;
}
code {
  font-family: var(--mono); font-size: .86em; padding: 1px 5px; border-radius: 5px;
  background: var(--blue-50); color: var(--blue-700);
}

/* ── Checkout ───────────────────────────────────────────── */

.row-between { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }

.checkout-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: start; }
@media (max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; gap: 22px; } }

.skeleton-card {
  height: 340px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(100deg, var(--paper-2) 30%, #fff 50%, var(--paper-2) 70%);
  background-size: 220% 100%; animation: shimmer 1.3s linear infinite;
}
@keyframes shimmer { to { background-position: -220% 0; } }

.notice {
  padding: 15px 17px; border-radius: 12px; font-size: .93rem; line-height: 1.65;
  background: var(--blue-50); border: 1px solid var(--blue-100); color: var(--ink-2);
}
.notice b { color: var(--blue-700); }

.trust-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; color: var(--muted); padding: 5px 12px;
  border-radius: 99px; background: var(--paper-2); border: 1px solid var(--line);
}

.done-mark {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: #fff;
}
.done-mark svg { width: 24px; height: 24px; }

.alert-inline {
  margin-top: 14px; padding: 11px 14px; border-radius: 10px; font-size: .88rem;
  background: #FCEDED; color: #D22D2D; border: 1px solid #F5C9C9;
}

/* Form controls reused from the app's design system, restated for this page. */
.field { display: block; margin-bottom: 15px; width: 100%; }
.field > span {
  display: block; margin-bottom: 6px;
  font-size: .845rem; font-weight: 570; color: var(--ink-2);
}
.input, .textarea {
  width: 100%; padding: 10px 13px; border-radius: 9px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  font-size: .93rem; font-family: inherit; line-height: 1.55;
  box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s;
}
.textarea { resize: vertical; min-height: 76px; }
.input::placeholder, .textarea::placeholder { color: var(--faint); }
.input:focus, .textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11,92,255,.15);
}

/* ── Reveal on scroll ───────────────────────────────────── */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .mock-cell:hover, .price-card:hover { transform: none; }
}

/* An address you can click to copy. mailto: does nothing on a machine with no
   mail app registered, which is most of them, so the text has to be usable on
   its own. */
.copyable {
  cursor: pointer;
  border-bottom: 1px dashed currentColor;
  position: relative;
}
.copyable:hover { color: var(--blue); }
.copyable.copied::after {
  content: 'Copied';
  position: absolute;
  left: 50%;
  bottom: calc(100% + 7px);
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
