@font-face { font-family: "Ysabeau Infant"; font-weight: 300; font-display: swap; src: url(assets/YsabeauInfant-Light.woff2) format("woff2"); }
@font-face { font-family: "Ysabeau Infant"; font-weight: 400; font-display: swap; src: url(assets/YsabeauInfant-Regular.woff2) format("woff2"); }
@font-face { font-family: "Ysabeau Infant"; font-weight: 500; font-display: swap; src: url(assets/YsabeauInfant-Medium.woff2) format("woff2"); }
@font-face { font-family: "Onest"; font-weight: 400; font-display: swap; src: url(assets/Onest-Regular.woff2) format("woff2"); }
@font-face { font-family: "Onest"; font-weight: 500 600; font-display: swap; src: url(assets/Onest-Medium.woff2) format("woff2"); }
:root {
  --canvas: #F0EFF2;
  --paper: #FFFDFB;
  --soft: #EDECF1;
  --mist: #E4DFF0;
  --ink: #2E252B;
  --ink-2: #6C626E;
  --action: #6261B3;
  --lav: #B7AEE6;
  --peach: #F2D6CB;
  --aqua: #CFE7E8;
  --glass: rgba(255, 253, 251, 0.70);
  --glass-strong: rgba(255, 253, 251, 0.86);
  --glass-line: rgba(255, 255, 255, 0.82);
  --line: rgba(46, 37, 43, 0.10);
  --grad: linear-gradient(135deg, #526CB5 0%, #6261B3 50%, #7953A6 100%);
  --display: "Ysabeau Infant", "Ysabeau", "Iowan Old Style", Georgia, serif;
  --ui: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r-sheet: 28px;
  color-scheme: light;
}
html { background: var(--canvas); scroll-behavior: auto; }
body { background: var(--canvas); color: var(--ink); font-family: var(--ui); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; border-radius: 10px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 300; letter-spacing: -0.02em; text-wrap: balance; color: var(--ink); }
p { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- header ---------- */
.bar {
  position: fixed; z-index: 30; left: 50%; transform: translateX(-50%);
  top: calc(env(safe-area-inset-top, 0px) + 22px); width: min(1200px, calc(100% - 56px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 8px 8px 18px; border-radius: 999px; box-sizing: border-box;
  background: var(--glass); border: 1px solid var(--glass-line);
  backdrop-filter: blur(18px) saturate(1.25); -webkit-backdrop-filter: blur(18px) saturate(1.25);
}
.brand { display: flex; align-items: center; gap: 6px; text-decoration: none; flex: none; }
.brand svg { width: 24px; height: 25px; }
.brand b { font-family: var(--display); font-weight: 500; font-size: 24px; letter-spacing: -0.9px; line-height: 1; }
.brand small { margin-left: 8px; font-size: 13px; color: var(--ink-2); }
.bar nav { display: flex; align-items: center; gap: 2px; min-width: 0; }
.nav-link { font-size: 14px; color: var(--ink-2); text-decoration: none; padding: 10px 12px; border-radius: 999px; }
.nav-link:hover { color: var(--ink); background: rgba(46, 37, 43, 0.05); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box;
  min-height: 44px; padding: 0 20px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer;
  font: 500 15px/1 var(--ui); white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #FFFDFB; box-shadow: 0 10px 30px -12px rgba(98, 97, 179, 0.7); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-glass { background: var(--glass-strong); color: var(--ink); border: 1px solid var(--glass-line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-glass:hover { background: var(--paper); }
.l-short { display: none; }

/* ---------- story (sticky scene) ---------- */
.story { position: relative; height: 400vh; z-index: 3; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 12px; box-sizing: border-box; }
.scene { position: relative; height: 100%; border-radius: var(--r-sheet); overflow: hidden; isolation: isolate; background: #E7E2EE url(assets/landing/base.webp) center 30% / cover no-repeat; }
#cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scanlines { position: absolute; inset: 0; pointer-events: none; opacity: 0; mix-blend-mode: soft-light; background: repeating-linear-gradient(0deg, rgba(255,255,255,0.6) 0 1px, rgba(46,37,43,0.2) 1px 3px); }
.veil { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(240,236,247,0.66) 0%, rgba(240,236,247,0.3) 34%, rgba(240,236,247,0) 56%); transition: opacity 0.4s; }

.copy { position: absolute; inset: 0; pointer-events: none; }
.ch { position: absolute; left: clamp(28px, 6vw, 96px); top: 50%; transform: translateY(-46%); width: min(34rem, 44vw); display: flex; flex-direction: column; gap: 18px; opacity: 0; pointer-events: none; }
.ch.is-on { pointer-events: auto; }
.ch1 { opacity: 1; }
.ch4 { top: clamp(92px, 14vh, 140px); transform: none; width: min(34rem, 38vw); }
.kick { font-size: 14px; font-weight: 500; color: var(--action); }
h1 { font-size: clamp(44px, 5.6vw, 84px); line-height: 0.98; }
.story h2 { font-size: clamp(34px, 3.9vw, 56px); line-height: 1.03; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 30rem; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.type { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 14px; color: var(--ink-2); }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 999px; box-sizing: border-box; background: var(--glass); border: 1px solid var(--glass-line); color: var(--ink); font-size: 14px; font-weight: 500; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.chip.jolt { animation: jolt 0.2s steps(2) 1; }
@keyframes jolt { 0% { transform: translateX(-3px); color: #7953A6; } 50% { transform: translateX(2px); color: #526CB5; } 100% { transform: none; } }
.fine { font-size: 13px; color: var(--ink-2); }

.rail { position: absolute; left: 50%; transform: translateX(-50%); bottom: 22px; margin: 0; padding: 6px; list-style: none; display: flex; gap: 2px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.rail li { font-size: 13px; padding: 6px 12px; border-radius: 999px; color: var(--ink-2); white-space: nowrap; transition: background 0.3s, color 0.3s; }
.rail li.is-on { background: var(--paper); color: var(--ink); font-weight: 500; }
.skip { position: absolute; right: 24px; bottom: 26px; font-size: 13px; color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: 999px; }
.skip:hover { background: var(--glass); color: var(--ink); }

/* strand callouts and profile card live in the stage overlay */
.ui { position: absolute; inset: 0; pointer-events: none; }
.tag { position: absolute; left: 0; top: 0; box-sizing: border-box; display: flex; flex-direction: column; gap: 1px; padding: 8px 12px; border-radius: 14px; background: var(--glass-strong); border: 1px solid var(--glass-line); box-shadow: 0 10px 30px -18px rgba(46, 37, 43, 0.45); opacity: 0; will-change: transform, opacity; white-space: nowrap; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tag small { font-size: 11px; line-height: 1.3; color: var(--ink-2); }
.tag span { font-family: var(--display); font-size: 18px; line-height: 1.15; font-weight: 400; overflow: hidden; text-overflow: ellipsis; }
.tag small { overflow: hidden; text-overflow: ellipsis; }
.pcard { position: absolute; right: clamp(28px, 6vw, 96px); top: 50%; width: min(620px, 50vw); box-sizing: border-box; transform: translateY(-50%); padding: 26px 28px 22px; border-radius: 26px; background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(22px) saturate(1.25); -webkit-backdrop-filter: blur(22px) saturate(1.25); box-shadow: 0 30px 80px -40px rgba(70, 60, 120, 0.45); opacity: 0; }
.pcard-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pcard-h h3 { font-size: 30px; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 12px; }
.pgroup { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pgroup.wide { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; }
.pgroup.wide > b { grid-column: 1 / -1; }
.pgroup > b { font-size: 12px; font-weight: 500; color: var(--action); }
.slot { height: 50px; border-radius: 14px; background: rgba(255, 255, 255, 0.35); border: 1px dashed rgba(98, 97, 179, 0.18); }

/* header: brand · sections · language + account */
.bar { padding: 7px 7px 7px 18px; }
.nav-main { display: flex; align-items: center; gap: 2px; }
.bar-act { display: flex; align-items: center; gap: 6px; flex: none; }
.language-switch { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(46, 37, 43, 0.05); }
.language-switch a { font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-decoration: none; color: var(--ink-2); padding: 6px 9px; border-radius: 999px; line-height: 1; }
.language-switch a[aria-current="page"] { background: var(--paper); color: var(--ink); box-shadow: 0 2px 8px -4px rgba(46, 37, 43, 0.3); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; }


.pcard { display: none !important; }   /* the profile is assembled once, in the care loop */
/* 02 ingredients */
.inci { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; align-items: center; }
.bottle { position: relative; height: 300px; display: grid; place-items: center; }
.bottle img { height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(46, 37, 43, 0.18)); }
.bottle .beam { position: absolute; left: -8%; right: -8%; top: 0; height: 2px; background: #fff; box-shadow: 0 0 16px 4px rgba(183, 174, 230, 0.9); opacity: 0; }
.sec.lit .bottle .beam { animation: beam 2.6s ease-in-out 0.2s 2; }
@keyframes beam { 0% { top: 4%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 94%; opacity: 0; } }
.inci-card { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.inci-list { display: flex; flex-wrap: wrap; gap: 6px; }
.inci-list span { font-size: 13px; padding: 5px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.6); color: var(--ink-2); transition: background 0.5s, color 0.5s; }
.inci-list span.hit { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(98, 97, 179, 0.35); }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.role { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.55); }
.role small { font-size: 12px; color: var(--ink-2); }
.role b { font-weight: 500; font-size: 14px; }
.verdict { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: #fff; }
.verdict i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; }
.verdict b { display: block; font-weight: 500; }
.verdict span { font-size: 13px; color: var(--ink-2); }
.shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.shelf .glass { padding: 14px; display: flex; align-items: center; gap: 10px; }
.shelf img { width: 44px; height: 56px; object-fit: contain; flex: none; }
.shelf b { display: block; font-size: 14px; font-weight: 500; }
.shelf small { font-size: 12px; color: var(--ink-2); }

/* 03 procedure + schemes + calendar */
.scheme-wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.scheme-card { padding: 16px; }
.scheme-card header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 10px; margin-bottom: 12px; }
.scheme-card header b, .cal-h b { white-space: nowrap; }
.scheme-card header b { font-family: var(--display); font-size: 22px; font-weight: 400; }
.procs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.procs li { border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, 0.66); }
.procs .art { height: 30px; background-size: cover; background-position: center 45%; }
.procs .row { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 6px 10px; align-items: center; padding: 9px 12px 11px 12px; }
.procs .pset { grid-column: 2; }
.procs b { display: block; font-weight: 500; font-size: 14px; }
.procs small { display: block; font-size: 12px; color: var(--ink-2); line-height: 1.3; }
.mk { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 13px; font-weight: 600; font-style: normal; flex: none; }
.pset { display: flex; gap: 4px; }
.pset img { width: 30px; height: 38px; object-fit: contain; border-radius: 8px; background: rgba(240, 236, 247, 0.85); padding: 3px 2px; box-sizing: border-box; }
.sec .procs li { opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.6s cubic-bezier(.2, .8, .2, 1); }
.sec.lit .procs li { opacity: 1; transform: none; }
.sec.lit .procs li:nth-child(2) { transition-delay: 0.12s; }
.sec.lit .procs li:nth-child(3) { transition-delay: 0.24s; }
.sec.lit .procs li:nth-child(4) { transition-delay: 0.36s; }
.lg { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; font-size: 12px; color: var(--ink-2); }
.lg span { display: inline-flex; align-items: center; gap: 6px; }
.lg .mk { width: 20px; height: 20px; border-radius: 6px; font-size: 11px; }
.cal { padding: 14px; }
.cal-h { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 10px; margin-bottom: 8px; }
.cal-h b { font-family: var(--display); font-size: 20px; font-weight: 400; }
.cal-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; }
.cal-g span { position: relative; padding: 6px 0 9px; border-radius: 9px; color: var(--ink-2); }
.cal-g span.dow { color: var(--ink-2); opacity: 0.6; font-size: 11px; padding: 0 0 4px; }
.cal-g span[data-t="h"] { background: #DDD4F2; color: #66508B; }
.cal-g span[data-t="n"] { background: #EDCABF; color: #894733; }
.cal-g span[data-t="r"] { background: #E8BBC9; color: #803E56; }
.cal-g span[data-t="l"] { background: #EDD5BD; color: #805216; }
.cal-g span.today { box-shadow: inset 0 0 0 2px var(--action); font-weight: 600; }

/* 04 care + diary */
.care-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.run { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.run header { display: flex; justify-content: space-between; align-items: baseline; }
.run header b { font-family: var(--display); font-size: 24px; font-weight: 400; }
.run header small { font-size: 12px; color: var(--ink-2); }
.tick { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.6); font-size: 14px; }
.tick i { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid rgba(98, 97, 179, 0.4); display: grid; place-items: center; transition: background 0.3s, border-color 0.3s; }
.tick i svg { width: 12px; height: 12px; opacity: 0; transition: opacity 0.3s; }
.tick.done i { background: var(--action); border-color: var(--action); }
.tick.done i svg { opacity: 1; }
.run .btn { align-self: flex-start; margin-top: 4px; }
.diary { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.diary header b { font-family: var(--display); font-size: 24px; font-weight: 400; display: block; }
.diary header small { font-size: 12px; color: var(--ink-2); }
.outcome { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.outcome span { text-align: center; font-size: 13px; padding: 10px 4px; border-radius: 12px; background: rgba(255, 255, 255, 0.6); color: var(--ink-2); }
.outcome span.on { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--action); }
.obs { display: flex; flex-direction: column; gap: 6px; }
.obs div { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.55); }
.obs div span:last-child { color: var(--ink-2); }

/* 05 next care */
.next { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.hist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hist .glass { padding: 12px; font-size: 13px; display: flex; flex-direction: column; gap: 4px; }
.hist .glass b { font-weight: 500; }
.hist .glass span { color: var(--ink-2); }
.hist .glass mark { background: rgba(242, 214, 203, 0.7); color: var(--ink); border-radius: 6px; padding: 0 4px; align-self: flex-start; }
.change { padding: 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; align-items: center; }
.dose { display: flex; flex-direction: column; gap: 8px; }
.dose small { font-size: 12px; color: var(--ink-2); }
.dose b { font-family: var(--display); font-weight: 400; font-size: 26px; }
.drops { display: flex; gap: 6px; }
.drops i { width: 14px; height: 18px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: var(--lav); }
.drops i.off { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(98, 97, 179, 0.35); }
.arrow { width: 44px; height: 2px; background: var(--grad); position: relative; }
.arrow::after { content: ""; position: absolute; right: -2px; top: -4px; border: 5px solid transparent; border-left-color: #7953A6; }
/* 01 profile + climate */
.duo { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 16px; align-items: start; }
.prof, .clim { padding: 18px; }
.kv { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.kv div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.62); font-size: 14px; }
.kv dt { color: var(--ink-2); }
.kv dd { margin: 0; font-weight: 500; text-align: right; }
.kv .city { background: #fff; box-shadow: inset 0 0 0 1px rgba(98, 97, 179, 0.3); }
.hum { margin: 2px 0 14px; }
.hum-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 13px; color: var(--ink-2); margin-bottom: 10px; }
.hum-top b { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hum-track { position: relative; height: 10px; border-radius: 999px; background: linear-gradient(90deg, #F2DCD2 0 40%, #ECE8F4 40% 60%, #D3E9EA 60% 100%); }
.hum-band { position: absolute; top: -4px; bottom: -4px; left: 70%; width: 15%; border-radius: 999px; background: var(--grad); box-shadow: 0 6px 16px -6px rgba(98, 97, 179, 0.8); transform-origin: left center; transform: scaleX(0); transition: transform 1s cubic-bezier(.2, .8, .2, 1) 0.35s; }
.sec.lit .hum-band { transform: none; }
.hum-ticks { position: relative; height: 16px; margin-top: 8px; font-size: 11px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hum-ticks span { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; }
.hum-ticks span:first-child { transform: none; }
.hum-ticks span:last-child { transform: translateX(-100%); }
.hum-zones { display: grid; grid-template-columns: 40fr 20fr 40fr; gap: 4px; margin-top: 4px; font-size: 12px; color: var(--ink-2); }
.hum-zones span:nth-child(2) { text-align: center; }
.hum-zones span:last-child { text-align: right; }
.seasons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.seasons div { padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.6); display: flex; flex-direction: column; gap: 2px; }
.seasons small { font-size: 12px; color: var(--ink-2); }
.seasons b { font-weight: 500; font-size: 14px; }

/* 02 kit */
.kit { display: flex; flex-direction: column; gap: 12px; }
.kit-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kit-h b { font-family: var(--display); font-weight: 400; font-size: 22px; }
.kit-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.prod { margin: 0; padding: 14px 10px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.prod img { height: 118px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(46, 37, 43, 0.16)); }
.kit-row.plus .prod img { height: 92px; }
.prod b { display: block; font-size: 14px; font-weight: 500; line-height: 1.25; }
.prod small { font-size: 12px; color: var(--ink-2); }
.sec .prod { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.6s cubic-bezier(.2, .8, .2, 1); }
.sec.lit .prod { opacity: 1; transform: none; }
.sec.lit .kit-row .prod:nth-child(2) { transition-delay: 0.1s; }
.sec.lit .kit-row .prod:nth-child(3) { transition-delay: 0.2s; }
.sec.lit .kit-row.plus .prod:nth-child(1) { transition-delay: 0.35s; }
.sec.lit .kit-row.plus .prod:nth-child(2) { transition-delay: 0.45s; }
.sec.lit .kit-row.plus .prod:nth-child(3) { transition-delay: 0.55s; }
.extras { display: flex; flex-wrap: wrap; gap: 6px; }
.extras span { font-size: 13px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.66); }

/* 03 scanner */
.scan-steps { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.scan-steps li { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.25; padding: 9px 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.5); color: var(--ink-2); transition: background 0.4s, color 0.4s; }
.scan-steps li i { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 600; background: rgba(98, 97, 179, 0.14); color: var(--action); transition: background 0.4s, color 0.4s; }
.scan-steps li.on { background: #fff; color: var(--ink); }
.scan-steps li.on i { background: var(--action); color: #fff; }
.inci-card .verdict { opacity: 0.35; transition: opacity 0.6s; }
.inci-card .verdict.on { opacity: 1; }
.inci-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.inci-foot .fine { font-size: 12px; }
.fake-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px; border-radius: 999px; background: var(--action); color: #fff; font-size: 13px; font-weight: 500; }
.alt { margin-top: 14px; padding: 14px 16px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: center; }
.alt .pill { grid-row: span 2; align-self: center; }
.alt b { font-weight: 500; font-size: 15px; }
.alt span { font-size: 13px; color: var(--ink-2); }

/* 04 schedule */
.procs .tagp { margin-left: auto; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--grad); color: #fff; align-self: center; }
.procs .row { grid-template-columns: 28px minmax(0, 1fr) auto; }
.procs .pset { grid-column: 2 / -1; }
.cal-g span[data-t="b"] { background: #EDD5BD; color: #805216; }

/* 05 care + diary */
.care-wrap { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.diary header b { font-size: 22px; line-height: 1.15; margin-bottom: 4px; }
.outcome span { white-space: nowrap; padding: 10px 2px; }
.marks { display: flex; flex-direction: column; gap: 6px; }
.marks > small { font-size: 12px; color: var(--ink-2); }
.marks div { display: flex; flex-wrap: wrap; gap: 6px; }
.marks span { font-size: 13px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.62); color: var(--ink-2); }
.marks span.on { background: rgba(242, 214, 203, 0.85); color: var(--ink); }
.photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ph { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: 14px; overflow: hidden; display: flex; align-items: flex-end; padding: 8px; box-sizing: border-box; font-size: 12px; }
.ph.taken { background: #DCD5EC url(assets/landing/base.webp) 62% 30% / 260% auto no-repeat; color: var(--ink); }
.ph.taken span { background: var(--glass-strong); padding: 3px 8px; border-radius: 999px; }
.ph.next { border: 1.5px dashed rgba(98, 97, 179, 0.3); background: rgba(255, 255, 255, 0.4); color: var(--ink-2); align-items: center; justify-content: center; text-align: center; flex-direction: column; gap: 4px; }
.ph.next svg { width: 22px; height: 22px; }

/* 06 next */
.ask { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.7); font-size: 14px; }
.ask i { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(98, 97, 179, 0.14); color: var(--action); font-style: normal; font-weight: 600; font-size: 13px; }
.ask span { color: var(--ink-2); }

/* plans */
.plans, .faq { padding-block: 110px 0; padding-inline: 16px; }
.plans-in, .faq-in { width: min(1200px, 100%); margin-inline: auto; }
.sec-h { display: flex; flex-direction: column; gap: 14px; max-width: 44rem; margin-bottom: 36px; }
.sec-h h2 { font-size: clamp(36px, 4vw, 58px); line-height: 1.03; }
.sec-h p { color: var(--ink-2); font-size: 17px; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { padding: 30px; display: flex; flex-direction: column; gap: 16px; border-radius: 28px; min-width: 0; }
.plan.free { background: var(--paper); }
.plan.prem { position: relative; overflow: hidden; background: linear-gradient(150deg, #E9E3F7, #F5EEF3 60%, #EAF2F3); box-shadow: inset 0 0 0 1px rgba(121, 83, 166, 0.18); }
.plan.prem::before { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(121, 83, 166, 0.24), transparent 65%); pointer-events: none; }
.plan > * { position: relative; }
.plan small.k { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--action); }
.plan h3 { font-size: 36px; line-height: 1.05; }
.plan .sub { color: var(--ink-2); font-size: 15px; }
.plan ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.plan li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; font-size: 15px; line-height: 1.45; }
.plan li::before { content: ""; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2 5.1 8.3 9.2 3.8' fill='none' stroke='%236261B3' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.plan.prem li::before { background-color: rgba(255, 255, 255, 0.8); }
.plan li b { font-weight: 500; }
.plan li span { color: var(--ink-2); }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 18px; margin-top: auto; padding-top: 8px; border-top: 1px solid rgba(46, 37, 43, 0.08); }
.price strong { font-family: var(--display); font-weight: 400; font-size: 46px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.price strong small { font-family: var(--ui); font-size: 15px; color: var(--ink-2); letter-spacing: 0; }
.price span { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
[data-price-note], .plan .note { font-size: 13px; color: var(--ink-2); }
.plan .row { margin-top: auto; }
.plan.free .zero { font-family: var(--display); font-weight: 400; font-size: 46px; letter-spacing: -0.02em; padding-top: 8px; border-top: 1px solid rgba(46, 37, 43, 0.08); margin-top: auto; }
.plan.free .zero small { font-family: var(--ui); font-size: 15px; color: var(--ink-2); letter-spacing: 0; }

/* faq */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px; align-items: start; }
.faq-wrap .sec-h { position: sticky; top: 110px; }
.faq-list { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.faq details { background: var(--paper); border-radius: 18px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); position: relative; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.25s; }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details p { padding: 0 0 18px; color: var(--ink-2); max-width: 44rem; }
.faq details a { color: var(--action); }

/* final call */
.final { padding-block: 110px 0; padding-inline: 16px; }
.you { position: relative; margin: 0 auto; width: min(1200px, 100%); border-radius: var(--r-sheet); overflow: hidden; min-height: 440px; display: grid; align-items: end; background: #DCD5EC; }
.you::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(240, 236, 247, 0.92) 0%, rgba(240, 236, 247, 0.45) 50%, rgba(240, 236, 247, 0) 75%); }
.you-in { position: relative; padding: 52px; display: flex; flex-direction: column; gap: 16px; max-width: 36rem; }
.you-in h2 { font-size: clamp(40px, 4.6vw, 68px); line-height: 1.02; }
.you-in p { color: var(--ink-2); font-size: 17px; }

/* footer */
.foot { padding-block: 90px 40px; padding-inline: 16px; }
.foot-in { width: min(1200px, 100%); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 40px; border-top: 1px solid var(--line); padding-top: 28px; }
.foot-brand { display: flex; flex-direction: column; gap: 10px; }
.foot-brand > span { font-size: 14px; color: var(--ink-2); }
.foot-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.foot-nav nav { display: flex; flex-direction: column; gap: 8px; }
.foot-nav b { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.foot-nav a { font-size: 14px; color: var(--ink); text-decoration: none; }
.foot-nav a:hover { color: var(--action); }
.foot .fine { grid-column: 1 / -1; }


/* ================= v8: one hair lock through the page, glass panels ================= */
:root {
  --glass-a: rgba(255, 255, 255, 0.74);
  --glass-b: rgba(255, 255, 255, 0.46);
  --glass-edge: rgba(255, 255, 255, 0.92);
  --glass-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 34px 80px -42px rgba(58, 46, 120, 0.42), 0 2px 8px -3px rgba(58, 46, 120, 0.10);
  --ground: #F2F0F6;
}
html, body { background: var(--ground); }
body { position: relative; }
#mist { position: absolute; left: 0; right: 0; top: 0; bottom: 0; z-index: 0; pointer-events: none; overflow: hidden; }
#mist i { position: absolute; border-radius: 50%; filter: blur(0); }
#lock { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; display: block; filter: blur(5px); }
main { position: relative; z-index: 2; }
.bar { z-index: 40; }

/* the lock starts behind the bottom of the story scene */
.lock-start { display: block; height: 30vh; margin-top: -30vh; position: relative; z-index: -1; pointer-events: none; }

/* sections */
.sec { position: relative; padding-block: clamp(72px, 10vh, 120px); padding-inline: 16px; }
.sec-in { position: relative; width: min(1200px, 100%); margin-inline: auto; }
.sec-h { display: flex; flex-direction: column; gap: 14px; max-width: 40rem; }
.sec-h h2 { font-size: clamp(36px, 4.2vw, 62px); line-height: 1.02; }
.sec-h p { color: var(--ink-2); font-size: 17px; max-width: 34rem; }
.kick { display: inline-flex; align-items: center; gap: 8px; }
.kick i { font-style: normal; font-variant-numeric: tabular-nums; color: var(--ink-2); font-weight: 500; }

/* glass */
.gl { position: relative; border-radius: 26px; background: linear-gradient(180deg, var(--glass-a), var(--glass-b));
  border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow);
  backdrop-filter: blur(26px) saturate(1.5); -webkit-backdrop-filter: blur(26px) saturate(1.5); }
.gl-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 14px; }
.gl-h b { font-family: var(--display); font-weight: 400; font-size: 24px; letter-spacing: -0.01em; }
.gl-h small, .tagline { font-size: 12px; color: var(--ink-2); }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid rgba(46, 37, 43, 0.06); font-size: 12px; color: var(--ink-2); }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(46, 37, 43, 0.12); }
.win-bar span { margin-left: 8px; }
.pill { display: inline-flex; align-items: center; font-size: 13px; line-height: 1.2; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.8); color: var(--ink); white-space: nowrap; }
.pill.free { background: #E6F1EF; color: #2F5F59; }
.pill.prem { background: var(--grad); color: #fff; }
.cap { font-size: 12px; color: var(--ink-2); margin-top: 14px; }

/* arrive out of focus, then settle */
.rv { opacity: 0; filter: blur(8px); transform: translateY(16px); transition: opacity 0.5s ease, filter 0.6s ease, transform 0.6s cubic-bezier(.2, .8, .2, 1); }
.rv.in { opacity: 1; filter: none; transform: none; }
.rv.d1 { transition-delay: 0.05s; } .rv.d2 { transition-delay: 0.1s; } .rv.d3 { transition-delay: 0.15s; } .rv.d4 { transition-delay: 0.2s; }

/* 00 intro */
.intro .sec-h { max-width: 46rem; }
.intro h2 { font-size: clamp(44px, 5.6vw, 88px); line-height: 0.98; }
.stops { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; max-width: 980px; }
.stops a { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 18px; text-decoration: none; height: 100%; box-sizing: border-box; border-radius: 20px; transition: transform 0.3s; }
.stops a:hover { transform: translateY(-3px); }
.stops i { font-style: normal; font-size: 12px; font-weight: 600; color: var(--action); font-variant-numeric: tabular-nums; }
.stops b { font-weight: 500; font-size: 15px; }
.stops small { font-size: 12.5px; color: var(--ink-2); line-height: 1.4; }

/* 01 profile → care: parameters leave the lock and fill the panel */
.scheme { min-height: 240vh; padding-block: 60px; }
.scheme .sec-in { position: sticky; top: max(96px, calc(50vh - 290px)); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.panel { padding: 0; overflow: hidden; }
.panel-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.panel-col { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.panel-col + .panel-col { border-left: 1px solid rgba(46, 37, 43, 0.06); background: rgba(255, 255, 255, 0.28); }
.panel-col > b { font-size: 12px; font-weight: 600; color: var(--action); letter-spacing: 0.02em; margin-bottom: 2px; }
.slotrow { position: relative; height: 46px; border-radius: 14px; border: 1px dashed rgba(98, 97, 179, 0.22); background: rgba(255, 255, 255, 0.28); }
.chip-p { position: absolute; left: 0; top: 0; z-index: 3; box-sizing: border-box; height: 46px; display: flex; flex-direction: column; justify-content: center; gap: 0; padding: 0 12px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.9); border: 1px solid rgba(255, 255, 255, 1); box-shadow: 0 12px 30px -16px rgba(58, 46, 120, 0.5); white-space: nowrap; pointer-events: none; will-change: transform, opacity; opacity: 0; }
.chip-p small { font-size: 11px; color: var(--ink-2); line-height: 1.25; }
.chip-p span { font-size: 14px; font-weight: 500; line-height: 1.25; }
.chip-p.landed { box-shadow: none; }
.res { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.5); opacity: 0.32; transform: translateX(8px); transition: opacity 0.5s, transform 0.6s cubic-bezier(.2, .8, .2, 1), background 0.5s; }
.res.on { opacity: 1; transform: none; background: rgba(255, 255, 255, 0.82); }
.res img { width: 40px; height: 46px; object-fit: contain; }
.res .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--mist); color: var(--action); }
.res .ic svg { width: 20px; height: 20px; }
.res b { display: block; font-weight: 500; font-size: 14px; }
.res small { display: block; font-size: 12px; color: var(--ink-2); line-height: 1.35; }
.res.plus { background: linear-gradient(120deg, rgba(233, 227, 247, 0.9), rgba(245, 238, 243, 0.9)); }
.panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 20px; border-top: 1px solid rgba(46, 37, 43, 0.06); font-size: 13px; color: var(--ink-2); }
.meter { flex: 1; height: 6px; border-radius: 6px; background: rgba(98, 97, 179, 0.12); overflow: hidden; max-width: 220px; }
.meter i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 6px; }
.panel-foot b { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 500; }
.scheme-stage { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.ring { position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.95); box-shadow: 0 0 18px 4px rgba(183, 174, 230, 0.9); opacity: 0; pointer-events: none; }

.res .masks { width: 40px; height: 46px; position: relative; display: block; }
.res .masks img { position: absolute; width: 26px; height: 26px; object-fit: contain; }
.res .masks img:nth-child(1) { left: 0; top: 2px; } .res .masks img:nth-child(2) { right: 0; top: 8px; } .res .masks img:nth-child(3) { left: 7px; bottom: 0; }

/* the five-step rail: where you are in the care loop */
.frail { position: fixed; z-index: 35; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); transform: translate(-50%, 16px); display: flex; gap: 2px; padding: 5px; border-radius: 999px;
  background: rgba(255, 253, 251, 0.72); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: 0 18px 40px -24px rgba(58, 46, 120, 0.5);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); opacity: 0; pointer-events: none; transition: opacity 0.4s, transform 0.5s cubic-bezier(.2, .8, .2, 1); }
.frail.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.frail a { display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; text-decoration: none; font-size: 13px; color: var(--ink-2); white-space: nowrap; transition: background 0.3s, color 0.3s; }
.frail a i { font-style: normal; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--action); opacity: 0.7; }
.frail a.on { background: var(--paper); color: var(--ink); box-shadow: 0 2px 10px -6px rgba(58, 46, 120, 0.5); }
.frail a.on i { opacity: 1; }
.frail a.done i { opacity: 1; }

/* step 03: own product note */
.pset em { font-style: normal; font-size: 11px; color: var(--action); align-self: center; margin-left: 4px; }

/* step 04: history */
.entries { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.ent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ent li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.62); }
.ent .d { display: flex; flex-direction: column; align-items: center; font-size: 11px; color: var(--ink-2); line-height: 1.1; }
.ent .d b { font-size: 18px; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.ent li > span:last-child b { display: block; font-weight: 500; font-size: 14px; }
.ent small { font-size: 12px; color: var(--ink-2); }
.ent mark { background: rgba(242, 214, 203, 0.85); color: var(--ink); border-radius: 6px; padding: 0 4px; }
.ent-note { font-size: 13px; color: var(--action); display: flex; gap: 8px; align-items: center; }

/* step 05: proposal and the next card */
.adj-why { font-size: 13px; color: var(--ink-2); }
.nextcard { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.nc-row { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: center; }
.nc-row b { display: block; font-weight: 500; font-size: 15px; }
.nc-row small { font-size: 12px; color: var(--ink-2); }
.nc-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.nc-steps li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.62); font-size: 14px; }
.nc-steps li > span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 600; background: rgba(98, 97, 179, 0.12); color: var(--action); flex: none; }
.nc-steps li b { font-weight: 600; }
.nc-steps li.chg { background: #fff; box-shadow: inset 0 0 0 1.5px rgba(98, 97, 179, 0.4); }
.nc-steps li em { font-style: normal; font-size: 11px; color: #2F5F59; background: #E6F1EF; padding: 2px 8px; border-radius: 999px; margin-left: auto; }

/* two-column feature rows */
.row2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.row2.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.row2.flip .sec-h { order: 2; }
.stack { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }

/* kit */
.kit-card { padding: 22px; }
.kit-card .kit-row .prod { background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 20px; }

/* scanner: phone window + result */
.scan-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 16px; align-items: center; }
.phone { padding: 12px; border-radius: 34px; }
.phone-screen { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 9 / 15; max-width: 100%; background: linear-gradient(170deg, #E9E4F5, #F6F0F2 60%, #EEF3F4); display: grid; place-items: center; }
.phone-screen img { height: 72%; width: auto; filter: drop-shadow(0 20px 24px rgba(46, 37, 43, 0.2)); }
.phone-screen .frame { position: absolute; inset: 14% 12% 18%; border-radius: 18px; }
.phone-screen .frame::before, .phone-screen .frame::after { content: ""; position: absolute; width: 26px; height: 26px; border: 2px solid rgba(255, 255, 255, 0.95); }
.phone-screen .frame::before { left: 0; top: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 14px; }
.phone-screen .frame::after { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 14px; }
.phone-screen .beam { position: absolute; left: 10%; right: 10%; top: 20%; height: 2px; background: #fff; box-shadow: 0 0 16px 4px rgba(183, 174, 230, 0.9); opacity: 0; }
.sec.lit .phone-screen .beam { animation: beam2 2.8s ease-in-out 0.3s infinite; }
@keyframes beam2 { 0% { top: 18%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 80%; opacity: 0; } }
.phone-tabs { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; gap: 6px; }
.phone-tabs span { flex: 1; text-align: center; font-size: 11px; padding: 7px 4px; border-radius: 12px; background: rgba(255, 255, 255, 0.7); color: var(--ink-2); transition: background 0.4s, color 0.4s; }
.phone-tabs span.on { background: var(--action); color: #fff; }
.result { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.inci-list span { background: rgba(255, 255, 255, 0.7); }

.alt-line { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.alt-line .pill { flex: none; }

/* care: calendar + run */
.care-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.care-grid .cal, .care-grid .run, .care-grid .scheme-card { border-radius: 24px; }

/* diary + adjust */
.diary-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.adjust { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.adjust .hist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.adjust .hist > div { padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.6); font-size: 12.5px; display: flex; flex-direction: column; gap: 3px; }
.adjust .hist b { font-weight: 500; }
.adjust .hist span { color: var(--ink-2); }
.adjust .hist mark { background: rgba(242, 214, 203, 0.8); color: var(--ink); border-radius: 6px; padding: 0 4px; align-self: flex-start; }
.adjust .dose b { font-size: 21px; white-space: nowrap; }
.adjust .change { padding: 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.72); }
.accept { display: flex; gap: 8px; }
.accept span { flex: 1; text-align: center; padding: 10px; border-radius: 12px; font-size: 13px; font-weight: 500; }
.accept span:first-child { background: var(--action); color: #fff; }
.accept span:last-child { background: rgba(255, 255, 255, 0.7); color: var(--ink-2); }

/* principles */
.pr-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.pr { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.pr i { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: rgba(228, 223, 240, 0.8); color: var(--action); }
.pr i svg { width: 22px; height: 22px; }
.pr h3 { font-size: 26px; line-height: 1.1; }
.pr p { color: var(--ink-2); font-size: 15px; }

/* plans */
.plan-grid { margin-top: 40px; }
.plan.free { background: linear-gradient(180deg, var(--glass-a), var(--glass-b)); }
.plan.prem { background: linear-gradient(150deg, rgba(233, 227, 247, 0.88), rgba(245, 238, 243, 0.78) 60%, rgba(234, 242, 243, 0.82)); }
.plan { border: 1px solid var(--glass-edge); box-shadow: var(--glass-shadow); backdrop-filter: blur(26px) saturate(1.5); -webkit-backdrop-filter: blur(26px) saturate(1.5); }

/* faq */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px; align-items: start; }
.faq-wrap .sec-h { position: sticky; top: 120px; }
.faq details { background: linear-gradient(180deg, var(--glass-a), var(--glass-b)); border: 1px solid var(--glass-edge); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); }
.faq details a { color: var(--action); }

/* final: the lock ends in the mark */
.final { text-align: center; padding-block: clamp(120px, 18vh, 200px) 40px; }
.final .mark { width: 120px; height: 124px; margin: 0 auto 36px; display: block; position: relative; }
.final .mark svg { width: 100%; height: 100%; opacity: 0; transform: scale(0.9); transition: opacity 1.2s ease 0.3s, transform 1.4s cubic-bezier(.2, .8, .2, 1) 0.3s; filter: drop-shadow(0 18px 30px rgba(98, 97, 179, 0.35)); }
.final.lit .mark svg { opacity: 1; transform: none; }
.final h2 { font-size: clamp(44px, 5.6vw, 84px); line-height: 1; max-width: 14ch; margin-inline: auto; }
.final p { color: var(--ink-2); font-size: 18px; max-width: 34rem; margin: 18px auto 0; }
.final .row { justify-content: center; margin-top: 28px; }

/* apps: iOS and Android are on the way; plain text until the store listings exist */
.apps-soon { padding-block: clamp(48px, 8vh, 88px) 0; }
.apps-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; padding: clamp(24px, 4vw, 44px); }
.apps-copy { display: flex; flex-direction: column; gap: 12px; flex: 1 1 20rem; min-width: 0; max-width: 38rem; }
.apps-copy h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.04; }
.apps-copy p:not(.kick) { color: var(--ink-2); font-size: 17px; }
.apps-platforms { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.apps-platforms li { display: flex; align-items: center; gap: 12px; min-width: 9.5rem; padding: 12px 20px 12px 12px; border-radius: 18px; background: rgba(255, 255, 255, 0.72); border: 1px solid var(--glass-edge); }
.apps-platforms i { flex: none; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: rgba(228, 223, 240, 0.8); color: var(--action); }
.apps-platforms svg { width: 22px; height: 22px; }
.apps-platforms span { display: flex; flex-direction: column; gap: 2px; }
.apps-platforms b { font-size: 16px; font-weight: 600; color: var(--ink); }
.apps-platforms small { font-size: 13px; color: var(--ink-2); }
@media (max-width: 560px) {
  .apps-platforms { width: 100%; }
  .apps-platforms li { flex: 1 1 0; min-width: 0; gap: 10px; padding: 10px 14px 10px 10px; }
}
@media (max-width: 359px) {
  .apps-platforms li { flex-basis: 100%; }
}

/* footer */
.foot { position: relative; z-index: 2; }
.foot-in { border-top-color: rgba(46, 37, 43, 0.08); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .bar .nav-main { display: none; }
  .pcard { width: min(560px, 60vw); }
  .scheme .sec-in, .row2, .row2.flip, .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .row2.flip .sec-h { order: 0; }
  .faq-wrap .sec-h { position: static; }
  .scheme { min-height: 0; }
  .scheme .sec-in { position: relative; top: auto; }
  .stops { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 719px) {
  .bar { width: calc(100% - 24px); top: calc(env(safe-area-inset-top, 0px) + 14px); padding-left: 14px; }
  .brand small, .bar .btn-login { display: none; }
  .bar .btn { min-height: 38px; padding: 0 14px; font-size: 14px; }
  .language-switch a { padding: 6px 7px; }
  .l-long { display: none; } .l-short { display: inline; }
  .stage { padding: 8px; }
  .scene { border-radius: 24px; background-position: 70% 30%; }
  .veil { background: linear-gradient(0deg, rgba(240,236,247,0.94) 0%, rgba(240,236,247,0.82) 34%, rgba(240,236,247,0.4) 52%, rgba(240,236,247,0) 66%); }
  .ch { left: 20px; right: 20px; top: auto; bottom: 64px; transform: none; width: auto; gap: 12px; }
  .ch4 { top: 76px; bottom: auto; }
  #ch4lead { display: none; }
  h1 { font-size: 38px; }
  .story h2 { font-size: 30px; }
  .lead { font-size: 14.5px; line-height: 1.5; }
  .ch2 .lead, .ch3 .lead { display: none; }
  .rail { bottom: 14px; padding: 4px; max-width: calc(100% - 24px); overflow: hidden; }
  .rail li { padding: 4px 9px; font-size: 11px; }
  .skip { display: none; }
  .pcard { left: 14px; right: 14px; width: auto; padding: 18px 16px 14px; top: 88px; transform: none; }
  .pcard-h h3 { font-size: 24px; }
  .pgrid { grid-template-columns: 1fr 1fr; gap: 10px 10px; }
  .pgroup { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 8px; }
  .pgroup > b { grid-column: 1 / -1; }
  .pgroup.wide { grid-template-columns: 1fr 1fr; }
  .slot { height: 42px; }
  .tag { padding: 6px 10px; border-radius: 12px; }
  .tag span { font-size: 15px; }
  .sec { padding-block: 80px; }
  .stops { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; }
  .stops li:last-child { grid-column: 1 / -1; }
  .scheme { min-height: 0; padding-block: 80px; }
  .scheme .sec-in { position: relative; top: auto; }
  .panel-grid, .scan-wrap, .care-grid, .diary-grid, .pr-grid, .plan-grid, .scheme-wrap, .roles, .foot-in { grid-template-columns: minmax(0, 1fr); }
  .panel-col + .panel-col { border-left: 0; border-top: 1px solid rgba(46, 37, 43, 0.06); }
  .phone { max-width: 300px; margin-inline: auto; width: 100%; box-sizing: border-box; }
  .inci { grid-template-columns: minmax(0, 1fr); }
  .kit-row { gap: 6px; }
  .prod { padding: 10px 4px; }
  .prod img { height: 84px; }
  .kit-row.plus .prod img { height: 70px; }
  .prod b { font-size: 13px; }
  .change { grid-template-columns: minmax(0, 1fr); }
  .arrow { transform: rotate(90deg); margin: 6px 0 6px 12px; }
  .plan { padding: 22px; }
  .plan h3 { font-size: 30px; }
  .final .mark { width: 92px; height: 96px; }
  .frail { left: 12px; right: 12px; transform: translateY(16px); justify-content: space-between; }
  .frail.show { transform: none; }
  .frail a { padding: 7px 9px; }
  .frail a span { display: none; }
  .frail a.on span { display: inline; }
}
@media (max-width: 380px) {
  .language-switch { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; filter: none; transform: none; transition: none; }
  .chip.jolt, .sec.lit .bottle .beam, .sec.lit .phone-screen .beam { animation: none; }
  .sec .procs li, .sec .prod { opacity: 1; transform: none; transition: none; }
  .hum-band { transform: none; transition: none; }
  .final .mark svg { opacity: 1; transform: none; transition: none; }
  .res { opacity: 1; transform: none; }
}

/* ================= care loop: one pinned app screen; the same three bottles travel through every step ================= */

.pipe { position: relative; height: 560vh; height: 560svh; z-index: 2; }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; box-sizing: border-box; display: grid;
  grid-template-rows: auto minmax(0, 1fr); gap: 10px; padding: 74px 16px 66px; }
.caps { position: relative; height: 128px; }
.cap-s { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; gap: 6px; opacity: 0; pointer-events: none; will-change: opacity, transform; }
.cap-s.on { pointer-events: auto; }
.cap-s .kick { font-size: 13px; }
.cap-s h2 { font-size: 27px; line-height: 1.06; }
.cap-s > p:not(.kick) { color: var(--ink-2); font-size: 14px; line-height: 1.45; max-width: 34rem; }
.cap-s .pills { display: none; }

.dev-wrap { position: relative; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dev-box { position: relative; flex: none; }
.dev { position: absolute; left: 0; top: 0; width: 380px; height: 560px; transform-origin: 0 0; border-radius: 34px; overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.56)); }
.dev-bar { height: 46px; box-sizing: border-box; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid rgba(46, 37, 43, 0.06); }
.dev-logo { width: 16px; height: 17px; display: block; opacity: 0.85; }
.dev-logo svg { width: 100%; height: 100%; display: block; }
.dev-bar b { font-family: var(--display); font-weight: 400; font-size: 18px; letter-spacing: -0.01em; }
.dev-step { margin-left: auto; font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.dev-cap { font-size: 11.5px; color: var(--ink-2); margin-top: 8px; text-align: center; }

.ly { position: absolute; left: 0; right: 0; top: 46px; bottom: 0; box-sizing: border-box; padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 8px; opacity: 0; pointer-events: none; will-change: opacity, transform; }
.ly-t { font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em; color: var(--action); margin-top: 2px; }
.bs { display: block; flex: none; width: 40px; height: 46px; }

/* 01 profile + picks */
.pg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.ps { height: 44px; box-sizing: border-box; border-radius: 12px; border: 1px dashed rgba(98, 97, 179, 0.24); background: rgba(255, 255, 255, 0.3);
  padding: 0 10px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.ps > * { opacity: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps small, .chip3 small { font-size: 10.5px; color: var(--ink-2); line-height: 1.25; }
.ps span, .chip3 span { font-size: 13px; font-weight: 500; line-height: 1.25; }
.ps.filled { background: rgba(255, 255, 255, 0.92); border: 1px solid #fff; }
.ps.filled > * { opacity: 1; }
.picks { display: flex; flex-direction: column; gap: 6px; }
.pr2 { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 10px; align-items: center; height: 52px; box-sizing: border-box; padding: 0 12px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.4); opacity: 0.3; transition: opacity 0.35s, background 0.35s; }
.pr2.on { opacity: 1; background: rgba(255, 255, 255, 0.85); }
.pr2 b { display: block; font-weight: 500; font-size: 14px; }
.pr2 small { display: block; font-size: 11.5px; color: var(--ink-2); }
.pr2.plus { background: linear-gradient(120deg, rgba(233, 227, 247, 0.9), rgba(245, 238, 243, 0.9)); }
.pr2 .masks { width: 40px; height: 44px; position: relative; display: block; }
.pr2 .masks img { position: absolute; width: 24px; height: 24px; object-fit: contain; }
.pr2 .masks img:nth-child(1) { left: 0; top: 2px; } .pr2 .masks img:nth-child(2) { right: 0; top: 8px; } .pr2 .masks img:nth-child(3) { left: 8px; bottom: 0; }

/* chips travel from the lock into the profile */
.chips { position: absolute; inset: 0; pointer-events: none; z-index: 6; }
.chip3 { position: absolute; left: 0; top: 0; height: 44px; box-sizing: border-box; padding: 0 10px; border-radius: 12px; display: flex; flex-direction: column; justify-content: center;
  background: rgba(255, 255, 255, 0.95); border: 1px solid #fff; box-shadow: 0 12px 28px -14px rgba(58, 46, 120, 0.55); transform-origin: 0 0; opacity: 0; will-change: transform, opacity; }
.chip3 > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* shared bits taken from the app: line icons with a blue-violet stroke, soft product tiles */
.dev .defs { position: absolute; width: 0; height: 0; }
.dev .ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bs.tl { border-radius: 11px; background: var(--soft); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7); }
.pr2 .bs.tl { width: 40px; height: 40px; }

/* 02 scanner */
.frame2 { position: relative; height: 172px; flex: none; border-radius: 20px; background: linear-gradient(170deg, #E9E4F5, #F6F0F2 60%, #EEF3F4); display: grid; place-items: center; overflow: hidden; }
.frame2 .bs.big { width: 110px; height: 150px; }
.frame2 .crn { position: absolute; inset: 12px 70px 30px; }
.frame2 .crn::before, .frame2 .crn::after { content: ""; position: absolute; width: 22px; height: 22px; border: 2px solid rgba(255, 255, 255, 0.95); }
.frame2 .crn::before { left: 0; top: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 12px; }
.frame2 .crn::after { right: 0; bottom: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 12px; }
.beam2 { position: absolute; left: 16%; right: 16%; top: 10%; height: 2px; background: #fff; box-shadow: 0 0 14px 4px rgba(183, 174, 230, 0.9); opacity: 0; z-index: 7; }
.dev.scan .beam2 { animation: beam3 2.4s ease-in-out infinite; }
.dev.scan.read .beam2 { animation: none; opacity: 0; }
@keyframes beam3 { 0% { top: 8%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 84%; opacity: 0; } }
.scan-l { position: absolute; left: 50%; bottom: 9px; transform: translateX(-50%); z-index: 8; white-space: nowrap; font-size: 11px; padding: 3px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.82); color: var(--ink-2); box-shadow: 0 6px 16px -10px rgba(41, 41, 54, 0.4); }
.xr { display: flex; flex-direction: column; gap: 5px; }
.xr-r { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 10px 6px 12px; border-radius: 13px; background: rgba(255, 255, 255, 0.86);
  opacity: 0; transform: translateY(6px); transition: opacity 0.35s, transform 0.4s; }
.xr-r.on { opacity: 1; transform: none; }
.xr-r small { display: block; font-size: 10.5px; color: var(--ink-2); line-height: 1.3; }
.xr-r b { display: block; font-size: 13px; font-weight: 500; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xr-r em { font-style: normal; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; padding: 3px 8px 3px 6px; border-radius: 999px; background: #E4EDE5; color: #39633E; }
.xr-r em svg { width: 11px; height: 11px; }
.ok2 { display: flex; gap: 10px; align-items: center; padding: 9px 12px; border-radius: 14px; background: #fff; opacity: 0; transform: translateY(6px); transition: opacity 0.35s, transform 0.4s; }
.ok2.on { opacity: 1; transform: none; }
.ok2 > i { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #39633E; color: #fff; display: grid; place-items: center; }
.ok2 > i svg { width: 13px; height: 13px; }
.ok2 b { display: block; font-weight: 500; font-size: 13.5px; }
.ok2 small { display: block; font-size: 11px; color: var(--ink-2); }
.tray { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.55); font-size: 12px; color: var(--ink-2); }
.tray .bs { width: 34px; height: 36px; }

/* 03 schedule: glass month view like the app's date selector */
.calg { flex: none; padding: 6px 10px 6px; border-radius: 20px; background: rgba(236, 235, 242, 0.62); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 14px 30px -24px rgba(41, 41, 54, 0.5);
  backdrop-filter: blur(16px) saturate(1.1); -webkit-backdrop-filter: blur(16px) saturate(1.1); }
.calg-h { display: grid; grid-template-columns: 28px minmax(0, 1fr) 28px 34px; align-items: center; height: 30px; color: var(--ink); }
.calg-h b { text-align: center; font-weight: 400; font-size: 13px; }
.calg-h .ic { justify-self: center; width: 16px; height: 16px; }
.calg-btn { justify-self: end; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.calg-btn .ic { width: 19px; height: 19px; stroke: url(#icg); }
.calg-g { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); text-align: center; font-variant-numeric: tabular-nums; }
.calg-g span { position: relative; aspect-ratio: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 12.5px; color: var(--ink); line-height: 1; }
.calg-g span.dow { aspect-ratio: auto; height: 18px; font-size: 10.5px; color: var(--ink-2); }
.calg-g span.out { color: #B9B6C6; }
.calg-g span::after { content: ""; width: 4px; height: 4px; margin-top: 3px; border-radius: 50%; background: transparent; }
.calg-g span[data-t="l"]::after { background: #A9783C; }
.calg-g span[data-t="h"]::after { background: #6A8FD0; }
.calg-g span[data-t="r"]::after { background: #A77BD6; }
.calg-g span.past { color: var(--ink-2); }
.calg-g span.today { color: var(--action); font-weight: 600; }
.calg-g span.today::after { background: var(--action); }
.calg-g span.dow::after { display: none; }
.calg-g { position: relative; isolation: isolate; }
.calg-sel { position: absolute; left: 0; top: 0; z-index: -1; border-radius: 10px; background: #FDFCFD; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.95), 0 6px 14px -6px rgba(41, 41, 54, 0.3);
  transition: transform 0.26s cubic-bezier(.3, .7, .2, 1); pointer-events: none; }

/* shared procedure card parts (banner from the app's procedure art, product rows) */
.pc, .dc, .nc { border-radius: 18px; overflow: hidden; background: var(--paper); box-shadow: 0 14px 30px -24px rgba(41, 41, 54, 0.5); }
.pc-ban, .dc-ban { position: relative; display: flex; align-items: center; padding: 0 14px;
  background: linear-gradient(90deg, rgba(255, 253, 251, 0.96) 0%, rgba(255, 253, 251, 0.8) 36%, rgba(255, 253, 251, 0) 72%), var(--img) right center / cover no-repeat; }
.pc-ban { height: 68px; }
.dc-ban { height: 50px; }
.pc-ban b, .dc-ban b { display: block; font-family: var(--display); font-weight: 400; font-size: 21px; line-height: 1.1; }
.dc-ban b { font-size: 18px; }
.pc-ban small, .dc-ban small { display: block; font-size: 11px; color: var(--ink-2); }
.pc-ban small:first-child { font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 2px; }
.pc-ban em, .dc-ban em { position: absolute; right: 10px; top: 9px; font-style: normal; font-size: 10.5px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.86); color: var(--ink); }
.dc-ban em.tagp { background: var(--grad); color: #fff; }

/* 03 card filling */
.pc-rows { padding: 6px 12px 0; display: flex; flex-direction: column; }
.crow { padding: 5px 0 6px; border-bottom: 1px solid rgba(46, 37, 43, 0.06); }
.crow:last-child { border-bottom: 0; }
.cr { display: flex; align-items: baseline; gap: 8px; font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.cr i { font-style: normal; font-size: 11px; font-weight: 400; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cbox { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; align-items: center; height: 42px; box-sizing: border-box; padding: 0 10px 0 4px; border-radius: 13px; background: rgba(237, 236, 241, 0.55); }
.cbox .bs { width: 36px; height: 36px; }
.cbox span { font-size: 13.5px; opacity: 0; transform: translateX(-4px); transition: opacity 0.3s, transform 0.3s; }
.cbox.in span { opacity: 1; transform: none; }
.chow { display: flex; justify-content: space-between; align-items: center; margin-top: 5px; font-size: 11px; color: var(--ink-2); opacity: 0; transition: opacity 0.3s; }
.chow.in { opacity: 1; }
.chow .ic { width: 14px; height: 14px; transition: transform 0.3s; }
.chow.open .ic { transform: rotate(180deg); }
.csteps { list-style: none; margin: 0; padding: 0; height: 0; overflow: hidden; display: flex; flex-direction: column; }
.csteps li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: center; padding: 4px 0 0 4px; opacity: 0; transform: translateY(4px); transition: opacity 0.3s, transform 0.3s; }
.csteps li.on { opacity: 1; transform: none; }
.csteps li > i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; color: var(--action); background: #E6E5F5; }
.csteps b { display: block; font-size: 12.5px; font-weight: 500; line-height: 1.25; }
.csteps small { display: block; font-size: 11px; color: var(--ink-2); line-height: 1.25; }
.pc-foot { display: flex; justify-content: space-between; align-items: center; padding: 7px 14px 8px; font-size: 11.5px; color: var(--ink-2); border-top: 1px solid rgba(46, 37, 43, 0.06); }
.pc-foot b { font-weight: 500; font-variant-numeric: tabular-nums; }
.pc-foot.done b { color: #39633E; }

/* 04 one card per day */
.deck { position: relative; flex: 1; min-height: 0; }
.dc { position: absolute; left: 0; right: 0; top: 0; opacity: 0; transform: translateX(24px); transition: opacity 0.26s ease, transform 0.26s cubic-bezier(.3, .7, .2, 1); }
.dc.before { transform: translateX(-24px); }
.dc.on { opacity: 1; transform: none; }
.drow { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 4px 12px 4px 8px; border-top: 1px solid rgba(46, 37, 43, 0.06); }
.drow .bs { width: 32px; height: 32px; }
.drow .bs img { width: 100%; height: 100%; object-fit: contain; padding: 4px; box-sizing: border-box; }
.drow small { display: block; font-size: 10.5px; color: var(--ink-2); line-height: 1.3; }
.drow b { display: block; font-size: 13px; font-weight: 500; line-height: 1.3; }

/* 05 routine session */
.ss-h small { display: block; font-size: 11px; color: var(--ink-2); }
.ss-h b { display: block; font-family: var(--display); font-weight: 400; font-size: 21px; line-height: 1.15; }
.ss-pr { display: grid; grid-template-columns: 1fr auto; gap: 6px 8px; font-size: 11.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ss-pr i { grid-column: 1 / -1; height: 4px; border-radius: 4px; background: rgba(98, 97, 179, 0.14); overflow: hidden; }
.ss-pr i b { display: block; height: 100%; width: 0; border-radius: 4px; background: var(--grad); transition: width 0.35s; }
.ss-st { display: grid; grid-template-columns: 38px minmax(0, 1fr) 24px; gap: 10px; align-items: center; height: 52px; box-sizing: border-box; padding: 0 10px 0 6px; border-radius: 14px; background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8); transition: background 0.3s, box-shadow 0.3s; }
.ss-st .bs { width: 38px; height: 40px; }
.ss-st b { display: block; font-size: 13.5px; font-weight: 500; line-height: 1.25; }
.ss-st small { display: block; font-size: 11px; color: var(--ink-2); }
.ss-ck { width: 24px; height: 24px; box-sizing: border-box; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; color: var(--ink-2); box-shadow: inset 0 0 0 1.5px #DDDCE5; transition: background 0.25s, box-shadow 0.25s, color 0.25s; }
.ss-st.cur { background: #fff; box-shadow: inset 0 0 0 1.5px rgba(98, 97, 179, 0.45); }
.ss-st.cur .ss-ck { color: var(--action); box-shadow: inset 0 0 0 1.5px var(--action); }
.ss-st.done .ss-ck { font-size: 0; box-shadow: none; background: #E4EDE5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6 9.6 3.6' fill='none' stroke='%2339633E' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ss-now { padding: 9px 12px 10px; border-radius: 14px; background: #F1EFFA; display: flex; flex-direction: column; gap: 1px; }
.ss-now small { font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--action); }
.ss-now b { font-size: 13.5px; font-weight: 500; }
.ss-now span { font-size: 11.5px; color: var(--ink-2); line-height: 1.35; }
.ss-btn { margin-top: auto; text-align: center; padding: 11px; border-radius: 14px; font-size: 13px; font-weight: 500; background: rgba(46, 37, 43, 0.08); color: rgba(46, 37, 43, 0.4); transition: background 0.3s, color 0.3s; }
.ss-btn.on { background: var(--action); color: #fff; }

/* 06 diary: draft, then the list */
.dr, .dl { position: absolute; left: 16px; right: 16px; top: 12px; display: flex; flex-direction: column; gap: 6px; transition: opacity 0.35s, transform 0.4s; }
.dl { opacity: 0; transform: translateY(12px); pointer-events: none; }
.ly.list .dr { opacity: 0; transform: translateY(-12px); }
.ly.list .dl { opacity: 1; transform: none; }
.dr-h { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2px; }
.dr-h small { display: block; font-size: 11px; color: var(--ink-2); }
.dr-h b { display: block; font-family: var(--display); font-weight: 400; font-size: 21px; line-height: 1.15; }
.dtile { flex: none; width: 40px; height: 44px; border-radius: 11px; background: #E6E5F5; color: #4B4A99; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.dtile b { font-size: 16px; font-weight: 500; }
.dtile small { font-size: 10px; margin-top: 2px; }
.dr-proc { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px; border-radius: 14px; background: var(--paper); }
.dr-pt b { display: block; font-size: 13.5px; font-weight: 500; }
.dr-pt small { display: block; font-size: 11px; color: var(--ink-2); }
.dr-btl { display: flex; gap: 4px; }
.dr-btl .bs { width: 26px; height: 30px; border-radius: 8px; }
.dr-q { display: flex; justify-content: space-between; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.78); font-size: 12.5px;
  opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.35s; }
.dr-q.on { opacity: 1; transform: none; }
.dr-q > span { color: var(--ink-2); }
.dr-q b { font-weight: 500; }
.dr-q mark, .de mark { background: #F2E7CF; color: #4C380B; border-radius: 999px; padding: 2px 9px; font-size: 11.5px; }
.dr-ph { min-height: 48px; }
.dr .tn, .de .tn { width: 32px; height: 40px; border-radius: 8px; background: #D9D2CB url(assets/landing/diary-sprite.webp) calc(var(--p) * 33.3333%) 0 / 400% 100% no-repeat; }
.dr-save { text-align: center; padding: 10px; border-radius: 13px; font-size: 13px; font-weight: 500; background: var(--action); color: #fff; opacity: 0.35; transition: opacity 0.3s, transform 0.2s; }
.dr-save.on { opacity: 1; }
.dr-save.hit { transform: scale(0.97); background: #4E4DA0; }
.de { display: grid; grid-template-columns: 40px minmax(0, 1fr) 32px; gap: 10px; align-items: start; padding: 10px; border-radius: 15px; background: var(--paper);
  opacity: 0; transform: translateY(8px); transition: opacity 0.35s, transform 0.4s; }
.de.on { opacity: 1; transform: none; }
.de-b > b { display: block; font-size: 13.5px; font-weight: 500; margin-bottom: 3px; }
.de-b p { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; padding: 3px 0; border-top: 1px solid rgba(46, 37, 43, 0.06); }
.de-b p span { color: var(--ink-2); }
.de-b em { font-style: normal; font-weight: 500; }
.de mark { transition: box-shadow 0.3s; }
.dl.hit .de mark { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #C9A24B; }
.dl-f { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.6); font-size: 12px; color: var(--ink-2); opacity: 0; transition: opacity 0.35s; }
.dl-f b { font-weight: 500; color: var(--ink); }
.dl-f .ic { width: 18px; height: 18px; stroke: url(#icg); }
.dl.hit .dl-f { opacity: 1; }

/* 07 proposal → the next card with the changed step */
.prop3 { padding: 11px 12px 12px; border-radius: 16px; background: var(--paper); display: flex; flex-direction: column; gap: 7px; }
.prop3-h { display: flex; justify-content: space-between; align-items: flex-start; }
.prop3-h small { display: block; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--action); }
.prop3-h b { display: block; font-family: var(--display); font-weight: 400; font-size: 19px; line-height: 1.15; }
.prop-why { font-size: 11.5px; color: var(--ink-2); line-height: 1.35; }
.dose3 { display: flex; align-items: baseline; gap: 8px; font-size: 12.5px; color: var(--ink-2); }
.dose3 b { font-size: 14.5px; font-weight: 500; color: var(--ink); }
.dose3 b.new { color: var(--action); }
.dose3 i { font-style: normal; color: var(--action); }
.acc3 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.acc3 span { text-align: center; padding: 8px; border-radius: 12px; font-size: 12.5px; font-weight: 500; background: rgba(240, 236, 247, 0.8); color: var(--ink-2); transition: background 0.3s, color 0.3s, transform 0.2s; }
.acc3 span:first-child { background: var(--action); color: #fff; }
.acc3 span.on { background: #E4EDE5; color: #39633E; }
.nc { opacity: 0; transform: translateY(14px); transition: opacity 0.4s, transform 0.45s cubic-bezier(.3, .7, .2, 1); }
.nc.on { opacity: 1; transform: none; }
.drow.chg { grid-template-columns: 34px minmax(0, 1fr) auto; transition: background 0.35s; }
.drow.chg em { font-style: normal; font-size: 10.5px; padding: 2px 8px; border-radius: 999px; background: #E6E5F5; color: #4B4A99; opacity: 0; transition: opacity 0.3s; }
.drow.chg.on { background: #EEEBFA; }
.drow.chg.on em { opacity: 1; }
.chg-d { grid-column: 2 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; row-gap: 2px; align-items: baseline; max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.4s, opacity 0.35s; font-size: 12px; }
.drow.chg.open .chg-d { max-height: 70px; opacity: 1; }
.chg-d span { color: var(--ink-2); font-size: 11px; }
.chg-d b { font-weight: 500; color: var(--action); }
.chg-d s { grid-column: 2; color: var(--ink-2); font-size: 11px; }
.chg-d small { grid-column: 1 / -1; font-size: 10.5px; color: #39633E; margin-top: 2px; }

.dev .tagp { font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--grad); color: #fff; }

/* bottles that travel between the steps */
.btl { position: absolute; left: 0; top: 0; height: 46px; width: auto; z-index: 5; transform-origin: 0 0; pointer-events: none; opacity: 0; will-change: transform, opacity; transition: opacity 0.22s linear;
  filter: drop-shadow(0 8px 10px rgba(46, 37, 43, 0.18)); }

/* phones: principles and plans swipe sideways instead of stacking */
@media (max-width: 719px) {
  .swipe { display: flex !important; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 4px 16px 18px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { flex: 0 0 84%; scroll-snap-align: center; min-width: 0; box-sizing: border-box; }
  .swipe .rv { transition-delay: 0s; }
  .swipe-hint { display: flex; justify-content: center; gap: 6px; margin-top: 2px; }
  .swipe-hint i { width: 6px; height: 6px; border-radius: 50%; background: rgba(98, 97, 179, 0.22); transition: background 0.3s, width 0.3s; }
  .swipe-hint i.on { width: 18px; border-radius: 6px; background: var(--action); }
  .sec { padding-block: 64px; }
  .pr-grid { margin-top: 24px; }
  .plan-grid { margin-top: 24px; }
  .pr { padding: 20px; }
  .pr h3 { font-size: 22px; }
}
@media (min-width: 720px) { .swipe-hint { display: none; } }

/* story: one button down to the prices instead of chapter switches */
.to-price { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: 999px;
  text-decoration: none; font-size: 14px; font-weight: 500; color: var(--ink); background: var(--glass-strong); border: 1px solid var(--glass-line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 30px -18px rgba(58, 46, 120, 0.5); }
.to-price:hover { background: var(--paper); }
.to-price span { color: var(--action); }
@media (max-width: 719px) { .to-price { bottom: 14px; min-height: 40px; font-size: 13.5px; } }

/* step rail inside the pinned stage */
.pin .frail { position: absolute; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 14px); transform: translateX(-50%); opacity: 1; pointer-events: auto; right: auto; justify-content: center; }
.pin .frail a { cursor: pointer; }

@media (min-width: 900px) {
  .pin { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: minmax(0, 1fr); gap: 40px;
    padding: 92px max(24px, calc((100vw - 1200px) / 2)) 84px; }
  .caps { height: auto; }
  .cap-s { top: 50%; transform: translateY(-50%); gap: 14px; }
  .cap-s .kick { font-size: 14px; }
  .cap-s h2 { font-size: clamp(36px, 3.6vw, 54px); line-height: 1.03; }
  .cap-s > p:not(.kick) { font-size: 17px; line-height: 1.55; }
  .cap-s .pills { display: flex; }
  .dev-cap { font-size: 12px; }
}
@media (max-width: 719px) {
  .pin .frail { left: 12px; right: 12px; transform: none; justify-content: space-between; }
  .pin .frail a { padding: 7px 9px; }
  .pin .frail a span { display: none; }
  .pin .frail a.on span { display: inline; }
}
@media (max-width: 719px) and (max-height: 700px) {
  .caps { height: 84px; }
  .cap-s > p:not(.kick) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dev.scan .beam2 { animation: none; }
}
#plans { scroll-margin-top: 64px; }

/* principles and prices: no drop shadows (they were clipped by the sideways rows); one soft shade behind each group */
.cards { position: relative; isolation: isolate; }
.cards::before { content: ""; position: absolute; z-index: -1; left: -8%; right: -8%; top: -10%; bottom: -16%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(84, 72, 150, 0.16), rgba(84, 72, 150, 0.07) 55%, rgba(84, 72, 150, 0)); }
@media (max-width: 719px) { .cards::before { left: -16px; right: -16px; top: -6%; bottom: -6%; } }
.pr-grid .gl, .plan { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9); }
.plan.prem { box-shadow: inset 0 0 0 1px rgba(121, 83, 166, 0.18); }

/* procedure art used by the card banners */
.ban-proc-hyd-v1 { --img: url(assets/landing/proc-hyd-v1.webp); }
.ban-proc-light-v1 { --img: url(assets/landing/proc-light-v1.webp); }
.ban-proc-refresh-v1 { --img: url(assets/landing/proc-refresh-v1.webp); }

/* skip link */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: 12px; background: var(--paper); color: var(--ink); text-decoration: none; }
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }
