/* Kettle's preview site, in the app's "Brew" look (Kettle Brand Guide). No framework, no build. */
:root {
  --ink: #12343B; --ink-2: #2B4A51; --secondary: #4A6369; --muted: #6B7F84;
  --ground: #F7F3EC; --card: #FFFFFF; --oat: #EDE6D9; --oat-2: #E3DACA; --line: #E6DECF;
  --brass: #B8901C; --brass-lt: #D4A62A;
  --ok: #1E6E44; --ok-fill: #2E9E62; --ok-bg: #E6F4EC;
  --late-fill: #D99A06; --vlate: #D9480F; --cancel: #B42318;
  --serif: 'Fraunces', Georgia, serif; --sans: 'Figtree', system-ui, -apple-system, sans-serif;
  --shadow: 0 1px 2px rgba(18, 52, 59, .06), 0 12px 32px rgba(18, 52, 59, .10);
  --r: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 17px/1.55 var(--sans); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 4.4vw, 46px); }
h3 { font-size: 20px; }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); margin-bottom: 12px; }
.center { text-align: center; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 24px; padding: 12px max(20px, calc((100vw - 1160px) / 2)); background: rgba(247, 243, 236, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(230, 222, 207, .7); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 22px var(--serif); }
.brand img { border-radius: 9px; box-shadow: inset 0 0 0 1px rgba(18,52,59,.2), 0 0 0 1.5px rgba(18,52,59,.85); }
.nav nav { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: 15px; }
.nav nav a { text-decoration: none; color: var(--secondary); }
.nav nav a:hover { color: var(--ink); }
.pill { background: var(--ink); color: var(--ground); text-decoration: none; font-weight: 700; font-size: 15px; padding: 10px 18px; border-radius: 999px; white-space: nowrap; }

section { padding: 88px max(20px, calc((100vw - 1160px) / 2)); }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-top: 64px; }
/* Two sentences at one size: the promise in bold, the answer in Fraunces Light (Oliver, 7 Oct). */
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.04; letter-spacing: -.02em; margin-bottom: 32px; text-wrap: balance; }
.hero h1 .h1-light { display: block; font-weight: 300; letter-spacing: -.01em; margin-top: .28em; text-wrap: balance; }
.hero h1 .h1-light u { text-decoration-thickness: .06em; text-underline-offset: .14em; }
.lede { font-size: 20px; color: var(--secondary); margin: 22px 0 30px; max-width: 34em; }
.join-inline { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; }
.join-inline input { flex: 1 1 220px; }
input { font: 500 17px var(--sans); color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 14px 16px; min-height: 54px; width: 100%; }
input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(18, 52, 59, .1); }
button[type=submit] { font: 700 17px var(--sans); color: var(--ground); background: var(--ink); border: 0; border-radius: 999px; padding: 0 26px; min-height: 54px; cursor: pointer; transition: transform .12s, background .12s; }
button[type=submit]:hover { background: var(--ink-2); }
button[type=submit]:active { transform: scale(.98); }
button[disabled] { opacity: .6; cursor: default; }
.form-note { flex-basis: 100%; font-size: 14px; color: var(--muted); }
.form-note.ok { color: var(--ok); font-weight: 600; }
.form-note.err { color: var(--cancel); font-weight: 600; }
/* K-199: after a successful sign-up the fields give way to a clear confirmation. */
form.joined > :not(.join-done) { display: none; }
.join-done { display: none; flex-basis: 100%; align-items: flex-start; gap: 14px; padding: 18px 20px; border-radius: 20px; background: var(--ok-bg); color: var(--ink); outline: none; }
form.joined > .join-done { display: flex; }
.join-done svg { flex: 0 0 34px; width: 34px; height: 34px; fill: var(--ok); stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.join-done strong { display: block; font-size: 19px; line-height: 1.3; }
.join-done span { display: block; margin-top: 2px; font-size: 15px; color: var(--muted); overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }

/* the phone */
.phone { justify-self: center; width: 330px; aspect-ratio: 9 / 19.2; border-radius: 52px; background: #0C2328; padding: 12px; box-shadow: 0 40px 80px rgba(18, 52, 59, .28), 0 0 0 1px rgba(0, 0, 0, .2); transform: rotate(2deg); }
.screen { height: 100%; border-radius: 41px; background: var(--ground); overflow: hidden; display: flex; flex-direction: column; padding: 46px 0 0; font-size: 12px; position: relative; }
.screen::before { content: ''; position: absolute; top: 12px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #0C2328; }
.p-top { display: flex; align-items: center; justify-content: space-between; padding: 6px 14px 10px; gap: 8px; }
.p-seg { display: flex; background: var(--oat); border-radius: 999px; padding: 3px; font-weight: 600; }
.p-seg b, .p-seg span { padding: 5px 10px; border-radius: 999px; }
.p-seg b { background: var(--ink); color: var(--ground); }
.p-seg span { color: var(--secondary); }
.p-answer { text-align: right; display: flex; flex-direction: column; }
.p-answer b { font: 700 17px var(--serif); color: var(--ok); }
.p-answer small { color: var(--secondary); font-size: 10.5px; }
.p-bar { margin: 0 12px; background: var(--card); border-radius: 14px; padding: 10px 10px 6px; }
.ticks { display: flex; gap: 2px; align-items: end; height: 20px; }
.ticks i { flex: 1; height: 13px; border-radius: 2px; background: var(--ok-fill); }
.ticks i.late { background: var(--late-fill); }
.ticks i.vlate { background: var(--vlate); }
.ticks i.f { background: color-mix(in srgb, var(--ok-fill) 42%, #fff); }
.ticks i.f.late { background: color-mix(in srgb, var(--late-fill) 50%, #fff); }
.ticks i.now { flex: 0 0 2px; height: 20px; background: var(--brass); }
.ticks i.sel { box-shadow: 0 0 0 2px var(--ink); height: 18px; }
.scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 9.5px; margin-top: 4px; }
.p-cards { flex: 1; display: grid; grid-template-columns: 14px 1fr 14px; gap: 8px; padding: 12px 0; min-height: 0; }
.p-card { background: var(--card); border-radius: 20px; border-top: 5px solid var(--ok-fill); padding: 14px 14px 0; overflow: hidden; box-shadow: var(--shadow); }
.p-card.ghost { border-radius: 0 20px 20px 0; padding: 0; }
.p-card.ghost:last-child { border-radius: 20px 0 0 20px; }
.c-head { display: flex; align-items: center; gap: 8px; }
.c-time { font: 700 34px/1 var(--serif); }
.c-next { background: var(--brass); color: #fff; font-weight: 700; padding: 3px 9px; border-radius: 999px; font-size: 11px; }
.c-status { color: var(--ok); font-weight: 700; margin: 6px 0 4px; font-size: 13px; }
.c-route { color: var(--secondary); display: flex; justify-content: space-between; gap: 6px; font-size: 11.5px; }
.c-route span { background: var(--oat); border-radius: 999px; padding: 1px 8px; font-weight: 600; white-space: nowrap; }
.c-plat { display: inline-block; margin: 8px 0 10px; background: var(--ok-bg); color: var(--ok); font-weight: 700; border-radius: 999px; padding: 4px 10px; font-size: 11px; }
.c-stops { list-style: none; margin: 0; padding: 0 0 0 4px; }
.c-stops li { position: relative; padding: 0 0 9px 58px; color: var(--ink); }
.c-stops li b { position: absolute; left: 0; font-weight: 700; }
.c-stops li::before { content: ''; position: absolute; left: 41px; top: 3px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--ink); background: var(--card); }
.c-stops li::after { content: ''; position: absolute; left: 46px; top: 14px; bottom: -2px; width: 2px; background: var(--ink); }
.c-stops li:last-child::after { display: none; }
.c-stops li.on::before { background: var(--ink); }
.c-stops li.on { font-weight: 700; }
.p-tabs { display: flex; justify-content: space-around; padding: 10px 6px 22px; border-top: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: 10.5px; }
.p-tabs .on { color: var(--ink); }

/* strip */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 28px; padding-bottom: 28px; background: var(--ink); color: rgba(247, 243, 236, .78); font-size: 16px; }
.strip b { color: var(--ground); }

/* big feature rows */
.big { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.big.flip .big-text { order: 2; }
.big-text p:not(.eyebrow) { color: var(--secondary); font-size: 18px; margin-top: 18px; }
.ticks-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.ticks-list li { padding-left: 30px; position: relative; font-weight: 500; }
/* Why Kettle (14 Oct, Oliver's four selling points): the list sits under the centred intro. */
.why-points { max-width: 640px; margin: 22px auto 22px; text-align: left; }
.why-points li { font-weight: 400; }
.ticks-list li::before { content: ''; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E6E44' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.bar-art { background: var(--card); border-radius: 28px; box-shadow: var(--shadow); padding: 40px 36px; display: grid; gap: 24px; }
.bar-art::before { content: ''; height: 54px; border-radius: 10px; background:
  repeating-linear-gradient(90deg, transparent 0 9px, var(--card) 9px 13px),
  linear-gradient(90deg, var(--ok-fill) 0 9%, var(--late-fill) 9% 12%, var(--ok-fill) 12% 27%, var(--vlate) 27% 30%, var(--ok-fill) 30% 38%, var(--cancel) 38% 41%, var(--ok-fill) 41% 46%, var(--brass) 46% 47%, color-mix(in srgb, var(--ok-fill) 42%, #fff) 47% 70%, color-mix(in srgb, var(--late-fill) 50%, #fff) 70% 76%, color-mix(in srgb, var(--ok-fill) 42%, #fff) 76%); }
.legend-card { display: grid; gap: 12px; font-weight: 600; color: var(--secondary); }
.lg-row { display: flex; align-items: center; gap: 12px; }
.lg-row i { width: 26px; height: 12px; border-radius: 3px; background: var(--ok-fill); }
.lg-row i.late { background: var(--late-fill); } .lg-row i.vlate { background: var(--vlate); } .lg-row i.cancel { background: var(--cancel); }
.lg-row i.f { background: color-mix(in srgb, var(--ok-fill) 42%, #fff); }
.map-art { margin: 0; justify-self: center; width: min(360px, 100%); border-radius: 40px; overflow: hidden; box-shadow: 0 30px 70px rgba(18, 52, 59, .25); border: 10px solid #0C2328; transform: rotate(-2deg); }

/* feature grid */
.grid-sec { background: var(--card); }
.grid-sec h2 { margin-bottom: 48px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid article { background: var(--ground); border-radius: var(--r); padding: 24px; }
.grid article p { color: var(--secondary); margin-top: 8px; font-size: 16px; }
.icon-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.icon-row img { border-radius: 9px; }

/* how */
.how h2 { margin-bottom: 44px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--card); border-radius: var(--r); padding: 28px; box-shadow: var(--shadow); }
.steps span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--ground); font: 700 18px var(--serif); margin-bottom: 16px; }
.steps p { color: var(--secondary); margin-top: 8px; }

/* next */
.next { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; background: var(--ink); color: var(--ground); }
.next .eyebrow { color: var(--brass-lt); }
.next ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.next li { padding: 0 0 18px; border-bottom: 1px solid rgba(247, 243, 236, .14); color: rgba(247, 243, 236, .78); }
.next li { font-size: 18px; }
.next li b { color: var(--ground); font: 700 20px var(--serif); }

/* faq */
.faq { max-width: 860px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.faq h2 { margin-bottom: 28px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 19px; padding: 16px 40px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 10px; font: 400 30px var(--sans); color: var(--brass); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--secondary); padding: 0 0 18px; max-width: 46em; }

/* join */
.join { text-align: center; background: linear-gradient(180deg, var(--ground), var(--oat)); }
.join > p { color: var(--secondary); font-size: 18px; margin: 14px auto 32px; max-width: 32em; }
.join-form { max-width: 560px; margin: 0 auto; text-align: left; display: grid; gap: 14px; background: var(--card); padding: 28px; border-radius: 28px; box-shadow: var(--shadow); }
.join-form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.join-form small { color: var(--muted); font-weight: 500; }
.join-form .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.join-form button { width: 100%; }

footer { padding: 48px 20px 64px; text-align: center; color: var(--secondary); font-size: 15px; display: grid; gap: 8px; justify-items: center; }
.foot-brand { display: flex; align-items: center; gap: 8px; font: 700 20px var(--serif); color: var(--ink); margin-bottom: 6px; }
.foot-brand img { border-radius: 7px; box-shadow: 0 0 0 1.5px rgba(18,52,59,.85); }
.attr { font-weight: 700; color: var(--ink); }
/* National Rail's "Powered by" logo (K-5), in their blue (their rules: blue, black or white, full opacity, never warped). */
.nr-logo { display: inline-block; width: 220px; aspect-ratio: 371.869 / 78.832; background: #2E2D7F; -webkit-mask: url(/nr-powered.svg?v=2) no-repeat center / contain; mask: url(/nr-powered.svg?v=2) no-repeat center / contain; }
/* High contrast (Windows forced colours) paints over the mask's colour and the logo vanished (K-146).
   Keep it, in the system text colour: black or white, as National Rail allows. */
@media (forced-colors: active) { .nr-logo { forced-color-adjust: none; background: CanvasText; } }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
footer .small { font-size: 14px; }

/* Premium features and screenshots (8 Oct) */
.pm-tag { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: var(--ink); color: #F1D57A; font-size: 11px; letter-spacing: .08em; vertical-align: 1px; }
.big-text p.fine-print { font-size: 15px; color: var(--muted); margin-top: 20px; }
.shot-art { margin: 0; justify-self: center; width: min(340px, 100%); padding: 9px; border-radius: 56px; background: linear-gradient(145deg, #2B4A51, #0C2328 38%, #0C2328 70%, #24424A); box-shadow: 0 2px 0 1px rgba(255, 255, 255, .06) inset, 0 40px 80px -20px rgba(18, 52, 59, .45), 0 18px 36px -18px rgba(18, 52, 59, .35); }
.shot-art img { border-radius: 47px; display: block; background: var(--ground); }
.hero-art { position: relative; justify-self: center; width: min(340px, 100%); margin-bottom: 30px; }
.hero-art .shot-art { width: 100%; }
.hero-la { position: absolute; left: -92px; bottom: -30px; width: 300px; height: auto; border-radius: 26px; box-shadow: 0 28px 56px -12px rgba(12, 35, 40, .55); }
.hero-shot { justify-self: center; }
.hero h1 em { font-style: italic; }
/* Phone screenshots keep their shape: the frame sets the width, the height follows (8 Oct). */
.map-art img, .shot-art img { width: 100%; height: auto; }

/* Free and Premium */
.plans { background: var(--card); }
.plans-lede { max-width: 640px; margin: 18px auto 0; text-align: center; color: var(--secondary); font-size: 18px; }
.plans-wrap { max-width: 860px; margin: 44px auto 0; overflow-x: auto; }
.plans-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; }
.plans-table th, .plans-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.plans-table tbody th { text-align: left; font-weight: 600; color: var(--ink); }
.plans-table td { width: 26%; color: var(--ink-2); font-weight: 600; }
.plans-table td:last-child, .plans-table th.pl-pm { background: #F6F0E2; }
.plans-table thead th { border-bottom: 2px solid var(--ink); padding-top: 20px; padding-bottom: 16px; vertical-align: bottom; }
.plans-table th.pl-pm { border-radius: 18px 18px 0 0; }
.plans-table tr.pl-end td:last-child { border-radius: 0 0 18px 18px; }
.pl-name { display: block; font: 700 22px var(--serif); }
.pl-price { display: block; font-weight: 700; font-size: 16px; margin-top: 4px; }
.pl-alt { display: block; font-size: 13px; font-weight: 600; color: var(--secondary); margin-top: 2px; }
.pl-note { font-size: 14px; font-weight: 500; color: var(--secondary); }
.plans-table tbody th .pl-why { display: block; font-size: 14px; font-weight: 400; line-height: 1.4; color: var(--secondary); margin-top: 3px; max-width: 34em; }
.pl-soon { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--oat); color: var(--ink-2); font-size: 13px; font-weight: 700; white-space: nowrap; }
.plans-table tr.pl-group th { padding-top: 28px; font: 700 13px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--brass); text-align: left; }
.plans-table tr.pl-coming td, .plans-table tr.pl-group th { background: none; }
.yes, .no { display: inline-block; width: 22px; height: 22px; border-radius: 50%; vertical-align: middle; }
.yes { background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E6E44' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.no { width: 14px; height: 2px; border-radius: 1px; background: var(--muted); opacity: .5; }
.plans-note { max-width: 640px; margin: 28px auto 0; text-align: center; color: var(--secondary); }
.plans-note b { color: var(--ink); }

/* Price tiers and the why intro (8 Oct, publisher review) */
.why-intro { padding-bottom: 8px; }
.free-tag { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); font-size: 11px; letter-spacing: .08em; vertical-align: 1px; }
.preview-note { text-align: center; margin: 16px auto 0; font-weight: 700; color: var(--ok); }
.tiers { max-width: 960px; margin: 40px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.tier { background: var(--ground); border-radius: var(--r); padding: 28px; }
.tier-pm { background: #F6F0E2; box-shadow: inset 0 0 0 2px var(--brass); }
.tier h3 { font-size: 26px; }
.tier-price { font-weight: 700; font-size: 20px; margin-top: 6px; }
.tier-price span { display: block; font-size: 14px; font-weight: 600; color: var(--secondary); margin-top: 2px; }
.tier-lead { margin-top: 18px; font-weight: 600; color: var(--secondary); }
.tier .ticks-list { margin-top: 16px; }
.tier .ticks-list li { font-weight: 500; font-size: 16px; }
.tier-small { margin-top: 18px; font-size: 14px; color: var(--secondary); }
.foot-line { font: 600 18px var(--serif); color: var(--ink); }

.feat-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 18px; }
.feat-list li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; }
.feat-list .fi { width: 36px; height: 36px; border-radius: 10px; background: var(--card); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.tier-pm .feat-list .fi { background: var(--ink); color: #F1D57A; }
.soon-tag { display: inline-block; vertical-align: 2px; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--card); color: var(--secondary); font-size: 11.5px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.feat-list .fi svg { width: 20px; height: 20px; }
.feat-list b { display: block; font-size: 16px; font-weight: 700; color: var(--ink); line-height: 1.3; margin-bottom: 2px; }
.feat-list li > span:last-child { font-size: 15px; color: var(--secondary); line-height: 1.45; }

/* header sign in, hero train search, store buttons, join pop-up */
.nav-signin { font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; padding: 10px 6px; white-space: nowrap; }
.nav-signin:hover { text-decoration: underline; text-underline-offset: 4px; }
.trip-search { max-width: 560px; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 20px; display: grid; gap: 14px; }
.trip-title { font-family: var(--serif); font-weight: 700; font-size: 21px; }
.trip-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.trip-fields label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; color: var(--secondary); }
.trip-search button { width: 100%; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 26px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 7px 18px 7px 14px; border: 0; border-radius: 12px; background: #000; color: #fff; font: inherit; text-align: left; cursor: pointer; transition: transform .12s; }
.store:hover { transform: translateY(-1px); }
.store svg { width: 24px; height: 24px; flex: none; }
.store span { display: grid; line-height: 1.1; }
.store small { font-size: 11.5px; font-weight: 500; opacity: .85; }
.store b { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.join-dialog { width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); border: 0; border-radius: 28px; padding: 30px 28px 24px; background: var(--ground); color: var(--ink); box-shadow: 0 24px 64px rgba(18, 52, 59, .3); }
.join-dialog::backdrop { background: rgba(18, 52, 59, .45); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.jd-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 999px; background: var(--oat); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.jd-close svg { width: 18px; height: 18px; }
.jd-route { display: inline-block; background: var(--ink); color: var(--ground); font-weight: 700; font-size: 15px; padding: 5px 14px; border-radius: 999px; margin-bottom: 14px; max-width: calc(100% - 48px); }
.jd-title { font-size: clamp(26px, 5vw, 32px); padding-right: 44px; margin-bottom: 10px; }
.jd-body { color: var(--secondary); margin-bottom: 18px; }
.jd-form { padding: 20px; box-shadow: none; }

/* official store badges (Apple's and Google's artwork, unaltered) */
.store-badge { display: inline-block; padding: 0; border: 0; background: none; cursor: pointer; line-height: 0; border-radius: 8px; }
.store-badge img { height: 48px; width: auto; display: block; }
.store-badge:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }

/* gallery */
.gallery { overflow: hidden; }
.gal-group { margin-top: 44px; }
.gal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.gal-head h3 { font-size: 24px; }
.gal-nav { display: flex; gap: 8px; }
.gal-btn { width: 42px; height: 42px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.gal-btn svg { width: 20px; height: 20px; }
.gal-btn:hover { border-color: var(--ink); }
.gal-strip { display: grid; grid-auto-flow: column; grid-auto-columns: 236px; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; scrollbar-width: thin; overscroll-behavior-x: contain; }
.gal-strip:focus-visible { outline: 3px solid var(--brass); outline-offset: 4px; border-radius: 12px; }
.gal-item { margin: 0; scroll-snap-align: start; }
.gal-item img { width: 100%; height: auto; aspect-ratio: 600 / 1300; border-radius: 30px; box-shadow: var(--shadow); background: var(--oat); border: 1px solid var(--line); }
.gal-item figcaption, .gal-card figcaption { display: grid; gap: 3px; margin-top: 14px; font-size: 15px; line-height: 1.45; color: var(--secondary); }
.gal-item figcaption b, .gal-card figcaption b { color: var(--ink); font-size: 16px; }
.gal-item figcaption b, .gal-card figcaption b { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.gallery figcaption .pm-tag { margin: 0; }
.gal-wide { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 900px; margin: 0 auto; }
.gal-card { margin: 0; }
.gal-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 22px; box-shadow: var(--shadow); background: var(--oat); }
.gallery .fine-print { margin: 28px auto 0; max-width: 720px; }

/* Kettle for employers */
.biz { background: var(--ink); color: var(--ground); }
.biz .eyebrow { color: #F1D57A; }
.biz h2 { color: var(--ground); max-width: 760px; }
.biz-lede { font-size: 19px; color: #D5DEDF; max-width: 760px; margin-top: 18px; }
.biz-steps { list-style: none; counter-reset: s; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.biz-steps li { counter-increment: s; background: rgba(247, 243, 236, .07); border: 1px solid rgba(247, 243, 236, .14); border-radius: var(--r); padding: 22px; display: grid; gap: 6px; color: #D5DEDF; font-size: 15.5px; line-height: 1.5; }
.biz-steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 999px; background: #F1D57A; color: var(--ink); font-weight: 700; display: grid; place-items: center; margin-bottom: 6px; }
.biz-steps b { color: var(--ground); font-size: 17px; }
.biz-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 28px; margin-top: 28px; align-items: start; }
.biz-price { background: var(--ground); color: var(--ink); border-radius: 28px; padding: 28px; }
.biz-price h3 { font-size: 22px; margin-bottom: 14px; }
.biz-price table { width: 100%; border-collapse: collapse; }
.biz-price th, .biz-price td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.biz-price th { font-weight: 600; color: var(--ink-2); }
.biz-price td { font-family: var(--serif); font-weight: 700; font-size: 22px; white-space: nowrap; padding-left: 12px; }
.biz-price td.biz-save { font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--ok); text-align: right; }
.biz-talk { font-size: 16.5px; color: var(--ink-2); line-height: 1.55; }
.biz-note { font-size: 14px; color: var(--muted); margin-top: 12px; }
.biz-cta { display: block; text-align: center; margin-top: 20px; background: var(--ink); color: var(--ground); text-decoration: none; font-weight: 700; font-size: 17px; padding: 15px 22px; border-radius: 999px; }
.biz-cta:hover { background: var(--ink-2); }
.biz-points { margin-top: 0; }
.biz-points b { color: var(--ground); }
.biz-points li > span:last-child { color: #D5DEDF; }
.biz-points .fi { background: rgba(247, 243, 236, .1); color: #F1D57A; }
/* The reception screen (K-241): text beside a picture of the demo, in a TV's dark frame. */
.biz-screen { display: grid; grid-template-columns: .8fr 1.2fr; gap: 32px; margin-top: 44px; align-items: center; border-top: 1px solid rgba(247, 243, 236, .14); padding-top: 44px; }
.biz-screen h3 { color: var(--ground); font-size: 30px; line-height: 1.15; margin: 4px 0 14px; }
.biz-screen-text > p:not(.eyebrow) { color: #D5DEDF; font-size: 17px; line-height: 1.55; }
.biz-screen-points { margin: 16px 0 0; padding-left: 20px; color: #D5DEDF; font-size: 15.5px; line-height: 1.6; }
.biz-screen-cta { display: inline-block; background: #F1D57A; color: var(--ink); margin-top: 22px; }
.biz-screen-cta:hover { background: #F6E3A2; }
.biz-screen .biz-screen-note { font-size: 13.5px; color: #AFC0C2; margin-top: 12px; }
.biz-screen-shot { display: block; background: #05090A; border-radius: 18px; padding: 10px; box-shadow: 0 18px 50px rgba(0, 0, 0, .35); }
.biz-screen-shot img { display: block; width: 100%; height: auto; border-radius: 8px; }
footer .tm { font-size: 12px; max-width: 760px; }

/* phone menu (the section links are hidden under 920px) */
.nav-burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); place-items: center; cursor: pointer; flex: none; }
.nav-burger:hover { background: var(--oat); }
.nav-burger svg { width: 24px; height: 24px; }
.nav-burger path { transition: transform .18s, opacity .18s; transform-origin: 12px 12px; }
.nav-burger[aria-expanded="true"] .b1 { transform: translateY(5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] .b2 { opacity: 0; }
.nav-burger[aria-expanded="true"] .b3 { transform: translateY(-5px) rotate(-45deg); }
.nav-menu { position: absolute; left: 0; right: 0; top: 100%; background: var(--ground); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(18, 52, 59, .12); padding: 8px 20px 18px; display: grid; }
.nav-menu[hidden] { display: none; }
.nav-menu a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 18px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.nav-menu a:last-child { border-bottom: 0; }
.nav-menu .nav-menu-signin { color: var(--ok); }

/* media queries last (Brand Guide §7.10.8) */
@media (max-width: 920px) {
  .nav nav { display: none; }
  .nav-burger { display: grid; }
  .nav .nav-signin { display: none; }
  .nav .pill { margin-left: auto; }
  .hero, .big, .next, .tiers { grid-template-columns: 1fr; gap: 40px; }
  .gal-wide { grid-template-columns: 1fr 1fr; }
  .biz-steps, .biz-grid, .biz-screen { grid-template-columns: 1fr; }
  .big.flip .big-text { order: 0; }
  .hero { padding-top: 40px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  section { padding-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .pill { padding: 9px 14px; font-size: 14px; }
  .lede { font-size: 18px; }
  .strip { grid-template-columns: 1fr; gap: 10px; }
  .grid { grid-template-columns: 1fr; }
  .join-form .pair { grid-template-columns: 1fr; }
  .join-form { padding: 20px; }
  .nav { gap: 12px; }
  .trip-fields { grid-template-columns: 1fr; }
  .stores { gap: 10px; }
  .store-badge img { height: 44px; }
  .gal-strip { grid-auto-columns: 62%; }
  .gal-wide { grid-template-columns: 1fr; }
  .gal-head h3 { font-size: 21px; }
  .store { flex: 1 1 0; min-width: 0; padding: 7px 12px 7px 10px; gap: 8px; }
  .store small { font-size: 10.5px; }
  .store b { font-size: 17px; }
  .join-dialog { padding: 26px 18px 18px; }
  .jd-form { padding: 16px; }
  .phone { width: min(320px, 100%); transform: none; }
  .bar-art { padding: 28px 22px; }
  .plans-table th, .plans-table td { padding: 11px 8px; font-size: 14px; }
  .plans-table tbody th .pl-why { font-size: 13px; }
  .plans-table td { width: 20%; }
  .pl-soon { padding: 3px 7px; font-size: 12px; white-space: normal; }
  .pl-name { font-size: 19px; }
  .shot-art, .big.flip .shot-art { width: min(300px, 100%); }
  .hero-art { width: min(300px, 100%); }
  .hero-la { left: -14px; bottom: -26px; width: 230px; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .faq summary::after { transition: none; } button[type=submit] { transition: none; } }

/* Preview of unpublished copy from DB Five Admin (A-10): only on a signed ?preview= link. */
.cms-preview { position: sticky; top: 0; z-index: 100; background: #fab219; color: #12343B; padding: .6rem 1rem; font: 600 .9rem/1.3 Figtree, system-ui, sans-serif; text-align: center; }
.cms-preview a { color: inherit; }
/* Instagram in the footer (20 Oct 2026) */
footer .social a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; text-decoration: none; }
footer .social a:hover span { text-decoration: underline; }
/* Get Kettle (open to everyone, 20 Oct 2026): the App Store badge and the web app side by side */
.get { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; margin-top: 8px; }
.get .store-badge img { display: block; height: 48px; width: auto; }
.pill.get-web { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 22px; font-size: 16px; }
.get-web-line { margin: 14px 0 6px; }
.join-dialog .get { justify-content: flex-start; margin-top: 18px; }

/* kettletrains.com/stories (K-102), served by the api from the Gallery */
.stories{max-width:1160px;margin:0 auto;padding:40px 20px 80px}
.stories>h1{font:700 44px/1.1 var(--serif);margin:0 0 10px}.stories>p.lede{color:var(--secondary);font-size:18px;margin:0 0 36px;max-width:40em}
.story-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:28px}
.story{background:var(--card);border-radius:24px;overflow:hidden;box-shadow:var(--shadow)}
.story img{display:block;width:100%;height:auto}.story-text{padding:18px 20px 22px}
.story-when{color:var(--muted);font-size:14px;margin:0 0 6px}.story h2{font:700 21px/1.25 var(--serif);margin:0 0 8px}.story p{margin:0 0 10px;color:var(--secondary)}
.story a{color:var(--ink);font-weight:700}
.stories-fine{margin-top:40px;color:var(--muted);font-size:14px}
