/* Editorial rhythm keeps portraits clear and long texts comfortable to read. */
:root {
  color-scheme: light;
  --bg: #f8f6f3;
  --card: #ffffff;
  --card-2: #efebe8;
  --ink: #282328;
  --muted: #70676d;
  --line: #ded8d8;
  --line-strong: #bdb0b7;
  --accent: #632c43;
  --accent-ink: #ffffff;
  --selected: #f2e8ec;
  --type: var(--accent);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #211b20;
  --card: #2b242a;
  --card-2: #362d34;
  --ink: #f5eff1;
  --muted: #c3b6be;
  --line: #493b44;
  --line-strong: #796572;
  --accent: #e5b5c8;
  --accent-ink: #301d27;
  --selected: #47323e;
}

* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  overflow-x: hidden;
  overflow-x: clip;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  overflow-x: hidden;
  overflow-x: clip;
}
body.sheet-open { overflow: hidden; }
a { color: inherit; text-underline-offset: 4px; }
button, textarea { font: inherit; }
button { color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:disabled { opacity: .55; cursor: wait; }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(44px, 6vw, 68px); }
button, a, textarea { touch-action: manipulation; }
a:focus-visible, button:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
::selection { background: var(--accent); color: var(--accent-ink); }
.hidden, [hidden] { display: none !important; }
.small { font-size: 13px; line-height: 1.65; color: var(--muted); }
.kicker { margin: 0 0 18px; color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .015em; }
.skip-link { position: fixed; z-index: 60; top: 12px; left: 20px; padding: 10px 18px; background: var(--accent); color: var(--accent-ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
  padding: 14px max(24px, calc((100vw - 1152px) / 2));
  padding-top: max(14px, env(safe-area-inset-top));
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-ava { width: 42px; height: 42px; object-fit: cover; object-position: 50% 22%; border-radius: 50%; flex-shrink: 0; }
.brand span { display: flex; flex-direction: column; gap: 2px; }
.brand b { font-size: 16px; font-weight: 600; line-height: 1.3; letter-spacing: -.03em; }
.brand em { font-size: 11px; line-height: 1.4; font-style: normal; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 26px; }
.header-link { display: flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: none; }
.header-link:hover { color: var(--accent); text-decoration: underline; }
.theme-btn { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 20px; line-height: 1; }
.theme-btn:hover { border-color: var(--accent); }
.bar { position: absolute; inset: auto 0 -1px; height: 3px; opacity: 0; background: var(--line); }
.top.with-bar .bar { opacity: 1; }
.bar i { display: block; width: 0; height: 100%; background: var(--accent); transition: width .25s ease; }

.screen { width: 100%; max-width: 760px; flex: 1; margin: 0 auto; padding: 42px 24px 96px; }
.screen:focus { outline: none; }
.screen.wide, .screen.intro-screen { max-width: 1200px; }
.screen.result-screen { max-width: 1000px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 56px; padding: 15px 22px; border: 1px solid var(--accent); border-radius: 4px; background: var(--accent); color: var(--accent-ink); font-size: 14px; line-height: 1.5; font-weight: 600; text-decoration: none; text-align: center; transition: background-color .18s, border-color .18s, color .18s; }
.btn:hover { background: color-mix(in srgb, var(--accent) 86%, var(--ink)); }
.btn:active { transform: translateY(1px); }
.btn.ghost { color: var(--ink); background: transparent; border-color: var(--line-strong); }
.btn.ghost:hover { background: var(--card-2); border-color: var(--accent); }
.btn.bundle-btn { margin-top: 12px; background: transparent; border-color: var(--accent); color: var(--accent); }
.link { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; border: 0; background: transparent; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 4px; }

.hub-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center; margin: 20px 0 72px; }
.hub-hero-text { min-width: 0; padding: 20px 0; }
.hub-pill { display: block; margin-bottom: 30px; color: var(--accent); font-size: 12px; font-weight: 600; }
.hub-hero h1 { max-width: 620px; margin-bottom: 28px; font-size: clamp(64px, 7.1vw, 88px); line-height: .96; letter-spacing: -.045em; }
.hub-hero .lead { max-width: 510px; margin: 0 0 30px; font-size: 15px; line-height: 1.85; color: var(--muted); }
.hub-cta { width: auto; min-width: 225px; }
.hub-hero-img { height: 560px; min-width: 0; overflow: hidden; background: var(--card-2); }
.hub-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hub-quote { max-width: 780px; margin: 0 auto 88px; padding: 26px 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--serif); font-weight: 500; font-size: 31px; line-height: 1.2; text-align: center; color: var(--accent); text-wrap: balance; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 0 0 28px; scroll-margin-top: 110px; }
.section-head h2 { font-size: 48px; }
.section-head span { font-size: 13px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 0 0 36px; }
.card { display: grid; grid-template-columns: minmax(0, .42fr) minmax(0, .58fr); min-width: 0; color: var(--ink); text-decoration: none; background: var(--card); border: 1px solid var(--line); transition: border-color .18s; }
.card:hover { border-color: var(--accent); }
.card-visual { min-width: 0; min-height: 390px; overflow: hidden; background: var(--card-2); }
.card-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.card-body { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; padding: 28px 24px 22px; }
.card-badge { display: block; margin-bottom: 18px; font-size: 11px; color: var(--muted); }
.card-body h2 { margin: 0 0 16px; font-size: 34px; line-height: 1.02; }
.card p { margin: 0 0 20px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.card-types { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 24px; }
.card-types i { font-size: 12px; line-height: 1.55; font-style: normal; color: var(--muted); }
.card-types i:not(:last-child)::after { content: '·'; margin: 0 6px; }
.card-go { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--accent); font-size: 12px; font-weight: 600; line-height: 1.5; }
.card-go > span:last-child { font-size: 21px; font-weight: 400; }
.mine { margin: 0 0 36px; padding: 24px; border-left: 2px solid var(--accent); background: var(--card); }
.mine b { display: block; margin-bottom: 10px; color: var(--accent); font-size: 14px; }
.mine a { display: block; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; font-size: 14px; }
.mine span { color: var(--muted); }

.crumb { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: -8px 0 26px; color: var(--muted); text-decoration: none; font-size: 13px; }
.crumb:hover { color: var(--accent); }
.intro-card { display: grid; grid-template-columns: minmax(0, .45fr) minmax(0, .55fr); background: var(--card); }
.intro-cover { position: relative; min-width: 0; min-height: 600px; background: var(--card-2); }
.intro-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.intro-body { padding: 48px 48px 40px; min-width: 0; }
.intro-body h1 { margin-bottom: 26px; font-size: clamp(46px, 5vw, 60px); line-height: 1.01; }
.intro .lead { margin: 0 0 16px; font-size: 17px; line-height: 1.65; }
.intro .note { margin: 0 0 28px; font-size: 14px; color: var(--muted); }
.intro .btn { margin-bottom: 0; }
.intro .small { margin: 12px 0 0; font-size: 11px; }
.intro .types-label { margin: 30px 0 10px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.intro .types { display: flex; flex-wrap: wrap; gap: 6px 0; list-style: none; margin: 0; padding: 0; }
.intro .types li { font-size: 12px; color: var(--muted); }
.intro .types li:not(:last-child)::after { content: '·'; margin: 0 8px; }

.q { padding-top: 12px; }
.q-box { padding: 0 12px 24px; }
.qhead { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; margin-bottom: 38px; }
.back { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); font-size: 20px; text-decoration: none; }
.back:hover { border-color: var(--accent); }
.count { color: var(--accent); font-size: 13px; font-weight: 500; }
.q h1 { margin-bottom: 34px; font-size: clamp(34px, 4.3vw, 46px); line-height: 1.12; text-wrap: pretty; }
.opts { display: grid; gap: 12px; }
.opt { display: flex; align-items: center; gap: 18px; width: 100%; min-height: 76px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 4px; background: var(--card); text-align: left; font-size: 15px; line-height: 1.55; transition: border-color .18s, background .18s; }
.opt-let { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; color: var(--muted); border: 1px solid var(--line); border-radius: 50%; font-size: 12px; }
.opt:hover, .wish-btn:hover { border-color: var(--accent); }
.opt.on { border-color: var(--accent); background: var(--selected); }
.opt.on .opt-let { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.q.entering { animation: enter .2s ease; }
.q.leaving { animation: leave .16s ease forwards; }
@keyframes enter { from { opacity: 0; transform: translateY(5px); } }
@keyframes leave { to { opacity: 0; } }

.result-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding: 34px 0 42px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.result-heading { min-width: 0; }
.result-hero-top { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.result-ava { width: 56px; height: 56px; object-fit: cover; object-position: center 20%; flex-shrink: 0; border-radius: 50%; }
.result-hero-top .small { font-size: 12px; line-height: 1.5; }
.result .type { margin-bottom: 18px; font-size: clamp(42px, 5.5vw, 62px); color: var(--accent); }
.result .tagline { margin: 0; font-family: var(--serif); font-size: 26px; line-height: 1.24; }
.bars { display: grid; gap: 20px; min-width: 0; padding: 26px 0 26px 28px; border-left: 1px solid var(--line); }
.bar-row { display: grid; grid-template-columns: minmax(100px, 1.4fr) minmax(36px, 1fr) 26px; align-items: center; gap: 12px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.bar-row i { height: 4px; background: var(--line); overflow: hidden; }
.bar-row b { display: block; height: 100%; }
.bar-row em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; }
.bar-row.main { color: var(--ink); font-weight: 600; }
.rcards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.rc-card { min-width: 0; padding: 30px; background: var(--card); border-top: 2px solid var(--line-strong); }
#card3 { grid-column: 1 / -1; }
.rc-kicker { margin: 0 0 18px; color: var(--accent); font-size: 12px; line-height: 1.5; font-weight: 500; }
.rc-card h3 { margin-bottom: 20px; font-size: 34px; line-height: 1.08; }
.rc-card p, .rc-card li { margin: 0 0 12px; font-size: 15px; line-height: 1.75; }
.rc-card p:last-child, .rc-card li:last-child { margin-bottom: 0; }
.rc-card ul { margin: 0; padding-left: 18px; }
.rc-card li { padding-left: 4px; }
.rc-card li::marker { color: var(--accent); }
.rc-blur-body { transition: filter .25s, opacity .25s; }
.rc-card.locked .rc-blur-body { filter: blur(7px); opacity: .55; user-select: none; pointer-events: none; }
.rc-unlock-btn { width: auto; margin-top: 26px; position: relative; }
.second { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.second span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 12px; }
.second b { display: block; margin-bottom: 8px; font-family: var(--serif); font-size: 30px; font-weight: 500; color: var(--accent); }
.second p { font-size: 14px; }
.wish-box { margin-top: 42px; padding-top: 36px; border-top: 1px solid var(--line); }
.wish-box h3 { margin-bottom: 14px; font-size: 40px; }
.wish-box .small { margin: 0 0 24px; }
.wish-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wish-btn { min-height: 84px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 4px; background: var(--card); font-size: 14px; line-height: 1.65; text-align: left; transition: border-color .18s, background .18s; }
.wish-btn.on { background: var(--selected); border-color: var(--accent); box-shadow: inset 3px 0 var(--accent); }
.wish-pill { margin: 0 0 28px; padding: 18px 22px; background: var(--selected); border-left: 2px solid var(--accent); font-size: 14px; }
.wish-pill span { display: block; margin-bottom: 6px; color: var(--accent); font-size: 12px; }
.wish-pill b { display: block; font-weight: 500; }
.share-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }

.offer { margin-top: 60px; padding: 48px 64px; background: #432337; color: #fff8fb; }
.offer .kicker { color: #e9bfd1; }
.offer h2 { max-width: 660px; margin: 0 0 26px; font-size: 52px; line-height: 1.06; color: #fff8fb; }
.offer p { margin: 0 0 24px; color: #e6d3de; font-size: 15px; line-height: 1.8; }
.offer .wish-pill { background: #533044; border-color: #e9bfd1; }
.offer .wish-pill span { color: #e9bfd1; }
.inside { display: grid; gap: 14px; margin: 28px 0; padding-left: 20px; font-size: 14px; }
.inside li { padding-left: 7px; }
.inside li::marker { color: #ddb4c7; }
.offer .plus { padding: 20px 0; border-top: 1px solid #765468; border-bottom: 1px solid #765468; font-size: 14px; }
.price { margin: 32px 0 28px; }
.price-row { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; margin-bottom: 14px; }
.price b { font-family: var(--serif); font-size: 64px; line-height: 1; font-weight: 500; color: #fff8fb; }
.price s { font-family: var(--serif); font-size: 30px; color: #ccb2c2; }
.price em { font-style: normal; font-size: 12px; color: #e9bfd1; }
.price > span { display: block; max-width: 600px; font-size: 13px; line-height: 1.7; color: #dac3d0; }
.offer .btn { background: #fbf4f7; border-color: #fbf4f7; color: #432337; }
.offer .btn:hover { background: #ead9e1; border-color: #ead9e1; }
.offer .btn.bundle-btn, .offer .btn.ghost { background: transparent; color: #fff8fb; border-color: #a27d92; margin-top: 12px; }
.offer .btn.bundle-btn:hover, .offer .btn.ghost:hover { background: #533044; }
.offer .small { color: #cfb8c6; font-size: 12px; margin: 24px 0 8px; }
.offer .link { color: #e6d3de; }
.offer :focus-visible { outline-color: #f9d7e6; }
.more { padding-top: 70px; }
.more > h2 { margin-bottom: 28px; font-size: 42px; }
.more .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card.small { display: flex; flex-direction: column; }
.card.small .card-visual { aspect-ratio: 4 / 3; min-height: 0; height: auto; }
.card.small .card-body { flex: 1; padding: 24px 20px 18px; }
.card.small h2 { font-size: 30px; }
.card.small .card-badge { margin-bottom: 14px; font-size: 10px; }
.card.small p { font-size: 12px; }
.card.small .card-go { font-size: 11px; }

.sheet-bg { position: fixed; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(29, 19, 26, .66); }
.sheet { position: relative; width: 100%; max-width: 620px; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow-y: auto; overscroll-behavior: contain; padding: 34px; border-radius: 6px; background: var(--bg); color: var(--ink); box-shadow: 0 24px 80px #170c2033; animation: enter .2s ease; }
.sheet > .kicker { padding-right: 40px; margin-bottom: 8px; font-size: 12px; }
.sheet h3 { margin: 0 48px 24px 0; font-size: 40px; }
.x { position: absolute; top: 20px; right: 20px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); font-size: 26px; line-height: 1; }
.x:hover { border-color: var(--accent); }
.tariffs { display: grid; gap: 12px; margin-bottom: 24px; }
.tariff-opt { width: 100%; padding: 18px 20px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--card); text-align: left; }
.tariff-opt.on { border-color: var(--accent); background: var(--selected); box-shadow: inset 3px 0 var(--accent); }
.tariff-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.tariff-top b { font-size: 14px; line-height: 1.5; font-weight: 600; }
.tariff-price { flex-shrink: 0; color: var(--accent); font-size: 19px; font-weight: 600; line-height: 1.4; }
.tariff-price s { display: block; color: var(--muted); font-size: 12px; font-weight: 400; text-align: right; }
.tariff-opt small { display: block; color: var(--muted); font-size: 12px; line-height: 1.65; }
.tariff-badge { margin-bottom: 10px; color: var(--accent); font-size: 11px; font-weight: 600; }
.sheet label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 600; }
.sheet label span + span { color: var(--muted); font-size: 12px; font-weight: 400; }
.sheet textarea { width: 100%; min-height: 104px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--card); color: var(--ink); font: 16px/1.5 var(--sans); resize: vertical; }
.sheet textarea:focus { border-color: var(--accent); }
.sheet textarea::placeholder { color: var(--muted); opacity: 1; }
.cnt { margin: 4px 0 16px; color: var(--muted); font-size: 11px; text-align: right; }
.terms { margin: 0 0 20px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.err { margin: 16px 0 0; color: #a42344; font-size: 14px; }
html[data-theme="dark"] .err { color: #ffadc3; }

.wait { padding: 12vh 0 50px; text-align: center; }
.wait h2 { margin: 28px 0 18px; font-size: 44px; }
.wait p { max-width: 440px; min-height: 3em; margin: 0 auto 28px; color: var(--muted); }
.wait .btn { max-width: 360px; }
.wait .link { display: block; width: fit-content; margin: 16px auto 0; }
.dots { display: inline-flex; gap: 9px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: pulse 1.2s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .2s; }
.dots i:nth-child(3) { animation-delay: .4s; }
@keyframes pulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.razbor-head { padding: 30px 0 40px; margin-bottom: 38px; border-bottom: 1px solid var(--line-strong); }
.razbor h1 { font-size: clamp(44px, 5.8vw, 64px); line-height: 1.06; }
.razbor .sub { margin: 0; color: var(--muted); font-size: 12px; }
.razbor section { margin-bottom: 40px; }
.razbor h2 { margin: 0 0 18px; color: var(--accent); font-size: 36px; line-height: 1.12; }
.razbor p { margin: 0 0 20px; line-height: 1.9; }
.razbor p:last-child { margin-bottom: 0; }
.razbor h3 { display: flex; align-items: baseline; gap: 14px; margin: 28px 0 12px; font-family: var(--sans); font-size: 16px; line-height: 1.55; font-weight: 600; letter-spacing: 0; text-wrap: pretty; }
.razbor h3 span { color: var(--accent); font-family: var(--serif); font-size: 26px; font-weight: 500; }
.razbor blockquote { margin: 0 0 24px; padding: 18px 24px; border-left: 2px solid var(--accent); background: var(--card); font-family: var(--serif); font-size: 24px; line-height: 1.3; }
.razbor ol { display: grid; gap: 20px; list-style: none; counter-reset: steps; padding: 0; margin: 0; }
.razbor ol li { counter-increment: steps; position: relative; padding: 20px 0 0 44px; border-top: 1px solid var(--line); }
.razbor ol li::before { content: counter(steps); position: absolute; left: 0; top: 13px; color: var(--accent); font-family: var(--serif); font-size: 32px; }
.razbor .phrase { margin-top: 54px; padding: 32px; background: #432337; color: #fdf5f9; }
.phrase h2 { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0; color: #e9bfd1; }
.phrase .big { margin-bottom: 24px; font-family: var(--serif); font-size: 36px; line-height: 1.2; }
.phrase p { font-size: 14px; color: #e6d3de; }
.actions { display: grid; gap: 12px; margin: 40px 0 24px; }
.primer-note, .notice { margin: 0 0 28px; padding: 18px 22px; border-left: 2px solid var(--accent); background: var(--selected); color: var(--ink); font-size: 13px; line-height: 1.7; }
.foot { width: 100%; max-width: 1200px; margin: 0 auto; padding: 30px 24px max(38px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 11px; line-height: 1.8; color: var(--muted); }
.foot p { margin: 0 0 7px; }
.foot b { font-weight: 500; color: var(--ink); }
.doc { width: 100%; max-width: 760px; margin: 0 auto; padding: 32px 24px 72px; }
.doc .back { display: inline-flex; width: auto; border: 0; margin-bottom: 24px; font-size: 13px; }
.doc h1 { font-size: 48px; }
.doc .sub { margin: 18px 0 32px; color: var(--muted); font-size: 14px; }
.doc h2 { margin: 30px 0 12px; font-family: var(--sans); font-size: 18px; line-height: 1.4; font-weight: 600; letter-spacing: 0; }
.doc p, .doc li { overflow-wrap: anywhere; }

@media (max-width: 1040px) {
  .hub-hero { gap: 40px; }
  .hub-hero-img { height: 520px; }
  .card { display: flex; flex-direction: column; }
  .card-visual { min-height: 0; height: 320px; }
  .card-body { flex: 1; padding: 28px; }
  .card-types i { font-size: 12px; }
  .intro-body { padding: 36px 32px; }
  .intro-body h1 { font-size: 50px; }
  .result-hero { gap: 28px; }
}

@media (max-width: 719px) {
  html { scroll-padding-top: 90px; }
  .top { min-height: 74px; padding: 12px 20px; padding-top: max(12px, env(safe-area-inset-top)); gap: 12px; }
  .brand { gap: 10px; }
  .brand-ava { width: 36px; height: 36px; }
  .brand b { font-size: 14px; }
  .brand em { font-size: 10px; }
  .header-actions { gap: 12px; }
  .header-link { font-size: 11px; }
  .theme-btn { width: 44px; height: 44px; font-size: 18px; }
  .screen { padding: 26px 20px 64px; }
  .hub-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; margin: 8px 0 36px; }
  .hub-hero-text { padding: 0; }
  .hub-pill { font-size: 11px; margin-bottom: 22px; }
  .hub-hero h1 { max-width: 500px; margin-bottom: 22px; font-size: 58px; line-height: .98; }
  .hub-hero .lead { max-width: 560px; margin-bottom: 24px; font-size: 14px; line-height: 1.8; }
  .hub-cta { min-width: 0; width: 100%; }
  .hub-hero-img { height: auto; aspect-ratio: 4 / 5; max-height: 610px; }
  .hub-quote { padding: 24px 8px; margin: 0 auto 48px; font-size: 27px; }
  .section-head { display: block; margin-bottom: 24px; }
  .section-head h2 { margin-bottom: 10px; font-size: 40px; }
  .section-head span { font-size: 12px; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 30px; margin-bottom: 28px; }
  .card-visual { height: auto; aspect-ratio: 1; }
  .card-body { padding: 24px; }
  .card-body h2 { max-width: 460px; font-size: 39px; }
  .card-badge { font-size: 11px; margin-bottom: 16px; }
  .card p { font-size: 14px; }
  .card-types { margin-bottom: 22px; }
  .card-types i { font-size: 12px; }
  .card-go { font-size: 13px; }
  .small { font-size: 12px; }
  .crumb { margin-bottom: 20px; font-size: 12px; }
  .intro-card { display: flex; flex-direction: column; }
  .intro-cover { height: auto; min-height: 0; aspect-ratio: 1; }
  .intro-body { padding: 28px 24px; }
  .intro-body .kicker { font-size: 11px; margin-bottom: 20px; }
  .intro-body h1 { font-size: 46px; margin-bottom: 22px; }
  .intro .lead { font-size: 16px; }
  .intro .note { font-size: 13px; }
  .intro .small { line-height: 1.7; }
  .q { padding-top: 0; }
  .q-box { padding: 0; }
  .qhead { margin-bottom: 28px; }
  .q h1 { font-size: 34px; margin-bottom: 28px; }
  .opt { gap: 14px; padding: 16px; font-size: 14px; min-height: 76px; }
  .opt-let { width: 26px; height: 26px; }
  .result-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 26px 0 30px; margin-bottom: 28px; }
  .result-hero-top { margin-bottom: 24px; }
  .result-hero-top .kicker { font-size: 12px; }
  .result-hero-top .small { font-size: 11px; }
  .result-ava { width: 48px; height: 48px; }
  .result .type { font-size: 48px; }
  .result .tagline { font-size: 26px; }
  .bars { padding: 24px 0 0; border-left: 0; border-top: 1px solid var(--line); gap: 17px; }
  .bar-row { font-size: 12px; grid-template-columns: minmax(124px, 1.2fr) minmax(40px, 1fr) 26px; }
  .rcards { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .rc-card { padding: 26px 24px; }
  .rc-kicker { font-size: 11px; }
  .rc-card h3 { font-size: 33px; }
  .rc-card p, .rc-card li { font-size: 14px; }
  .rc-unlock-btn { width: 100%; padding-inline: 12px; }
  .wish-box { margin-top: 34px; padding-top: 30px; }
  .wish-box h3 { font-size: 36px; }
  .wish-grid, .share-row { grid-template-columns: minmax(0, 1fr); }
  .wish-btn { min-height: 76px; padding: 16px 18px; font-size: 14px; }
  .share-row { gap: 10px; margin-top: 24px; }
  .offer { margin-top: 40px; padding: 30px 24px; }
  .offer h2 { font-size: 39px; }
  .offer p { font-size: 14px; }
  .offer .kicker { font-size: 11px; }
  .inside { font-size: 13px; }
  .price-row { gap: 10px 16px; }
  .price b { font-size: 56px; }
  .price em { font-size: 11px; }
  .price > span { font-size: 12px; }
  .offer .btn { font-size: 13px; padding-inline: 12px; }
  .more { padding-top: 48px; }
  .more > h2 { font-size: 38px; }
  .more .cards { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .card.small .card-visual { aspect-ratio: 1; }
  .card.small .card-body { padding: 24px; }
  .card.small h2 { font-size: 36px; }
  .card.small p { font-size: 14px; }
  .card.small .card-go { font-size: 13px; }
  .sheet-bg { padding: 0; align-items: flex-end; }
  .sheet { max-width: none; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 28px 20px max(24px, env(safe-area-inset-bottom)); border-radius: 12px 12px 0 0; }
  .sheet > .kicker { font-size: 11px; }
  .sheet h3 { font-size: 36px; margin-bottom: 24px; }
  .x { top: 16px; right: 16px; }
  .tariff-opt { padding: 16px; }
  .tariff-top { gap: 12px; }
  .tariff-top b { font-size: 13px; }
  .tariff-price { font-size: 17px; }
  .tariff-opt small { font-size: 11px; }
  .tariff-badge { font-size: 10px; }
  .sheet label { font-size: 12px; }
  .sheet label span + span { display: block; font-size: 11px; margin-top: 3px; }
  .razbor-head { padding: 22px 0 30px; margin-bottom: 30px; }
  .razbor h1 { font-size: 44px; }
  .razbor h2 { font-size: 33px; }
  .razbor p { font-size: 15px; line-height: 1.85; }
  .razbor section { margin-bottom: 34px; }
  .razbor h3 { font-size: 15px; }
  .razbor ol li { font-size: 15px; }
  .razbor .phrase { padding: 26px 24px; margin-top: 38px; }
  .phrase h2 { font-size: 12px; }
  .phrase .big { font-size: 32px; line-height: 1.2; }
  .phrase p { font-size: 14px; }
  .primer-note { font-size: 12px; padding: 16px 18px; }
  .foot { padding-inline: 20px; font-size: 10px; }
  .doc { padding: 26px 20px 60px; }
  .doc h1 { font-size: 40px; }
}

@media (max-width: 390px) {
  .header-actions { gap: 8px; }
  .header-link { font-size: 10px; }
  .brand b { font-size: 13px; }
  .brand-ava { width: 32px; height: 32px; }
  .hub-hero h1 { font-size: 52px; }
  .intro-body { padding-inline: 22px; }
  .intro-body h1 { font-size: 42px; }
  .card-body h2 { font-size: 36px; }
  .result .type { font-size: 44px; }
  .offer h2 { font-size: 36px; }
  .btn { font-size: 13px; padding-inline: 16px; }
  .rc-card { padding-inline: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .btn:active { transform: none; }
}

@media print {
  @page { margin: 18mm; }
  html, body { background: #fff !important; color: #000 !important; overflow: visible; }
  body { font: 11pt/1.6 Georgia, serif; display: block; }
  .top, .foot, .actions, .sheet-bg, .skip-link, .crumb, .primer-note, .razbor > .wish-pill { display: none !important; }
  .screen { width: 100%; max-width: none; padding: 0; }
  .razbor-head { padding-top: 0; margin-bottom: 24px; }
  .razbor h1 { font-size: 30pt; }
  .razbor h2 { font-size: 21pt; color: #000; break-after: avoid; }
  .razbor h3 { break-after: avoid; }
  .razbor p { font-size: 11pt; line-height: 1.6; orphans: 3; widows: 3; }
  .razbor section { margin-bottom: 24px; }
  .razbor .phrase { padding: 18px; border: 1px solid #aaa; background: #fff; color: #000; break-inside: avoid; }
  .phrase h2, .phrase p, .phrase .big { color: #000; }
  .phrase h2 { font-size: 12pt; }
  .phrase .big { font-size: 24pt; }
  .razbor ol li { break-inside: avoid; font-size: 11pt; }
  .razbor .result-ava { width: 40px; height: 40px; }
  .razbor .kicker, .razbor .sub { color: #444; }
}
