/* Shared styles for the LK Forge preset timer landing pages. Light default, dark accent. */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #fcfaf8; --surface: #ffffff; --surface2: #f7f2ee; --border: #ece3db;
  --accent: #ea580c; --accent-h: #c2410c; --accent2: #f97316;
  --accent-bg: #ffedd5; --accent-fg: #9a3412;
  --text: #1c1410; --muted: #6b5d52; --danger: #dc2626; --success: #16a34a;
  --ring-bg: #ece3db; --radius: 18px;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 12px 40px rgba(234,88,12,.10);
}
body { font-family: 'Space Grotesk', system-ui, sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; display: flex; flex-direction: column; align-items: center; padding: 0 16px 72px; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: 56px; position: sticky; top: 0; z-index: 100; align-self: stretch; }
.site-logo { font-size: 1.1rem; font-weight: 700; color: var(--text); text-decoration: none; letter-spacing: -.5px; }
.site-nav { display: flex; gap: 6px; }
.nav-link { font-size: .85rem; font-weight: 600; padding: 8px 12px; border: 1.5px solid var(--border); border-radius: 9px; color: var(--text); text-decoration: none; transition: background .18s, border-color .18s, color .18s; }
.nav-link:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (max-width: 560px) { .site-nav .nav-link.opt { display: none; } }
.page-hero { text-align: center; margin: 34px 0 20px; max-width: 640px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--accent-bg); color: var(--accent-fg); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 8px; }
h1 span { background: linear-gradient(135deg, var(--accent), var(--accent2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.subtitle { color: var(--muted); font-size: .95rem; line-height: 1.6; }
.timer-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px 28px 32px; width: 100%; max-width: 540px; text-align: center; position: relative; transition: box-shadow .3s, border-color .3s; }
.timer-card.pt-done { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(220,38,38,.15), var(--shadow); animation: ptflash 1s ease-in-out 3; }
@keyframes ptflash { 0%,100% { background: var(--surface); } 50% { background: #fff1f1; } }
.mute-btn { position: absolute; top: 16px; right: 16px; background: var(--surface2); border: 1px solid var(--border); border-radius: 10px; width: 38px; height: 38px; font-size: 1rem; cursor: pointer; }
.ring-wrap { position: relative; width: 240px; height: 240px; margin: 8px auto 4px; }
.ring-wrap svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.ring-track { fill: none; stroke: var(--ring-bg); stroke-width: 7; }
.ring-prog { fill: none; stroke: url(#ptGrad); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 339.292; stroke-dashoffset: 0; transition: stroke-dashoffset .25s linear; }
.pt-display { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: clamp(2.6rem, 11vw, 3.6rem); font-weight: 700; letter-spacing: -.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.pt-done .pt-display { color: var(--danger); }
.controls { display: flex; gap: 10px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }
.btn { font-family: inherit; font-size: 1rem; font-weight: 700; border-radius: 12px; padding: 13px 30px; cursor: pointer; min-height: 48px; border: none; transition: background .15s, transform .1s, border-color .15s; }
.btn-primary { color: #fff; background: var(--accent); box-shadow: 0 2px 10px rgba(234,88,12,.3); }
.btn-primary:hover { background: var(--accent-h); } .btn:active { transform: scale(.98); }
.btn-ghost { background: var(--surface2); border: 1.5px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.done-msg { margin-top: 16px; font-weight: 700; color: var(--danger); min-height: 1.2em; }
.timer-card:not(.pt-done) .done-msg { visibility: hidden; }
.presets { width: 100%; max-width: 540px; margin-top: 28px; }
.presets-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; text-align: center; }
.preset-grid { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.preset-chip { font-size: .85rem; font-weight: 600; padding: 8px 14px; border: 1.5px solid var(--border); border-radius: 9px; background: var(--surface); color: var(--text); text-decoration: none; transition: border-color .15s, color .15s; }
.preset-chip:hover { border-color: var(--accent); color: var(--accent); }
.preset-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.content { width: 100%; max-width: 640px; margin-top: 48px; }
.content h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; margin: 26px 0 12px; }
.content p { color: var(--muted); font-size: .95rem; line-height: 1.7; margin-bottom: 12px; }
.content ul { color: var(--muted); font-size: .95rem; line-height: 1.7; margin: 0 0 12px 1.1rem; }
.content li { margin-bottom: 6px; }
.content a { color: var(--accent); text-decoration: none; font-weight: 600; }
.content a:hover { text-decoration: underline; }
.faq details { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); margin-bottom: 8px; overflow: hidden; }
.faq summary { font-size: .95rem; font-weight: 600; padding: 16px 20px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); font-size: 1.2rem; }
.faq details[open] summary::after { content: '\2212'; }
.faq .faq-body { padding: 0 20px 18px; font-size: .9rem; color: var(--muted); line-height: 1.7; }
footer { margin-top: 46px; font-size: .78rem; color: var(--muted); text-align: center; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
@media (prefers-reduced-motion: reduce) { *, .timer-card.pt-done { animation: none !important; transition: none !important; } }
