/* DrumBeat — vendor site · one stylesheet, no framework. */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/newsreader-latin-ext-opsz-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #F6F4EF;
  --ink: #16181D;
  --ink-2: #3B3F46;
  --muted: #6B6F76;
  --faint: #9A9EA5;
  --rule: #D9D5CC;
  --rust: #B8471B;
  --rust-light: #E07A4F;
  --white: #FFFFFF;
  --dark-rule: #3B3F46;
  --dark-text-2: #C9C6BE;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: 20px;
  --max: 1280px;
}
html[data-theme="dark"] {
  --paper: #16181D; --ink: #F6F4EF; --ink-2: #C9C6BE; --muted: #9A9EA5; --faint: #6B6F76;
  --rule: #3B3F46; --rust: #E07A4F; --rust-light: #E07A4F; --white: #1E2128; --dark-rule: #3B3F46; --dark-text-2: #C9C6BE;
  color-scheme: dark;
}
html[data-theme="dark"] .trust { background: #0E1014; }
html[data-theme="dark"] .c-news { background: #17304F; color: #9CC3F5; }
html[data-theme="dark"] .c-promo { background: #10382A; color: #7ED3AF; }
html[data-theme="dark"] .c-price { background: #48201F; color: #F2A09B; }
html[data-theme="dark"] .c-train { background: #2C2450; color: #B9A6F5; }
html[data-theme="dark"] .brand svg rect, html[data-theme="dark"] .foot .brand svg rect { fill: #F6F4EF; }
html[data-theme="dark"] .brand svg path { fill: #16181D; }
html[data-theme="dark"] .btn-ink { background: #F6F4EF; color: #16181D; }
html[data-theme="dark"] .btn-ink:hover { background: var(--rust); color: #16181D; }
html[data-theme="dark"] select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23F6F4EF' stroke-width='1.4' fill='none'/%3E%3C/svg%3E"); }

/* text size — 5 steps, 3 = default */
html[data-fs="1"] { font-size: 87.5%; }
html[data-fs="2"] { font-size: 93.75%; }
html[data-fs="3"] { font-size: 100%; }
html[data-fs="4"] { font-size: 110%; }
html[data-fs="5"] { font-size: 122%; }

@media (min-width: 768px) { :root { --gutter: 40px; } }
@media (min-width: 1100px) { :root { --gutter: 80px; } }

*, *::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(--sans); font-size: 1rem; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--rust); }
h1, h2, h3, p { margin: 0; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.eyebrow { font-size: 0.6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); font-weight: 500; }
.meta { font-size: 0.6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.faint { color: var(--faint); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.rule { height: 1px; background: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border: 0; cursor: pointer;
  font: 500 .75rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  transition: background .15s, color .15s;
}
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--rust); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover { color: var(--rust); border-color: var(--rust); }
.link-line { display: inline-flex; align-items: center; min-height: 44px; box-shadow: inset 0 -1px 0 var(--ink); font: 500 .75rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.link-line:hover { box-shadow: inset 0 -1px 0 var(--rust); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* nav */
.nav { border-bottom: 1px solid var(--rule); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; flex-wrap: wrap; row-gap: 8px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand svg { display: block; }
.brand .name { font-family: var(--serif); font-size: 1.25rem; }
.brand .tag { display: none; margin-left: 8px; }
.nav-links { display: none; align-items: center; gap: 24px 28px; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a.meta { color: var(--ink); }
.nav-links a.meta.dim { color: var(--muted); }
.nav .btn { min-height: 40px; padding: 0 18px; }
.nav-mobile { display: flex; align-items: center; gap: 8px; }
.nav-mobile a.meta { color: var(--ink); display: inline-flex; align-items: center; height: 44px; padding: 0 8px; }
.menu-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; color: var(--ink); }
.menu { display: none; border-bottom: 1px solid var(--rule); }
.menu.open { display: block; }
.menu .wrap { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 12px; }
.menu a { display: flex; align-items: center; min-height: 44px; }
.menu .btn { margin-top: 8px; }
@media (min-width: 900px) {
  .brand .tag { display: inline; }
  .nav-links { display: flex; }
  .nav-mobile, .menu { display: none !important; }
  .nav .wrap { min-height: 76px; }
}

/* hero */
.hero .wrap { display: grid; gap: 36px; padding-top: 40px; padding-bottom: 40px; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero h1 { font-size: clamp(2.375rem, 4.6vw, 4rem); line-height: 1.05; text-wrap: pretty; }
.hero .lede { font-size: 1.0625rem; line-height: 1.5; color: var(--ink-2); max-width: 560px; text-wrap: pretty; }
.hero-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.hero-actions .btn { width: 100%; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 20px; border-top: 1px solid var(--ink); margin-top: 8px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat b { font-family: var(--serif); font-weight: 400; font-size: 1.75rem; }
.stat .meta { font-size: 0.625rem; }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; padding-top: 96px; padding-bottom: 88px; align-items: start; }
  .hero-copy { gap: 28px; }
  .hero .lede { font-size: 1.1875rem; }
  .hero-actions { flex-direction: row; align-items: center; gap: 28px; }
  .hero-actions .btn { width: auto; }
  .stats { gap: 24px; padding-top: 28px; margin-top: 20px; }
  .stat b { font-size: 2.125rem; }
  .stat .meta { font-size: 0.6875rem; }
}

/* feed card */
.card { background: var(--white); border: 1px solid var(--rule); }
.feed { padding: 18px 18px 12px; display: flex; flex-direction: column; }
.feed-head { display: flex; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--ink); }
.item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.item:last-of-type { border-bottom: 0; }
.mono { width: 32px; height: 32px; flex: none; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 600; }
.item-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.item-body .meta { font-size: 0.625rem; }
.item-body .title { font-family: var(--serif); font-size: 1rem; line-height: 1.3; }
.item-body .sub { font-size: 0.8125rem; color: var(--muted); }
.deadline { color: var(--rust); }
.feed-foot { padding-top: 10px; border-top: 1px solid var(--rule); font-size: 0.625rem; }
@media (min-width: 900px) {
  .feed { padding: 28px 28px 20px; margin-top: 12px; }
  .feed-head { padding-bottom: 14px; }
  .item { gap: 16px; padding: 18px 0; }
  .mono { width: 36px; height: 36px; }
  .item-body { gap: 5px; }
  .item-body .meta, .feed-foot { font-size: 0.6875rem; }
  .item-body .title { font-size: 1.125rem; }
}
.c-news { background: #EBF3FF; color: #1E4D8C; }
.c-promo { background: #ECFDF5; color: #065F46; }
.c-price { background: #FFF1F0; color: #9B1C1C; }
.c-train { background: #F5F3FF; color: #4C1D95; }

/* sections */
.section .wrap { display: flex; flex-direction: column; gap: 20px; padding-bottom: 40px; }
.section-head { display: grid; gap: 12px; }
.section-head h2 { font-size: clamp(1.875rem, 3.2vw, 2.75rem); line-height: 1.1; text-wrap: pretty; }
.section-head .intro { font-size: 1.0625rem; line-height: 1.55; color: var(--ink-2); }
@media (min-width: 900px) {
  .section .wrap { gap: 40px; padding-bottom: 96px; }
  .section-head { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: end; }
  .section-head > div { display: flex; flex-direction: column; gap: 16px; }
}

/* problem */
.fails { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.fail { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.fail .num { font-family: var(--serif); font-size: 1.125rem; color: var(--rust); width: 28px; flex: none; }
.fail-body { display: flex; flex-direction: column; gap: 4px; }
.fail-body h3 { font-family: var(--serif); font-weight: 400; font-size: 1.125rem; }
.fail-body p { font-size: 0.8125rem; line-height: 1.5; color: var(--ink-2); }
@media (min-width: 900px) {
  .fails { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fail { flex-direction: column; gap: 14px; padding: 28px 28px 8px 28px; border-bottom: 0; border-right: 1px solid var(--rule); }
  .fail:first-child { padding-left: 0; } .fail:last-child { padding-right: 0; border-right: 0; }
  .fail .num, .fail-body h3 { font-size: 1.375rem; }
  .fail-body p { font-size: 0.875rem; line-height: 1.55; }
}

/* how */
.steps { display: grid; gap: 12px; }
.step { display: flex; flex-direction: column; gap: 10px; padding: 18px; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; }
.step p { font-size: 0.8125rem; line-height: 1.5; color: var(--ink-2); }
.step .demo { display: none; flex-direction: column; gap: 10px; padding-top: 8px; }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { font-size: 0.6875rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--rule); padding: 6px 10px; color: var(--muted); }
.pill.on { border-color: var(--ink); color: var(--ink); }
.field { min-height: 48px; border: 1px solid var(--ink); background: var(--white); padding: 0 14px; font-size: 0.9375rem; display: flex; align-items: center; color: var(--muted); }
.field.sm { min-height: 40px; font-size: 0.8125rem; }
.kv { display: flex; justify-content: space-between; align-items: center; font-size: 0.8125rem; border-bottom: 1px solid var(--rule); padding-bottom: 8px; }
.kv:last-of-type { border-bottom: 0; }
.kv b { font-family: var(--serif); font-weight: 400; font-size: 1.125rem; }
.bar { display: flex; align-items: center; gap: 10px; }
.bar i { display: block; height: 4px; background: var(--ink); }
.bar .w61 { width: 120px; } .bar .w34 { width: 68px; } .bar .w18 { width: 36px; }
.kv.bare { border: 0; padding: 0; }
.brand .name.sm { font-size: 1rem; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .step { gap: 16px; padding: 28px; }
  .step h3 { font-size: 1.625rem; }
  .step p { font-size: 0.875rem; line-height: 1.55; }
  .step .demo { display: flex; }
}

/* trust */
.trust { background: var(--ink); color: var(--paper); }
.trust .wrap { display: flex; flex-direction: column; gap: 20px; padding-top: 40px; padding-bottom: 40px; }
.trust .eyebrow { color: var(--rust-light); }
.trust h2 { color: var(--paper); }
.trust .intro { color: var(--dark-text-2); }
.see { display: grid; gap: 0; border-top: 1px solid var(--dark-rule); }
.see-col { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; }
.see-col + .see-col { border-top: 1px solid var(--dark-rule); margin-top: 16px; }
.see-col .meta { color: var(--rust-light); }
.see-col ul { list-style: none; margin: 0; padding: 0; }
.see-col li { padding: 10px 0; border-bottom: 1px solid var(--dark-rule); font-size: 0.9375rem; }
.see-col li:last-child { border-bottom: 0; }
.assure { display: grid; gap: 14px; border-top: 1px solid var(--dark-rule); padding-top: 16px; }
.assure div { display: flex; flex-direction: column; gap: 4px; }
.assure b { font-family: var(--serif); font-weight: 400; font-size: 1.125rem; }
.assure span { font-size: 0.8125rem; color: var(--dark-text-2); }
@media (min-width: 900px) {
  .trust .wrap { gap: 48px; padding-top: 88px; padding-bottom: 88px; }
  .see { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .see-col { gap: 18px; padding-top: 32px; }
  .see-col + .see-col { border-top: 0; margin-top: 0; }
  .see-col:first-child { padding-right: 32px; border-right: 1px solid var(--dark-rule); }
  .see-col li { padding: 12px 0; font-size: 1rem; }
  .assure { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; border-top: 0; padding-top: 8px; }
  .assure b { font-size: 1.25rem; }
}

/* pilot + signup */
.pilot .wrap { display: grid; gap: 28px; padding-top: 40px; padding-bottom: 40px; }
.pilot-copy { display: flex; flex-direction: column; gap: 16px; }
.pilot-copy h2 { font-size: clamp(1.875rem, 3.2vw, 2.75rem); line-height: 1.1; text-wrap: pretty; }
.pilot-copy .intro { font-size: 1.0625rem; line-height: 1.55; color: var(--ink-2); }
.price { display: flex; flex-direction: column; border-top: 1px solid var(--ink); }
.price div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 0.9375rem; }
.price div:last-child { border-bottom: 0; }
.price b { font-family: var(--serif); font-weight: 400; font-size: 1.0625rem; white-space: nowrap; }
.price b.hi { color: var(--rust); }
.signup { display: flex; flex-direction: column; gap: 16px; padding: 20px; border-color: var(--ink); }
.signup h3 { font-family: var(--serif); font-weight: 400; font-size: 1.375rem; line-height: 1.2; }
.signup .sub { font-size: 0.875rem; color: var(--ink-2); }
.form { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: grid; gap: 12px; }
label.f { display: flex; flex-direction: column; gap: 6px; }
label.f .meta { color: var(--muted); }
input, select {
  width: 100%; min-height: 48px; color-scheme: inherit; border: 1px solid var(--ink); background: var(--white);
  padding: 0 14px; font: .9375rem var(--sans); color: var(--ink); border-radius: 0; -webkit-appearance: none; appearance: none;
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%2316181D' stroke-width='1.4' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
input::placeholder { color: var(--muted); }
input:invalid:not(:placeholder-shown) { border-color: var(--rust); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.75rem; line-height: 1.5; color: var(--muted); }
.consent input { width: 18px; height: 18px; min-height: 0; margin: 1px 0 0; padding: 0; flex: none; accent-color: var(--ink); -webkit-appearance: checkbox; appearance: checkbox; }
.consent a { box-shadow: inset 0 -1px 0 var(--rule); }
.fine { font-size: 0.75rem; line-height: 1.5; color: var(--muted); }
.fine a { box-shadow: inset 0 -1px 0 var(--rule); }
.notice { padding: 14px; border: 1px solid var(--ink); background: var(--paper); font-size: 0.875rem; line-height: 1.5; }
.notice.err { border-color: var(--rust); color: var(--rust); }
[hidden] { display: none !important; }
@media (min-width: 900px) {
  .pilot .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; padding-top: 96px; padding-bottom: 96px; }
  .pilot-copy { gap: 24px; }
  .signup { gap: 20px; padding: 36px; }
  .signup h3 { font-size: 1.75rem; }
  .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* about */
.about .wrap { display: flex; flex-direction: column; gap: 20px; padding-bottom: 40px; }
.about-grid { display: grid; gap: 16px; }
.about-grid h2 { font-size: clamp(1.875rem, 3.2vw, 2.75rem); line-height: 1.1; text-wrap: pretty; }
.about-text { display: flex; flex-direction: column; gap: 14px; font-size: 1rem; line-height: 1.55; color: var(--ink-2); }
@media (min-width: 900px) {
  .about .wrap { gap: 40px; padding-bottom: 96px; }
  .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 80px; align-items: start; }
  .about-grid > div:first-child { display: flex; flex-direction: column; gap: 16px; }
  .about-text { gap: 18px; font-size: 1.0625rem; }
}

/* footer */
.foot { border-top: 1px solid var(--ink); }
.foot .wrap { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; padding-bottom: 32px; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { color: var(--ink); display: inline-flex; align-items: center; min-height: 32px; }
.foot .legal { font-size: 0.75rem; color: var(--muted); }
.foot .note { font-size: 0.75rem; color: var(--faint); }
@media (min-width: 900px) {
  .foot .wrap { flex-direction: row; justify-content: space-between; align-items: flex-start; padding-top: 32px; padding-bottom: 40px; }
  .foot-links { gap: 32px; }
  .foot .note { max-width: 360px; text-align: right; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* preferences (language · text size · theme) */
.prefs { display: flex; align-items: center; gap: 10px; margin-left: 8px; padding-left: 16px; border-left: 1px solid var(--rule); }
.pref { display: inline-flex; align-items: center; }
.pref-lang { width: auto; min-height: 32px; height: 32px; padding: 0 26px 0 8px; font-size: .6875rem; letter-spacing: .08em; border: 1px solid var(--rule); background-color: transparent; color: var(--ink); background-position: right 8px center; cursor: pointer; }
.pref-size { border: 1px solid var(--rule); height: 32px; }
.pref-size button { height: 30px; min-width: 24px; padding: 0 5px; border: 0; background: transparent; color: var(--muted); font-family: var(--serif); line-height: 1; cursor: pointer; }
.pref-size button:nth-child(1) { font-size: .625rem; } .pref-size button:nth-child(2) { font-size: .75rem; } .pref-size button:nth-child(3) { font-size: .875rem; } .pref-size button:nth-child(4) { font-size: 1rem; } .pref-size button:nth-child(5) { font-size: 1.125rem; }
.pref-size button[aria-checked="true"] { color: var(--paper); background: var(--ink); }
.pref-theme { width: 32px; height: 32px; justify-content: center; border: 1px solid var(--rule); background: transparent; color: var(--ink); cursor: pointer; }
.pref-theme .i-sun { display: none; }
html[data-theme="dark"] .pref-theme .i-sun { display: block; }
html[data-theme="dark"] .pref-theme .i-moon { display: none; }
.prefs-mobile { margin: 12px 0 0; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--rule); gap: 12px; flex-wrap: wrap; }
.prefs-mobile .pref-lang, .prefs-mobile .pref-size, .prefs-mobile .pref-theme { height: 44px; min-height: 44px; }
.prefs-mobile .pref-size button { height: 42px; min-width: 40px; }
.prefs-mobile .pref-theme { width: 44px; }
.foot .version { font-size: .75rem; color: var(--muted); }
.foot .version a { box-shadow: inset 0 -1px 0 var(--rule); }
