/* HingeCook — hingecook.com. Mobile-first; system fonts only. */

:root {
  --bg: #fbf6f0;
  --paper: #fffdfa;
  --tint: #f5ebe1;
  --ink: #1c1714;
  --ink-2: #5a4f48;
  --ink-3: #85786f;
  --line: rgba(28, 23, 20, .11);
  --coral: #f06b54;
  --coral-d: #c4432d;
  --coral-l: #fde4dc;
  --dark: #171210;
  --dark-2: #241c19;
  --cream: #fbf1e7;
  --r: 22px;
  --r-lg: 30px;
  --shadow: 0 1px 2px rgba(28, 23, 20, .06), 0 12px 32px -12px rgba(28, 23, 20, .18);
  --shadow-lg: 0 2px 6px rgba(28, 23, 20, .08), 0 40px 80px -30px rgba(60, 25, 10, .38);
  --ease: cubic-bezier(.2, .75, .2, 1);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: ui-serif, "New York", "Iowan Old Style", "Apple Garamond", Georgia, "Times New Roman", serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --hdr: 62px;
}
:lang(zh-Hant) {
  --sans: -apple-system, BlinkMacSystemFont, "PingFang TC", "PingFang HK", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --display: var(--sans);
}
:lang(zh-Hans) {
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --display: var(--sans);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
html.i18n-wait body { opacity: 0; animation: hc-show 0s 1.4s forwards; }
@keyframes hc-show { to { opacity: 1; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--coral-l); }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 100; left: 12px; top: -60px; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--cream); text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 40px); }
.center { text-align: center; }

/* ── type ───────────────────────────────────────────────────────────────── */
.display, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.022em; line-height: 1.02; text-wrap: balance; }
.display { font-size: clamp(2.5rem, min(11.5vw, 13svh), 5.4rem); letter-spacing: -.032em; line-height: .98; }
h2 { font-size: clamp(2.05rem, 7vw, 3.35rem); }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.01em; font-weight: 650; }
:is(.display, h2) em { font-style: italic; color: var(--coral-d); font-weight: 500; }
:lang(zh) :is(.display, h2) { letter-spacing: -.01em; line-height: 1.16; font-weight: 700; }
:lang(zh) .display { line-height: 1.1; }
:lang(zh) :is(.display, h2) em { font-style: normal; font-weight: 700; }
.lede { font-size: clamp(1.1rem, 3.6vw, 1.3rem); line-height: 1.5; color: var(--ink-2); max-width: 36em; text-wrap: pretty; }
.eyebrow { font: 700 .76rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--coral-d); margin-bottom: 14px; }
:lang(zh) .eyebrow { letter-spacing: .08em; font-size: .84rem; text-transform: none; }
.fine { font-size: .92rem; color: var(--ink-3); line-height: 1.5; }
.split-copy .fine { margin-top: 16px; }

/* ── buttons ────────────────────────────────────────────────────────────── */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h); padding: 0 22px; border-radius: 999px; border: 0;
  font: 650 1rem/1 var(--sans); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform .25s var(--ease), background-color .2s, box-shadow .25s var(--ease), color .2s;
}
.btn .ic { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-lg { --h: 56px; padding: 0 28px; font-size: 1.06rem; }
.btn-sm { --h: 40px; padding: 0 16px; font-size: .94rem; }
.btn-block { width: 100%; }
.btn-coral { background: var(--coral); color: var(--ink); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 10px 24px -10px rgba(240, 107, 84, .9); }
.btn-coral:hover { background: #f37d68; transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 16px 30px -12px rgba(240, 107, 84, .95); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 520px) { .hero .cta-row .btn { flex: 1 1 auto; } }

/* ── header ─────────────────────────────────────────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 50; height: var(--hdr);
  background: rgba(251, 246, 240, .82); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s;
}
.hdr.scrolled { border-bottom-color: var(--line); }
.hdr-in { height: 100%; display: flex; align-items: center; gap: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 1.14rem/1 var(--sans); letter-spacing: -.02em; margin-right: auto; }
.brand img { border-radius: 8px; box-shadow: 0 4px 12px -4px rgba(240, 107, 84, .7); }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(28, 23, 20, .06); }
.lang a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 32px; padding: 0 9px; border-radius: 999px; text-decoration: none;
  font: 650 .82rem/1 var(--sans); color: var(--ink-2); transition: background-color .2s, color .2s;
}
.lang a[lang="zh-Hant"] { font-family: "PingFang TC", "Noto Sans TC", var(--sans); }
.lang a[lang="zh-Hans"] { font-family: "PingFang SC", "Noto Sans SC", var(--sans); }
.lang a[aria-current="page"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(28, 23, 20, .14); }
.menu-btn { position: relative; width: 44px; height: 44px; border: 0; border-radius: 999px; background: none; cursor: pointer; margin-right: -8px; }
.menu-btn i { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease); }
.menu-btn i:first-of-type { top: 18px; }
.menu-btn i:last-of-type { top: 25px; }
.menu-open .menu-btn i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-btn i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }

.nav {
  position: fixed; inset: var(--hdr) 0 auto 0; z-index: 49;
  display: flex; flex-direction: column; gap: 2px; padding: 12px 20px 26px;
  background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(28, 23, 20, .35);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
}
.menu-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
.nav a:not(.btn) { padding: 14px 4px; font: 600 1.35rem/1.2 var(--display); text-decoration: none; border-bottom: 1px solid var(--line); }
:lang(zh) .nav a:not(.btn) { font-family: var(--sans); }
.nav a[aria-current="page"] { color: var(--coral-d); }
.nav .nav-get { margin-top: 18px; --h: 52px; font-size: 1.02rem; }

@media (min-width: 900px) {
  .menu-btn { display: none; }
  .nav {
    position: static; flex-direction: row; align-items: center; gap: 4px; padding: 0; margin-right: 10px;
    background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .nav a:not(.btn) { padding: 8px 12px; border: 0; border-radius: 999px; font: 550 .95rem/1 var(--sans); color: var(--ink-2); transition: color .2s, background-color .2s; }
  .nav a:not(.btn):hover { color: var(--ink); background: rgba(28, 23, 20, .05); }
  .nav a[aria-current="page"] { color: var(--ink); background: rgba(28, 23, 20, .06); }
  .nav .nav-get { margin: 0 0 0 8px; --h: 40px; font-size: .92rem; }
}

/* ── sections ───────────────────────────────────────────────────────────── */
.sec { padding: 84px 0; }
.sec-tight { padding: 28px 0 84px; }
.page-hero + .sec { padding-top: 48px; }
.sec-tint { background: var(--tint); }
.sec-dark { background: var(--dark); color: var(--cream); }
.sec-dark .lede { color: rgba(251, 241, 231, .72); }
.sec-dark .eyebrow { color: var(--coral); }
.sec-dark :is(.display, h2) em { color: var(--coral); }
.sec-head { margin-bottom: 40px; }
.sec-head .lede { margin-top: 18px; }
.split { display: grid; gap: 40px; align-items: center; }
.split-copy h2 { margin-bottom: 18px; }
@media (min-width: 960px) {
  .sec { padding: 120px 0; }
  .sec-tight { padding: 32px 0 120px; }
  .split { grid-template-columns: 5fr 7fr; gap: 72px; }
  .split-rev { grid-template-columns: 7fr 5fr; }
  .split-rev > :first-child { order: 2; }
}

.ticks { display: grid; gap: 12px; margin-top: 24px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.4; }
.ticks .ic { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--coral-l); color: var(--coral-d); stroke-width: 2.6; margin-top: 1px; }
.ic { width: 22px; height: 22px; }

.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--coral-l); color: var(--coral-d); font: 700 .72rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
/* ── hero ───────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 30px 0 64px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1; width: 900px; height: 900px; right: -380px; top: 120px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240, 107, 84, .22), rgba(240, 107, 84, 0));
}
.hero-in { display: grid; gap: 22px; }
.hero-copy .display { margin-bottom: 20px; }
.hero-copy .lede { margin-bottom: 28px; }
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--ink-3); }
.hero-demo { margin-top: 8px; }
.hero-demo .fold { max-width: max(300px, calc((100svh - var(--hdr) - 250px) / .78)); margin-inline: auto; }
@media (min-width: 1000px) {
  .hero { padding: 64px 0 96px; }
  .hero::before { right: -200px; top: -60px; }
  .hero-demo { margin: 0 -24px 0 0; }
}
/* iPhone Duo inner display in landscape (951 × 585) is wide but short. */
@media (min-width: 1000px), (min-width: 700px) and (min-aspect-ratio: 4/3) {
  .hero-in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 40px; }
}
@media (max-height: 640px) and (min-aspect-ratio: 4/3) {
  .hero { padding: 20px 0 48px; }
  .hero-copy .display { margin-bottom: 14px; }
  .hero-copy .lede { margin-bottom: 20px; }
  .sec { padding: 64px 0; }
  .page-hero { padding: 32px 0 28px; }
  .fold-hint { display: none; }
  .fold-ctrl { padding: 12px 14px; }
  .fold-legend { margin-top: 10px; }
  .fold-legend li { padding: 8px 10px; }
}

/* ── fold demo ──────────────────────────────────────────────────────────── */
.fold { position: relative; }
.fold-scene {
  container-type: inline-size; position: relative; aspect-ratio: 1 / .78;
  perspective: 1500px; perspective-origin: 50% 20%;
  -webkit-user-select: none; user-select: none; touch-action: pan-y;
}
.fold-scene::after {
  content: ""; position: absolute; left: 4%; right: 4%; bottom: 2%; height: 16%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(70, 30, 15, .28), rgba(70, 30, 15, 0)); filter: blur(4px);
}
.fold-stage {
  --a: 112;
  position: absolute; left: 3%; right: 3%; bottom: 6%; aspect-ratio: 2.1;
  transform-style: preserve-3d; transform-origin: 50% 100%; transform: rotateX(54deg);
}
.panel {
  position: absolute; inset: 0; padding: 1cqw; border-radius: 3cqw;
  background: linear-gradient(160deg, #2b2320, #110d0b); box-shadow: inset 0 0 0 .25cqw rgba(255, 255, 255, .08);
}
.panel-b { box-shadow: inset 0 0 0 .25cqw rgba(255, 255, 255, .08), 0 3cqw 5cqw -1cqw rgba(60, 25, 10, .45); }
.panel-t {
  bottom: 100%; top: auto; height: 100%; transform-origin: 50% 100%;
  transform: rotateX(calc((180deg - var(--a) * 1deg) * -1));
  cursor: grab; touch-action: none; will-change: transform;
}
.fold.dragging .panel-t { cursor: grabbing; }
.scr { position: relative; height: 100%; border-radius: 2.1cqw; overflow: hidden; }
.scr::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(150deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 38%); }
.scr-t { background: #fff; padding: 3cqw 3.6cqw; color: #1d1d1f; font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "PingFang SC", sans-serif; }
.scr-meta { font-size: 2.5cqw; font-weight: 600; color: #8e8e93; display: flex; gap: .8cqw; white-space: nowrap; overflow: hidden; }
.scr-img { position: relative; height: 13cqw; margin: 1.8cqw 0 2cqw; border-radius: 1.6cqw; overflow: hidden; background: #f2e6df; }
.scr-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s var(--ease); }
.scr-img img.on { opacity: 1; }
.scr-text { font-size: 3.3cqw; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; max-width: 84cqw; }
.scr-heat { display: inline-block; margin-top: 1.6cqw; padding: .6cqw 2cqw; border-radius: 3cqw; background: #fde0db; font-size: 2.3cqw; font-weight: 650; }
.scr-heat[hidden] { display: none; }
.scr-b { background: #fdf1ee; padding: 2.4cqw 3.6cqw 2.6cqw; display: grid; grid-template-rows: 1fr auto auto; justify-items: center; gap: 1.5cqw; font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "PingFang SC", sans-serif; }
.tmr { position: relative; width: 17cqw; aspect-ratio: 1; }
.tmr svg { width: 100%; height: 100%; }
.tmr circle { fill: none; stroke: #ece4e1; stroke-width: 4; transition: stroke .3s; }
.tmr.has circle { stroke: #c4433b; }
.tmr-in { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.tmr-in b { font-size: 4.8cqw; line-height: 1; font-weight: 700; letter-spacing: -.02em; color: #1d1d1f; font-variant-numeric: tabular-nums; }
.tmr:not(.has) .tmr-in b { color: #8e8e93; font-size: 3.6cqw; }
.tmr-in small { font-size: 1.6cqw; color: #9a918d; margin-top: .6cqw; max-width: 14cqw; line-height: 1.2; }
.sbtns { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6cqw; width: 100%; }
.sbtn {
  display: flex; align-items: center; justify-content: center; gap: .8cqw; height: 5.4cqw; border: 0; border-radius: 3cqw;
  background: #c4433b; color: #fff; font-size: 2.5cqw; font-weight: 550; cursor: pointer; transition: background-color .25s, transform .15s;
}
.sbtn:disabled { background: #e8e2df; color: #b1a8a4; cursor: default; }
.sbtn:not(:disabled):active { transform: scale(.97); }
.sic { width: 2.8cqw; height: 2.8cqw; stroke-width: 2.4; }
.schips { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6cqw; width: 100%; font-size: 2.2cqw; }
.schips span { display: flex; align-items: center; justify-content: center; gap: .6cqw; height: 4.4cqw; border-radius: 3cqw; background: #ebe4e1; color: #c4433b; }
.schips .schip-v { background: #ddd3cf; color: #1d1d1f; }
.hinge-glow { position: absolute; left: 3%; right: 3%; bottom: -.7cqw; height: 1.4cqw; border-radius: 1cqw; background: linear-gradient(#3c322d, #0e0b0a); transition: box-shadow .4s, background .4s; }
.fold.fired .hinge-glow { background: linear-gradient(#ff9c88, var(--coral)); box-shadow: 0 0 2cqw .6cqw rgba(240, 107, 84, .75); transition: none; }
.fold-toast {
  position: absolute; left: 50%; top: 2%; transform: translate(-50%, -6px); opacity: 0; pointer-events: none;
  padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--cream); font: 650 .86rem/1 var(--sans); white-space: nowrap;
  transition: opacity .3s, transform .35s var(--ease);
}
.fold-toast.show { opacity: 1; transform: translate(-50%, 0); }
.fold-toast::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); margin-right: 8px; vertical-align: 1px; }

.fold-ctrl { margin-top: 4px; padding: 16px; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); }
.fold-range { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.fold-slider p { display: flex; justify-content: space-between; font-size: .86rem; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.fold-slider output { font: 650 .9rem/1 var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.fbtn {
  width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--tint); color: var(--ink); transition: background-color .2s, transform .15s, opacity .2s;
}
.fbtn .ic { width: 22px; height: 22px; stroke-width: 2.2; }
.fbtn-next { background: var(--coral); }
.fbtn:disabled { opacity: .38; cursor: default; }
.fbtn:not(:disabled):active { transform: scale(.94); }
input[type="range"] {
  --p: 38%;
  -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: none; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--coral) var(--p), rgba(28, 23, 20, .12) var(--p)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--coral) var(--p), rgba(28, 23, 20, .12) var(--p)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 1px rgba(28, 23, 20, .1), 0 3px 10px rgba(28, 23, 20, .25); }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 1px rgba(28, 23, 20, .1), 0 3px 10px rgba(28, 23, 20, .25); }
.fold-hint { margin: 12px 0 0; font-size: .88rem; color: var(--ink-3); text-align: center; }
.fold-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.fold-legend li { padding: 10px 12px; border-radius: 14px; background: var(--bg); font-size: .84rem; color: var(--ink-2); line-height: 1.3; }
.fold-legend b { display: block; font: 700 .95rem/1.2 var(--sans); color: var(--ink); margin-bottom: 2px; }
.fold-legend li:first-child b { color: var(--coral-d); }
.fold-note { margin-top: 12px; font-size: .8rem; color: var(--ink-3); text-align: center; }

/* ── home: band ─────────────────────────────────────────────────────────── */
.band { background: var(--coral); color: var(--ink); padding: 72px 0; overflow: hidden; }
.band-in { display: grid; gap: 22px; }
.band-title { font-size: clamp(2.3rem, 9vw, 4.6rem); }
.band .band-title em { color: var(--paper); }
.band p { font-size: clamp(1.08rem, 3.4vw, 1.28rem); max-width: 34em; color: rgba(28, 23, 20, .82); }
@media (min-width: 960px) { .band { padding: 104px 0; } .band-in { grid-template-columns: 7fr 5fr; align-items: end; gap: 64px; } }

/* ── home: ways ─────────────────────────────────────────────────────────── */
.ways, .tools, .fixes, .notes { display: grid; gap: 14px; }
.way, .tool, .fix, .note { padding: 26px; border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); }
.way h3, .tool h3, .fix h3, .note h3 { margin: 18px 0 8px; }
.note h3 { margin-top: 0; }
.way p, .tool p, .fix p, .note p { color: var(--ink-2); }
.way-ic { width: 48px; height: 48px; padding: 11px; border-radius: 16px; background: var(--coral-l); color: var(--coral-d); stroke-width: 1.9; }
@media (min-width: 760px) {
  .ways { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .tools, .fixes, .notes { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .way { padding: 32px; }
}
@media (min-width: 1100px) { .tools { grid-template-columns: repeat(4, 1fr); } }

/* ── screenshots ────────────────────────────────────────────────────────── */
.shot figcaption { margin-top: 14px; font-size: .84rem; color: var(--ink-3); text-align: center; }
.shot-frame { padding: 9px; border-radius: 26px; background: linear-gradient(160deg, #2c2421, #110d0b); box-shadow: var(--shadow-lg); }
.shot-frame img { border-radius: 18px; width: 100%; }
@media (min-width: 960px) { .shot-frame { padding: 12px; border-radius: 34px; } .shot-frame img { border-radius: 24px; } }

/* ── voice + siri session ───────────────────────────────────────────────── */
.session { position: relative; display: grid; gap: 14px; }
.session-core {
  display: grid; justify-items: center; gap: 6px; padding: 28px 20px; border-radius: var(--r-lg); text-align: center;
  background: radial-gradient(120% 140% at 50% 0%, rgba(240, 107, 84, .35), rgba(240, 107, 84, 0) 60%), var(--dark-2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.session-core .ic { width: 40px; height: 40px; color: var(--coral); }
.session-core b { font: 600 1.4rem/1.2 var(--display); }
:lang(zh) .session-core b { font-family: var(--sans); font-weight: 700; }
.session-core small { color: rgba(251, 241, 231, .6); font: 500 .86rem/1.3 var(--mono); }
.intents { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.intents li { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); font-size: .95rem; line-height: 1.25; }
.intents .ic { flex: none; width: 20px; height: 20px; color: var(--coral); }
.sec:not(.sec-dark) .intents li { background: var(--paper); box-shadow: var(--shadow); }

/* ── packs ──────────────────────────────────────────────────────────────── */
.packs { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 20px; margin: 0 -20px; scrollbar-width: none; }
.packs::-webkit-scrollbar { display: none; }
.pack { scroll-snap-align: center; border-radius: var(--r); overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.pack-img { aspect-ratio: 4 / 3.2; overflow: hidden; background: var(--tint); }
.pack-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pack:hover .pack-img img { transform: scale(1.04); }
.pack-body { padding: 18px 20px 22px; }
.pack-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .86rem; color: var(--ink-3); font-weight: 600; }
.pack-body h3 { margin: 14px 0 4px; font: 600 1.45rem/1.15 var(--display); }
:lang(zh) .pack-body h3 { font-family: var(--sans); font-weight: 700; }
.pack-dish { color: var(--ink-2); font-size: .95rem; }
.packs-langs { margin-top: 28px; text-align: center; color: var(--ink-2); font-weight: 550; text-wrap: balance; }
@media (min-width: 900px) { .packs { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; padding: 0; margin: 0; gap: 18px; } }

/* ── plans (home) ───────────────────────────────────────────────────────── */
.plans { display: grid; gap: 14px; margin-bottom: 32px; }
.plan { padding: 30px 26px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow); }
.plan h3 { font: 600 1.6rem/1 var(--display); }
:lang(zh) .plan h3 { font-family: var(--sans); font-weight: 700; }
.plan-price { margin-top: 16px; font: 650 2.4rem/1 var(--sans); letter-spacing: -.03em; }
.plan-price small { font-size: .95rem; font-weight: 550; color: var(--ink-3); letter-spacing: 0; }
.plan-alt { margin-top: 8px; color: var(--ink-3); font-size: .92rem; }
.plan-fine { margin-top: 20px; font-size: .86rem; color: rgba(251, 241, 231, .62); }
.plan-plus { background: var(--dark); color: var(--cream); box-shadow: var(--shadow-lg); }
.plan-plus .plan-price small, .plan-plus .plan-alt { color: rgba(251, 241, 231, .6); }
.plan-plus .ticks .ic { background: rgba(240, 107, 84, .22); color: #ff9d89; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; gap: 18px; } .plan { padding: 40px; } }

/* ── final CTA ──────────────────────────────────────────────────────────── */
.final { padding: 96px 0 104px; text-align: center; background: radial-gradient(60% 70% at 50% 100%, rgba(240, 107, 84, .2), rgba(240, 107, 84, 0)); }
.final-in { display: grid; justify-items: center; gap: 20px; }
.final-mark { border-radius: 18px; box-shadow: 0 18px 40px -14px rgba(240, 107, 84, .9); }
.final .cta-row { justify-content: center; margin-top: 6px; }
.final .hero-note { margin-top: 0; }

/* ── page heroes ────────────────────────────────────────────────────────── */
.page-hero { padding: 48px 0 40px; }
.page-hero .display { font-size: clamp(2.4rem, min(10vw, 12svh), 4.6rem); margin-bottom: 18px; }
.page-hero-center { text-align: center; }
.page-hero-center .lede { margin-inline: auto; }
@media (min-width: 960px) { .page-hero { padding: 88px 0 56px; } }
.chips-nav { display: flex; gap: 8px; margin: 30px -20px 0; padding: 0 20px 4px; overflow-x: auto; scrollbar-width: none; }
.chips-nav::-webkit-scrollbar { display: none; }
.chips-nav a { flex: none; padding: 10px 16px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-size: .9rem; font-weight: 600; color: var(--ink-2); transition: color .2s, box-shadow .2s; }
.chips-nav a:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
@media (min-width: 960px) { .chips-nav { flex-wrap: wrap; margin-inline: 0; padding: 0; } }

/* ── features ───────────────────────────────────────────────────────────── */
.card-visual { padding: 28px 20px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow); }
.diagram { width: 100%; max-width: 440px; margin: 0 auto; overflow: visible; }
.dg-next { fill: rgba(240, 107, 84, .85); }
.dg-back { fill: rgba(28, 23, 20, .13); }
.dg-panel { stroke: var(--ink); stroke-width: 11; stroke-linecap: round; }
.dg-hinge { fill: var(--coral); stroke: var(--paper); stroke-width: 3; }
.dg-t { font: 700 15px var(--sans); fill: var(--ink); }
.dg-tn { fill: var(--coral-d); }
.dg-s { font: 600 13px var(--sans); fill: var(--ink-3); }
.table-card { border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); overflow: hidden; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 15px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.35; }
tr:last-child > * { border-bottom: 0; }
thead th { font: 700 .74rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); background: var(--bg); }
.phrases td:first-child { font-weight: 650; white-space: nowrap; }
.phrases td:last-child { color: var(--ink-2); }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-weight: 650; font-size: .95rem; }
.pill .ic { width: 18px; height: 18px; }
.pill-coral { background: var(--coral); box-shadow: none; }
.shelves { display: grid; gap: 14px; }
.shelf { padding: 26px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow); }
.shelf h3 { font: 700 .76rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.shelf ul { display: grid; }
.shelf li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 1.05rem; }
.shelf li b { font: 600 1.6rem/1 var(--display); letter-spacing: -.02em; }
.shelf-plus { background: var(--dark); color: var(--cream); }
.shelf-plus h3 { color: var(--coral); }
.shelf-plus li { border-color: rgba(255, 255, 255, .1); }
.shelf-future { margin-top: 16px; color: rgba(251, 241, 231, .7); font-size: .92rem; }
@media (min-width: 760px) { .shelves { grid-template-columns: 1fr 1fr; gap: 18px; } .shelf { padding: 34px; } }
.tool h3 { margin-top: 16px; }

/* ── pricing ────────────────────────────────────────────────────────────── */
.seg { display: inline-flex; margin-top: 30px; padding: 4px; border-radius: 999px; background: rgba(28, 23, 20, .07); }
.seg button { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: none; cursor: pointer; font-weight: 650; color: var(--ink-2); transition: background-color .2s, color .2s, box-shadow .2s; }
.seg button[aria-checked="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 4px rgba(28, 23, 20, .16); }
.seg-tag { padding: 4px 8px; border-radius: 999px; background: var(--coral); color: var(--ink); font-size: .7rem; font-weight: 700; letter-spacing: .02em; }
.tiers { display: grid; gap: 16px; max-width: 980px; margin: 0 auto 28px; }
.tier { display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow); }
.tier header { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.tier h2 { display: inline-block; font-size: 1.8rem; margin-right: 10px; vertical-align: middle; }
.tier-price { margin-top: 18px; font: 650 3rem/1 var(--sans); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.tier-price small { font-size: 1rem; font-weight: 550; letter-spacing: 0; color: var(--ink-3); margin-left: 6px; }
.tier-sub { margin-top: 8px; color: var(--ink-3); font-size: .94rem; }
.tier-trial { margin-top: 14px; display: inline-block; padding: 8px 12px; border-radius: 12px; background: rgba(240, 107, 84, .16); color: #ffb9ab; font-size: .9rem; font-weight: 600; }
.tier .ticks { margin: 22px 0 28px; flex: 1; align-content: start; }
.tier-fine { margin-top: 12px; text-align: center; font-size: .84rem; color: rgba(251, 241, 231, .55); }
.tier-plus { background: var(--dark); color: var(--cream); box-shadow: var(--shadow-lg); }
.tier-plus header { border-color: rgba(255, 255, 255, .1); }
.tier-plus .tier-price small, .tier-plus .tier-sub { color: rgba(251, 241, 231, .6); }
.tier-plus .ticks .ic { background: rgba(240, 107, 84, .22); color: #ff9d89; }
[data-show][hidden] { display: none !important; }
@media (min-width: 760px) { .tiers { grid-template-columns: 1fr 1fr; gap: 20px; } .tier { padding: 40px; } }
.cmp th[scope="row"] { font-weight: 600; }
.cmp td { color: var(--ink-2); }
.cmp .cmp-plus { color: var(--coral-d); }
.cmp td:last-child { background: rgba(240, 107, 84, .05); color: var(--ink); font-weight: 550; }
.yes .ic { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--coral-l); color: var(--coral-d); stroke-width: 2.6; }
.no .ic { width: 22px; height: 22px; color: var(--ink-3); }
@media (max-width: 520px) { .cmp th, .cmp td { padding: 13px 10px; font-size: .9rem; } }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.qa-group { margin-bottom: 44px; }
.qa-group > h2 { font: 700 .78rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--coral-d); margin-bottom: 8px; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none;
  font: 600 1.14rem/1.35 var(--sans); letter-spacing: -.01em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); transition: background-color .2s, transform .35s var(--ease); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 9px; right: 9px; top: 14px; height: 2px; border-radius: 2px; background: var(--ink); }
.qa summary i::after { transform: rotate(90deg); transition: transform .35s var(--ease); }
.qa[open] summary i { background: var(--coral); transform: rotate(180deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa p { padding: 0 44px 22px 0; color: var(--ink-2); font-size: 1.02rem; animation: qa-in .35s var(--ease); }
@keyframes qa-in { from { opacity: 0; transform: translateY(-4px); } }
.cta-card, .mail-card {
  display: grid; gap: 20px; padding: 30px 26px; border-radius: var(--r-lg); background: var(--dark); color: var(--cream); box-shadow: var(--shadow-lg);
}
.cta-card h2, .mail-card h2 { font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 8px; }
.cta-card p, .mail-card p { color: rgba(251, 241, 231, .72); max-width: 34em; }
.cta-card .btn, .mail-card .btn { justify-self: start; white-space: normal; }
@media (min-width: 760px) {
  .cta-card, .mail-card { grid-template-columns: 1fr auto; align-items: center; padding: 40px 44px; }
}

/* ── support ────────────────────────────────────────────────────────────── */
.mail-card { margin-bottom: 72px; }
.fix-links { display: grid; gap: 8px; margin-top: 16px; }
.fix-links a { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--coral-d); text-decoration: none; }
.fix-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fix-links .ic { width: 16px; height: 16px; }
.link-row { margin: 32px 0 20px; }
.center .btn .ic { width: 18px; height: 18px; }

/* ── legal ──────────────────────────────────────────────────────────────── */
.glance { margin-bottom: 48px; padding: 26px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow); }
.glance dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.glance dl > div { padding: 16px; border-radius: 16px; background: var(--bg); }
.glance .ic { width: 22px; height: 22px; color: var(--coral-d); margin-bottom: 10px; }
.glance dt { font-size: .82rem; color: var(--ink-3); font-weight: 600; }
.glance dd { margin-top: 2px; font-weight: 700; line-height: 1.3; }
@media (min-width: 760px) { .glance { padding: 34px; } .glance dl { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.legal { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.ltoc, .lbody { min-width: 0; }
.ltoc ol { display: flex; gap: 8px; overflow-x: auto; margin: 0 -20px; padding: 0 20px 6px; scrollbar-width: none; counter-reset: toc; }
.ltoc ol::-webkit-scrollbar { display: none; }
.ltoc a { display: block; flex: none; padding: 9px 14px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-size: .88rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.ltoc a:hover, .ltoc a.on { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.lsec { position: relative; padding: 30px 0; border-top: 1px solid var(--line); }
.lsec:first-child { border-top: 0; padding-top: 6px; }
.lnum { display: block; font: 600 .8rem/1 var(--mono); color: var(--coral-d); margin-bottom: 10px; }
.lsec h2 { font-size: clamp(1.45rem, 4.6vw, 1.8rem); margin-bottom: 12px; }
.lsec p { color: var(--ink-2); font-size: 1.04rem; max-width: 66ch; overflow-wrap: anywhere; }
.lend { display: grid; gap: 18px; justify-items: start; padding-top: 30px; border-top: 1px solid var(--line); }
@media (min-width: 960px) {
  .legal { grid-template-columns: 250px minmax(0, 1fr); gap: 64px; align-items: start; }
  .ltoc { position: sticky; top: calc(var(--hdr) + 28px); }
  .ltoc ol { display: grid; gap: 2px; margin: 0; padding: 0; overflow: visible; }
  .ltoc li { counter-increment: toc; }
  .ltoc a { padding: 8px 12px; border-radius: 10px; background: none; box-shadow: none; white-space: normal; }
  .ltoc a::before { content: counter(toc, decimal-leading-zero); font: 600 .74rem/1 var(--mono); color: var(--ink-3); margin-right: 10px; }
  .ltoc a:hover, .ltoc a.on { background: var(--paper); box-shadow: var(--shadow); }
  .lsec { padding: 36px 0; }
}

/* ── footer ─────────────────────────────────────────────────────────────── */
.ftr { background: var(--dark); color: var(--cream); padding: 64px 0 calc(32px + env(safe-area-inset-bottom)); }
.ftr-top { display: grid; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.ftr-brand .brand { margin-bottom: 20px; }
.ftr-tag { font: italic 500 1.7rem/1.15 var(--display); letter-spacing: -.02em; color: var(--coral); margin-bottom: 12px; }
:lang(zh) .ftr-tag { font-style: normal; font-weight: 700; font-family: var(--sans); }
.ftr-about { color: rgba(251, 241, 231, .62); max-width: 30em; font-size: .95rem; }
.ftr-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ftr-nav h2 { font: 700 .74rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(251, 241, 231, .45); margin-bottom: 14px; }
.ftr-nav ul { display: grid; gap: 4px; }
.ftr-nav a { display: inline-block; padding: 6px 0; text-decoration: none; color: rgba(251, 241, 231, .86); }
.ftr-nav a:hover { color: var(--coral); }
.ftr-bot { display: grid; gap: 6px; padding-top: 24px; font-size: .84rem; color: rgba(251, 241, 231, .5); }
.ftr-bot a { color: rgba(251, 241, 231, .78); text-decoration: none; }
.ftr-bot a:hover { color: var(--coral); }
@media (min-width: 900px) {
  .ftr { padding-top: 88px; }
  .ftr-top { grid-template-columns: 1fr 1fr; }
  .ftr-bot { grid-template-columns: 1fr auto; }
}

/* ── dialog ─────────────────────────────────────────────────────────────── */
.dlg {
  width: min(420px, 100% - 32px); padding: 36px 28px 28px; border: 0; border-radius: var(--r-lg);
  background: var(--paper); color: var(--ink); text-align: center; box-shadow: 0 40px 100px -20px rgba(28, 23, 20, .5);
}
.dlg[open] { animation: dlg-in .35s var(--ease); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.dlg::backdrop { background: rgba(23, 18, 16, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.dlg > img { margin: 0 auto 18px; border-radius: 16px; box-shadow: 0 14px 30px -12px rgba(240, 107, 84, .9); }
.dlg h2 { font-size: 1.75rem; margin-bottom: 10px; }
.dlg p { color: var(--ink-2); margin-bottom: 22px; }
.dlg .btn { width: 100%; }
.dlg .dlg-mail { margin: 12px 0 0; font-size: .86rem; color: var(--ink-3); }
.dlg-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--tint); font-size: 1.4rem; line-height: 1; cursor: pointer; }

/* ── 404 ────────────────────────────────────────────────────────────────── */
.nf { padding: 96px 0 120px; }
.nf .final-mark { margin: 0 auto 26px; }
.nf .cta-row { justify-content: center; margin-top: 28px; }

/* ── motion ─────────────────────────────────────────────────────────────── */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

@media print {
  .hdr, .ftr, .dlg, .ltoc, .skip { display: none !important; }
  body { background: #fff; }
}
