/* Alawako web — Soft Sunrise tokens mirrored from the app (documents/request_design/design-spec.md). */
:root {
  --canvas: #FEF6EC;
  --surface: #FFFBF6;
  --surface-muted: #FBEDE2;
  --glass: rgba(255, 251, 246, .74);
  --primary: #E0313D;
  --primary-hi: #FF5A57;
  --grad: linear-gradient(135deg, #FF7A6B 0%, #FF4E5B 55%, #E0313D 100%);
  --primary-soft: #FFE3DE;
  --on-primary-soft: #B3222D;
  --peach: #FFD3BC;
  --sun: #FFC569;
  --text: #2A1F22;
  --text-2: #6E5E5D;
  --outline: #F1DCD3;
  --shadow-cta: 0 10px 28px rgba(255, 90, 87, .30);
  --shadow-card: 0 24px 60px rgba(120, 50, 40, .14), 0 2px 6px rgba(120, 50, 40, .06);
  --font: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-card: 20px;
  --r-sheet: 32px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas: #1B2236; --surface: #232B42; --surface-muted: #2C3550; --glass: rgba(27, 34, 54, .62);
    --primary: #FF6B66; --primary-hi: #FF7A73; --primary-soft: #5A2A3A; --on-primary-soft: #FFD7D2;
    --peach: #3B3350; --sun: #FFB84D; --text: #F7F1EE; --text-2: #B9B3C3; --outline: #38415C;
    --shadow-card: 0 24px 60px rgba(0, 0, 0, .35); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --canvas: #1B2236; --surface: #232B42; --surface-muted: #2C3550; --glass: rgba(27, 34, 54, .62);
  --primary: #FF6B66; --primary-hi: #FF7A73; --primary-soft: #5A2A3A; --on-primary-soft: #FFD7D2;
  --peach: #3B3350; --sun: #FFB84D; --text: #F7F1EE; --text-2: #B9B3C3; --outline: #38415C;
  --shadow-card: 0 24px 60px rgba(0, 0, 0, .35); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--text); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.12rem; font-weight: 700; }
button { font-family: inherit; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--text-2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 999px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--primary-hi); outline-offset: 3px; border-radius: 10px; }
[hidden] { display: none !important; }

/* ---------- Animated sky ---------- */
.scene { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.scene .bg { position: absolute; inset: -4%; background-size: cover; background-position: center 62%; transition: opacity 1.2s ease; animation: drift 60s ease-in-out infinite alternate; }
.scene .bg-day { background-image: url(/assets/img/bg/screen-light.webp); }
.scene .bg-night { background-image: url(/assets/img/bg/ringing-dark.webp); opacity: 0; }
.scene .bg-ring { background-image: url(/assets/img/bg/sunrise-light.webp); opacity: 0; }
:root[data-theme="dark"] .scene .bg-night { opacity: 1; }
:root[data-theme="dark"] .scene .bg-ring { background-image: url(/assets/img/bg/sunrise-dark.webp); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .scene .bg-night { opacity: 1; } :root:not([data-theme="light"]) .scene .bg-ring { background-image: url(/assets/img/bg/sunrise-dark.webp); } }
body.ringing .scene .bg-ring { opacity: 1; }
.scene .fade { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 55%, var(--canvas) 100%); transition: background .8s; }
@keyframes drift { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); } }

.glow { position: absolute; left: 50%; top: 58%; width: 70vmin; height: 70vmin; margin: -35vmin; border-radius: 50%; background: radial-gradient(circle, rgba(255, 197, 105, .55), rgba(255, 140, 90, .18) 45%, transparent 70%); animation: breathe 7s ease-in-out infinite; mix-blend-mode: screen; }
body.ringing .glow { animation-duration: 1.6s; background: radial-gradient(circle, rgba(255, 197, 105, .85), rgba(255, 90, 87, .35) 45%, transparent 70%); }
@keyframes breathe { 50% { transform: scale(1.15); opacity: .7; } }

.cloud { position: absolute; height: auto; opacity: .75; animation: cloud linear infinite; will-change: transform; }
.cloud path { fill: #fff; }
.c1 { top: 12%; width: 220px; animation-duration: 95s; animation-delay: -20s; }
.c2 { top: 26%; width: 140px; animation-duration: 70s; animation-delay: -55s; opacity: .55; }
.c3 { top: 6%; width: 300px; animation-duration: 130s; animation-delay: -90s; opacity: .45; }
@keyframes cloud { from { transform: translateX(-35vw); } to { transform: translateX(110vw); } }

.bird { position: absolute; width: 22px; color: #B0566A; animation: fly linear infinite; opacity: .8; }
.bird svg { animation: flap .5s ease-in-out infinite alternate; transform-origin: center; }
.b1 { top: 22%; animation-duration: 38s; animation-delay: -6s; }
.b2 { top: 28%; animation-duration: 44s; animation-delay: -18s; width: 16px; }
.b3 { top: 18%; animation-duration: 52s; animation-delay: -32s; width: 14px; }
@keyframes fly { from { transform: translate(-10vw, 4vh); } 50% { transform: translate(50vw, -2vh); } to { transform: translate(110vw, 3vh); } }
@keyframes flap { to { transform: scaleY(.45); } }

.stars { position: absolute; inset: 0 0 45% 0; opacity: 0; transition: opacity 1.2s; }
.star { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: #fff; animation: twinkle 3s ease-in-out infinite; }
.shoot { position: absolute; top: 12%; left: 70%; width: 120px; height: 2px; background: linear-gradient(90deg, #fff, transparent); border-radius: 2px; opacity: 0; transform: rotate(-20deg); animation: shoot 9s ease-in infinite 3s; }
@keyframes twinkle { 50% { opacity: .2; transform: scale(.6); } }
@keyframes shoot { 0%, 88% { opacity: 0; transform: rotate(-20deg) translateX(0); } 90% { opacity: 1; } 100% { opacity: 0; transform: rotate(-20deg) translateX(-420px); } }
:root[data-theme="dark"] .stars { opacity: 1; }
:root[data-theme="dark"] .cloud { opacity: .08; }
:root[data-theme="dark"] .bird { opacity: 0; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .stars { opacity: 1; }
  :root:not([data-theme="light"]) .cloud { opacity: .08; }
  :root:not([data-theme="light"]) .bird { opacity: 0; }
}

/* ---------- Header ---------- */
.top { display: flex; align-items: center; gap: 12px; padding: 16px 20px; max-width: 1080px; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; color: var(--text); text-decoration: none; letter-spacing: -.02em; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 4px 12px rgba(224, 49, 61, .25); }
.top-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.pill-group { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--outline); position: relative; }
.pill-group button { position: relative; z-index: 1; border: 0; background: none; color: var(--text-2); font-weight: 700; font-size: .9rem; padding: 7px 14px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; transition: color .3s; }
.pill-group button[aria-pressed="true"] { color: #fff; }
.pill-group .thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; border-radius: 999px; background: var(--grad); box-shadow: var(--shadow-cta); transition: transform .45s cubic-bezier(.3, 1.4, .5, 1), width .45s; }
.lang { position: relative; }
.lang select { appearance: none; -webkit-appearance: none; font: 700 .9rem var(--font); color: var(--text); background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--outline); border-radius: 999px; padding: 9px 30px 9px 34px; cursor: pointer; max-width: 170px; }
.lang svg { position: absolute; z-index: 1; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--text-2); }
.lang .globe { left: 12px; }
.lang .caret { right: 11px; }
@media (max-width: 560px) { .pill-group button span { display: none; } .pill-group button { padding: 7px 10px; } .brand span { display: none; } .lang select { max-width: 150px; padding-left: 30px; } .lang .globe { left: 10px; } }

/* ---------- Clock card ---------- */
.hero { min-height: calc(100svh - 74px); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 16px 40px; }
.hero h1 { font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: var(--text-2); font-weight: 700; letter-spacing: 0; margin: 0 0 14px; text-align: center; animation: rise .8s .1s both; }
.card {
  width: 100%; max-width: 540px; padding: 30px 30px 26px; border-radius: var(--r-sheet);
  background: var(--glass); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border: 1px solid color-mix(in srgb, var(--outline) 80%, transparent); box-shadow: var(--shadow-card);
  animation: rise .9s .15s cubic-bezier(.2, .9, .3, 1.1) both; position: relative; text-align: center;
}
@keyframes rise { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.label { font-weight: 700; font-size: .9rem; color: var(--text-2); letter-spacing: .02em; }
.now { font-weight: 800; font-size: clamp(1.4rem, 4.6vw, 1.9rem); font-variant-numeric: tabular-nums; letter-spacing: .01em; margin-top: 2px; }
.now .ap { font-size: .6em; color: var(--text-2); margin-left: 4px; }
.sep { height: 1px; background: var(--outline); margin: 18px 0; }

.view { animation: viewIn .5s cubic-bezier(.2, .9, .3, 1.1) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }

/* Time picker: + digits − like kukuklok, flip animation on change */
.picker { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 0 6px; }
.unit { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.step { width: 52px; height: 36px; border: 0; border-radius: 999px; background: var(--surface-muted); color: var(--primary); font-size: 1.4rem; font-weight: 800; cursor: pointer; display: grid; place-items: center; transition: transform .12s, background .2s; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.step:hover { background: var(--primary-soft); }
.step:active { transform: scale(.9); }
.digits { display: flex; gap: 4px; cursor: ns-resize; border-radius: 18px; touch-action: none; }
.digit { width: clamp(50px, 15vw, 74px); height: clamp(70px, 20vw, 100px); border-radius: 18px; background: var(--surface); box-shadow: inset 0 -3px 0 rgba(0,0,0,.05), 0 6px 16px rgba(120,50,40,.08); display: grid; place-items: center; overflow: hidden; position: relative; font-size: clamp(2.5rem, 9vw, 4rem); font-weight: 800; font-variant-numeric: tabular-nums; }
.digit::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.05); }
.digit span { display: block; line-height: 1; }
.digit .in-up { animation: inUp .32s cubic-bezier(.2, .9, .3, 1.2); }
.digit .in-down { animation: inDown .32s cubic-bezier(.2, .9, .3, 1.2); }
@keyframes inUp { from { transform: translateY(70%); opacity: 0; } }
@keyframes inDown { from { transform: translateY(-70%); opacity: 0; } }
.colon { font-size: clamp(2.4rem, 8vw, 3.4rem); font-weight: 800; color: var(--primary); margin: 0 2px 6px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.ampm { display: flex; flex-direction: column; gap: 6px; margin-left: 8px; }
.ampm button { border: 1.5px solid var(--outline); background: var(--surface); color: var(--text-2); font: 800 .9rem var(--font); padding: 8px 10px; border-radius: 12px; cursor: pointer; transition: all .2s; min-width: 48px; }
.ampm button[aria-pressed="true"] { background: var(--primary-soft); color: var(--on-primary-soft); border-color: var(--primary-hi); }
.fmt { display: inline-flex; gap: 8px; align-items: center; font-size: .85rem; font-weight: 700; color: var(--text-2); margin-top: 4px; cursor: pointer; }
.fmt input { accent-color: var(--primary-hi); width: 16px; height: 16px; }

/* Sound chooser: ‹ name › like kukuklok */
.sound { display: flex; align-items: center; gap: 8px; margin: 8px 0 12px; }
.sound .arrow { flex: none; width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--surface-muted); color: var(--primary); cursor: pointer; display: grid; place-items: center; transition: transform .12s, background .2s; }
.sound .arrow:hover { background: var(--primary-soft); }
.sound .arrow:active { transform: scale(.9); }
.sound-name { flex: 1; min-width: 0; height: 52px; border-radius: 16px; background: var(--surface); display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 800; font-size: 1.12rem; overflow: hidden; position: relative; box-shadow: 0 6px 16px rgba(120,50,40,.06); }
.sound-name .nm { display: inline-block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sound-name .nm.from-r { animation: fromR .35s cubic-bezier(.2,.9,.3,1.1); }
.sound-name .nm.from-l { animation: fromL .35s cubic-bezier(.2,.9,.3,1.1); }
@keyframes fromR { from { transform: translateX(40px); opacity: 0; } }
@keyframes fromL { from { transform: translateX(-40px); opacity: 0; } }
.eq { display: none; gap: 2px; align-items: flex-end; height: 16px; }
.eq i { width: 3px; background: var(--primary-hi); border-radius: 2px; height: 30%; animation: eq .8s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -.2s; } .eq i:nth-child(3) { animation-delay: -.5s; } .eq i:nth-child(4) { animation-delay: -.35s; }
.playing .eq { display: inline-flex; }
@keyframes eq { 50% { height: 100%; } }
.dots { display: flex; gap: 5px; justify-content: center; margin-top: -4px; margin-bottom: 14px; }
.dots i { width: 6px; height: 6px; border-radius: 99px; background: var(--outline); transition: all .3s; }
.dots i.on { width: 18px; background: var(--primary-hi); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 28px; border-radius: 999px; border: 0; cursor: pointer; font: 800 1.08rem var(--font); text-decoration: none; white-space: nowrap; transition: transform .12s ease, box-shadow .25s ease, background .2s; position: relative; overflow: hidden; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-cta); }
.btn-primary:hover { box-shadow: 0 14px 34px rgba(255, 90, 87, .42); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-100%); }
.btn-primary:hover::after { animation: shine .9s; }
@keyframes shine { to { transform: translateX(100%); } }
.btn-soft { background: var(--primary-soft); color: var(--on-primary-soft); }
.btn-ghost { background: transparent; color: var(--text-2); border: 1.5px solid var(--outline); }
.btn-sm { height: 44px; padding: 0 18px; font-size: .95rem; }
.btn-block { width: 100%; }
.row { display: flex; gap: 10px; }
.row > * { flex: 1; }
.hint { font-size: .82rem; color: var(--text-2); margin: 14px 0 0; }

/* Set state */
.set-ico { width: 84px; height: 84px; margin: 6px auto 10px; position: relative; }
.set-ico img { width: 100%; height: 100%; border-radius: 22px; position: relative; z-index: 1; animation: pop .6s cubic-bezier(.3, 1.6, .5, 1) both; }
.set-ico::before, .set-ico::after { content: ""; position: absolute; inset: -6px; border-radius: 28px; border: 2px solid var(--primary-hi); opacity: 0; animation: ripple 2.6s ease-out infinite; }
.set-ico::after { animation-delay: 1.3s; }
@keyframes pop { from { transform: scale(.3) rotate(-20deg); opacity: 0; } }
@keyframes ripple { from { transform: scale(.9); opacity: .6; } to { transform: scale(1.6); opacity: 0; } }
.set-title { font-size: 1.5rem; font-weight: 800; margin: 0; }
.set-at { font-size: clamp(2.6rem, 10vw, 3.6rem); font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.1; margin: 4px 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.set-in { font-weight: 700; color: var(--text-2); font-variant-numeric: tabular-nums; }
.ring-progress { height: 6px; background: var(--peach); border-radius: 99px; overflow: hidden; margin: 18px 0 16px; }
.ring-progress i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 99px; transition: width 1s linear; }

/* Ringing state */
.bell { width: 112px; height: 112px; margin: 0 auto 8px; position: relative; }
.bell img { width: 100%; height: 100%; border-radius: 28px; animation: shake .9s cubic-bezier(.36, .07, .19, .97) infinite; position: relative; z-index: 1; box-shadow: 0 16px 40px rgba(224, 49, 61, .35); }
.bell .wave { position: absolute; inset: 0; border-radius: 50%; background: var(--primary-hi); opacity: 0; animation: wave 1.8s ease-out infinite; }
.bell .wave:nth-child(2) { animation-delay: .6s; } .bell .wave:nth-child(3) { animation-delay: 1.2s; }
@keyframes shake { 0%, 50%, 100% { transform: rotate(0); } 5%, 15%, 25%, 35% { transform: rotate(-12deg) scale(1.04); } 10%, 20%, 30%, 40% { transform: rotate(12deg) scale(1.04); } }
@keyframes wave { from { transform: scale(.8); opacity: .35; } to { transform: scale(2.3); opacity: 0; } }
.wake-title { font-size: clamp(2.6rem, 11vw, 4.2rem); font-weight: 800; margin: 0; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.05); } }
.wake-time { font-weight: 800; font-size: 1.3rem; color: var(--text-2); font-variant-numeric: tabular-nums; margin-bottom: 18px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--text-2); font-weight: 700; font-size: .9rem; margin: 10px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--outline); }
.btn-stop { height: 68px; font-size: 1.35rem; }
.btn-wrap { white-space: normal; text-align: center; line-height: 1.2; }
body.ringing .card { animation: cardRing .5s ease-in-out infinite alternate; }
@keyframes cardRing { from { box-shadow: var(--shadow-card); } to { box-shadow: 0 24px 80px rgba(255, 90, 87, .5); } }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 160%); background: var(--text); color: var(--canvas); padding: 12px 22px; border-radius: 999px; font-weight: 700; transition: transform .45s cubic-bezier(.3, 1.4, .5, 1); z-index: 120; max-width: calc(100% - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); }

.scroll-cue { margin-top: 26px; color: var(--text-2); animation: rise .8s .6s both; text-decoration: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.scroll-cue svg { animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* ---------- Content below the fold ---------- */
.content { background: var(--canvas); position: relative; transition: background .8s; }
.content section { padding: 72px 0; }
.content h2 { text-align: center; margin-bottom: 32px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--r-card); padding: 62px 20px 20px; position: relative; color: var(--text-2); counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; top: 18px; left: 20px; width: 32px; height: 32px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: .95rem; }
.feat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat div { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--r-card); padding: 22px; }
.feat p { color: var(--text-2); margin: 0; font-size: .95rem; }
@media (max-width: 860px) { .steps, .feat { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps, .feat { grid-template-columns: 1fr; } .content section { padding: 56px 0; } .card { padding: 22px 16px 20px; } }
.faq details { background: var(--surface); border: 1px solid var(--outline); border-radius: var(--r-card); margin-bottom: 10px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-weight: 800; transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .a { padding: 0 22px 18px; color: var(--text-2); }
.app-band { display: flex; gap: 22px; align-items: center; background: var(--surface); border: 1px solid var(--outline); border-radius: 28px; padding: 26px; }
.app-band img { width: 76px; height: 76px; border-radius: 18px; flex: none; }
.app-band h2 { font-size: 1.3rem; margin: 0 0 4px; text-align: left; }
.app-band p { color: var(--text-2); margin: 0; }
.app-band .btn { margin-left: auto; flex: none; }
@media (max-width: 680px) { .app-band { flex-direction: column; text-align: center; } .app-band h2 { text-align: center; } .app-band .btn { margin: 0; white-space: normal; height: auto; min-height: 52px; padding: 10px 24px; } }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .9, .3, 1); }
.js .reveal.in { opacity: 1; transform: none; }

footer { padding: 32px 0 40px; border-top: 1px solid var(--outline); color: var(--text-2); font-size: .9rem; background: var(--canvas); }
.foot { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { color: var(--text-2); text-decoration: none; font-weight: 600; }
.foot a:hover { color: var(--primary); }
.langs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 18px; font-size: .85rem; }
.langs a[aria-current] { color: var(--primary); }

.prose { max-width: 760px; margin: 0 auto; padding: 24px 20px 60px; }
.prose h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--outline); padding: 10px 12px; text-align: left; vertical-align: top; }
.prose th { background: var(--surface-muted); }
.page-solid { background: var(--canvas); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .cloud, .bird, .shoot { display: none; }
  html { scroll-behavior: auto; }
}
