/* beltmeter.com redesign (v2): warm paper, ink, vermilion. Serif headings, quiet body text.
   Decorative Japanese characters carry class "jp" so they can be switched off in one place. */
:root { --paper: #fdfaf4; --paper2: #f4eee1; --card: #fffdf7; --ink: #1b1a17; --ink2: rgba(27,26,23,.86); --ink3: rgba(27,26,23,.72);
  --line: rgba(27,26,23,.18); --red: #c8371d; --grad: linear-gradient(135deg, #e0662a, #c8371d 55%, #9e1f14);
  /* names the older pages' own inline styles still use */ --muted: rgba(27,26,23,.86); --soft: rgba(27,26,23,.72); --bg: #fdfaf4; --brand: #c8371d; --brand-ink: #fff; --brand-soft: #f7e6dc; --ok: #3f8a52; --warn: #e0a23a; --dark: #1b1a17; --dark-ink: #f6f0e4; --shadow: 0 30px 60px -30px rgba(27,26,23,.5);
  --serif: 'Shippori Mincho', Georgia, 'Times New Roman', serif; --sans: 'Zen Kaku Gothic New', system-ui, -apple-system, 'Segoe UI', sans-serif; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 19px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, video { max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.jp { font-family: var(--serif); }
.eyebrow { font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink3); }
.eyebrow .jp { color: var(--red); font-size: 18px; letter-spacing: 0; margin-right: 8px; vertical-align: -2px; }
.btn { display: inline-block; text-align: center; font: 700 17px var(--sans); text-decoration: none; padding: 15px 28px; border-radius: 4px; border: 1px solid var(--ink); color: var(--ink); background: var(--card); transition: transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { border: 0; color: #fff; background: var(--grad); box-shadow: 0 10px 26px -8px rgba(200,55,29,.65); padding: 16px 29px; }
.btn.small { padding: 10px 18px; font-size: 16px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(253,250,244,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 12px 26px; padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 700 24px var(--serif); }
.mark { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 3px; background: linear-gradient(145deg, #e0662a, #a81f14); color: var(--paper); font: 700 17px var(--serif); box-shadow: 0 6px 14px -6px rgba(200,55,29,.7); }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 26px; font-size: 17px; }
.top nav a { text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { color: var(--red); }
.top .short { display: none; }

/* hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 500px at 78% 0%, rgba(224,102,42,.16), transparent 70%), linear-gradient(180deg, #fbf7ef, #f6efe2); border-bottom: 1px solid var(--line); }
.hero.home .wrap { display: grid; grid-template-columns: 56px minmax(0, 1.25fr) minmax(300px, .85fr); gap: 56px; padding-top: 72px; padding-bottom: 88px; align-items: start; }
.hero .tate { writing-mode: vertical-rl; font: 600 30px/1 var(--serif); letter-spacing: .28em; color: var(--red); padding-top: 6px; }
.hero span.ghost { position: absolute; right: -40px; top: -90px; font: 800 620px/1 var(--serif); color: rgba(27,26,23,.045); pointer-events: none; user-select: none; }
.hero h1 { font-size: clamp(40px, 5.2vw, 64px); margin: 18px 0 22px; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero.home .lead { font-size: 20px; max-width: 520px; }
.doors { list-style: none; margin: 34px 0 0; padding: 0; border-top: 1px solid var(--line); max-width: 600px; }
.doors a { display: flex; align-items: baseline; gap: 14px; padding: 19px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .2s, background .2s; }
.doors a:hover { padding-left: 14px; background: rgba(255,255,255,.55); }
.doors .n { color: var(--red); width: 44px; font: 600 22px var(--serif); flex: none; }
.doors b { font-size: 20px; }
.doors small { color: var(--ink3); font-size: 16px; }
.doors .go { margin-left: auto; color: var(--red); }
.fine { margin-top: 22px; font-size: 15px; color: var(--ink3); }

/* example scorecard */
.score { position: relative; background: var(--card); border: 1px solid var(--ink); padding: 30px 30px 26px; box-shadow: 12px 12px 0 rgba(27,26,23,.09); }
.score .row { display: flex; justify-content: space-between; }
.score h3 { font-size: 24px; margin: 14px 0 6px; }
.score .belt { font-size: 13px; color: var(--ink3); display: flex; align-items: center; gap: 9px; }
.score .belt i { width: 26px; height: 5px; background: #e2b93b; border-radius: 2px; }
.score .ring { --p: 82; width: 200px; aspect-ratio: 1; margin: 22px auto 26px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(closest-side, var(--card) 86%, transparent 87% 100%), conic-gradient(from 20deg, var(--ink) calc(var(--p) * 1%), rgba(27,26,23,.1) 0); }
.score .ring b { font: 600 84px/1 var(--serif); }
.bars { display: grid; gap: 13px; font-size: 14px; }
.bars div { display: grid; grid-template-columns: 96px 1fr 28px; gap: 12px; align-items: center; }
.bars span { height: 2px; background: rgba(27,26,23,.14); position: relative; }
.bars span::after { content: ''; position: absolute; left: 0; top: -1px; height: 4px; width: var(--v); background: var(--ink); }
.bars em { font-style: normal; font-weight: 700; text-align: right; }
.bars .low { color: var(--red); font-weight: 700; } .bars .low span::after { background: var(--red); }

/* sections */
section.band { padding: 96px 0; }
section.band h2 { font-size: clamp(30px, 3.6vw, 44px); margin: 14px 0 16px; }
section.band .lead { color: var(--ink2); max-width: 620px; }
.see .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.see video { display: block; width: 100%; max-height: 520px; background: var(--ink); box-shadow: 0 30px 60px -30px rgba(27,26,23,.5); }
.ways { background: linear-gradient(180deg, var(--paper), #fbf7ef); border-top: 1px solid var(--line); }
.ways .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 44px; border: 1px solid var(--ink); background: var(--card); }
.ways article { padding: 36px 32px 34px; display: grid; gap: 12px; align-content: start; }
.ways article + article { border-left: 1px solid var(--line); }
.ways .jp { font-size: 40px; color: var(--red); line-height: 1; }
.ways h3 { font-size: 25px; }
.ways p { color: var(--ink2); font-size: 18px; }
.ways a { color: var(--red); font-weight: 700; text-decoration: none; margin-top: 6px; }
.dark { position: relative; overflow: hidden; background: radial-gradient(700px 420px at 85% 0%, rgba(200,55,29,.32), transparent 70%), #1b1a17; color: #f6f0e4; }
.dark .eyebrow { color: rgba(246,240,228,.78); } .dark .eyebrow .jp { color: #e0662a; }
.dark span.ghost { position: absolute; left: -30px; bottom: -150px; font: 800 520px/1 var(--serif); color: rgba(246,240,228,.04); pointer-events: none; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin-top: 52px; position: relative; }
.steps .n { font: 600 44px/1 var(--serif); color: #e0662a; }
.steps h3 { font-size: 25px; margin: 22px 0 10px; }
.steps p { color: rgba(246,240,228,.85); font-size: 18px; }
.creed { position: relative; margin-top: 64px; border: 1px solid rgba(200,55,29,.65); padding: 26px 30px; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.creed .seal { width: 52px; height: 52px; display: grid; place-items: center; background: var(--grad); font: 700 24px var(--serif); transform: rotate(-4deg); border-radius: 3px; flex: none; }
.creed .say { font: 600 26px/1.25 var(--serif); margin-right: auto; } .creed .say em { font-style: normal; color: #e0662a; white-space: nowrap; }
.creed p { color: rgba(246,240,228,.85); font-size: 17px; max-width: 380px; }
.cta { text-align: center; background: radial-gradient(closest-side at 50% 50%, rgba(224,102,42,.1), transparent), #fbf7ef; }
.cta h2 { font-size: clamp(34px, 4.6vw, 56px) !important; }
.cta .btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* footer */
.bottom { background: linear-gradient(180deg, #f4eee1, #efe7d6); border-top: 1px solid rgba(27,26,23,.2); font-size: 16px; color: var(--ink2); }
.bottom .wrap { padding-top: 56px; padding-bottom: 36px; display: grid; gap: 32px; }
.bottom .cols { display: flex; flex-wrap: wrap; gap: 28px 56px; justify-content: space-between; }
.bottom .cols > div { display: grid; gap: 9px; align-content: start; }
.bottom .logo { font-size: 22px; color: var(--ink); }
.bottom .insta { font-weight: 700; color: var(--ink); }
.bottom h4 { margin: 0 0 4px; font: 700 16px var(--serif); color: var(--ink); }
.bottom a { text-decoration: none; } .bottom a:hover { color: var(--red); }
.bottom .legal { border-top: 1px solid var(--line); padding-top: 20px; font-size: 14px; line-height: 1.6; color: var(--ink3); }
.bottom .legal a { text-decoration: underline; }

@media (max-width: 900px) {
  .wrap { padding: 0 18px; }
  .top .wrap { padding-top: 10px; padding-bottom: 10px; }
  .logo { font-size: 20px; }
  .top .cta-top { margin-left: auto; }
  .top nav { order: 3; width: 100%; margin: 0; gap: 8px; overflow-x: auto; scrollbar-width: none; }
  .top nav::-webkit-scrollbar { display: none; }
  .top nav a { flex: none; white-space: nowrap; border: 1px solid var(--line); border-radius: 99px; padding: 6px 14px; font-size: 15px; background: rgba(255,255,255,.7); }
  .top .long { display: none; } .top .short { display: inline; }
  .hero.home .wrap { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; padding-bottom: 52px; }
  .hero .tate { display: none; } .hero span.ghost { font-size: 340px; top: -40px; }
  .doors small { display: none; }
  section.band { padding: 56px 0; }
  .see .wrap, .ways .grid, .steps { grid-template-columns: 1fr; }
  .see .wrap { gap: 28px; } .steps { gap: 34px; }
  .ways article + article { border-left: 0; border-top: 1px solid var(--line); }
  .creed .say { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .doors a { transition: none; } }

/* ---- inner pages: the shared building blocks (cards, grids, tables, plans, FAQ) in the same look ---- */
main > section { padding: 72px 0; }
main > section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
main > section.hero { padding: 0; }
.hero:not(.home) .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 72px; position: relative; }
.hero:not(.home) h1 { font-size: clamp(36px, 4.8vw, 58px); margin: 14px 0 20px; }
main h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 12px 0 16px; }
main h3 { font-size: 23px; margin: 0 0 8px; }
.kicker { font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--red); font-weight: 700; margin: 0; }
.lead { color: var(--ink2); font-size: 20px; max-width: 62ch; margin: 0 0 24px; }
.muted { color: var(--ink3); } .small { font-size: 16px; }
main a { color: var(--red); } main a.btn { color: var(--ink); } main a.btn.primary { color: #fff; }
.btns { display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 16px; }
.btn.ghost { background: var(--card); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.pills li { border: 1px solid var(--line); border-radius: 99px; padding: 4px 13px; font-size: 16px; color: var(--ink2); background: rgba(255,255,255,.6); }
.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); padding: 24px; }
main > section.alt .card { background: var(--paper); }
.card p { color: var(--ink2); font-size: 18px; }
.card .num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 3px; background: var(--grad); color: #fff; font: 700 16px var(--serif); margin-bottom: 10px; }
.icon { font-size: 26px; line-height: 1; margin-bottom: 10px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.quote { font: 600 clamp(24px, 3.2vw, 34px)/1.25 var(--serif); text-align: center; }
.quote b { color: var(--red); font-weight: 600; }
.caption { text-align: center; font-size: 15px; color: var(--ink3); margin-top: 12px; }
.tablewrap { overflow-x: auto; border: 1px solid var(--ink); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: 17px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
th { font-size: 14px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink3); }
td small { color: var(--ink3); display: block; }
.toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 99px; padding: 4px; background: var(--card); margin: 8px 0 20px; }
.toggle button { border: 0; background: transparent; color: var(--ink); padding: 8px 16px; border-radius: 99px; font: 700 17px var(--sans); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--red); color: #fff; }
.plan { display: flex; flex-direction: column; }
.plan.best { border: 1px solid var(--ink); box-shadow: 10px 10px 0 rgba(27,26,23,.08); }
.plan .tag { align-self: flex-start; background: var(--grad); color: #fff; font-weight: 700; font-size: 12px; border-radius: 3px; padding: 3px 10px; margin-bottom: 10px; }
.plan .price { font: 600 46px/1.1 var(--serif); margin: 4px 0 0; color: var(--ink); }
.plan .price span { font: 500 16px var(--sans); color: var(--ink2); }
.plan .yearly-note { font-size: 16px; color: var(--ink2); min-height: 1.6em; }
.plan ul { padding-left: 0; list-style: none; margin: 16px 0 20px; flex: 1; }
.plan li { padding-left: 26px; position: relative; margin: 8px 0; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 800; }
details { background: var(--card); border: 1px solid var(--line); padding: 16px 20px; margin: 10px 0; }
main > section.alt details { background: var(--paper); }
summary { font-weight: 700; cursor: pointer; }
details p { margin: 10px 0 0; color: var(--ink2); }
.notfound { min-height: 60vh; display: grid; place-content: center; text-align: center; gap: 10px; }
section[id] { scroll-margin-top: 76px; }
.booked h2 { margin-top: 0; } .booked-icon { font-size: 44px; line-height: 1; margin: 0 0 10px; }
.promo { margin: 28px auto 8px; max-width: 520px; text-align: center; }
.promo video { width: 100%; height: auto; aspect-ratio: 1 / 1; background: var(--ink); box-shadow: 0 30px 60px -30px rgba(27,26,23,.5); display: block; }
.promo figcaption { margin-top: 12px; font-size: 16px; color: var(--ink2); }
.promo figcaption b { color: var(--ink); margin-right: 6px; }
.see .promo { margin: 0; max-width: none; }
.shots { margin-top: 44px; }
.shots figure { margin: 0; }
.shots img { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 auto; border-radius: 28px; border: 8px solid var(--ink); box-shadow: 0 30px 60px -30px rgba(27,26,23,.5); }
.shots figcaption { margin-top: 14px; color: var(--ink2); font-size: 17px; text-align: center; }
.shots figcaption b { display: block; color: var(--ink); font: 600 19px var(--serif); }
.highlights > div { display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; align-items: start; }
.highlights .icon { grid-row: span 2; font-size: 24px; margin: 0; }
.highlights p { margin: 2px 0 0; color: var(--ink2); font-size: 17px; }
.book-dialog { width: min(760px, 100vw - 32px); height: min(860px, 100dvh - 32px); padding: 0; border: 0; border-radius: 6px; background: #fff; box-shadow: 0 30px 80px rgba(0,0,0,.35); overflow: hidden; }
.book-dialog[open] { display: flex; flex-direction: column; }
.book-dialog::backdrop { background: rgba(27,26,23,.6); }
.book-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid #e5e7eb; }
.book-close { font-size: 20px; width: 40px; height: 40px; border: 0; border-radius: 6px; background: #f3f0e8; cursor: pointer; }
.book-dialog iframe { flex: 1; width: 100%; border: 0; }

/* school dashboard example (for-schools hero) */
.dash { background: var(--card); border: 1px solid var(--ink); padding: 20px; box-shadow: 12px 12px 0 rgba(27,26,23,.09); max-width: 540px; margin: 0 auto; }
.dash-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.dash-top b { font: 600 22px var(--serif); } .dash-top span { color: var(--ink3); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-bottom: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kpis div { padding: 12px 6px; text-align: center; }
.kpis strong { display: block; font: 600 26px var(--serif); transition: color .3s; }
.kpis strong.bump { color: var(--red); }
.kpis span { font-size: 11.5px; color: var(--ink3); line-height: 1.25; display: block; }
.dash-cols { display: grid; grid-template-columns: 1.25fr 1fr; gap: 14px; }
.chat-head { font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.chat-head small { color: var(--ink3); font-weight: 500; }
.msgs { display: flex; flex-direction: column; gap: 6px; height: 236px; overflow: hidden; justify-content: flex-end; -webkit-mask-image: linear-gradient(transparent, #000 22%); mask-image: linear-gradient(transparent, #000 22%); }
.msg { max-width: 90%; padding: 8px 11px; border-radius: 4px; font-size: 12.5px; line-height: 1.4; animation: pop .35s ease both; }
.msg.out { align-self: flex-end; background: var(--grad); color: #fff; }
.msg.in { align-self: flex-start; background: var(--paper); border: 1px solid var(--line); }
.msg .who { display: block; font-size: 10px; opacity: .75; margin-bottom: 1px; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.cal ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.cal li { font-size: 12.5px; border-bottom: 1px solid var(--line); padding: 7px 0; line-height: 1.3; }
.cal li b { display: block; font-size: 12px; }
.cal li.new { animation: pop .4s ease both; }
.cal li.new::after { content: "New trial booked"; display: inline-block; margin-top: 3px; font-size: 10.5px; font-weight: 700; color: var(--red); }

/* belt-check example phone (for-schools) keeps its dark screen */
.phone { max-width: 340px; margin: 0 auto; background: var(--ink); border-radius: 36px; padding: 12px; box-shadow: 0 30px 60px -30px rgba(27,26,23,.5); }
.screen { background: #14130f; color: #e9e3d6; border-radius: 26px; padding: 20px 18px; font-family: var(--sans); }
.screen .school { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #a39c8c; }
.screen .who { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 4px 0 14px; }
.screen .who b { font-size: 24px; color: #fff; display: block; } .screen .who span { font-size: 13px; color: #cfc8b8; }
@property --p { syntax: "<number>"; inherits: false; initial-value: 0; }
.phone .ring { width: 84px; height: 84px; flex: none; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#e0662a calc(var(--p) * 1%), #2a2822 0); transition: --p 1.1s ease; }
.phone .ring div { width: 66px; height: 66px; border-radius: 50%; background: #14130f; display: grid; place-items: center; text-align: center; line-height: 1.05; }
.phone .ring strong { font-size: 21px; color: #fff; } .phone .ring small { font-size: 9px; color: #a39c8c; display: block; }
.bar { margin: 9px 0; font-size: 13px; }
.bar .row { display: flex; justify-content: space-between; } .bar .row em { font-style: normal; color: #a39c8c; }
.bar .track { position: relative; height: 8px; background: #2a2822; border-radius: 99px; margin-top: 4px; }
.bar .fill { height: 100%; border-radius: 99px; background: #6fae7a; transition: width 1.1s ease, background-color .5s; }
.bar.miss .fill { background: #e0a23a; }
.bar .target { position: absolute; top: -3px; width: 2px; height: 14px; background: #fff; border-radius: 2px; }
.stages { display: flex; gap: 6px; margin: 0 0 6px; }
.stages span { flex: 1; text-align: center; font-size: 11px; padding: 3px 0; border-radius: 99px; background: #23211b; color: #8b8474; transition: background-color .4s, color .4s; }
.stages span.on { background: #c8371d; color: #fff; font-weight: 700; }
.mission { background: #23211b; border-radius: 10px; padding: 10px 12px; margin-top: 14px; font-size: 13px; color: #cfc8b8; transition: opacity .4s; }
.mission b { color: #fff; } .mission.fade { opacity: 0; } .mission.done { background: #1d2a1f; color: #bfe0c4; }

/* door pages (/train/, /parents/): a sample panel beside the pitch, then feature tiles */
.panel { background: var(--card); border: 1px solid var(--ink); padding: 26px; box-shadow: 12px 12px 0 rgba(27,26,23,.09); }
.panel h3 { font-size: 22px; }
.todo { list-style: none; margin: 18px 0 0; padding: 0; }
.todo li { display: grid; grid-template-columns: 26px 1fr; gap: 4px 10px; padding: 13px 0; border-top: 1px solid var(--line); }
.todo li b { font-size: 18px; } .todo li small { grid-column: 2; color: var(--ink3); font-size: 15.5px; }
.todo .tick { color: var(--red); font-weight: 800; } .todo .open { width: 16px; height: 16px; border: 1.5px solid var(--ink); border-radius: 50%; margin-top: 5px; }
.chart { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; align-items: end; height: 190px; margin-top: 22px; border-bottom: 1px solid var(--ink); }
.chart div { background: var(--ink); height: calc(var(--v) * 1%); position: relative; }
.chart div:last-child { background: var(--grad); }
.chart b { position: absolute; top: -24px; left: 0; right: 0; text-align: center; font: 600 15px var(--serif); }
.months { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; text-align: center; font-size: 12px; color: var(--ink3); margin-top: 6px; }
.twocol { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; font-size: 16px; }
.twocol div { border: 1px solid var(--line); padding: 10px 12px; } .twocol b { display: block; color: var(--red); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border: 1px solid var(--ink); background: var(--card); }
.tiles > div { padding: 28px 30px; border-bottom: 1px solid var(--line); }
.tiles > div:nth-child(odd) { border-right: 1px solid var(--line); }
.tiles > div:nth-last-child(-n+2) { border-bottom: 0; }
.tiles p { color: var(--ink2); font-size: 18px; }
.founding { text-align: center; }
.founding .price { font: 600 clamp(48px, 7vw, 76px)/1 var(--serif); margin: 10px 0 14px; }
.founding .price span { font: 500 18px var(--sans); color: var(--ink2); }

@media (max-width: 900px) {
  main > section { padding: 52px 0; }
  .hero:not(.home) .wrap { grid-template-columns: 1fr !important; gap: 32px; padding-top: 40px; padding-bottom: 48px; }
  .g3, .g4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .g2, .g3, .g4, .tiles { grid-template-columns: 1fr; }
  .tiles > div:nth-child(odd) { border-right: 0; } .tiles > div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .kpis { grid-template-columns: repeat(2, 1fr); } .dash-cols { grid-template-columns: 1fr; }
  /* three-column tables get too narrow on a phone with the bigger text */
  table { font-size: 15.5px; } th, td { padding: 10px 9px; } th { font-size: 12.5px; letter-spacing: .08em; }
  .book-dialog { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; border-radius: 0; }
}

/* phone-only short version (scoring page): .dt shows on computers, .ph on phones; .mfold sections are always open on computers and fold on phones (site.js closes them) */
.ph { display: none; }
details.mfold { background: none; border: 0; padding: 0; margin: 0; }
details.mfold > summary { display: none; }
@media (max-width: 600px) {
  .dt { display: none; } span.ph { display: inline; } p.ph { display: block; }
  details.mfold > summary { display: inline-block; list-style: none; margin-top: 4px; padding: 10px 18px; border: 1px solid var(--ink); border-radius: 99px; font-weight: 700; font-size: 16px; color: var(--red); background: var(--card); }
  details.mfold > summary::-webkit-details-marker { display: none; }
  details.mfold > summary::after { content: " ↓"; } details.mfold[open] > summary::after { content: " ↑"; }
  details.mfold[open] > summary { margin-bottom: 18px; }
  table.scores thead { display: none; }
  table.scores, table.scores tbody, table.scores tr, table.scores td { display: block; }
  table.scores tr { padding: 14px 16px; border-bottom: 1px solid var(--line); }
  table.scores tr:last-child { border-bottom: 0; }
  table.scores td { padding: 0; border: 0; }
  table.scores td:first-child b { font: 600 20px var(--serif); }
  table.scores td:nth-child(2) { margin: 2px 0 4px; font-size: 17px; }
  table.scores td:nth-child(3) { font-size: 15px; color: var(--ink3); }
}
