:root {
  color-scheme: light;
  --ink: #162e26;
  --muted: #4b6258;
  --line: #d3ded5;
  --paper: #f3f6ef;
  --white: #fffefa;
  --pine: #173a30;
  --lime: #def4a6;
  --peach: #ffe2cc;
  font: 1rem/1.5 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body, h1, h2, p, figure, dl, dd { margin: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: .22em; }
:focus-visible { outline: 3px solid #914218; outline-offset: 4px; }
.result :focus-visible { outline-color: var(--lime); }
.wrap { max-width: 1152px; margin-inline: auto; padding-inline: 32px; }
.top { border-bottom: 1px solid var(--line); background: var(--white); }
.top-inner, .top nav, .brand { display: flex; align-items: center; }
.top-inner { min-height: 68px; justify-content: space-between; gap: 12px; }
.top nav { gap: clamp(12px, 3vw, 32px); }
.top a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.top nav a { gap: .35em; font-size: .9rem; font-weight: 650; }
.top a:hover, .top a[aria-current] { text-decoration: underline; }
.brand { font-size: 1.25rem; font-weight: 780; letter-spacing: -.05em; gap: 10px; }
.brand-mark { width: 23px; height: 23px; border: 2px solid currentColor; border-radius: 50%; display: grid; place-items: center; }
.brand-mark::before { content: ''; width: 8px; height: 9px; border-left: 2px solid; border-bottom: 2px solid; transform: translate(3px, -2px); }
.hero { padding-block: clamp(34px, 6vw, 72px) 34px; }
.eyebrow { font-size: .76rem; font-weight: 780; letter-spacing: .12em; text-transform: uppercase; }
h1 { margin-block: 10px 15px; font: 400 clamp(2.6rem, 6vw, 5.2rem)/.99 Georgia, serif; letter-spacing: -.067em; }
.intro { color: var(--muted); font-size: clamp(1rem, 2vw, 1.18rem); max-width: 42ch; }
.planner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; gap: 20px; scroll-margin-top: 16px; }
.right { display: grid; gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 3vw, 32px); }
.card-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
h2 { font-size: clamp(1.35rem, 3vw, 1.85rem); line-height: 1.15; letter-spacing: -.04em; }
.card-head h2 { margin-top: 4px; }
fieldset { padding: 0; border: 0; margin: 0; min-inline-size: 0; }
legend { padding: 0; font-weight: 740; }
.deadline { margin-block: 21px 23px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fields label { display: block; margin-bottom: 5px; }
label, .hint, .small { font-size: .9rem; }
.hint { color: var(--muted); }
.deadline .fields { margin-top: 8px; }
#departure-date { margin-top: 3px; }
details summary { min-height: 44px; align-content: center; cursor: pointer; font-weight: 680; }
.steps { margin-top: 8px; }
input:not([type=checkbox]), select { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #799084; border-radius: 9px; padding: 7px 9px; background: var(--white); }
input[type=time] { font-variant-numeric: tabular-nums; }
input[aria-invalid=true] { border-color: #9b3429; }
.steps .hint { margin-block: 3px 8px; }
.steps ol { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-block: 6px; border-top: 1px solid var(--line); counter-increment: step; }
.steps li label { display: flex; align-items: center; gap: 10px; font-weight: 610; }
.steps li label::before { content: counter(step, decimal-leading-zero); font: 500 .75rem/1 ui-monospace, monospace; color: var(--muted); }
.minutes { position: relative; display: block; }
.steps .minutes { flex: 0 0 91px; }
.minutes input { padding-right: 36px; }
.minutes > span { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); pointer-events: none; font-size: .8rem; color: var(--muted); }
.extras { margin-block: 14px 8px; }
.error { color: #962d25; margin-top: 10px; font-weight: 680; }
.button { min-height: 46px; border-radius: 9px; border: 1px solid transparent; padding: 9px 14px; display: inline-flex; justify-content: center; align-items: center; gap: .75em; text-decoration: none; font-weight: 730; text-align: center; }
.button:hover { box-shadow: inset 0 0 0 1px currentColor; }
.primary { background: var(--pine); color: var(--white); }
.secondary { background: var(--white); border-color: #799084; }
.light { background: var(--lime); color: var(--ink); width: 100%; justify-content: space-between; }
.calculate { margin-top: 14px; }
.text-button { min-height: 44px; padding: 4px 0; border: 0; background: none; text-decoration: underline; text-underline-offset: .22em; font-size: .85rem; }
.result { background: var(--pine); border-color: var(--pine); color: var(--white); }
.result .eyebrow, .start-day, .breakdown, .result .small, .stats dt { color: #d5e5d7; }
.big-time { margin-block: 10px 9px; font: 400 clamp(2.9rem, 7vw, 5.1rem)/1 Georgia, serif; letter-spacing: -.075em; font-variant-numeric: lining-nums tabular-nums; }
.start-day, .breakdown, .stats dt { font-size: .86rem; }
.timeline { display: flex; gap: 4px; margin-block: 21px 7px; height: 10px; border-radius: 10px; overflow: hidden; }
.timeline span { background: var(--lime); flex-basis: 0; }
.timeline .transitions { background: #99c5a9; }
.timeline .buffer { background: var(--peach); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 13px; margin-top: 16px; border-top: 1px solid #638374; }
.stats dd { font-weight: 750; font-size: 1.26rem; }
.status { display: inline-block; margin-block: 16px; padding: 5px 9px; border-radius: 5px; background: #355a48; font-size: .9rem; font-weight: 700; }
.status.late { background: var(--peach); color: #582b17; }
.result .small { margin-top: 8px; }
.cuts h2, .cuts > p, .cut-list { margin-bottom: 9px; }
.cut-list:empty { display: none; }
.cut { display: flex; align-items: start; gap: 12px; padding-block: 10px; border-top: 1px solid var(--line); cursor: pointer; }
.cut input { accent-color: var(--pine); width: 20px; height: 20px; flex: 0 0 20px; margin: 3px 0 0; }
.cut strong, .cut .hint, .impact { display: block; }
.impact { font-weight: 680; }
.runner, .summary { max-width: 730px; margin: clamp(20px, 5vw, 56px) auto 0; }
.runner { text-align: center; }
.runner h2, .summary h2 { margin-block: 8px 10px; }
.clock { display: grid; place-items: center; margin: 18px auto 10px; width: min(185px, 100%); aspect-ratio: 1; background: var(--pine); color: var(--lime); border: 8px solid #b6d6aa; border-radius: 50%; font: 700 clamp(1.8rem, 7vw, 3rem)/1 ui-monospace, monospace; letter-spacing: -.07em; }
#clock-status { min-height: 1.5em; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 18px 4px; }
.runner .actions { justify-content: center; }
table { width: 100%; border-collapse: collapse; text-align: left; margin-top: 14px; font-size: .9rem; }
th, td { padding: 8px 7px; border-bottom: 1px solid var(--line); }
th:first-child { padding-left: 0; }
tbody th { font-weight: 600; }
.availability { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.availability p { margin-top: 7px; max-width: 51ch; }
.app-preview { margin-top: 32px; }
.screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-block: 15px; }
.screens figure { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 16px; text-align: center; }
.screens img { width: min(100%, 220px); height: auto; border: 1px solid var(--line); border-radius: 12px; display: block; margin: 0 auto 12px; }
.screens figcaption { font-size: .9rem; font-weight: 700; }
.footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; color: var(--muted); font-size: .85rem; padding-block: 27px; }
.footer span { font-weight: 750; }
.footer a { margin-left: auto; display: inline-flex; align-items: center; min-height: 44px; }
.notice { margin-bottom: 16px; }
.sr-only { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
@media (max-width: 680px) {
  .wrap { padding-inline: 16px; }
  .top-inner { min-height: 58px; }
  .desktop-break { display: none; }
  .hero { padding-bottom: 22px; }
  .planner, .screens { grid-template-columns: 1fr; gap: 12px; }
  .footer a { margin-left: 0; }
}
