/* DoseTrack — dosetrack.top. Self-hosted fonts, no third-party requests. */
@font-face { font-family: "Unbounded"; font-weight: 200 900; font-display: swap; src: url(/fonts/unbounded-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; font-weight: 200 900; font-display: swap; src: url(/fonts/unbounded-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Unbounded"; font-weight: 200 900; font-display: swap; src: url(/fonts/unbounded-cyrillic-wght-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-weight: 200 900; font-display: swap; src: url(/fonts/unbounded-cyrillic-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-display: swap; src: url(/fonts/manrope-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-display: swap; src: url(/fonts/manrope-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-display: swap; src: url(/fonts/manrope-cyrillic-wght-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-display: swap; src: url(/fonts/manrope-cyrillic-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }

:root {
  --paper: #f3f1ea; --paper-2: #e9e6dc; --card: #fbfaf6; --mint: #dcefe9; --mint-2: #c4e6dd;
  --ink: #0b2f2c; --ink-2: #3f5956; --ink-3: #6d8481; --teal: #0f6e67; --teal-2: #17a196; --coral: #ff6b5c;
  --coral-soft: #ffe1db; --line: rgba(11, 47, 44, .13); --shadow: 0 30px 60px -30px rgba(11, 47, 44, .35);
  --display: "Unbounded", "Manrope", system-ui, sans-serif; --body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r: 22px; --wrap: 1180px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0c1514; --paper-2: #101c1b; --card: #13201f; --mint: #11302c; --mint-2: #174039;
    --ink: #e6efed; --ink-2: #aac0bc; --ink-3: #7f9693; --teal: #5fd6ca; --teal-2: #2fb5a8; --coral: #ff8576;
    --coral-soft: #3a1f1c; --line: rgba(230, 239, 237, .12); --shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); overflow-x: hidden;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; }
h2 { font: 600 clamp(1.8rem, 3.6vw, 3rem)/1.1 var(--display); letter-spacing: -.02em; max-width: 20ch; }
h3 { font-weight: 800; font-size: 1.12rem; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 99px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--teal-2); outline-offset: 3px; border-radius: 8px; }
.ico { width: 20px; height: 20px; flex: none; }
.kicker { font: 600 .78rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px; }
.kicker::before { content: ""; width: 26px; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--teal-2) 50%, var(--coral) 50%); }
.section-lead { color: var(--ink-2); font-size: 1.12rem; max-width: 60ch; margin-top: 20px; }
section { position: relative; }

/* Header */
.top { position: sticky; top: 0; z-index: 40; backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  background: color-mix(in srgb, var(--paper) 78%, transparent); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.12rem var(--display); letter-spacing: -.02em; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-2); padding: 8px 12px; border-radius: 99px; transition: background .2s, color .2s; }
.nav a:hover { background: var(--mint); color: var(--ink); }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .85rem;
  padding: 8px 12px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink-2); }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 6px; min-width: 168px; box-shadow: var(--shadow); }
.lang li a { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.lang li a:hover { background: var(--mint); }
.lang li a[aria-current] { color: var(--teal); }
.lang li a[aria-current]::after { content: " ●"; font-size: .6em; vertical-align: middle; }

/* Google Play button */
.play { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; background: var(--ink); color: var(--paper);
  border-radius: 16px; padding: 10px 20px 10px 16px; transition: transform .25s cubic-bezier(.2, .8, .2, 1.3), box-shadow .25s; box-shadow: 0 12px 24px -14px rgba(11, 47, 44, .7); }
.play:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -14px rgba(11, 47, 44, .7); }
.play span { display: grid; line-height: 1.1; }
.play small { font-size: .72rem; opacity: .8; font-weight: 600; letter-spacing: .02em; }
.play b { font: 600 1.15rem var(--display); letter-spacing: -.01em; }
.play-logo { width: 24px; height: 26px; }
.play-sm { padding: 7px 14px 7px 11px; border-radius: 13px; gap: 9px; }
.play-sm .play-logo { width: 18px; height: 20px; }
.play-sm small { font-size: .6rem; }
.play-sm b { font-size: .88rem; }
.play-lg { padding: 13px 26px 13px 20px; border-radius: 18px; }
.play-lg .play-logo { width: 28px; height: 30px; }
.play-lg b { font-size: 1.32rem; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); overflow: clip; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, var(--mint) 0%, transparent 70%); z-index: -1; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem; color: var(--teal);
  background: var(--card); border: 1px solid var(--line); padding: 7px 14px 7px 10px; border-radius: 99px; margin-bottom: 26px; }
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--teal-2) 25%, transparent);
  animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--teal-2) 0%, transparent); } }
.hero h1 { font: 600 clamp(2.3rem, 4.6vw, 4.1rem)/1.05 var(--display); letter-spacing: -.035em; max-width: 13ch; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--teal); position: relative; }
.hero h1 em { background: linear-gradient(90deg, var(--mint-2), var(--coral-soft)) 0 88% / 100% .24em no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .06em; }
.hero h1 em::after { content: none; display: none;
  background: linear-gradient(90deg, var(--mint-2), var(--coral-soft)); transform-origin: left; animation: draw 1.1s .35s cubic-bezier(.6, 0, .2, 1) both; }
@keyframes draw { from { transform: scaleX(0); } }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.24rem); color: var(--ink-2); margin-top: 24px; max-width: 52ch; }
.hero-cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips li { font-size: .86rem; font-weight: 700; color: var(--ink-2); padding: 6px 12px; border-radius: 99px; background: var(--paper-2); }

.hero-art { position: relative; min-height: clamp(460px, 46vw, 640px); display: grid; place-items: center; }
.capsule { position: absolute; width: 94%; aspect-ratio: 2.3 / 1; transform: rotate(-28deg); display: flex; filter: drop-shadow(0 40px 50px rgba(11, 47, 44, .18)); }
.capsule .half { flex: 1; }
.capsule .a { background: linear-gradient(160deg, #3fd3c6, #0f8f86); border-radius: 999px 0 0 999px; }
.capsule .b { background: linear-gradient(160deg, #ff9a8c, #f2564a); border-radius: 0 999px 999px 0; transform: translateX(14px); }
.capsule .half { animation: open 1.4s .2s cubic-bezier(.3, 1.4, .4, 1) both; }
.capsule .a { --dx: -18px; } .capsule .b { --dx: 32px; }
@keyframes open { from { translate: 0; } to { translate: var(--dx); } }
.beads { position: absolute; left: 6%; bottom: 8%; display: flex; gap: 10px; transform: rotate(-28deg); }
.beads i { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #7ae6dc, #0f8f86 70%);
  box-shadow: 0 8px 14px -6px rgba(11, 47, 44, .5); animation: bead 3.2s ease-in-out infinite; }
.beads i:nth-child(2) { animation-delay: .15s; } .beads i:nth-child(3) { animation-delay: .3s; } .beads i:nth-child(4) { animation-delay: .45s; }
@keyframes bead { 50% { transform: translateY(-10px); } }
.phone { position: relative; z-index: 1; width: min(62%, 310px); border-radius: 34px; background: #0d1f1d; padding: 9px; box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, .06) inset;
  transform: rotate(3deg); animation: rise 1s cubic-bezier(.2, .8, .2, 1) both; }
.phone img { border-radius: 26px; }
@keyframes rise { from { opacity: 0; transform: translateY(40px) rotate(3deg); } }

.notif { position: absolute; left: -4%; top: 18%; width: max-content; max-width: min(78%, 330px); z-index: 2; background: color-mix(in srgb, var(--card) 92%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 20px; padding: 14px 16px 14px;
  box-shadow: var(--shadow); display: grid; gap: 3px; animation: notif-in .8s .9s cubic-bezier(.2, .8, .2, 1.2) both; }
@keyframes notif-in { from { opacity: 0; transform: translate(-30px, 10px) scale(.94); } }
.notif-top { display: flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 700; color: var(--ink-3); margin-bottom: 4px; }
.notif-title { font-size: 1rem; }
.notif-text { font-size: .86rem; color: var(--ink-2); }
.notif-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.na { font-size: .78rem; font-weight: 700; padding: 6px 11px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink-2); }
.na.taken { background: var(--teal); border-color: var(--teal); color: var(--paper); position: relative; overflow: hidden; }
.notif-done { display: none; align-items: center; gap: 8px; margin-top: 10px; font-weight: 700; font-size: .86rem; color: var(--teal); }
.notif-done .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--teal); color: var(--paper); stroke-width: 2.6; }
.notif[data-state="tap"] .na.taken { transform: scale(.94); }
.notif[data-state="tap"] .na.taken::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .35); border-radius: inherit; animation: ripple .5s ease-out; }
@keyframes ripple { from { transform: scale(0); } }
.notif[data-state="done"] .notif-actions { display: none; }
.notif[data-state="done"] .notif-done { display: flex; animation: pop .4s cubic-bezier(.2, .8, .2, 1.4); }
@keyframes pop { from { opacity: 0; transform: scale(.9); } }

/* Zeros */
.zeros { padding: clamp(64px, 9vw, 120px) 0; background: var(--ink); color: var(--paper); border-radius: 40px 40px 0 0; }
@media (prefers-color-scheme: dark) { .zeros { background: #08100f; color: var(--ink); border-top: 1px solid var(--line); } }
.zeros h2 { max-width: 24ch; }
.zero-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 54px; }
.zero { border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); padding-top: 18px; }
.zero-n { display: block; font: 300 clamp(4.6rem, 9vw, 7.6rem)/.9 var(--display); letter-spacing: -.06em;
  background: linear-gradient(160deg, #6fe3d7 10%, #ff8e80 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.zero h3 { font: 600 1.05rem var(--display); margin: 14px 0 8px; text-transform: lowercase; }
.zero p { font-size: .95rem; opacity: .72; }

/* Day: sticky phone + steps */
.day { padding: clamp(72px, 10vw, 140px) 0; background: var(--ink); color: var(--paper); }
@media (prefers-color-scheme: dark) { .day { background: #08100f; color: var(--ink); } }
.day .kicker { color: #6fe3d7; }
.day-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); margin-top: 56px; }
.day-stage { position: sticky; top: 100px; align-self: start; display: grid; justify-items: center; gap: 22px; }
.day-phone { position: relative; width: min(100%, 320px); aspect-ratio: 714 / 1500; border-radius: 36px; background: #0d1f1d; padding: 9px;
  box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.dp { position: absolute; inset: 9px; opacity: 0; transform: scale(.97); transition: opacity .55s, transform .55s cubic-bezier(.2, .8, .2, 1); }
.dp img { border-radius: 28px; width: 100%; }
.day-phone[data-active="0"] .dp[data-i="0"], .day-phone[data-active="1"] .dp[data-i="1"],
.day-phone[data-active="2"] .dp[data-i="2"], .day-phone[data-active="3"] .dp[data-i="3"] { opacity: 1; transform: none; }
.day-progress { display: flex; gap: 8px; }
.day-progress i { width: 26px; height: 8px; border-radius: 99px; background: color-mix(in srgb, currentColor 22%, transparent); transition: background .3s, width .3s; }
.day-progress i.on { background: #6fe3d7; width: 44px; }
.steps { display: grid; gap: min(34vh, 320px); padding: min(6vh, 60px) 0 min(22vh, 220px); }
.step { opacity: .35; transition: opacity .5s; max-width: 520px; }
.step.on { opacity: 1; }
.step-time { font: 500 clamp(2.4rem, 5vw, 3.8rem)/1 var(--display); letter-spacing: -.04em; color: #6fe3d7; margin-bottom: 16px; font-variant-numeric: tabular-nums; }
.step h3 { font: 600 clamp(1.3rem, 2.2vw, 1.75rem)/1.2 var(--display); letter-spacing: -.02em; margin-bottom: 12px; }
.step p { opacity: .78; font-size: 1.06rem; }
.step-shot { display: none; }

.blister { margin-top: 26px; background: color-mix(in srgb, currentColor 6%, transparent); border: 1px solid color-mix(in srgb, currentColor 14%, transparent);
  border-radius: 22px; padding: 18px; display: grid; gap: 14px; }
.blister-pack { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 14px; border-radius: 14px;
  background: linear-gradient(145deg, #c9d6d4, #9fb1ae); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); }
.cell { aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .85), rgba(255, 255, 255, .35) 60%);
  display: grid; place-items: center; box-shadow: inset 0 -2px 4px rgba(0, 0, 0, .12); }
.cell i { width: 64%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #8fc9f5, #1f6fc4 75%);
  box-shadow: 0 3px 5px rgba(0, 0, 0, .25); transition: transform .45s cubic-bezier(.3, 1.6, .5, 1), opacity .35s; }
.cell.out { background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, .18), rgba(255, 255, 255, .15) 70%); }
.cell.out i { transform: translateY(-30px) scale(.4) rotate(40deg); opacity: 0; }
.blister-meta { font-size: 1rem; }
.blister-count { font: 600 1.2rem var(--display); color: #6fe3d7; font-variant-numeric: tabular-nums; display: inline-block; min-width: 1.6ch; }
.low-stock { display: inline-flex; align-items: center; gap: 8px; justify-self: start; font-weight: 700; font-size: .9rem; color: #ffb3a9;
  background: rgba(255, 107, 92, .16); border: 1px solid rgba(255, 107, 92, .35); padding: 7px 12px; border-radius: 99px;
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.blister.low .low-stock { opacity: 1; transform: none; }
.blister.low .blister-count { color: #ff9f93; }

/* Features bento */
.features { padding: clamp(80px, 11vw, 150px) 0 clamp(60px, 8vw, 110px); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 52px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 26px 28px; position: relative; overflow: hidden;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { font: 600 1.25rem/1.2 var(--display); letter-spacing: -.02em; margin: 18px 0 14px; }
.card ul { display: grid; gap: 9px; }
.card li { position: relative; padding-left: 22px; color: var(--ink-2); font-size: .98rem; line-height: 1.5; }
.card li::before { content: ""; position: absolute; left: 0; top: .52em; width: 10px; height: 10px; border-radius: 50%; background: var(--teal-2);
  box-shadow: 4px 0 0 -2px var(--coral); }
.card-ico { width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--mint); color: var(--teal); stroke-width: 1.7; }
.c0 { grid-column: span 4; background: linear-gradient(150deg, var(--mint) 0%, var(--card) 65%); }
.c0 ul { grid-template-columns: 1fr 1fr; column-gap: 26px; }
.c1 { grid-column: span 2; }
.c2 { grid-column: span 3; }
.c3 { grid-column: span 3; }
.c3 .card-ico { background: var(--coral-soft); color: var(--coral); }
.c4 { grid-column: span 4; }
.cnote { grid-column: span 2; background: var(--ink); color: var(--paper); border-color: transparent; }
.cnote p { font: 500 1.05rem/1.5 var(--body); margin-top: 18px; }
.cnote .card-ico { background: rgba(255, 255, 255, .1); color: #6fe3d7; }
.cthemes { grid-column: span 6; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; }
.cthemes p { color: var(--ink-2); }
.swatches { display: flex; }
.swatches i { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--card); margin-left: -12px; }
.swatches i:nth-child(1) { background: #0f6e67; } .swatches i:nth-child(2) { background: #3f51b5; } .swatches i:nth-child(3) { background: #c2185b; }
.swatches i:nth-child(4) { background: #ef6c00; } .swatches i:nth-child(5) { background: #000; }
@media (prefers-color-scheme: dark) { .cnote { background: var(--mint); color: var(--ink); } }

/* Privacy leaflet */
.privacy { padding: clamp(70px, 10vw, 140px) 0; background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.priv-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.backup { margin-top: 36px; display: flex; gap: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.backup h3 { margin-bottom: 6px; }
.backup p { color: var(--ink-2); font-size: .98rem; }
.leaflet { background: #fffdf7; color: #1d2b29; border-radius: 6px 6px 18px 18px; padding: 30px 30px 22px; position: relative;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 40px 70px -35px rgba(11, 47, 44, .45);
  background-image: repeating-linear-gradient(180deg, transparent 0 31px, rgba(15, 110, 103, .06) 31px 32px); transform: rotate(-1.2deg); }
.leaflet::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 12px;
  background: radial-gradient(circle at 8px 0, transparent 7px, #fffdf7 7.5px) 0 0 / 16px 12px repeat-x; }
.leaflet-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 2px solid #1d2b29; margin-bottom: 18px; }
.leaflet-head b { display: block; font: 700 1.2rem var(--display); letter-spacing: -.02em; }
.leaflet-head span { font-size: .88rem; color: #5a6c69; }
.stamp { margin-left: auto; font: 700 .72rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: #d2463a;
  border: 2px solid #d2463a; padding: 6px 10px; border-radius: 8px; transform: rotate(8deg); opacity: .85; }
.leaflet h3 { font: 700 .74rem var(--display); letter-spacing: .16em; text-transform: uppercase; color: #0f6e67; margin: 20px 0 10px; }
.perm li, .absent li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-bottom: 1px dashed rgba(29, 43, 41, .18); font-size: .96rem; }
.perm .ico { color: #0f6e67; stroke-width: 2.6; margin-top: 3px; }
.absent .ico { color: #d2463a; stroke-width: 2.6; margin-top: 3px; }
.absent s { text-decoration-thickness: 2px; text-decoration-color: rgba(210, 70, 58, .6); color: #5a6c69; }
.perforation { margin: 22px -30px 14px; border-top: 2px dashed rgba(29, 43, 41, .25); }
.leaflet-foot { font: 600 .78rem ui-monospace, "Cascadia Code", Consolas, monospace; color: #6c7b79; text-align: center; letter-spacing: .04em; }

/* Screens rail */
.screens { padding: clamp(70px, 9vw, 130px) 0 clamp(60px, 8vw, 110px); overflow: clip; }
.screens-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.arrows { display: flex; gap: 10px; }
.arw { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer;
  display: grid; place-items: center; transition: background .2s, transform .2s; }
.arw:hover { background: var(--mint); transform: scale(1.05); }
.arw.prev .ico { transform: rotate(180deg); }
.rail { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 46px max(16px, calc((100vw - var(--wrap)) / 2)) 26px;
  scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 auto; width: clamp(220px, 24vw, 280px); scroll-snap-align: center; }
.slide figure { margin: 0; }
.slide img { border-radius: 26px; border: 8px solid #0d1f1d; box-shadow: var(--shadow); transition: transform .4s cubic-bezier(.2, .8, .2, 1); background: #0d1f1d; }
.slide:nth-child(odd) img { transform: translateY(18px); }
.slide:hover img { transform: translateY(-6px); }
.slide figcaption { margin-top: 30px; font-weight: 700; font-size: .95rem; color: var(--ink-2); text-align: center; text-wrap: balance; }

/* Glance table */
.glance { padding: 20px 0 clamp(60px, 8vw, 100px); }
.glance-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.spec { width: 100%; border-collapse: collapse; font-size: 1rem; }
.spec th, .spec td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-weight: 600; color: var(--ink-3); width: 42%; padding-right: 20px; }
.spec td { font-weight: 700; }

/* FAQ */
.faq { padding: clamp(60px, 8vw, 110px) 0; background: var(--paper-2); }
.faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.faq h2 { position: sticky; top: 100px; }
.qas { display: grid; gap: 12px; }
.qa { background: var(--card); border: 1px solid var(--line); border-radius: 18px; transition: box-shadow .3s; }
.qa[open] { box-shadow: var(--shadow); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-size: 1.05rem; }
.qa-x { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--mint); position: relative; transition: transform .3s, background .3s; }
.qa-x::before, .qa-x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--teal); translate: -50% -50%; border-radius: 2px; }
.qa-x::after { rotate: 90deg; transition: rotate .3s; }
.qa[open] .qa-x { background: var(--coral-soft); }
.qa[open] .qa-x::after { rotate: 0deg; }
.qa p { padding: 0 22px 22px; color: var(--ink-2); max-width: 64ch; }

/* Contact */
.contact { padding: clamp(70px, 9vw, 130px) 0 40px; }
.contact-in { display: grid; grid-template-columns: 1.4fr .6fr; gap: 16px; }
.contact-card { background: linear-gradient(135deg, var(--mint) 0%, var(--card) 70%); border: 1px solid var(--line); border-radius: 30px; padding: clamp(28px, 4vw, 52px); }
.contact-card h2 { max-width: 18ch; }
.contact-card > p { color: var(--ink-2); margin-top: 16px; font-size: 1.08rem; }
.mail-row { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.mail { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; background: var(--ink); color: var(--paper); border-radius: 99px;
  padding: 14px 24px 14px 18px; font: 600 clamp(1rem, 2.2vw, 1.3rem) var(--display); letter-spacing: -.01em; transition: transform .2s; word-break: break-all; }
.mail:hover { transform: translateY(-2px); }
.mail .ico { width: 24px; height: 24px; }
.copy { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.copy.done { background: var(--teal); color: var(--paper); }
.dev-card { background: var(--card); border: 1px solid var(--line); border-radius: 30px; padding: 30px; display: flex; flex-direction: column; justify-content: end; }
.dev-mark { width: 64px; margin-bottom: auto; padding-bottom: 28px; box-sizing: content-box; }
.dev-card h3 { font: 600 1.15rem var(--display); margin-bottom: 10px; }
.dev-card p { color: var(--ink-2); font-size: .98rem; }

/* Final CTA */
.final { padding: clamp(60px, 8vw, 110px) 0 clamp(70px, 9vw, 120px); text-align: center; }
.final-in { display: grid; justify-items: center; gap: 20px; }
.final-mark { width: 120px; animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(-3deg); } }
.final h2 { max-width: 18ch; margin-inline: auto; text-wrap: balance; font-size: clamp(2rem, 4.6vw, 3.6rem); }
.final p { color: var(--ink-2); font-size: 1.12rem; max-width: 46ch; margin-bottom: 10px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0 44px; background: var(--paper-2); }
.foot-in { display: grid; gap: 22px; }
.disclaimer { font-size: .9rem; color: var(--ink-3); max-width: 90ch; padding: 16px 18px; border-left: 3px solid var(--coral); background: var(--card); border-radius: 0 14px 14px 0; }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { font-weight: 600; color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--teal); text-decoration: underline; }
.small { font-size: .85rem; color: var(--ink-3); }
.trademark { font-size: .78rem; }

/* 404 */
.nf { min-height: 100vh; display: grid; place-items: center; }
.nf-in { text-align: center; display: grid; justify-items: center; gap: 18px; padding: 60px 0; }
.nf h1 { font: 600 clamp(1.8rem, 4vw, 2.6rem) var(--display); }
.btn { display: inline-block; background: var(--ink); color: var(--paper); text-decoration: none; padding: 12px 22px; border-radius: 99px; font-weight: 700; }

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .zero-grid .zero:nth-child(2) { transition-delay: .08s; } .js .zero-grid .zero:nth-child(3) { transition-delay: .16s; } .js .zero-grid .zero:nth-child(4) { transition-delay: .24s; }

/* Responsive */
@media (max-width: 1060px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
}
@media (max-width: 920px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin: 10px auto 0; width: 100%; }
  .zero-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .day-grid { grid-template-columns: 1fr; }
  .day-stage { display: none; }
  .steps { gap: 64px; padding: 0; }
  .step { opacity: 1; }
  .step-shot { display: block; width: min(72%, 280px); margin-top: 26px; border-radius: 30px; background: #0d1f1d; padding: 8px; }
  .step-shot img { border-radius: 23px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .c0, .c4, .cthemes { grid-column: span 2; }
  .c1, .c2, .c3, .cnote { grid-column: span 1; }
  .priv-in, .glance-in, .faq-in, .contact-in { grid-template-columns: 1fr; }
  .faq h2 { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top-in { gap: 10px; height: 62px; }
  .brand span { display: none; }
  .play-sm small { display: none; }
  .hero h1 { font-size: clamp(2.05rem, 9.4vw, 2.8rem); }
  .hero h1 em { white-space: normal; }
  .notif { left: 0; top: 4%; width: 74%; }
  .bento { grid-template-columns: 1fr; }
  .c0, .c1, .c2, .c3, .c4, .cnote, .cthemes { grid-column: span 1; }
  .c0 ul { grid-template-columns: 1fr; }
  .cthemes { grid-template-columns: 1fr; }
  .zero-grid { grid-template-columns: 1fr; }
  .leaflet { padding: 24px 20px 18px; transform: none; }
  .perforation { margin-inline: -20px; }
  .screens-head { align-items: start; flex-direction: column; }
  .arrows { display: none; }
  .slide { width: 66vw; }
  .zeros { border-radius: 28px 28px 0 0; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
