/* Perisa website. Same colours and type as the app (app/src/theme.ts). */
@font-face { font-family: "Instrument Sans"; src: url("/fonts/InstrumentSans_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/InstrumentSans_500Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/fonts/InstrumentSans_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/InstrumentSerif_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root {
  --bg: #fbf5ec;          /* warm cream ground */
  --surface: #fae6ec;     /* blush */
  --cream: #f3e9da;       /* deeper cream */
  --raised: #fffdf9;      /* paper */
  --field: #f6d9e2;       /* pale rose */
  --rule: #efe1d9;
  --control: #e2cbc6;
  --ink: #2b1e24;         /* plum-black */
  --muted: #6b5a5c;
  --accent: #b8336a;      /* rose */
  --accent-ink: #9e2a5c;
  --on-accent: #ffffff;
  --plum: #2b1e24;
  --warning: #92400e;
  --positive: #1f6e47;
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --m: clamp(20px, 3.2vw, 40px);   /* the one pair of outer margins */
  --gap: 8px;
  --r: 22px;                        /* the one corner radius */
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  /* five type steps */
  --t-xl: clamp(44px, 6.4vw, 104px);
  --t-l: clamp(32px, 3.6vw, 56px);
  --t-m: clamp(22px, 1.7vw, 28px);
  --t-s: 17px;
  --t-xs: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: var(--t-s); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--field); color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -60px; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; z-index: 10; }
.skip:focus { top: 12px; }

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: var(--t-l); line-height: 1.02; letter-spacing: -0.015em; }
.soft { color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: var(--t-s); text-decoration: none;
  transition: transform .18s var(--ease), background-color .18s var(--ease); }
.btn:hover { background: var(--accent-ink); }
.btn:active { transform: scale(0.97); }
.btn.ink { background: var(--ink); color: var(--bg); }
.btn.ink:hover { background: #46313b; }
.link { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; transition: color .15s; }
.link:hover { color: var(--accent); }

section { position: relative; }
.wrap { padding-left: var(--m); padding-right: var(--m); }
.gap-top { margin-top: clamp(120px, 14vw, 200px); }

/* ================================================================ hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 100svh; }
.hero-l { position: relative; padding: var(--m); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.hero-r { position: relative; background: var(--surface); display: grid; place-items: center; padding: 96px var(--m) var(--m); overflow: hidden; }
.mark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 600; font-size: 20px; letter-spacing: -0.01em; }
.mark img { width: 40px; height: 40px; border-radius: 11px; }
.toplink { position: absolute; top: calc(var(--m) + 8px); right: var(--m); font-size: 15px; z-index: 2; }
.hero-art { width: min(78%, 520px); align-self: center; margin: 0 auto; animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translateY(-6px) rotate(-1.2deg); } to { transform: translateY(8px) rotate(1.2deg); } }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 7.4vw, 120px); line-height: 0.96; letter-spacing: -0.025em; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .ln > span { display: block; }
.hero .lede { margin-top: 36px; max-width: 46ch; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; }
.hero .acts { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.hero .acts .note { font-size: var(--t-xs); color: var(--muted); }

/* ================================================================ the app's own pieces (data-ui) */
[data-ui] { font-family: var(--font); color: var(--ink); }
.ui-card { background: var(--raised); border-radius: 22px; padding: 18px; }
.ui-lbl { font-size: 13px; color: var(--muted); }
.ui-num { font-size: 15px; font-variant-numeric: tabular-nums; }

/* camera fragment */
.cam { width: min(100%, 440px); }
.cam-view { position: relative; aspect-ratio: 3 / 4; border-radius: 28px; overflow: hidden; background: #3a2a31; touch-action: pan-y; cursor: crosshair; }
.cam-view .face { position: absolute; width: 120%; max-width: none; left: -6.4%; top: 14.5%; transition: transform .25s var(--ease); will-change: transform; }
.cam-view .oval { position: absolute; left: 50%; top: 46%; width: 62%; aspect-ratio: 3 / 4; transform: translate(-50%, -50%); border-radius: 50%;
  border: 3px dashed rgba(255,255,255,.75); transition: border-color .2s; pointer-events: none; }
.cam-view.ok .oval { border-style: solid; border-color: #f6d9e2; }
.cam-view .bar { position: absolute; left: 12px; right: 12px; top: 12px; display: flex; gap: 6px; }
.chk { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; border-radius: 999px; font-size: 13px; font-weight: 500;
  background: rgba(43,30,36,.62); color: #fff; transition: background-color .2s; }
.chk i { width: 8px; height: 8px; border-radius: 50%; background: #f0b37e; flex: none; }
.chk.ok { background: rgba(255,253,249,.92); color: var(--ink); }
.chk.ok i { background: var(--positive); }
.cam-view .say { position: absolute; left: 50%; transform: translateX(-50%); bottom: 96px; white-space: nowrap; padding: 7px 14px; border-radius: 999px; background: rgba(43,30,36,.7); color: #fff; font-size: 14px; font-weight: 500; }
.cam-view .shut { position: absolute; left: 50%; bottom: 18px; width: 64px; height: 64px; transform: translateX(-50%); border-radius: 50%; border: 4px solid rgba(255,255,255,.9);
  background: rgba(255,255,255,.25); transition: background-color .2s, transform .15s; }
.cam-view.ok .shut { background: var(--accent); }
.cam-view .shut:active { transform: translateX(-50%) scale(.92); }
.cam-read { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.cam-read b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }

/* ================================================================ showcase */
.show { display: grid; grid-template-columns: 5fr 7fr; gap: 0 var(--m); align-items: start; }
.show > * { min-width: 0; }
.show-names h2 { margin-bottom: 36px; }
.show-names ul { list-style: none; margin: 0; padding: 0; }
.show-names button { display: block; text-align: left; font-family: var(--serif); font-size: clamp(30px, 3.2vw, 52px); line-height: 1.18; letter-spacing: -0.015em; color: var(--muted);
  opacity: .62; transition: opacity .2s, color .2s, transform .25s var(--ease); padding: 2px 0; }
.show-names button:hover { opacity: 1; transform: translateX(6px); }
.show-names button[aria-selected="true"] { color: var(--ink); opacity: 1; }
.show-names .plus-tag { font-family: var(--font); font-size: var(--t-xs); color: var(--accent); vertical-align: middle; margin-left: 10px; letter-spacing: 0; }
.show-names .what { margin-top: 32px; max-width: 40ch; color: var(--ink); min-height: 4.5em; }
.stage { position: relative; background: var(--cream); border-radius: var(--r); height: clamp(540px, 66svh, 620px); overflow: hidden; }
.sheet { position: absolute; left: 64px; top: 56px; width: 440px; transition: opacity .2s; }
.sheet[hidden] { display: block; opacity: 0; pointer-events: none; visibility: hidden; }

/* phone-sized app panels inside the stage */
.panel { background: var(--surface); border-radius: 22px; padding: 18px; }
.panel + .panel { margin-top: 10px; }
.panel.cr { background: var(--cream); }
.panel.pa { background: var(--raised); }
.ph-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.ph-top .hi { font-family: var(--serif); font-size: 30px; line-height: 1; }
.ph-top .dt { font-size: 13px; color: var(--muted); }
.big { font-size: 56px; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.big small { font-size: 17px; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.delta { font-size: 14px; color: var(--muted); margin-top: 6px; }
.delta b { color: var(--positive); font-weight: 600; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--raised); border-radius: 999px; padding: 3px; margin-top: 14px; }
.seg span { min-height: 36px; display: grid; place-items: center; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--muted); }
.seg span.on { background: var(--ink); color: #fff; }
.spark { margin-top: 14px; background: var(--raised); border-radius: 14px; padding: 12px 10px 6px; }
.spark svg { width: 100%; height: auto; display: block; }
.srows { display: grid; gap: 0; }
.srow { display: grid; grid-template-columns: 36px 1fr 72px 36px; align-items: center; gap: 10px; min-height: 46px; }
.srow img { width: 32px; height: 32px; }
.srow .n { font-size: 14px; }
.srow .v { font-size: 16px; text-align: right; font-variant-numeric: tabular-nums; }
.meter { height: 6px; border-radius: 999px; background: var(--rule); position: relative; overflow: hidden; }
.meter i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent); border-radius: 999px; }
.fc-head { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; }
.fc-head img { width: 56px; height: 56px; margin-top: -6px; }
.claim { font-size: 19px; line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; }
.chartbox { background: var(--raised); border-radius: 14px; padding: 12px 8px 4px; margin-top: 14px; }
.chartbox svg { width: 100%; height: auto; display: block; }
.chartbox text { font-family: var(--font); font-size: 11px; fill: var(--muted); }
.keyrow { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--muted); margin-top: 8px; }
.keyrow i { display: inline-block; width: 14px; height: 3px; background: var(--accent); vertical-align: 3px; margin-right: 5px; border-radius: 2px; }
.keyrow i.d { background: none; border-top: 2px dashed var(--accent); height: 0; }
.keyrow i.s { width: 10px; height: 10px; background: rgba(43,30,36,.14); vertical-align: -1px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 10px; text-align: center; }
.cal .dn { font-size: 11px; color: var(--muted); padding-bottom: 2px; }
.cal .d { aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; font-size: 13px; font-variant-numeric: tabular-nums; position: relative; }
.cal .d.p { background: var(--field); }
.cal .d.b::after { content: ""; position: absolute; bottom: 4px; width: 5px; height: 5px; border-radius: 50%; background: var(--warning); }
.cal .d.t { background: var(--ink); color: #fff; }
.cal .d.x { color: transparent; }
.calkey { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin-top: 10px; flex-wrap: wrap; }
.calkey i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: -1px; margin-right: 5px; }
.cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cmp .day { background: var(--raised); border-radius: 14px; padding: 12px; }
.cmp .day b { display: block; font-size: 30px; font-weight: 400; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ctab { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 14px; }
.ctab td { padding: 9px 4px; border-top: 1px solid var(--rule); font-variant-numeric: tabular-nums; }
.ctab td:not(:first-child) { text-align: right; }
.ctab .up { color: var(--positive); font-weight: 600; }
.ctab .dn { color: var(--warning); font-weight: 600; }

/* ================================================================ how it works */
.how { display: grid; grid-template-columns: 1fr 1fr; min-height: min(88svh, 860px); position: relative; }
.how-l { background: var(--ink); color: var(--bg); padding: var(--m); padding-bottom: 150px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.how-l .h2 { color: var(--bg); }
.how-l .clause { font-family: var(--serif); font-size: clamp(36px, 4.4vw, 72px); line-height: 1.02; letter-spacing: -0.02em; max-width: 13ch; min-height: 2.1em; transition: opacity .2s; }
.how-l .detail { max-width: 44ch; color: #e9dcd6; min-height: 4.6em; transition: opacity .2s; }
.how-r { background: var(--surface); display: grid; place-items: center; padding: var(--m); padding-bottom: 150px; }
.how-frag { width: min(100%, 380px); zoom: 1.22; }
.cam-view.mini { width: 300px; margin: 0 auto; cursor: default; }
.how-frag .st { transition: opacity .2s; }
.how-frag .st[hidden] { display: none; }
.how-ctl { position: absolute; left: var(--m); right: var(--m); bottom: 28px; }
.how-ctl input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 40px; background: transparent; cursor: pointer; margin: 0; }
.how-ctl input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(var(--accent), var(--accent)) 0 / var(--fill, 0%) 100% no-repeat, rgba(255,253,249,.55); } /* taste-skill-ignore: flat two-part fill of the range track, not a gradient */
.how-ctl input[type=range]::-moz-range-track { height: 8px; border-radius: 999px; background: rgba(255,253,249,.55); }
.how-ctl input[type=range]::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--accent); }
.how-ctl input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -12px; border-radius: 10px; background: var(--accent); border: 3px solid var(--raised); transition: transform .15s; }
.how-ctl input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 10px; background: var(--accent); border: 3px solid var(--raised); }
.how-ctl input[type=range]:active::-webkit-slider-thumb { transform: scale(1.12); }
.stops { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 6px; font-size: 16px; }
.stops button { text-align: left; color: rgba(255,255,255,.62); padding: 4px 0; transition: color .2s; }
.stops button:nth-child(n+3) { color: rgba(43,30,36,.55); }
.stops button.on:nth-child(-n+2) { color: #fff; }
.stops button.on:nth-child(n+3) { color: var(--ink); }
.stops button:nth-child(3), .stops button:nth-child(4) { padding-left: 0; }
.lock-ui { text-align: center; }
.lock-ui img { width: 120px; margin: 0 auto 10px; }
.prog { height: 8px; border-radius: 999px; background: var(--rule); margin-top: 14px; overflow: hidden; }
.prog i { display: block; height: 100%; width: 100%; background: var(--accent); border-radius: 999px; }

/* ================================================================ features */
.feat-h { margin-bottom: 56px; max-width: 18ch; }
.cells { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.cell { background: var(--surface); border-radius: var(--r); height: 440px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.cell:nth-child(even) { background: var(--cream); }
.cell .tx { padding: 26px 26px 0; }
.cell .tx h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.cell .tx p { margin-top: 8px; font-size: 16px; color: var(--ink); max-width: 34ch; }
.cell .fr { padding: 0 26px; }
.cell.down { flex-direction: column-reverse; }
.cell.down .tx { padding: 0 26px 26px; }
.cell.down .fr { padding-top: 0; }
.cell .fr > * { transform: translateY(18px); }
.cell.down .fr > * { transform: translateY(-18px); }
.moods { display: flex; gap: 8px; background: var(--raised); border-radius: 18px 18px 0 0; padding: 16px 14px 34px; }
.moods button { flex: 1; display: grid; justify-items: center; gap: 4px; font-size: 12px; color: var(--muted); padding: 6px 2px; border-radius: 14px; transition: background-color .15s, transform .15s; }
.moods button img { width: 46px; height: 46px; }
.moods button:hover { transform: translateY(-3px); }
.moods button[aria-pressed="true"] { background: var(--field); color: var(--ink); }
.flow-row { display: flex; gap: 6px; margin-top: 10px; }
.flow-row button { flex: 1; min-height: 40px; border-radius: 999px; background: var(--raised); font-size: 13px; transition: background-color .15s; }
.flow-row button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.notif { background: rgba(255,253,249,.96); border-radius: 0 0 20px 20px; padding: 34px 16px 16px; display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; }
.notif img { width: 38px; height: 38px; border-radius: 10px; }
.notif b { font-size: 14px; font-weight: 600; display: block; }
.notif span { font-size: 14px; }
.notif small { font-size: 12px; color: var(--muted); align-self: start; }
.notif + .notif { border-radius: 20px; margin-top: 8px; padding-top: 16px; opacity: .8; }
.tgl-row { background: var(--raised); border-radius: 18px 18px 0 0; padding: 18px 16px 40px; }
.tgl { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; }
.tgl + .tgl { border-top: 1px solid var(--rule); } /* taste-skill-ignore: app settings list, data-ui */
.sw { width: 52px; height: 32px; border-radius: 999px; background: #e2d5cf; position: relative; transition: background-color .2s; flex: none; }
.sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: transform .2s var(--ease); }
.sw[aria-checked="true"] { background: var(--accent); }
.sw[aria-checked="true"]::after { transform: translateX(20px); }
.times { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.times div { background: var(--raised); border-radius: 18px; padding: 14px; }
.times b { display: block; font-size: 28px; font-weight: 400; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.times span { font-size: 13px; color: var(--muted); }
.times .pl { font-size: 12px; color: var(--accent); font-weight: 600; }
.tip { background: var(--raised); border-radius: 0 0 20px 20px; padding: 30px 16px 18px; display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; }
.tip img { width: 52px; height: 52px; }
.tip p { font-size: 15px; line-height: 1.4; }
.danger-row { background: var(--raised); border-radius: 18px 18px 0 0; padding: 16px 16px 36px; }
.danger-row .r { display: flex; justify-content: space-between; align-items: center; min-height: 48px; font-size: 15px; }
.danger-row .r + .r { border-top: 1px solid var(--rule); } /* taste-skill-ignore: app settings list, data-ui */
.danger-row .r.del { color: #b42318; font-weight: 600; }

/* ================================================================ privacy letter */
.letter-sec { padding-top: 40px; padding-bottom: 40px; display: grid; grid-template-columns: 1fr minmax(0, 620px) 1fr; gap: var(--m); align-items: start; }
.letter-sec .side { position: sticky; top: 40px; }
.letter-sec .side img { width: min(100%, 260px); }
.letter-sec .side.r { justify-self: end; }
.letter h2 { margin-bottom: 28px; }
.letter p { font-size: 18px; line-height: 1.6; }
.letter p + p { margin-top: 1.1em; }
.letter mark { background: var(--field); color: inherit; padding: 0 .15em; border-radius: 4px; }
.letter .sign { margin-top: 36px; font-family: var(--serif); font-size: 26px; }
.letter .role { font-size: var(--t-xs); color: var(--muted); }

/* ================================================================ pricing */
.price-wrap { overflow-x: auto; }
.ptab { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 20px; }
.ptab th, .ptab td { text-align: left; vertical-align: top; padding: 18px 22px; }
.ptab thead th { padding-top: 26px; padding-bottom: 26px; vertical-align: bottom; }
.ptab thead th:first-child { vertical-align: top; }
.ptab .pn { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 2.8vw, 46px); line-height: 1; letter-spacing: -0.015em; }
.ptab .pp { display: block; font-size: clamp(26px, 2.2vw, 36px); font-weight: 400; margin-top: 10px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ptab .per { font-size: 16px; color: var(--muted); font-weight: 400; display: block; margin-top: 4px; }
.ptab .rec .per { color: #fbe4ec; }
.ptab tbody tr:nth-child(odd) th, .ptab tbody tr:nth-child(odd) td { background: var(--cream); }
.ptab tbody th { font-weight: 400; width: 34%; }
.ptab .rec { background: var(--accent) !important; color: #fff; }
.ptab thead .rec { border-radius: var(--r) var(--r) 0 0; }
.ptab tfoot .rec { border-radius: 0 0 var(--r) var(--r); }
.ptab tbody tr:nth-child(odd) th:first-child, .ptab tbody tr:nth-child(odd) td:first-child { border-radius: 14px 0 0 14px; }
.ptab tbody tr:nth-child(odd) td:last-child:not(.rec) { border-radius: 0 14px 14px 0; }
.ptab tfoot td { padding-top: 22px; padding-bottom: 26px; }
.ptab .btn.light { background: var(--raised); color: var(--accent-ink); }
.ptab .btn.light:hover { background: #fff; }
.ptab .btn.line { background: var(--ink); color: var(--bg); }
.price-note { margin-top: 20px; font-size: 16px; max-width: 70ch; }
.price-note b { font-weight: 600; }

.pcards { display: none; gap: 20px; }
.pcards .h2 { margin-bottom: 24px; }
.pcard { background: var(--cream); border-radius: var(--r); padding: 26px 24px; }
.pcard.rec { background: var(--accent); color: #fff; }
.pcard .pn { display: block; font-family: var(--serif); font-size: 9vw; line-height: 1; }
.pcard .pp { display: block; font-size: 9vw; line-height: 1.1; margin-top: 6px; letter-spacing: -0.02em; }
.pcard .per { display: block; font-size: 16px; color: var(--muted); }
.pcard.rec .per { color: #fbe4ec; }
.pcard dl { margin: 22px 0 0; font-size: 17px; }
.pcard dt { color: var(--muted); }
.pcard.rec dt { color: #fbe4ec; }
.pcard dd { margin: 2px 0 12px; }
.pcard .btn { width: 100%; margin-top: 20px; }

/* ================================================================ faq */
.faq { display: grid; grid-template-columns: 4fr 8fr; gap: var(--m); align-items: start; }
.faq-h { position: sticky; top: 96px; }
.faq-h p { margin-top: 20px; max-width: 30ch; }
.faq-h img { width: 160px; margin-top: 36px; }
.tiles { display: grid; gap: var(--gap); }
.tiles details { background: var(--surface); border-radius: var(--r); transition: background-color .2s; }
.tiles details:nth-child(even) { background: var(--cream); }
.tiles summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; padding: 18px 26px; font-size: 20px; font-weight: 500; cursor: pointer; }
.tiles summary::-webkit-details-marker { display: none; }
.tiles summary .pm { position: relative; width: 16px; height: 16px; flex: none; }
.tiles summary .pm::before, .tiles summary .pm::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease); }
.tiles summary .pm::after { transform: rotate(90deg); }
.tiles details[open] { background: var(--accent); color: #fff; }
.tiles details[open] summary .pm::after { transform: rotate(0deg); }
.tiles summary:hover .pm { transform: scale(1.15); }
.tiles .ans { padding: 0 26px 26px; font-size: 17px; max-width: 60ch; }
.tiles .ans p + p { margin-top: .8em; }
.tiles details[open] .ans a { color: #fff; }

/* ================================================================ cta */
.cta-row { display: grid; grid-template-columns: 2fr 8fr 2fr; gap: var(--gap); margin-left: calc(-1 * var(--m)); margin-right: calc(-1 * var(--m)); }
.cta-row > div { height: 380px; border-radius: var(--r); overflow: hidden; }
.cta-row .fl { background: var(--surface); border-radius: 0 var(--r) var(--r) 0; display: grid; place-items: center; }
.cta-row .fl img { width: 86%; }
.cta-row .fr2 { background: var(--cream); border-radius: var(--r) 0 0 var(--r); display: grid; place-items: center; }
.cta-row .fr2 img { width: 70%; }
.cta-main { background: var(--accent); color: #fff; padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.cta-main h2 { color: #fff; }
.cta-main p { margin-top: 14px; max-width: 46ch; font-size: 18px; }
.cta-main .acts { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.cta-main .btn { background: var(--raised); color: var(--accent-ink); }
.cta-main .btn:hover { background: #fff; }
.cta-main .btn.ghost { background: rgba(255,253,249,.16); color: #fff; }
.cta-main .btn.ghost:hover { background: rgba(255,253,249,.26); }

/* ================================================================ footer */
.foot { margin-top: 30svh; padding: 0 var(--m) 30px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 16px; font-size: 15px; }
.foot .what { color: var(--muted); }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--accent); }
.foot .yr { justify-self: end; color: var(--muted); }
.foot .yr a { color: var(--ink); text-decoration: none; }
.foot-name { padding: 0 var(--m); margin-top: 48px; }
.foot-name span { display: block; font-family: var(--serif); font-size: clamp(120px, 31vw, 480px); line-height: .8; letter-spacing: -0.04em; color: var(--ink); user-select: none; }

/* ================================================================ motion */
.js .rise { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .rise.in { opacity: 1; transform: none; }
.js .hero h1 .ln > span { transform: translateY(105%); transition: transform .9s cubic-bezier(.16,1,.3,1); }
.js .hero h1 .ln:nth-child(2) > span { transition-delay: .11s; }
.js .hero.go h1 .ln > span { transform: none; }
.js .hero .after { opacity: 0; transform: translateY(14px); transition: opacity .6s .5s var(--ease), transform .6s .5s var(--ease); }
.js .hero.go .after { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art { animation: none; }
  .js .rise, .js .hero .after, .js .hero h1 .ln > span { opacity: 1 !important; transform: none !important; transition: opacity .2s !important; }
  * { transition-duration: .01ms !important; }
}

/* ================================================================ narrower */
@media (max-width: 1100px) {
  .show { grid-template-columns: 1fr; }
  .stage { margin-top: 40px; }
  .cells { grid-template-columns: 1fr 1fr; }
  .letter-sec { grid-template-columns: 1fr minmax(0, 560px); }
  .letter-sec .side.r { display: none; }
}
@media (max-width: 760px) {
  .how-frag { zoom: 1; }
  :root { --t-s: 16px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-r { order: -1; min-height: 64svh; padding: 88px 20px 28px; }
  .hero-l { padding-top: 36px; gap: 28px; }
  .hero-l .mark-slot { position: absolute; top: calc(-64svh + 20px); left: var(--m); }
  .hero h1 { font-size: 12vw; }
  .cam { width: 78vw; }
  .toplink { top: 26px; }
  .show-names ul { display: flex; flex-wrap: wrap; gap: 4px 18px; }
  .show-names button { font-size: 24px; }
  .show-names .what { margin-top: 20px; min-height: 0; }
  .stage { height: 600px; }
  .sheet { left: 16px; top: 16px; width: 360px; }
  .how { grid-template-columns: 1fr; }
  .how-r { order: -1; padding: 28px 20px; min-height: 0; }
  .how-l { padding: 28px var(--m) 170px; }
  .how-ctl { bottom: 24px; }
  .stops { grid-template-columns: 1fr 1fr; gap: 0 12px; font-size: 15px; }
  .stops button, .stops button:nth-child(n+3) { color: rgba(255,255,255,.62); }
  .stops button.on, .stops button.on:nth-child(n+3) { color: #fff; }
  .cells { grid-template-columns: 1fr; gap: 6px; }
  .cell, .cell.down { height: auto; flex-direction: column; gap: 22px; }
  .cell.down .tx { padding: 24px 24px 0; }
  .cell .tx { padding: 24px 24px 0; }
  .cell .fr > *, .cell.down .fr > * { transform: none; }
  .cell .fr { padding: 0 24px; }
  .cell:nth-child(odd) .fr { padding-right: 0; }
  .cell:nth-child(even) .fr { padding-left: 0; }
  .letter-sec { grid-template-columns: 1fr; }
  .letter-sec .side { position: static; }
  .letter-sec .side img { width: 120px; }
  .letter p { font-size: 17px; }
  .price-wrap { display: none; }
  .pcards { display: grid; }
  .faq { grid-template-columns: 1fr; }
  .faq-h { position: static; }
  .faq-h img { display: none; }
  .tiles summary { font-size: 18px; min-height: 64px; padding: 16px 20px; }
  .tiles .ans { padding: 0 20px 20px; font-size: 16px; }
  .cta-row { grid-template-columns: 1fr 1fr; margin: 0; gap: 6px; }
  .cta-row > div { height: 140px; border-radius: var(--r) !important; }
  .cta-row .cta-main { grid-column: 1 / -1; order: -1; height: auto; padding: 30px 24px; }
  .cta-main .btn { width: 100%; }
  .foot { grid-template-columns: 1fr; margin-top: 20svh; gap: 8px; }
  .foot nav { justify-content: flex-start; gap: 6px 18px; }
  .foot .yr { justify-self: start; }
}

/* ================================================================ policy pages */
.doc-top { display: flex; justify-content: space-between; align-items: center; padding: var(--m); }
.doc-top a.back { font-size: 15px; }
.doc { padding: 40px var(--m) 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 680px) minmax(0, 1fr); gap: var(--m); }
.doc aside { position: sticky; top: 32px; align-self: start; }
.doc aside nav { display: grid; gap: 6px; font-size: 15px; }
.doc-art { position: sticky; top: 32px; align-self: start; justify-self: end; }
.doc-art img { width: min(100%, 220px); }
.doc aside nav a { text-decoration: none; color: var(--muted); }
.doc aside nav a:hover, .doc aside nav a[aria-current] { color: var(--ink); }
.doc article h1 { font-family: var(--serif); font-weight: 400; font-size: var(--t-l); line-height: 1.02; letter-spacing: -0.015em; }
.doc article .upd { margin-top: 14px; color: var(--muted); font-size: 15px; }
.doc article .sum { margin-top: 28px; background: var(--surface); border-radius: var(--r); padding: 26px 28px; }
.doc article .sum p + p, .doc article .sum ul { margin-top: 10px; }
.doc article h2 { font-size: var(--t-m); font-weight: 600; letter-spacing: -0.01em; margin-top: 52px; }
.doc article h3 { font-size: 18px; font-weight: 600; margin-top: 28px; }
.doc article p, .doc article li { font-size: 17px; line-height: 1.6; }
.doc article p { margin-top: 14px; }
.doc article ul { margin: 14px 0 0; padding-left: 22px; }
.doc article li + li { margin-top: 6px; }
.doc article table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 16px; }
.doc article th, .doc article td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--rule); } /* taste-skill-ignore: a real table */
.doc article th { font-weight: 600; background: var(--cream); }
.doc article .steps { counter-reset: s; list-style: none; padding: 0; }
.doc article .steps li { counter-increment: s; position: relative; padding-left: 44px; margin-top: 14px; }
.doc article .steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--field); display: grid; place-items: center; font-weight: 600; font-size: 15px; }
.doc .act { margin-top: 26px; }
@media (max-width: 1000px) { .doc { grid-template-columns: 1fr; } .doc aside { position: static; display: none; } .doc-art { display: none; } }
@media (max-width: 760px) { .doc article table, .doc article thead, .doc article tbody, .doc article tr, .doc article td, .doc article th { display: block; } .doc article thead { display: none; } .doc article td { border: 0; padding: 4px 0; } .doc article tr { padding: 12px 0; border-bottom: 1px solid var(--rule); } /* taste-skill-ignore: a real table, stacked */ .doc article td:first-child { font-weight: 600; } }
.doc ~ footer .foot { margin-top: 140px; }
.pcard .btn.line { background: var(--ink); color: var(--bg); }
.pcard .btn.light { background: var(--raised); color: var(--accent-ink); }
