:root {
  color-scheme: light;
  --ink: #21160f;
  --muted: #725f51;
  --espresso: #5a2f1b;
  --crema: #d99a47;
  --foam: #fff5e7;
  --card: #ffffff;
  --line: #ead9c8;
  --green: #2f7d4f;
  --amber: #d48623;
  --red: #b84a38;
  --shadow: 0 24px 70px rgba(83, 42, 20, 0.18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(217,154,71,.22), transparent 32rem),
    radial-gradient(circle at 100% 12%, rgba(90,47,27,.14), transparent 30rem),
    linear-gradient(135deg, #fff8ee, #f4e5d2 68%, #ead2b7);
  color: var(--ink);
}
main { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.hero { padding: 28px 0 22px; }
.crumb { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 34px; color: var(--muted); font-size: .95rem; }
.crumb a { color: var(--espresso); font-weight: 900; text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 28px; align-items: stretch; }
.intro, .timer-card, .settings, .info-card, .faq { background: rgba(255,255,255,.88); border: 1px solid rgba(234,217,200,.95); border-radius: 30px; box-shadow: var(--shadow); }
.intro { padding: clamp(28px, 5vw, 54px); }
.eyebrow { margin: 0 0 12px; color: var(--espresso); text-transform: uppercase; font-size: .78rem; font-weight: 1000; letter-spacing: .14em; }
h1 { margin: 0; max-width: 8ch; font-size: clamp(2.7rem, 7.4vw, 5.8rem); line-height: .9; letter-spacing: -.075em; }
.lede { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.65; max-width: 56ch; }
.preset-row, .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
button, select, input { font: inherit; }
.pill, .secondary, .primary { border: 0; border-radius: 999px; padding: 13px 18px; font-weight: 950; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.pill { background: #fff4e5; color: var(--espresso); border: 1px solid #ead4bd; }
.pill.active, .pill:hover { background: var(--espresso); color: white; transform: translateY(-1px); }
.timer-card { padding: clamp(24px, 4vw, 42px); display: flex; flex-direction: column; justify-content: center; text-align: center; min-height: 450px; }
.shot-name { color: var(--espresso); font-weight: 1000; letter-spacing: .08em; text-transform: uppercase; }
.time-display { font-variant-numeric: tabular-nums; font-size: clamp(5rem, 16vw, 10rem); line-height: .94; font-weight: 1000; letter-spacing: -.09em; margin: 14px 0 6px; }
.time-display::after { content: 's'; font-size: .28em; margin-left: .08em; letter-spacing: 0; color: var(--muted); }
.zone-label { display: inline-flex; align-self: center; border-radius: 999px; padding: 8px 14px; background: #fff2df; color: var(--espresso); font-weight: 950; }
.progress-wrap { height: 18px; overflow: hidden; background: #eadcca; border-radius: 999px; border: 1px solid #dec8b1; margin-top: 18px; }
#progressBar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--green), var(--crema), var(--red)); border-radius: inherit; transition: width .12s linear; }
.shot-note { min-height: 54px; margin: 18px auto 0; color: var(--muted); line-height: 1.45; max-width: 46ch; }
.primary { background: var(--espresso); color: white; box-shadow: 0 12px 28px rgba(90,47,27,.28); }
.primary:hover, .secondary:hover { transform: translateY(-1px); }
.secondary { background: #fff4e5; color: var(--espresso); border: 1px solid #e6cfb6; }
.actions { justify-content: center; }
.settings, .content-grid, .faq { margin-top: 24px; }
.settings { padding: 26px; }
h2 { margin: 0 0 18px; font-size: clamp(1.55rem, 3vw, 2.2rem); letter-spacing: -.04em; }
.settings-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr .75fr; gap: 14px; }
label { display: grid; gap: 8px; color: var(--muted); font-weight: 850; }
input, select { width: 100%; border: 1px solid #dbc6b2; border-radius: 16px; padding: 13px 14px; background: white; color: var(--ink); font-weight: 900; }
.hint { color: var(--muted); line-height: 1.6; margin: 16px 0 0; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.info-card, .faq { padding: 26px; }
.info-card p, li, .faq p { color: var(--muted); line-height: 1.65; }
ol { padding-left: 22px; }
.guide-table { display: grid; gap: 10px; }
.guide-table > div { display: grid; grid-template-columns: .7fr .62fr 1.5fr; gap: 10px; align-items: center; padding: 12px; border-radius: 16px; background: #fff7eb; color: var(--muted); }
.guide-table strong { color: var(--ink); }
.faq { margin-bottom: 26px; }
details { border-top: 1px solid var(--line); padding: 16px 0; }
details:first-of-type { border-top: 0; }
summary { cursor: pointer; font-weight: 900; color: var(--ink); }
footer { text-align: center; color: var(--muted); padding: 26px 16px 38px; }
.fast .zone-label { background: #eef8ef; color: var(--green); }
.target .zone-label { background: #fff1d7; color: #8a4e08; }
.long .zone-label { background: #ffe9e4; color: var(--red); }
.site-nav{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:16px;margin:-16px 0 24px;padding:12px 16px;background:rgba(255,255,255,.86);border:1px solid #e1e5ee;border-radius:24px;box-shadow:0 10px 24px rgba(22,31,54,.06);backdrop-filter:blur(12px)}
.site-brand{display:inline-flex;align-items:center;gap:10px;color:#172033;text-decoration:none;font-weight:800}.brand-mark{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#172033;color:#fff;font-weight:900}.site-nav a:not(.site-brand){color:#4b5565;text-decoration:none;font-weight:700;font-size:.95rem}.site-nav a:hover{text-decoration:underline}
@media (max-width: 860px) {
  main { width: min(100% - 22px, 680px); }
  .crumb { align-items: flex-start; flex-direction: column; margin-bottom: 18px; }
  .hero-grid, .content-grid, .settings-grid { grid-template-columns: 1fr; }
  .timer-card { min-height: 380px; }
  .guide-table > div { grid-template-columns: 1fr; }
  .pill, .secondary, .primary { width: 100%; }
  .site-nav{margin-top:-8px;padding:10px 12px;border-radius:20px}.site-nav a:not(.site-brand){font-size:.9rem}.brand-mark{width:30px;height:30px}.site-brand span:last-child{max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
}
