/* Shared Timer website. Palette mirrors the app's TimerColor set. */
:root {
  --aqua: #0094B5; --orange: #FF8C42; --red: #FF453A; --pink: #FF2E91;
  --purple: #B052DE; --blue: #007AFF; --green: #33C75A; --yellow: #F2B500;
  --accent: var(--aqua);
  --bg: #FFFFFF; --bg-2: #F5F7FA; --card: #FFFFFF; --line: #E6E9EF;
  --text: #15181D; --muted: #5B6470;
  --shadow: 0 10px 30px rgba(20, 30, 50, .08);
  --radius: 22px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --aqua: #4FBDD6; --orange: #FFA670; --red: #FF6961; --pink: #FF70B5;
    --purple: #BF7AE8; --blue: #4DA8FF; --green: #5EDB7A; --yellow: #FFD633;
    --bg: #0B0D12; --bg-2: #12151C; --card: #171B23; --line: #262B36;
    --text: #F4F6FA; --muted: #A2ABB8;
    --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.12; }
h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; margin-bottom: 10px; }
.lede { color: var(--muted); font-size: 18px; max-width: 620px; margin-bottom: 28px; }
section { padding: 56px 0; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}

/* Nav */
nav.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 12px; flex-wrap: wrap; }
nav.top .brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--text); text-decoration: none; }
nav.top .brand svg { width: 30px; height: 30px; }
nav.top .links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; margin-left: 18px; }
nav.top .links a:hover { color: var(--text); }
nav.top .links a.cta { color: var(--accent); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 17px;
  padding: 15px 26px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 148, 181, .35);
  transition: transform .15s ease, box-shadow .15s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0, 148, 181, .45); }
.button svg { width: 20px; height: 20px; }
.button.ghost { background: transparent; color: var(--text); box-shadow: none; border: 2px solid var(--line); }
.button.ghost:hover { border-color: var(--accent); color: var(--accent); }
.fine { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 40px 0 64px; }
.hero .blob {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; z-index: 0;
}
.hero .blob.a { width: 420px; height: 420px; background: var(--aqua); top: -160px; left: -140px; }
.hero .blob.b { width: 360px; height: 360px; background: var(--pink); top: 40px; right: -160px; opacity: .35; }
.hero .blob.c { width: 300px; height: 300px; background: var(--yellow); bottom: -180px; left: 35%; opacity: .35; }
@media (max-width: 800px) { .hero .blob { opacity: .32; filter: blur(80px); } .hero .blob.b, .hero .blob.c { opacity: .2; } }
@media (prefers-color-scheme: dark) { .hero .blob { opacity: .28; } .hero .blob.b, .hero .blob.c { opacity: .18; } }
.hero .grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero .grid > * { min-width: 0; }
@media (max-width: 800px) { .hero .grid { grid-template-columns: 1fr; text-align: center; } .hero .lede { margin-left: auto; margin-right: auto; } }
.hero h1 { font-size: clamp(38px, 6vw, 62px); font-weight: 900; margin-bottom: 18px; }
.hero h1 .hl { background: linear-gradient(90deg, var(--aqua), var(--blue), var(--purple)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
@media (max-width: 800px) { .hero .actions { justify-content: center; } }

/* Phones illustration: three devices, one moment */
.phones { display: flex; justify-content: center; align-items: flex-end; gap: 18px; padding: 20px 0; }
.phone {
  width: 118px; height: 226px; border-radius: 26px; background: var(--card);
  border: 3px solid var(--line); box-shadow: var(--shadow); position: relative;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 10px;
  animation: buzz 8s ease-in-out infinite;
}
.phone:nth-child(2) { width: 130px; height: 250px; }
.phone::before { content: ""; width: 42px; height: 6px; border-radius: 6px; background: var(--line); position: absolute; top: 12px; }
.phone .ring { width: 70px; height: 70px; }
.phone .ring circle.track { stroke: var(--line); }
.phone .ring circle.fill { stroke-dasharray: 189; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: 50% 50%; animation: drain 8s linear infinite; stroke-linecap: round; }
.phone .label { font-size: 12px; font-weight: 700; color: var(--muted); animation: label 8s linear infinite; }
.phone.p1 .ring circle.fill { stroke: var(--orange); } .phone.p1 .wave { border-color: var(--orange); }
.phone.p2 .ring circle.fill { stroke: var(--aqua); }   .phone.p2 .wave { border-color: var(--aqua); }
.phone.p3 .ring circle.fill { stroke: var(--purple); } .phone.p3 .wave { border-color: var(--purple); }
.phone .wave { position: absolute; inset: -3px; border-radius: 26px; border: 3px solid; opacity: 0; animation: wave 8s ease-out infinite; }
.phone .wave.two { animation-delay: .25s; }
@keyframes drain { 0% { stroke-dashoffset: 0; } 80% { stroke-dashoffset: 189; } 90%, 100% { stroke-dashoffset: 189; } }
@keyframes wave { 0%, 79% { opacity: 0; transform: scale(1); } 82% { opacity: .9; } 100% { opacity: 0; transform: scale(1.35); } }
@keyframes buzz { 0%, 79%, 92%, 100% { transform: translateX(0); } 81%, 85%, 89% { transform: translateX(-3px); } 83%, 87%, 91% { transform: translateX(3px); } }
@keyframes label { 0%, 79% { opacity: 1; } 80%, 100% { opacity: 1; } }
@media (max-width: 480px) { .phones { gap: 12px; } .phone { width: 92px; height: 178px; border-radius: 20px; } .phone:nth-child(2) { width: 102px; height: 198px; } .phone .ring { width: 56px; height: 56px; } .phone .wave { border-radius: 20px; } }
.moment { text-align: center; font-size: 14px; font-weight: 700; color: var(--muted); margin-top: 6px; }
@media (prefers-reduced-motion: reduce) { .phone, .phone .ring circle.fill, .phone .wave { animation: none; } .phone .ring circle.fill { stroke-dashoffset: 60; } }

/* Cards */
.cards { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 6px; background: var(--c, var(--accent)); }
.card .icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px;
  background: color-mix(in srgb, var(--c, var(--accent)) 16%, transparent); color: var(--c, var(--accent));
}
.card .icon svg { width: 26px; height: 26px; }
.card .num { position: absolute; right: 18px; top: 16px; font-size: 44px; font-weight: 900; color: var(--c, var(--accent)); opacity: .18; line-height: 1; }
.card h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* Use cases */
.uses { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .uses { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .uses { grid-template-columns: 1fr; } }
.use {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 18px;
  background: color-mix(in srgb, var(--c) 10%, var(--card)); border: 1px solid color-mix(in srgb, var(--c) 30%, transparent);
}
.use .icon { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--c); color: #fff; display: grid; place-items: center; }
.use .icon svg { width: 22px; height: 22px; }
.use strong { display: block; font-size: 16px; margin-bottom: 2px; }
.use span { color: var(--muted); font-size: 14.5px; }

/* Feature list */
.features { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }
.features li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.features li .tick { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--c, var(--accent)); color: #fff; display: grid; place-items: center; margin-top: 1px; }
.features li .tick svg { width: 14px; height: 14px; }

/* Band (colorful section background) */
.band { background: var(--bg-2); }
.band.gradient {
  background: linear-gradient(135deg, var(--aqua) 0%, var(--blue) 55%, var(--purple) 100%); color: #fff;
}
.band.gradient h2, .band.gradient .eyebrow { color: #fff; }
.band.gradient .lede, .band.gradient p { color: rgba(255,255,255,.88); }
.band.gradient .button { background: #fff; color: var(--blue); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.price-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
@media (max-width: 760px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); border-radius: var(--radius); padding: 26px; backdrop-filter: blur(6px); }
.price-card .big { font-size: 40px; font-weight: 900; line-height: 1; }
.price-card .big small { font-size: 16px; font-weight: 600; opacity: .85; }
.price-card ul { list-style: none; margin-top: 14px; }
.price-card li { padding: 6px 0; border-top: 1px solid rgba(255,255,255,.2); font-size: 15px; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--card); margin-bottom: 10px; overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 20px; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 800; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); font-size: 15.5px; }

/* Guide page */
.steps-list { list-style: none; counter-reset: s; display: grid; gap: 14px; }
.steps-list li { counter-increment: s; display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow); }
.steps-list li::before { content: counter(s); flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--c, var(--accent)); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps-list li p { font-size: 16px; }
.steps-list li strong { display: block; font-size: 17px; margin-bottom: 2px; }
.callout { border-left: 5px solid var(--c, var(--accent)); background: color-mix(in srgb, var(--c, var(--accent)) 10%, var(--card)); border-radius: 12px; padding: 16px 18px; margin: 18px 0; font-size: 16px; }
.prose p { font-size: 17px; margin-bottom: 14px; }
.prose h2 { margin-top: 36px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.panel p { color: var(--muted); font-size: 16px; }
.panel p + p { margin-top: 10px; }

/* Footer */
footer { padding: 40px 0 56px; border-top: 1px solid var(--line); margin-top: 20px; font-size: 14px; color: var(--muted); }
footer .row { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; margin-right: 16px; }
footer a:hover { color: var(--text); }
.dots { display: inline-flex; gap: 5px; vertical-align: middle; margin-left: 8px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

/* Split section (text + illustration) */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.pair { display: grid; gap: 12px; margin: 8px 0 14px; }
.pill { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pill .icon { flex: none; width: 42px; height: 42px; border-radius: 12px; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); display: grid; place-items: center; }
.pill .icon svg { width: 22px; height: 22px; }
.pill strong { display: block; font-size: 16px; }
.pill span { color: var(--muted); font-size: 14.5px; }

/* Mini timer cards illustration */
.minis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 420px; margin: 0 auto; }
.mini { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.mini svg { width: 52px; height: 52px; flex: none; }
.mini strong { display: block; font-size: 15px; }
.mini span { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mini.done { background: color-mix(in srgb, var(--c) 10%, var(--card)); border-color: color-mix(in srgb, var(--c) 35%, transparent); }
.mini.done span { color: var(--c); font-weight: 700; }
@media (max-width: 420px) { .minis { grid-template-columns: 1fr; } }
