/* Timeless website — shared styles (design imported from the "Timeless landing page references" session).
   Apple-style product page: centred short headlines, generous white space, one amber accent. */
:root {
  --bg: #fbfbfd; --surface: #f2f2f5; --fg: #1d1d1f; --muted: #6e6e73; --line: #d9d9de;
  --accent: #b45309; --fill: #f59e0b; --accent-fg: #1a1205; --bezel: #1d1d1f;
  --screen: #0b0c0d; --screen-fg: #f5f5f7; --screen-dim: #8a8a90;
  --screen-accent: #30d158; --screen-warn: #ff9f0a; --screen-red: #ff453a; --ok: #1f9d55;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Inter, system-ui, sans-serif;
  --radius: 18px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --surface: #161618; --fg: #f5f5f7; --muted: #a1a1a6; --line: #2c2c2e;
    --accent: #fbbf24; --fill: #f5a524; --accent-fg: #1a1205; --bezel: #3a3a3c; --ok: #30d158;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --surface: #161618; --fg: #f5f5f7; --muted: #a1a1a6; --line: #2c2c2e;
  --accent: #fbbf24; --fill: #f5a524; --accent-fg: #1a1205; --bezel: #3a3a3c; --ok: #30d158;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }

/* Black Friday banner */
.deal { background: var(--fill); color: var(--accent-fg); font-size: 14px; font-weight: 500; padding: 9px 16px; text-align: center; }
.deal .code { font: 600 13px/1 ui-monospace, "SF Mono", Consolas, monospace; letter-spacing: .04em; background: rgba(0,0,0,.12); color: inherit; border: 0; border-radius: 6px; padding: 4px 8px; margin: 0 4px; cursor: pointer; }
.deal .code:hover { background: rgba(0,0,0,.2); }
s { color: var(--muted); font-weight: 400; margin-right: 4px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 52px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; text-decoration: none; }
.brand img { width: 26px; height: 26px; border-radius: 6px; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 14px; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); }
@media (max-width: 640px) { .nav-links .hide-sm { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 980px; border: 0; font: 500 16px/1 var(--font); text-decoration: none; cursor: pointer; background: var(--fill); color: var(--accent-fg); transition: filter .2s ease, transform .2s ease; }
.nav-links a.btn { color: var(--accent-fg); }
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1.5px var(--accent); }
.btn.sm { height: 32px; padding: 0 14px; font-size: 14px; }
.btn.block { width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* Hero */
.hero { padding-block: 64px 32px; text-align: center; }
.app-icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 18px; display: block; box-shadow: 0 12px 30px -12px rgba(180, 83, 9, .5); }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--accent); letter-spacing: .01em; }
.hero h1 { font-size: clamp(44px, 9vw, 88px); font-weight: 700; line-height: 1.02; margin-top: 10px; }
.hero .lede { font-size: clamp(19px, 2.4vw, 24px); color: var(--muted); max-width: 44ch; margin: 18px auto 0; text-wrap: balance; }
.hero .ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero .fine { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* Live multi-screen demo */
.stage { margin-top: 56px; padding-block: 48px 40px; display: grid; grid-template-columns: 1.55fr 1fr 0.42fr; align-items: end; gap: clamp(12px, 3vw, 36px); }
.device { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.display { width: 100%; background: var(--bezel); border-radius: 14px; padding: clamp(6px, 1vw, 12px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.display.phone { border-radius: 22px; padding: 6px; }
.screen { background: var(--screen); color: var(--screen-fg); border-radius: 8px; aspect-ratio: 16 / 10; max-width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3em; position: relative; overflow: hidden; }
.display.phone .screen { aspect-ratio: 9 / 19; border-radius: 17px; }
.screen .label { font-size: clamp(9px, 1.1vw, 12px); color: var(--screen-dim); letter-spacing: .08em; text-transform: uppercase; text-align: center; padding-inline: 4px; }
.screen .time { font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; line-height: 1; color: var(--screen-fg); transition: color .4s ease; }
.big .time { font-size: clamp(34px, 7.5vw, 92px); }
.mid .time { font-size: clamp(24px, 4.6vw, 56px); }
.phone .time { font-size: clamp(13px, 2.3vw, 24px); }
.screen .bar { position: absolute; left: 0; bottom: 0; height: 4px; background: var(--screen-accent); transition: width 1s linear, background .4s ease; }
.screen.warn .time { color: var(--screen-warn); } .screen.warn .bar { background: var(--screen-warn); }
.screen.red .time, .screen.over .time { color: var(--screen-red); } .screen.red .bar { background: var(--screen-red); }
.screen.over .bar { width: 100% !important; background: var(--screen-red); animation: pulse 1s ease-in-out infinite alternate; }
@keyframes pulse { to { opacity: .35; } }
.stand { width: 18%; height: clamp(14px, 2vw, 28px); background: linear-gradient(var(--line), var(--surface)); border-radius: 0 0 6px 6px; }
.caption { font-size: 13px; color: var(--muted); text-align: center; }
.controls { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; }
.seg { display: inline-flex; background: var(--surface); border-radius: 980px; padding: 3px; }
.seg button { border: 0; background: transparent; color: var(--fg); font: 500 14px/1 var(--font); height: 30px; padding: 0 14px; border-radius: 980px; cursor: pointer; font-variant-numeric: tabular-nums; }
.seg button[aria-pressed="true"] { background: var(--bg); box-shadow: 0 1px 4px rgba(0,0,0,.14); }
.demo-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
@media (max-width: 640px) { .stage { grid-template-columns: 1fr 0.42fr; } .stage .mid { display: none; } }

/* Sections */
section.block { padding-block: 96px; }
.headline { text-align: center; }
.headline h2 { font-size: clamp(34px, 6vw, 56px); font-weight: 700; line-height: 1.05; }
.headline p { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 42ch; margin: 16px auto 0; }
.alt { background: var(--surface); }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.feature { background: var(--bg); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; gap: 12px; }
.feature svg { width: 34px; height: 34px; color: var(--accent); }
.feature h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.feature p { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* Screenshots */
.shots { display: grid; gap: 28px; margin-top: 56px; }
.shot { margin: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); background: #f5f6f8; }
.shot.wide .frame { background: var(--bezel); border-radius: 18px; padding: clamp(6px, 1.2vw, 14px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.shot.wide .frame img { border: 0; border-radius: 8px; }
.shot figcaption { font-size: 15px; color: var(--muted); text-align: center; }
.shot figcaption b { color: var(--fg); font-weight: 600; }
.shot-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.shot-pair img { box-shadow: 0 20px 40px -24px rgba(0,0,0,.35); }
@media (max-width: 700px) { .shot-pair { grid-template-columns: 1fr; } }

/* Audiences */
.uses { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
.uses span { font-size: 15px; padding: 8px 16px; border-radius: 980px; border: 1px solid var(--line); color: var(--fg); }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; align-items: stretch; }
.plan { background: var(--surface); border-radius: var(--radius); padding: 28px 22px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.alt .plan { background: var(--bg); }
.plan.best { box-shadow: inset 0 0 0 2px var(--fill); }
.plan .badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--fill); color: var(--accent-fg); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 980px; white-space: nowrap; }
.plan h3 { font-size: 20px; font-weight: 600; }
.plan .amt { font-family: var(--font-display); font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.plan .amt s { font-size: 22px; font-weight: 500; margin-right: 8px; vertical-align: 0.35em; letter-spacing: 0; }
.plan .per { font-size: 14px; color: var(--muted); margin-top: -6px; }
.plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--muted); flex: 1; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 10px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
@media (max-width: 960px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }
.plans.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 820px) { .plans.three { grid-template-columns: 1fr; } }
.compare { width: 100%; max-width: 760px; margin: 48px auto 0; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.compare th { font-size: 13px; color: var(--muted); font-weight: 600; }
.compare td + td, .compare th + th { text-align: center; width: 96px; }
.compare .y { color: var(--ok); font-weight: 700; }
.compare .n { color: var(--muted); }

/* Help / FAQ */
.faq { max-width: 760px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border-radius: 14px; padding: 18px 22px; }
.alt .faq details { background: var(--bg); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-weight: 500; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p, .faq details ol { color: var(--muted); margin: 12px 0 0; font-size: 16px; }
.faq ol { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.fine-c { text-align: center; font-size: 14px; color: var(--muted); margin-top: 28px; }
.fine-c a { color: var(--accent); }

/* Download page */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.step { background: var(--surface); border-radius: var(--radius); padding: 26px 22px; display: flex; flex-direction: column; gap: 8px; }
.step .n { width: 30px; height: 30px; border-radius: 50%; background: var(--fill); color: var(--accent-fg); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.step h3 { font-size: 18px; font-weight: 600; }
.step p { font-size: 15px; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.cards2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 20px; font-weight: 600; }
.card p, .card li { color: var(--muted); font-size: 16px; }
.card ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.card a { color: var(--accent); }
@media (max-width: 700px) { .cards2 { grid-template-columns: 1fr; } }

/* Legal pages */
.prose { max-width: 720px; margin: 0 auto; padding-block: 64px 96px; }
.prose h1 { font-size: clamp(36px, 6vw, 52px); font-weight: 700; line-height: 1.05; }
.prose .date { color: var(--muted); font-size: 14px; margin-top: 10px; }
.prose h2 { font-size: 21px; font-weight: 600; margin-top: 36px; }
.prose p { color: var(--muted); margin-top: 10px; }
.prose a { color: var(--accent); }

footer { border-top: 1px solid var(--line); padding-block: 28px 40px; font-size: 13px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--fg); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }
