/* Rise — get-risealarm.app
   One accent (Rise violet) on near-black ink. One easing for everything.
   Motion is progressive: no-JS and reduced-motion visitors see a finished page. */

:root {
  --ink: #0b0a0f;
  --ink-2: #100e16;
  --panel: #14121b;
  --panel-2: #1a1723;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.13);
  --text: #f4f2fa;
  --silver: #d6d2e3;
  --muted: #a29db4;
  --dim: #6f6a82;
  --accent: #a78bfa;
  --accent-strong: #8b5cf6;
  --accent-soft: #c4b5fd;
  --glow: 139, 92, 246;
  --green: #30d158;

  --t-barcode: #d946ef;
  --t-math: #f05252;
  --t-typing: #34c759;
  --t-shake: #f59e0b;
  --t-captcha: #14b8a6;
  --t-tap: #38bdf8;
  --t-target: #22c55e;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 20px;
  --max: 1160px;
  --font-display: "Bricolage Grotesque", "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: rgba(var(--glow), 0.45); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.mono {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}
.dot {
  display: inline-block;
  width: 0.16em; height: 0.16em;
  margin-left: 0.05em;
  border-radius: 28%;
  background: var(--accent);
  vertical-align: baseline;
}
.accent { color: var(--accent); }

/* ---------- Reveal (armed only when JS sets data-reveal-ready) ---------- */
html[data-reveal-ready] [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--d, 0s);
}
html[data-reveal-ready] [data-reveal].is-revealed { opacity: 1; transform: none; }

/* ---------- Nav ---------- */
.nav-bar { position: sticky; top: 0; z-index: 50; padding: 12px 16px; }
.nav {
  max-width: 56rem;
  margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  padding: 0.7rem 0.8rem 0.7rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(11, 10, 15, 0.7);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  transition: max-width 0.42s var(--ease), padding 0.34s var(--ease), border-color 0.28s, background-color 0.28s, box-shadow 0.32s;
}
.nav.is-scrolled {
  max-width: 46rem;
  padding: 0.45rem 0.5rem 0.45rem 0.9rem;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(11, 10, 15, 0.86);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.brand img { border-radius: 9px; border: 1px solid rgba(255, 255, 255, 0.1); }
.nav-links { display: flex; gap: 2px; margin-left: auto; }
.nav-links a {
  text-decoration: none; font-size: 13.5px; font-weight: 500; color: var(--muted);
  padding: 7px 12px; border-radius: 10px;
  transition: color 0.15s, background-color 0.15s;
}
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; font-size: 13.5px; font-weight: 600;
  padding: 8px 14px; border-radius: 11px;
  background: var(--text); color: #120f1a;
  transition: transform 0.2s var(--ease), background-color 0.2s;
}
.nav-cta:hover { background: #fff; transform: translateY(-1px); }
.nav-cta svg { width: 13px; height: 13px; }
@media (max-width: 760px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }

/* ---------- Hero ---------- */
.hero { position: relative; margin-top: -86px; padding-top: 86px; overflow: hidden; }
.hero::before { /* dot grid */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(70% 90% at 50% 0%, #000 10%, transparent 80%);
  mask-image: radial-gradient(70% 90% at 50% 0%, #000 10%, transparent 80%);
}
.hero::after { /* top glow */
  content: ""; position: absolute; left: 50%; top: -300px; width: min(920px, 120vw); height: 640px;
  transform: translateX(-50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(var(--glow), 0.28), transparent 68%);
  filter: blur(10px);
}
.hero-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 80px 20px 8px; text-align: center; }
.hero h1 {
  margin: 0; max-width: 860px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(44px, 8.4vw, 86px); line-height: 1.0; letter-spacing: -0.035em;
  text-wrap: balance;
}
.hero h1 s { text-decoration: none; color: var(--accent); position: relative; white-space: nowrap; }
.hero h1 s::after { /* strike-through that draws in: snooze, denied */
  content: ""; position: absolute; left: -3%; right: -3%; top: 55%; height: 0.07em;
  background: var(--accent); border-radius: 99px;
  transform: scaleX(var(--strike, 1)); transform-origin: left;
  transition: transform 0.75s var(--ease) 0.55s;
}
html[data-reveal-ready] .hero h1 s::after { --strike: 0; }
html[data-reveal-ready] .hero h1.is-revealed s::after { --strike: 1; }
.lede { margin: 0; max-width: 540px; color: var(--muted); font-size: clamp(16px, 2vw, 18.5px); line-height: 1.6; text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 4px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 11px;
  height: 60px; padding: 0 22px 0 18px; border-radius: 16px;
  background: #000; color: #fff; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: border-color 0.2s;
}
.store-btn:hover { border-color: #fff; }
.store-btn svg { width: 25px; height: 30px; flex: none; }
.store-btn span { display: flex; flex-direction: column; text-align: left; font-size: 22px; font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }
.store-btn small { font-size: 11.5px; font-weight: 500; letter-spacing: 0.01em; opacity: 0.85; }
.hero-meta b { color: var(--silver); font-weight: 500; }

/* Phone fan */
.fan-stage {
  --pw: clamp(170px, 28vw, 300px);
  position: relative; z-index: 1; margin: 30px auto 0; max-width: 1040px;
  height: calc(var(--pw) * 2.2 + 60px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 84%, transparent 100%);
  mask-image: linear-gradient(#000 84%, transparent 100%);
}
.fan-stage::before {
  content: ""; position: absolute; inset: 4% 4% 0; pointer-events: none;
  background: radial-gradient(60% 62% at 50% 52%, rgba(var(--glow), 0.32), transparent 72%);
}
.fan { position: absolute; inset: 0; padding-top: 6px; --px: 0; --py: 0; --sy: 0; }
.fan img {
  position: absolute; left: 50%; top: 44px;
  width: var(--pw);
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.55)) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4));
  transition: transform 1.2s var(--ease), opacity 0.9s var(--ease);
}
.fan .f-mid { z-index: 3; transform: translate(calc(-50% + var(--px) * 10px), calc(var(--py) * 8px + var(--sy) * -16px)); }
.fan .f-left { z-index: 2; transform: translate(calc(-122% + var(--px) * 18px), calc(9% + var(--py) * 12px + var(--sy) * 14px)) rotate(-7deg); }
.fan .f-right { z-index: 2; transform: translate(calc(22% + var(--px) * 18px), calc(9% + var(--py) * 12px + var(--sy) * 14px)) rotate(7deg); }
html[data-reveal-ready] .fan:not(.is-revealed) .f-mid { transform: translate(-50%, 14%); opacity: 0; }
html[data-reveal-ready] .fan:not(.is-revealed) .f-left,
html[data-reveal-ready] .fan:not(.is-revealed) .f-right { transform: translate(-50%, 22%) rotate(0deg); opacity: 0; }
html[data-reveal-ready] .fan[data-reveal] { opacity: 1; transform: none; }
.fan .f-left, .fan .f-right { transition-delay: 0.12s; }
.fan.is-settled img { transition: transform 0.9s var(--ease); transition-delay: 0s; }
.fan-fade { display: none; }

/* ---------- Facts strip ---------- */
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; padding: 18px 20px 0; }
.facts span { display: inline-flex; align-items: center; gap: 9px; }
.facts span::before { content: ""; width: 5px; height: 5px; border-radius: 2px; background: var(--accent); opacity: 0.8; }

/* ---------- Sections ---------- */
.section { padding: 116px 0 0; }
.section-head { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; margin-bottom: 52px; }
.section-head h2, .h2 {
  margin: 0; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(32px, 5vw, 50px); line-height: 1.04; letter-spacing: -0.03em; text-wrap: balance;
}
.section-head p { margin: 0; max-width: 560px; color: var(--muted); font-size: 16.5px; text-wrap: pretty; }

/* ---------- Try it (live alarm) ---------- */
.try { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .try { grid-template-columns: 1fr; gap: 36px; } }
.try-copy p { color: var(--muted); font-size: 17px; max-width: 470px; margin: 18px 0 0; }
.try-copy .mono { display: block; margin-bottom: 16px; }
.try-copy ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.try-copy li { display: flex; gap: 12px; align-items: baseline; color: var(--silver); font-size: 15px; }
.try-copy li b { flex: none; width: 22px; font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: 0.08em; font-weight: 500; }

.demo {
  position: relative; isolation: isolate;
  border-radius: 30px; padding: 26px 26px 22px;
  background: linear-gradient(180deg, #1c1926, #13111a);
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.demo::before { /* ringing glow */
  content: ""; position: absolute; inset: -40%; z-index: -1;
  background: radial-gradient(40% 35% at 50% 32%, rgba(240, 82, 82, 0.26), transparent 70%);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.demo.is-ringing::before { opacity: 1; animation: ringglow 1.2s ease-in-out infinite; }
.demo::after {
  content: ""; position: absolute; inset: -40%; z-index: -1;
  background: radial-gradient(40% 35% at 50% 32%, rgba(48, 209, 88, 0.2), transparent 70%);
  opacity: 0; transition: opacity 0.6s var(--ease);
}
.demo.is-off::after { opacity: 1; }
@keyframes ringglow { 50% { opacity: 0.5; } }
.demo-top { display: flex; justify-content: space-between; align-items: center; }
.demo-label { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 600;
  color: var(--t-math); background: rgba(240, 82, 82, 0.1); border: 1.5px solid rgba(240, 82, 82, 0.4); }
.demo-label svg { width: 14px; height: 14px; }
.demo-clock { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11px; color: var(--dim); letter-spacing: 0.14em; text-transform: uppercase; }
.demo-clock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--t-math); box-shadow: 0 0 0 0 rgba(240, 82, 82, 0.6); }
.demo.is-ringing .demo-clock::before { animation: live 1.2s ease-out infinite; }
.demo.is-off .demo-clock::before { background: var(--green); }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(240, 82, 82, 0.55); } 100% { box-shadow: 0 0 0 9px rgba(240, 82, 82, 0); } }
.bell { display: grid; place-items: center; margin: 22px auto 2px; width: 84px; height: 84px; position: relative; }
.bell svg { width: 40px; height: 40px; color: var(--text); position: relative; z-index: 1; transition: color 0.4s; }
.bell i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(240, 82, 82, 0.55); opacity: 0; }
.demo.is-ringing .bell svg { animation: shake 0.55s cubic-bezier(.36,.07,.19,.97) infinite; transform-origin: 50% 12%; }
.demo.is-ringing .bell i { animation: pulse 1.6s var(--ease) infinite; }
.demo.is-ringing .bell i:nth-child(2) { animation-delay: 0.53s; }
.demo.is-ringing .bell i:nth-child(3) { animation-delay: 1.06s; }
@keyframes shake { 0%,100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(12deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(5deg); } }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.75); opacity: 0; } }
.demo.is-off .bell svg { color: var(--green); }
.demo-time { text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 62px; line-height: 1; letter-spacing: -0.03em; margin: 6px 0 0; font-variant-numeric: tabular-nums; }
.demo-time small { font-size: 0.36em; font-weight: 600; margin-left: 4px; color: var(--muted); }
.demo-q { text-align: center; margin: 22px 0 14px; font-family: var(--font-display); font-weight: 700; font-size: 32px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.demo form { display: flex; gap: 10px; transition: opacity 0.4s; }
.demo input {
  flex: 1; min-width: 0; height: 54px; padding: 0 16px; border-radius: 15px;
  background: #2a2733; border: 2px solid #4a4656; color: var(--text);
  font: 600 22px/1 var(--font-display); text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
  -moz-appearance: textfield;
}
.demo input::-webkit-outer-spin-button, .demo input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.demo input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--glow), 0.2); }
.demo input::placeholder { color: #6d6878; font-weight: 500; font-size: 16px; }
.demo button[type=submit] {
  flex: none; height: 54px; padding: 0 20px; border: 0; border-radius: 15px; cursor: pointer;
  background: var(--green); color: #fff; font-weight: 700; font-size: 15.5px;
  transition: transform 0.2s var(--ease), filter 0.2s;
}
.demo button[type=submit]:hover { filter: brightness(1.08); transform: translateY(-1px); }
.demo.is-wrong form { animation: nope 0.42s cubic-bezier(.36,.07,.19,.97); }
.demo.is-wrong input { border-color: var(--t-math); }
@keyframes nope { 20%,60% { transform: translateX(-8px); } 40%,80% { transform: translateX(8px); } }
.demo-status { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; min-height: 26px; font-size: 13.5px; color: var(--muted); }
.demo-status button { background: none; border: 0; padding: 4px 0; cursor: pointer; color: var(--accent); font-weight: 600; font-size: 13.5px; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.demo.is-off .demo-status button { opacity: 1; pointer-events: auto; }
.demo.is-off [data-demo-status] { color: var(--green); }
.demo.is-off form { opacity: 0.35; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .demo * { animation: none !important; } .demo::before { animation: none !important; } }
@media (max-width: 460px) {
  .demo { padding: 22px 18px 18px; border-radius: 26px; }
  .demo form { flex-direction: column; }
  .demo button[type=submit] { width: 100%; }
  .demo-time { font-size: 54px; }
}

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative; padding: 26px 26px 28px; border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.step:hover { border-color: var(--line-2); transform: translateY(-3px); }
.step-n { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: 0.1em; }
.step h3 { margin: 14px 0 8px; font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.steps-note { margin: 24px auto 0; max-width: 620px; text-align: center; color: var(--dim); font-size: 14.5px; text-wrap: pretty; }

/* ---------- Feature tour ---------- */
.tour { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; max-width: 1060px; margin: 0 auto; }
@media (max-width: 1000px) { .tour { grid-template-columns: 1fr; gap: 34px; } .tour-stage { order: -1; } }
.tour-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .tour-cards { grid-template-columns: 1fr; } .tour-card p { display: none; } .tour-card.is-active p { display: block; } }
.tour-card {
  position: relative; text-align: left; cursor: pointer; width: 100%;
  padding: 16px 18px 17px; border-radius: 16px;
  background: var(--panel); border: 1px solid var(--line);
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.tour-card:hover { border-color: var(--line-2); }
.tour-card.is-active {
  border-color: color-mix(in srgb, var(--c) 45%, transparent);
  background: linear-gradient(115deg, color-mix(in srgb, var(--c) 10%, transparent), rgba(255, 255, 255, 0.01) 55%), var(--panel);
  box-shadow: 0 0 34px color-mix(in srgb, var(--c) 12%, transparent);
}
.tour-card h3 { margin: 0; display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 16.5px; letter-spacing: -0.005em; }
.tour-card h3 i { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 8px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); }
.tour-card h3 i svg { width: 15px; height: 15px; }
.tour-card p { margin: 7px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.tag { margin-left: auto; font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.1em; padding: 3px 7px; border-radius: 99px; color: var(--accent-soft); background: rgba(var(--glow), 0.14); border: 1px solid rgba(var(--glow), 0.3); }
.tag.free { color: #86efac; background: rgba(48, 209, 88, 0.1); border-color: rgba(48, 209, 88, 0.3); }

.tour-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.tour-stage::before { content: ""; position: absolute; top: 44%; left: 50%; width: 560px; max-width: 120vw; height: 460px; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--stage-c, var(--accent)) 24%, transparent), transparent 66%); filter: blur(8px); transition: background 0.8s var(--ease); }
.tour-frame { position: relative; width: min(290px, 70vw); aspect-ratio: 720 / 1481; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.tour-frame:active { cursor: grabbing; }
.tour-slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; transform: translateY(8px) scale(0.975);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  filter: drop-shadow(0 34px 50px rgba(0, 0, 0, 0.55));
  pointer-events: none;
}
.tour-slide.is-active { opacity: 1; transform: none; transition-duration: 0.6s; }
.tour-slide.is-leaving { transform: translateY(-8px) scale(1.015); }
.tour-dots { display: flex; gap: 6px; }
.tour-dot { position: relative; width: 22px; height: 4px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, 0.13); cursor: pointer; transition: width 0.42s var(--ease); }
.tour-dot::before { content: ""; position: absolute; inset: -14px -3px; }
.tour-dot.is-active { width: 40px; }
.tour-dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--text); transform: scaleX(0); transform-origin: left; }
.tour-dot.is-active::after { transform: scaleX(1); }
.tour-dot.is-active.is-filling::after { animation: fill var(--tour-ms, 5200ms) linear forwards; }
.tour.is-paused .tour-dot.is-filling::after { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .tour-dot.is-active::after { animation: none !important; transform: scaleX(1); } }

/* ---------- Wake-up check ---------- */
.check { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 52px; border-radius: 28px; background: linear-gradient(180deg, var(--panel), var(--ink-2)); border: 1px solid var(--line); position: relative; overflow: hidden; }
.check::before { content: ""; position: absolute; right: -10%; top: -30%; width: 70%; height: 160%; background: radial-gradient(closest-side, rgba(var(--glow), 0.16), transparent); pointer-events: none; }
@media (max-width: 880px) { .check { grid-template-columns: 1fr; padding: 32px 22px; gap: 32px; } }
.check > * { position: relative; }
.check p { color: var(--muted); font-size: 16.5px; margin: 16px 0 0; max-width: 460px; }
.check .mono { display: inline-flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.ring-card { justify-self: center; width: min(340px, 100%); padding: 24px 24px 22px; border-radius: 26px; background: #1c1b20; border: 1px solid var(--line-2); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); text-align: center; }
.ring-card h4 { margin: 0 0 16px; text-align: left; font-size: 16px; font-weight: 600; color: var(--silver); display: flex; justify-content: space-between; align-items: center; }
.ring-card h4 span { color: var(--dim); font-weight: 400; font-size: 13px; }
.ring { position: relative; width: 168px; height: 168px; margin: 0 auto; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 9; }
.ring .track { stroke: rgba(255, 255, 255, 0.08); }
.ring .bar { stroke: var(--green); stroke-linecap: round; stroke-dasharray: 465; stroke-dashoffset: 0; transition: stroke-dashoffset 1s linear, stroke 0.4s; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 54px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.ring-card p { margin: 14px 0 18px; color: var(--muted); font-size: 15px; max-width: none; }
.ring-card button { width: 100%; height: 52px; border: 0; border-radius: 16px; background: var(--green); color: #fff; font-weight: 700; font-size: 17px; cursor: pointer; transition: filter 0.2s, transform 0.2s var(--ease), background 0.3s; }
.ring-card button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.ring-card.is-done .bar { stroke: var(--accent); }
.ring-card.is-done button { background: #2a2733; color: var(--silver); }
.ring-card.is-late .bar { stroke: var(--t-math); }

/* ---------- Bento extras ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.tile { grid-column: span 2; padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); position: relative; overflow: hidden; transition: border-color 0.3s; }
.tile:hover { border-color: var(--line-2); }
.tile.wide { grid-column: span 3; }
@media (max-width: 900px) { .tile, .tile.wide { grid-column: span 3; } .tile:last-child { grid-column: span 6; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .tile, .tile.wide { grid-column: auto; } }
.tile h3 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 700; font-size: 18px; display: flex; align-items: center; gap: 8px; }
.tile p { margin: 0; color: var(--muted); font-size: 14.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.chips span { font-size: 12.5px; padding: 5px 10px; border-radius: 99px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); color: var(--silver); }
.days { display: flex; gap: 6px; margin-top: 16px; }
.days span { flex: 1; max-width: 40px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 10px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); color: var(--dim); }
.days span.on { background: rgba(var(--glow), 0.18); border-color: rgba(var(--glow), 0.45); color: var(--accent-soft); }
.phrase { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(0, 0, 0, 0.3); border: 1px dashed var(--line-2); font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--silver); }
.phrase .caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--accent); animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.tile-shot { margin: 16px -24px -24px; height: 150px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.tile-shot img { width: 78%; margin: 0 auto; }

/* ---------- Guides ---------- */
.guides { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; max-width: 900px; margin: 0 auto; }
.guide-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); text-decoration: none; transition: border-color 0.3s, transform 0.4s var(--ease); }
.guide-card:hover { border-color: rgba(var(--glow), 0.45); transform: translateY(-3px); }
.guide-card h3 { margin: 0; font-family: var(--font-display); font-size: 21px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.guide-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.guide-card .more { margin-top: auto; padding-top: 6px; color: var(--accent); font-size: 14px; font-weight: 600; }
.guide-card .more::after { content: " →"; display: inline-block; transition: transform 0.3s var(--ease); }
.guide-card:hover .more::after { transform: translateX(4px); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 4px; font-family: var(--font-display); font-weight: 600; font-size: 18px; letter-spacing: -0.005em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.05); transition: transform 0.4s var(--ease), background 0.3s; }
.faq summary i::before { content: "+"; font-style: normal; font-size: 18px; color: var(--accent); line-height: 1; }
.faq details.is-open summary i { transform: rotate(45deg); background: rgba(var(--glow), 0.16); }
.faq-panel { display: grid; grid-template-rows: 1fr; }
.faq-panel > div { overflow: hidden; }
.faq-panel p { margin: 0; padding: 0 44px 22px 4px; color: var(--muted); font-size: 15.5px; }
html[data-js] .faq-panel { grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.38s var(--ease), opacity 0.3s var(--ease); }
html[data-js] .faq details.is-open .faq-panel { grid-template-rows: 1fr; opacity: 1; }

/* ---------- Final CTA ---------- */
.final { position: relative; margin: 130px auto 0; max-width: var(--max); padding: 0 20px; }
.final-inner { position: relative; overflow: hidden; border-radius: 32px; padding: 84px 24px 76px; text-align: center; border: 1px solid var(--line); background: var(--ink-2); display: flex; flex-direction: column; align-items: center; gap: 20px; }
.final-inner::before { content: ""; position: absolute; left: 50%; top: -55%; width: 900px; height: 700px; transform: translateX(-50%); background: radial-gradient(circle, rgba(var(--glow), 0.32), transparent 62%); pointer-events: none; }
.final-inner::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(60% 70% at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(60% 70% at 50% 0%, #000, transparent 75%); }
.final-inner > * { position: relative; z-index: 1; }
.final img { border-radius: 24px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08); }

/* ---------- Footer ---------- */
.footer { max-width: var(--max); margin: 0 auto; padding: 56px 20px 46px; display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; align-items: flex-start; color: var(--dim); font-size: 13.5px; }
.footer .brand { font-size: 17px; color: var(--text); }
.footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer a { text-decoration: none; color: var(--muted); transition: color 0.15s; }
.footer a:hover { color: var(--text); }
.footer .legal { flex-basis: 100%; font-size: 12px; color: #55516a; }

/* ---------- Articles / guides (shared) ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 72px 20px 0; font-size: 17.5px; }
.article h1 { margin: 6px 0 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 6vw, 58px); line-height: 1.04; letter-spacing: -0.03em; }
.article h1 em { font-style: normal; color: var(--accent); }
.article .lede { margin: 20px 0 0; max-width: none; }
.article p, .article li { color: #d8d4e6; }
.article ul { padding-left: 22px; }
.article li { margin: 6px 0; }
.article a { color: var(--accent); }
.article .eyebrow { display: inline-block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.crumbs { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.h2-left { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; font-size: clamp(26px, 3.6vw, 34px); line-height: 1.1; margin: 56px 0 14px; }
.disclosure { margin: 28px 0 0; padding: 16px 18px; border-radius: 14px; font-size: 15px; color: var(--muted); background: rgba(var(--glow), 0.08); border: 1px solid rgba(var(--glow), 0.25); }
.disclosure strong { color: var(--text); }
.table-wrap { overflow-x: auto; margin: 0 -20px; padding: 0 20px; }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare th { color: var(--dim); font-family: var(--font-mono); font-weight: 500; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; }
.compare td:first-child { font-weight: 700; white-space: nowrap; }
.pick { margin: 40px 0 0; padding: 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); scroll-margin-top: 96px; }
.pick-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pick-head img { border-radius: 13px; }
.pick-head h2 { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; }
.pick-sub { margin: 4px 0 0 !important; color: var(--accent) !important; font-size: 15px; font-weight: 600; }
.pick-num { flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent-strong); font-weight: 800; }
.pick p { margin: 0 0 14px; }
.proscons { list-style: none; padding: 0 !important; margin: 18px 0; display: grid; gap: 6px; font-size: 16px; }
.proscons li { margin: 0; padding-left: 26px; position: relative; }
.proscons .pro::before { content: "+"; position: absolute; left: 4px; color: #86efac; font-weight: 800; }
.proscons .con::before { content: "–"; position: absolute; left: 4px; color: #f87171; font-weight: 800; }
.pick-meta { font-size: 14px; color: var(--muted) !important; margin: 0 !important; }
.article .faq { margin-top: 10px; }
.article .faq summary { font-size: 17px; }
.guide-list { max-width: 900px; margin: 0 auto; display: grid; gap: 12px; }
.faq details > p { margin: 0; padding: 0 44px 22px 4px; color: var(--muted); font-size: 15.5px; }
.article .eyebrow.mono { color: var(--accent); margin: 0 0 10px; }
.article ~ .final, main > .final { margin-top: 110px; }
