/* site4: site3's copy of the spine's measured system (work/site3/MEASURE.md), with the spine's richness restored
   (featured plan card, badges, coloured panels with pattern, big true figures, depth). Spine numbers at 390 wide:
   ground #f3f2f1, ink #0a0b10, body grey, card #fbfaf8 + 1px line, section pad 42, side 20, h1 41/600, h2 26/600,
   lead 18.5, card radius 16-20, pills 49 tall, dock 62 r16. Accent: our yellow instead of their blue. */
@font-face { font-family: "Geist"; src: url("fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --ground: #f3f2f1; --card: #fbfaf8; --line: #e1dfda; --ink: #0a0b10; --body: #52525b; --faint: #6b6c75;
  --yellow: #f5c518; --yellow-deep: #e0b000; --cream: #fdf3c4;
  --side: 20px; --sec: 42px;
  --lift: 0 1px 2px rgba(16, 24, 40, 0.05), 0 12px 32px -18px rgba(16, 24, 40, 0.28);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: "Geist", system-ui, sans-serif; font-size: 16px; color: var(--ink); background: var(--ground); line-height: 1.5; padding-bottom: 96px; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--side); }
section { padding: var(--sec) 0; }
.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.center { text-align: center; }

/* type */
h1 { font-size: 40.95px; font-weight: 600; line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-size: 26px; font-weight: 600; line-height: 1.08; letter-spacing: -0.025em; margin-bottom: 26px; }
h3 { font-size: 17.5px; font-weight: 600; line-height: 1.2; letter-spacing: -0.025em; }
.accent { color: var(--ink); background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); padding: 0 2px; }
.lead { font-size: 18.5px; line-height: 1.55; color: var(--body); margin-top: 20px; }
.eyebrow { font-family: "Geist Mono", ui-monospace, monospace; font-weight: 500; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #55565f; margin-bottom: 14px; }
.edot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow-deep); margin-right: 8px; vertical-align: 1px; }
p { color: var(--body); }

/* top bar */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; height: 58px; padding: 0 var(--side); background: rgba(243, 242, 241, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 21px; letter-spacing: -0.03em; text-decoration: none; }
.mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: var(--ink); color: var(--yellow); font-weight: 800; font-size: 15px; }

/* pills */
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 49px; padding: 0 24px; border-radius: 999px; font-size: 16px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.pill.sm { height: 36px; padding: 0 16px; font-size: 14px; }
.pill.dark { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -14px rgba(10, 11, 16, 0.8); }
.pill.yellow { background: var(--yellow); color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08), 0 10px 22px -12px rgba(224, 176, 0, 0.9); }
.pill.light { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.pill.ghost { border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; }
.pill.full { width: 100%; margin-top: 22px; }
.arr { font-size: 15px; }

/* hero */
.hero { padding-top: 42px; }
.checks { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.checks li { font-size: 14.5px; color: var(--ink); display: flex; align-items: center; gap: 9px; }
.checks li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.5 9.2l2.3 2.3 4.7-5' fill='none' stroke='%230a0b10' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.ctas { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 26px; }
.priceline { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 20px; font-size: 13.5px; color: var(--body); }
.priceline b { color: var(--ink); font-weight: 700; }
.ico { width: 16px; height: 16px; color: var(--ink); }
.dot { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }
.intro { font-size: 15.5px; line-height: 1.55; color: var(--body); margin: -14px auto 26px; max-width: 30em; }

/* hero tiles: spine 2 cols, 9:16, radius 14, staggered, shadow */
.tiles { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 44px; }
.tiles .tile:nth-child(even) { transform: translateY(-26px); }
.tile { position: relative; border-radius: 14px; overflow: hidden; background: #ddd; aspect-ratio: 9 / 16; box-shadow: 0 2px 4px rgba(16, 24, 40, 0.06), 0 18px 36px -16px rgba(16, 24, 40, 0.5); outline: 1px solid rgba(255, 255, 255, 0.6); outline-offset: -1px; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.18)); }
.sticker { position: absolute; z-index: 2; left: 50%; top: 47%; transform: translate(-50%, -50%) rotate(-8deg); width: 92px; height: 92px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--yellow); color: var(--ink); font-size: 13px; line-height: 1.1; box-shadow: 0 0 0 5px var(--ground), 0 16px 30px -12px rgba(16, 24, 40, 0.6); }
.sticker b { font-size: 21px; font-weight: 700; letter-spacing: -0.03em; }

/* where: platforms + two true-figure cards (spine rating cards) */
.where { padding-top: 6px; }
.platforms { list-style: none; display: flex; justify-content: center; gap: 8px; margin: 0 0 20px; }
.platforms li { font-size: 13.5px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat-card { background: linear-gradient(160deg, #fff 0%, var(--card) 55%, #f6efd6 100%); border: 1px solid var(--line); border-radius: 18px; padding: 18px 15px; box-shadow: var(--lift); }
.sc-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.sc-label { font-size: 13px; font-weight: 600; }
.chip { font: 500 10.5px "Geist Mono", monospace; padding: 3px 7px; border-radius: 999px; background: var(--cream); color: #5c4a00; white-space: nowrap; }
.big { font-size: 32px; font-weight: 600; letter-spacing: -0.035em; color: var(--ink); line-height: 1.1; margin: 10px 0 6px; }
.sc-sub { font-size: 13px; line-height: 1.4; }
.big small { font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: var(--body); margin-left: 4px; }

/* how: numbered step rail with icons */
.rail { display: grid; gap: 12px; }
.step { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px; box-shadow: var(--lift); }
.step > div { flex: 1; }
.step p { font-size: 14px; margin-top: 3px; }
.step.hot { background: var(--cream); border-color: #f0dc86; }
.num { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--yellow); font: 500 14px "Geist Mono", monospace; }
.sico { flex: none; width: 26px; height: 26px; color: #8f8a7a; }

/* work */
.big-chip { display: inline-block; font-size: 11.5px; padding: 4px 10px; margin-bottom: 14px; letter-spacing: 0.06em; text-transform: uppercase; }
.seg { display: flex; justify-content: center; gap: 4px; width: max-content; margin: 0 auto; padding: 4px; border-radius: 999px; background: var(--ground); border: 1px solid var(--line); }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { padding: 9px 22px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--body); cursor: pointer; }
#t1:checked + label, #t2:checked + label { background: var(--ink); color: #fff; }
.demo { display: none; margin-top: 18px; }
.g1, .tabs:has(#t2:checked) .g2 { display: block; }
.tabs:has(#t2:checked) .g1 { display: none; }
.demo-title { text-align: center; font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -0.015em; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-top: 14px; }
.frame { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 9 / 16; background: #ddd; box-shadow: 0 10px 22px -14px rgba(16, 24, 40, 0.55); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame span { position: absolute; left: 6px; top: 6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--yellow); font: 500 11px "Geist Mono", monospace; }

/* price: free banner (feedbird promo slot), plan cards (feedbird featured border + kimp badge band), cost bars (billo) */
.freebar { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 16px; background: #fbf4d2; border: 1px solid #efd97a; margin-bottom: 26px; }
.freetag { flex: none; display: grid; place-items: center; height: 34px; padding: 0 10px; border-radius: 8px; background: var(--ink); color: var(--yellow); font: 500 13px "Geist Mono", monospace; letter-spacing: 0.06em; }
.freebar p { font-size: 14px; line-height: 1.45; color: #3f3f46; }
.freebar .fb-h { font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.plans { display: grid; gap: 16px; }
.plancard { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--lift); overflow: hidden; }
.pc-body { padding: 22px 20px 22px; }
.plancard h3 { font-size: 17px; }
.pc-price { font-size: 38px; font-weight: 600; letter-spacing: -0.035em; color: var(--ink); line-height: 1.1; margin-top: 8px; }
.pc-price small { font-size: 14px; font-weight: 400; color: var(--body); letter-spacing: 0; margin-left: 3px; }
.pc-each { margin-top: 6px; font-size: 14px; }
.pc-each b { color: var(--ink); }
.pc-each .hl { background: linear-gradient(transparent 55%, var(--yellow) 55%, var(--yellow) 95%, transparent 95%); padding: 0 2px; }
.pc-each span { display: block; font: 500 11.5px "Geist Mono", monospace; color: var(--faint); margin-top: 2px; }
.incl { list-style: none; display: grid; gap: 9px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.incl li { font-size: 14.5px; color: var(--ink); padding-left: 26px; position: relative; }
.incl li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #ecebe7 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.5 9.2l2.3 2.3 4.7-5' fill='none' stroke='%230a0b10' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.featured { border: 2px solid var(--ink); background: #fff; box-shadow: 0 2px 4px rgba(16, 24, 40, 0.06), 0 26px 50px -24px rgba(16, 24, 40, 0.5); }
.featured .badge { display: flex; align-items: center; justify-content: center; gap: 6px; height: 36px; background: var(--ink); color: var(--yellow); font-size: 13.5px; font-weight: 600; letter-spacing: 0.01em; }
.badge svg { width: 14px; height: 14px; }
.featured .incl li::before { background-color: var(--yellow); }
.plain { background: transparent; box-shadow: none; }
.plain .pc-price { font-size: 30px; }
.tlink { display: inline-flex; gap: 6px; margin-top: 18px; font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.bars { margin-top: 22px; padding: 20px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.bars .eyebrow { margin-bottom: 12px; }
.bar { display: grid; grid-template-columns: 92px 1fr 52px; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; }
.bl { color: var(--body); }
.track { height: 12px; border-radius: 999px; background: #ecebe7; overflow: hidden; }
.track i { display: block; height: 100%; border-radius: 999px; background: #bdbcb6; }
.bar b { text-align: right; font-weight: 600; }
.bar.best .bl, .bar.best b { color: var(--ink); font-weight: 700; }
.bar.best .track i { background: var(--yellow-deep); }

/* promise + close: spine full-bleed colour panels with line pattern */
.promise, .close { padding: var(--sec) 0; }
.panel { padding: 34px 22px; }
.yellowpanel { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0) 0 22px, rgba(255, 255, 255, 0.16) 22px 23px), var(--yellow); }
.yellowpanel .eyebrow { color: #4a3b00; }
.yellowpanel h2 { margin-bottom: 20px; }
.yellowpanel .pill { margin-top: 26px; }
.ticks { list-style: none; display: grid; gap: 14px; counter-reset: t; }
.ticks li { font-size: 16px; color: var(--ink); padding-left: 34px; position: relative; line-height: 1.45; }
.ticks li::before { counter-increment: t; content: counter(t); position: absolute; left: 0; top: 0; width: 23px; height: 23px; border-radius: 50%; background: var(--ink); color: var(--yellow); display: grid; place-items: center; font: 500 12px "Geist Mono", monospace; }
.close { padding-bottom: 16px; }
.inkpanel { background: radial-gradient(120% 70% at 50% 0%, rgba(245, 197, 24, 0.16), rgba(245, 197, 24, 0) 60%), repeating-linear-gradient(135deg, rgba(255, 255, 255, 0) 0 22px, rgba(255, 255, 255, 0.035) 22px 23px), var(--ink); color: #fff; padding: 44px 22px 36px; text-align: center; }
.inkpanel h2 { margin-bottom: 12px; }
.inkpanel p { color: rgba(255, 255, 255, 0.75); font-size: 17px; }
.inkpanel .ctas { align-items: center; margin-top: 24px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 0; padding-top: 30px; margin-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.stats div { text-align: center; }
.stats b { display: block; font-size: 34px; font-weight: 600; letter-spacing: -0.035em; color: var(--yellow); line-height: 1.1; }
.stats span { font: 500 11.5px "Geist Mono", monospace; color: rgba(255, 255, 255, 0.62); text-transform: uppercase; letter-spacing: 0.05em; }

/* faq */
.acc { background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--lift); }
details { border-bottom: 1px solid var(--line); }
details:last-child { border-bottom: 0; }
summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 21px 22px; font-weight: 500; letter-spacing: -0.01em; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; font-weight: 300; color: var(--faint); }
details[open] summary::after { content: "\2212"; }
details p { padding: 0 22px 20px; font-size: 15px; }

.foot { padding: 28px var(--side) 20px; font-size: 13px; color: var(--faint); }
.foot p { display: flex; align-items: center; gap: 8px; color: var(--faint); }
.foot a { text-decoration: none; }
.foot .mark { width: 20px; height: 20px; font-size: 12px; border-radius: 5px; }

/* dock: spine sticky bottom bar */
.dock { position: fixed; left: 16px; right: 16px; bottom: 18px; z-index: 30; display: flex; align-items: center; justify-content: space-between; height: 62px; padding: 12px 14px 12px 20px; border-radius: 16px; background: var(--ink); color: #fff; box-shadow: 0 22px 50px -20px rgba(16, 24, 40, 0.6); max-width: 520px; margin: 0 auto; }
.dock-l { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.dock-l .mark { background: #262833; }

/* desktop (checked after phone) */
@media (min-width: 900px) {
  :root { --side: 40px; --sec: 88px; }
  h1 { font-size: 58px; }
  h2 { font-size: 40px; margin-bottom: 40px; }
  .intro { margin-top: -26px; margin-bottom: 40px; font-size: 17px; }
  .hero { padding: 72px 0 88px; }
  .hero .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
  .tiles { margin-top: 0; max-width: 440px; justify-self: end; }
  .ctas { flex-direction: row; }
  .two { max-width: 640px; margin: 0 auto; }
  .rail { grid-template-columns: repeat(3, 1fr); max-width: 1000px; margin: 0 auto; }
  .step { flex-direction: column; align-items: flex-start; padding: 24px; }
  .step .sico { order: -1; margin-bottom: 4px; }
  .tabs, .acc { max-width: 680px; margin-left: auto; margin-right: auto; }
  .grid { grid-template-columns: repeat(4, 150px); justify-content: center; gap: 12px; }
  .freebar { max-width: 1000px; margin: 0 auto 32px; }
  .plans { grid-template-columns: 1.12fr 1fr 1fr; max-width: 1000px; margin: 0 auto; align-items: start; gap: 20px; }
  .plans .plancard:not(.featured) { margin-top: 36px; }
  .bars { max-width: 1000px; margin: 28px auto 0; }
  .bar { grid-template-columns: 130px 1fr 70px; }
  .panel { max-width: 1180px; margin: 0 auto; border-radius: 24px; padding: 64px; }
  .yellowpanel .ticks { max-width: 640px; }
  .inkpanel .ctas { flex-direction: row; justify-content: center; }
  .stats { grid-template-columns: repeat(4, 1fr); max-width: 860px; margin-left: auto; margin-right: auto; }
  .dock { display: none; }
  body { padding-bottom: 0; }
}

/* round 2: spine richness (tile captions, section eyebrows, closing fine print, demo scroller) */
.cap { position: absolute; z-index: 1; left: 50%; top: 14%; transform: translateX(-50%); width: max-content; max-width: 88%; text-align: center; padding: 5px 8px; border-radius: 6px; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; box-shadow: 0 6px 14px -8px rgba(0, 0, 0, 0.6); }
.tile:nth-child(4) .cap { top: auto; bottom: 12%; background: var(--yellow); }
.fine { margin-top: 16px; font: 500 11.5px "Geist Mono", monospace !important; color: rgba(255, 255, 255, 0.55) !important; letter-spacing: 0.02em; }
.grid { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--side); padding: 4px var(--side) 16px; margin: 10px calc(-1 * var(--side)) 0; scrollbar-width: none; }
.grid::-webkit-scrollbar { display: none; }
.frame { flex: none; width: 46%; scroll-snap-align: start; border-radius: 14px; }
.frame figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 10px 9px; background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7)); color: #fff; font-size: 13px; font-weight: 600; }
.frame span { width: 22px; height: 22px; left: 8px; top: 8px; }
@media (min-width: 900px) {
  .grid { display: grid; grid-template-columns: repeat(4, 180px); justify-content: center; overflow: visible; padding: 4px 0 0; margin: 14px 0 0; gap: 14px; }
  .frame { width: auto; }
  .cap { font-size: 14px; }
}

/* round 3 (CRITIC-r1 merged list) */
.tile:nth-child(4) .cap { top: 14%; bottom: auto; background: #fff; }
.chip { font-size: 11.5px; }
.plancard h3 .chip { vertical-align: 3px; margin-left: 6px; font-weight: 500; letter-spacing: 0; }
.pc-each span { font-size: 12.5px; color: #5d5e66; }
.stats span { font-size: 12px; color: rgba(255, 255, 255, 0.72); }
.fine { font-size: 12.5px !important; color: rgba(255, 255, 255, 0.72) !important; }
.frame { width: 44%; }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(3, 200px); } .frame { width: auto; } }
