:root {
  color-scheme: dark;
  --bg: #050A12;
  --bg-deep: #03070D;
  --surface: #0B111C;
  --elevated: #111927;
  --glass: rgba(15, 22, 34, .62);
  --glass-strong: rgba(18, 27, 41, .76);
  --line: rgba(255,255,255,.075);
  --line-strong: rgba(255,255,255,.12);
  --text: #FBFDFF;
  --secondary: #B8C3D2;
  --muted: #78869A;
  --accent: #0E8F72;
  --electric: #39FFB6;
  --gold: #C6A15B;
  --bad: #D44747;
  --ease: cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: #030810;
  color: var(--text);
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before, body::after { content: ""; position: fixed; pointer-events: none; z-index: -3; }
body::before {
  inset: -18%;
  background:
    radial-gradient(ellipse 42% 34% at 78% 4%, rgba(14,143,114,var(--ambient,.18)), transparent 70%),
    radial-gradient(ellipse 38% 30% at 4% 55%, rgba(19,106,104,.10), transparent 72%),
    linear-gradient(180deg, rgba(11,17,28,.42), transparent 45%);
  transform: translateZ(0);
}
body::after {
  display: none;
}
body[data-period="morning"] { --ambient: .26; }
body[data-period="night"] { --ambient: .17; background: var(--bg-deep); }

.ambient-scene { position: fixed; inset: 0; z-index: -2; overflow: hidden; contain: strict; isolation: isolate; pointer-events: none; }
.ambient-orb { position: absolute; border-radius: 50%; will-change: transform; transform: translateZ(0); backface-visibility: hidden; }
.ambient-orb.one { width: min(58vw, 760px); aspect-ratio: 1; top: -28%; right: -14%; background: radial-gradient(circle, rgba(14,143,114,.23) 0%, rgba(14,143,114,.12) 34%, transparent 70%); animation: drift-one 24s var(--ease) infinite alternate; }
.ambient-orb.two { width: min(46vw, 600px); aspect-ratio: 1; left: -20%; top: 30%; background: radial-gradient(circle, rgba(17,110,119,.14) 0%, rgba(17,110,119,.07) 38%, transparent 72%); animation: drift-two 34s var(--ease) infinite alternate; }
.ambient-orb.three { width: min(34vw, 440px); aspect-ratio: 1; right: 8%; bottom: -20%; background: radial-gradient(circle, rgba(57,255,182,.09), transparent 70%); animation: drift-three 30s ease-in-out infinite alternate; }
.ambient-mesh { position: absolute; inset: 0; opacity: .11; background-image: linear-gradient(rgba(57,255,182,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(57,255,182,.045) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 78% 58% at 72% 18%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 78% 58% at 72% 18%, #000 0%, transparent 70%); }
.ambient-beam { position: absolute; width: 34%; height: 130%; top: -30%; left: 52%; background: linear-gradient(90deg, transparent, rgba(57,255,182,.022), transparent); transform: rotate(14deg); }

button, input, select, textarea { font: inherit; }
button, a, label, summary { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:active, .choice:active span { transform: scale(.98); }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 1px solid rgba(57,255,182,.6);
  outline-offset: 3px;
}
button { transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
button, input, select, textarea { border-radius: 11px; }
button { padding: 11px 16px; border: 1px solid var(--line); font-weight: 500; }
.primary { background: var(--accent); color: var(--text); border-color: rgba(57,255,182,.14); box-shadow: 0 10px 30px rgba(14,143,114,.12); }
.primary:hover { background: #109D7D; box-shadow: 0 0 30px rgba(57,255,182,.1); }
.secondary, .ghost { background: var(--glass); color: var(--text); }
.secondary:hover { background: var(--glass-strong); border-color: var(--line-strong); }

.wrap { width: min(100%, 1040px); margin: 0 auto; padding: 28px 44px 128px; }
.topbar { display: flex; justify-content: space-between; align-items: center; min-height: 24px; font-size: 11px; color: var(--muted); letter-spacing: .09em; }
.brand { display: flex; align-items: center; gap: 10px; color: #AAB8C9; text-transform: uppercase; }
.brand-dot, .save-indicator i { width: 5px; height: 5px; display: inline-block; border-radius: 50%; background: var(--electric); box-shadow: 0 0 14px rgba(57,255,182,.52); }
.top-actions { display: flex; align-items: center; gap: 12px; }
.save-indicator { display: flex; align-items: center; gap: 8px; letter-spacing: 0; color: var(--secondary); }
.save-indicator i { background: var(--accent); box-shadow: none; }
.install-app { display: none; align-items: center; gap: 7px; padding: 6px 10px; border-color: rgba(57,255,182,.18); background: rgba(14,143,114,.10); color: #9BE7D0; font-size: 11px; letter-spacing: 0; }
.install-app.available { display: inline-flex; animation: soft-pulse 3s ease-in-out infinite; }
.install-app svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.hero { position: relative; min-height: 250px; padding: 62px 34% 42px 0; border-bottom: 1px solid var(--line); }
.eyebrow, .section-kicker { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: #8492A5; }
.eyebrow { color: #74C7B0; text-shadow: 0 0 18px rgba(57,255,182,.16); }
h1 { max-width: 640px; margin: 14px 0 12px; color: #FFFFFF; font-size: clamp(36px, 5vw, 48px); line-height: 1.08; letter-spacing: -.045em; font-weight: 620; text-shadow: 0 0 32px rgba(224,255,247,.055); }
h2 { margin: 0; font-size: 23px; line-height: 1.2; letter-spacing: -.028em; font-weight: 600; }
.hero p { max-width: 520px; margin: 0; color: var(--secondary); font-size: 16px; }
.hero-date { margin-top: 28px; color: var(--muted); font-size: 12px; }
.hero-clock { position: absolute; right: 0; top: 78px; min-width: 230px; padding-left: 28px; border-left: 1px solid var(--line); color: var(--text); font-size: 42px; line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; font-weight: 550; }
.hero-clock::after { content: "hora local"; display: block; margin-top: 12px; color: var(--muted); font-size: 10px; line-height: 1; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.week-nav { margin-top: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(10,17,27,.88); }
.week-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.week-meta span:last-child { color: #78BDAA; letter-spacing: 0; text-transform: none; }
.week-days { display: grid; grid-template-columns: repeat(7,1fr); gap: 6px; }
.day-button { position: relative; min-width: 0; padding: 8px 4px 7px; border-color: transparent; background: transparent; color: var(--muted); }
.day-button strong, .day-button small { display: block; }
.day-button strong { color: inherit; font-size: 11px; font-weight: 560; }
.day-button small { margin-top: 2px; color: inherit; font-size: 10px; font-variant-numeric: tabular-nums; }
.day-button:hover { color: var(--secondary); background: rgba(255,255,255,.035); }
.day-button.configured { color: var(--text); background: rgba(14,143,114,.13); border-color: rgba(57,255,182,.18); }
.day-button.configured::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 3px; height: 3px; border-radius: 50%; background: var(--electric); box-shadow: 0 0 8px rgba(57,255,182,.45); transform: translateX(-50%); }
.day-button.is-today::before { content: "hoy"; position: absolute; top: -17px; left: 50%; color: #84D5BE; font-size: 8px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transform: translateX(-50%); }

.section { margin-top: 46px; padding: 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 22px; }
.section-kicker { margin-bottom: 7px; }
.section-desc { margin: 8px 0 0; color: var(--secondary); font-size: 13px; }
.pill, .time-badge { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.pill.good { color: #72CDB5; background: rgba(14,143,114,.07); border-color: rgba(14,143,114,.2); }

.three-grid { display: grid; grid-template-columns: 1.55fr 1fr 1fr; gap: 12px; }
.anchor { min-width: 0; min-height: 166px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: rgba(12,19,30,.92); display: flex; flex-direction: column; gap: 9px; transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease); }
.anchor:hover { transform: translateY(-2px); border-color: var(--line-strong); background: rgba(17,25,39,.68); }
.anchor:first-child { position: relative; overflow: hidden; background: linear-gradient(145deg, rgba(14,143,114,.16), rgba(15,22,34,.72) 62%); border-color: rgba(57,255,182,.25); box-shadow: 0 0 42px rgba(57,255,182,.07), inset 0 1px 0 rgba(255,255,255,.035); }
.anchor:first-child::after { content: ""; position: absolute; width: 120px; height: 120px; right: -60px; top: -70px; border-radius: 50%; background: rgba(57,255,182,.09); filter: blur(28px); }
.icon { color: var(--muted); margin-bottom: 5px; }
.icon svg, .step-icon svg, .dock svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.45; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.anchor strong { color: var(--secondary); font-size: 12px; font-weight: 500; }
.anchor .fixed { margin-top: auto; font-size: 22px; font-weight: 560; letter-spacing: -.025em; }
.locked { color: var(--muted); font-size: 11px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
label { color: var(--secondary); font-size: 12px; }
input[type=text], input[type=time], input[type=number], select, textarea { width: 100%; min-width: 0; padding: 11px 12px; outline: none; color: var(--text); background: rgba(255,255,255,.032); border: 1px solid rgba(255,255,255,.06); transition: .2s var(--ease); }
input:hover, select:hover, textarea:hover { background: rgba(255,255,255,.045); border-color: var(--line-strong); }
input:focus, select:focus, textarea:focus { background: rgba(255,255,255,.05); border-color: rgba(57,255,182,.34); box-shadow: 0 0 0 3px rgba(57,255,182,.045); }
input::placeholder, textarea::placeholder { color: #687486; font-size: 13px; }
textarea { min-height: 92px; resize: vertical; }
select option { background: var(--surface); }

.phase-nav { position: sticky; top: 12px; z-index: 4; display: inline-flex; gap: 4px; margin-bottom: 22px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: rgba(8,13,22,.96); box-shadow: 0 12px 36px rgba(0,0,0,.16); }
.phase-nav button { position: relative; min-width: 68px; padding: 8px 13px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-size: 12px; }
.phase-nav button:hover { color: var(--secondary); }
.phase-nav button[aria-pressed=true] { color: var(--text); background: rgba(255,255,255,.055); box-shadow: inset 0 0 0 1px rgba(255,255,255,.035); }
.phase-nav button[aria-pressed=true]::before { content: ""; position: absolute; top: 7px; left: 7px; width: 3px; height: 3px; border-radius: 50%; background: var(--electric); box-shadow: 0 0 10px rgba(57,255,182,.6); }
.timeline { display: flex; flex-direction: column; max-width: 780px; }
.step { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding-bottom: 14px; }
.step[hidden] { display: none; }
.step:not(:last-child)::before { content: ""; position: absolute; top: 36px; bottom: 0; left: 16px; width: 1px; background: linear-gradient(var(--line-strong), var(--line)); }
.step-icon { position: relative; z-index: 1; width: 34px; height: 36px; display: grid; place-items: center; color: var(--muted); background: var(--bg); }
.step-card { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: rgba(15,22,34,.92); transition: border-color .22s var(--ease), background .22s var(--ease), transform .22s var(--ease); }
.step-card:hover { border-color: rgba(255,255,255,.105); background: rgba(18,27,41,.67); }
.step:focus-within .step-icon { color: var(--electric); filter: drop-shadow(0 0 7px rgba(57,255,182,.3)); }
.step:focus-within .step-card { border-color: rgba(14,143,114,.3); }
.step-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.step-title strong { font-size: 15px; font-weight: 560; }
.step-title span { color: var(--muted); font-size: 11px; text-align: right; }
.grid2, .closure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.segmented { display: grid; grid-template-columns: repeat(2,1fr); gap: 7px; }
.segmented.three { grid-template-columns: repeat(3,1fr); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { min-height: 41px; display: flex; align-items: center; justify-content: center; padding: 9px 10px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.022); color: var(--secondary); font-size: 12px; text-align: center; cursor: pointer; transition: .2s var(--ease); }
.choice span:hover { background: rgba(255,255,255,.045); color: var(--text); border-color: var(--line-strong); }
.choice input:checked + span { color: var(--text); border-color: rgba(14,143,114,.62); background: rgba(14,143,114,.17); box-shadow: inset 0 0 24px rgba(57,255,182,.025); animation: confirm .42s var(--ease); }
.choice input:focus-visible + span { outline: 1px solid rgba(57,255,182,.65); outline-offset: 3px; }
.feedback { display: none; margin-top: 13px; padding-left: 12px; border-left: 1px solid var(--line); font-size: 12px; line-height: 1.65; }
.feedback.show { display: block; animation: rise .3s var(--ease) both; }
.feedback.good { border-color: var(--accent); color: #77C8B3; }
.feedback.warn { border-color: var(--gold); color: #C7B485; }
.feedback.bad { border-color: var(--bad); color: #DF8B8B; }
.feedback.neutral { color: var(--secondary); }
details.routine { margin-top: 14px; color: var(--muted); font-size: 12px; }
summary { padding: 4px 0; cursor: pointer; transition: color .2s; }
summary:hover { color: var(--secondary); }
.routine-body { padding: 10px 0 0; line-height: 1.7; }
.routine-body ol { padding-left: 20px; }

#progressSection { margin-top: 38px; }
.progress-card { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 22px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(110deg, rgba(14,143,114,.07), rgba(15,22,34,.52) 46%, rgba(15,22,34,.2)); }
.ring { --p: 0; position: relative; width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--p)*1%), rgba(255,255,255,.055) 0); box-shadow: 0 0 28px rgba(57,255,182,.055); }
.ring::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #091019; }
.ring span { position: relative; z-index: 1; font-size: 14px; font-weight: 600; }
.progress-copy strong { font-size: 16px; font-weight: 560; }
.progress-copy p { margin: 5px 0; color: var(--secondary); font-size: 13px; }
.score-line { color: var(--muted); font-size: 11px; }
.status { margin-top: 12px; color: var(--secondary); font-size: 13px; line-height: 1.6; }

#cierre { position: relative; padding: 26px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: rgba(18,27,41,.96); box-shadow: 0 12px 40px rgba(0,0,0,.14); }
#cierre::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 2px; background: linear-gradient(transparent, rgba(198,161,91,.65), transparent); opacity: .55; }
#cierre.collapsed > :not(.section-head) { display: none; }
#cierre .section-head { margin-bottom: 0; }
#cierre:not(.collapsed) .section-head { margin-bottom: 22px; }
.closure-toggle { padding: 7px 10px; background: transparent; color: var(--muted); font-size: 12px; }
.closure-toggle:hover { color: var(--text); background: rgba(255,255,255,.035); }
.actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.tiny { max-width: 560px; margin: 16px 0 0 auto; color: var(--muted); font-size: 11px; text-align: right; }

.dock { position: fixed; z-index: 8; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); display: flex; gap: 4px; padding: 5px; border: 1px solid var(--line); border-radius: 15px; background: rgba(11,17,28,.96); box-shadow: 0 16px 46px rgba(0,0,0,.32); transform: translateX(-50%); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.dock.is-idle { opacity: .22; transform: translateX(-50%) translateY(7px); }
.dock a { width: 42px; height: 38px; display: grid; place-items: center; border-radius: 10px; color: var(--muted); text-decoration: none; transition: .2s var(--ease); }
.dock a:hover, .dock a.active { color: var(--text); background: rgba(255,255,255,.055); }
.dock a.active { color: #78D0B8; }
.dock svg { width: 18px; height: 18px; }
.pwa-toast { position: fixed; z-index: 30; top: max(18px, env(safe-area-inset-top)); left: 50%; max-width: calc(100% - 32px); padding: 9px 13px; border: 1px solid rgba(57,255,182,.18); border-radius: 999px; background: rgba(9,16,25,.97); color: #BFE9DD; box-shadow: 0 12px 36px rgba(0,0,0,.25), 0 0 24px rgba(57,255,182,.05); font-size: 11px; transform: translate(-50%,-18px); opacity: 0; visibility: hidden; transition: .35s var(--ease); }
.pwa-toast.show { transform: translate(-50%,0); opacity: 1; visibility: visible; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.intro { position: fixed; inset: 0; z-index: 20; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; background: #050A12; text-align: center; transition: opacity .48s var(--ease), visibility .48s; }
.intro::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, rgba(14,143,114,.13), transparent 48%); animation: appear 1.2s both, breathe 5s 1.2s ease-in-out infinite alternate; }
.intro > * { position: relative; }
.intro h2 { font-size: clamp(32px,6vw,44px); letter-spacing: -.04em; animation: rise .72s .25s both; }
.intro time { margin: 18px 0; color: var(--text); font-size: 26px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; animation: rise .72s .52s both; }
.intro p { color: var(--secondary); font-size: 14px; animation: rise .72s .78s both; }
.intro button { position: absolute; bottom: max(34px, env(safe-area-inset-bottom)); border: 0; background: transparent; color: var(--muted); font-size: 12px; }
.intro.dismissed { opacity: 0; visibility: hidden; pointer-events: none; }
.entering .wrap, .entering .dock { opacity: 0; }
.ready .wrap > * { animation: rise .42s var(--ease) both; }
.ready .hero { animation-delay: .08s; }
.ready #tresCosas { animation-delay: .16s; }
.ready #dayFlow { animation-delay: .24s; }
.ready #progressSection { animation-delay: .32s; }
.ready #cierre { animation-delay: .40s; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes breathe { to { opacity: .72; transform: scale(1.06); } }
@keyframes confirm { 45% { box-shadow: 0 0 30px rgba(57,255,182,.12); } }
@keyframes drift-one { 0% { transform: translate3d(0,0,0) scale(.92); opacity: .55; } 50% { transform: translate3d(-8vw,10vh,0) scale(1.09); opacity: .9; } 100% { transform: translate3d(-3vw,19vh,0) scale(.98); opacity: .68; } }
@keyframes drift-two { 0% { transform: translate3d(0,0,0) scale(1); opacity: .48; } 50% { transform: translate3d(12vw,-10vh,0) scale(1.16); opacity: .78; } 100% { transform: translate3d(6vw,14vh,0) scale(.9); opacity: .58; } }
@keyframes drift-three { 0% { transform: translate3d(0,0,0); opacity: .35; } 100% { transform: translate3d(-18vw,-20vh,0) scale(1.35); opacity: .72; } }
@keyframes drift-mobile { from { transform: translate3d(0,0,0) scale(.96); opacity: .62; } to { transform: translate3d(-12vw,14vh,0) scale(1.08); opacity: .82; } }
@keyframes soft-pulse { 50% { border-color: rgba(57,255,182,.38); box-shadow: 0 0 20px rgba(57,255,182,.08); } }

@media (max-width: 760px) {
  .ambient-orb.two, .ambient-orb.three, .ambient-mesh, .ambient-beam { display: none; }
  .ambient-orb.one { width: 125vw; max-width: none; top: -28vw; right: -58vw; animation: drift-mobile 32s var(--ease) infinite alternate; }
  .wrap { padding: 24px 20px 112px; }
  .topbar { letter-spacing: .07em; }
  .save-indicator span { max-width: 122px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero { min-height: 0; padding: 46px 0 34px; }
  h1 { font-size: 34px; }
  .hero p { font-size: 15px; }
  .hero-date { margin-top: 24px; }
  .hero-clock { position: static; min-width: 0; margin-top: 14px; padding: 0; border: 0; font-size: 20px; color: var(--secondary); }
  .hero-clock::after { display: inline; margin-left: 7px; font-size: 9px; }
  .week-nav { margin-top: 14px; padding: 13px 10px 11px; }
  .week-days { gap: 3px; }
  .day-button { padding-inline: 2px; }
  .section { margin-top: 38px; }
  .three-grid { grid-template-columns: 1fr 1fr; }
  .anchor:first-child { grid-column: 1 / -1; }
  .anchor { min-height: 142px; padding: 18px; }
  .anchor .fixed { font-size: 20px; }
  .timeline { max-width: none; }
  .step { grid-template-columns: 26px 1fr; gap: 10px; }
  .step-icon { width: 26px; background: var(--bg); }
  .step:not(:last-child)::before { left: 12px; }
  .step-card { padding: 17px; }
  .grid2, .closure-grid { grid-template-columns: 1fr; }
  .phase-nav { width: 100%; display: grid; grid-template-columns: repeat(4,1fr); top: 8px; }
  .phase-nav button { min-width: 0; padding: 8px 5px; }
  .phase-nav button[aria-pressed=true]::before { display: none; }
  .progress-card { padding: 22px 18px; }
  #cierre { padding: 20px 18px; }
  .actions button { flex: 1; padding-inline: 8px; font-size: 13px; }
  .tiny { text-align: center; margin-inline: auto; }
}

@media (hover: none) {
  .anchor:hover { transform: none; }
  .anchor:hover, .step-card:hover { border-color: var(--line); }
}

@media (max-width: 390px) {
  .wrap { padding-inline: 16px; }
  .brand { font-size: 10px; }
  h1 { font-size: 31px; }
  .section-head { align-items: flex-start; }
  .section-desc { max-width: 250px; }
  .anchor { padding: 16px; }
  .step-card { padding: 15px; }
  .step-title { align-items: flex-start; }
  .step-title span { max-width: 108px; }
  .segmented.three { gap: 5px; }
  .choice span { padding-inline: 6px; }
  .ring { width: 64px; height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .intro { display: none; }
  .entering .wrap, .entering .dock { opacity: 1; }
}
