@font-face {
  font-family: Story;
  src: url(media/story.woff) format('woff');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Story;
  src: url(media/story-i.woff) format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Letter;
  src: url(media/body.woff) format('woff');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Letter;
  src: url(media/bold.woff) format('woff');
  font-weight: 700;
  font-display: swap;
}

:root {
  --night: #151e34;
  --paper: #fff9ee;
  --ink: #17213a;
  --muted: #55574e;
  --cranberry: #ab2e42;
  --gold: #ffd283;
  --line: #c7b593;
  --gutter: clamp(22px, calc(20vw - 164px), 156px);
  color: var(--ink);
  font: 100%/1.55 Letter, Arial, sans-serif;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: default; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid #2990b2;
  outline-offset: 4px;
}
img { display: block; max-width: 100%; }

svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(1288px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
[hidden] { display: none !important; }

.skip {
  position: absolute;
  top: -70px;
  left: 10px;
  z-index: 20;
  padding: 10px;
  background: white;
  color: var(--ink);
}
.skip:focus { top: 8px; }

.top {
  position: relative;
  isolation: isolate;
  z-index: 4;
  color: #fff6e7;
  background: linear-gradient(112deg, #1a2a3b, var(--night) 35%, var(--night) 78%, #22343a);
  border-bottom: 1px solid #dedac033;
}

.top::before, .top::after {
  position: absolute;
  top: 0;
  z-index: -1;
  width: 153px;
  height: 64px;
  background: left top / contain no-repeat;
  pointer-events: none;
  mask-composite: intersect;
  content: '';
}

.top::before {
  left: 0;
  background-image: url(media/header-lights.png);
  mask-image: linear-gradient(90deg, #000 88%, transparent),
              linear-gradient(#000 75%, transparent);
}

.top::after {
  right: 0;
  background-image: url(media/header-pine.png);
  background-position: right top;
  mask-image: linear-gradient(270deg, #000 89%, transparent),
              linear-gradient(#000 85%, transparent);
}

.top .wrap, .hero .wrap, .fact-band .wrap {
  width: min(1288px, calc(100% - 2 * clamp(22px, 9.7vw, 156px)));
}

.headrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 89px;
  padding-inline: 22px 13px;
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  padding-block: 3px;
}

.brand img { width: 174px; height: auto; }

.desk-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid #a7b6bd43;
  border-radius: 999px;
  background: linear-gradient(#273447, #1d2a3c);
}

.desk-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #fcf3e5;
  font-size: .88rem;
  white-space: nowrap;
}
.desk-nav a:hover, .foot-top:hover { color: var(--gold); }

.desk-nav .nav-feature {
  padding-inline: 10px 12px;
  border-color: #c1a26b;
  background: #30484a;
  color: #ffe3aa;
  font-weight: 700;
}

.nav-feature svg { width: 16px; height: 16px; }

.desk-nav a:last-child::before {
  position: absolute;
  left: -7px;
  top: 50%;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #ddbf87;
  content: '';
}

.navchoose {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 39px;
  padding: 7px 13px 7px 31px;
  color: #202a3a;
  font-size: .88rem;
  font-weight: 700;
  white-space: nowrap;
}

.navchoose::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid #b28c56;
  border-radius: 11px;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 10% 100%, 0 50%);
  background: linear-gradient(#ffe6b1, #e7bd81);
  box-shadow: inset 0 0 0 2px #fff3cb80, inset 0 -3px #b68b54a0;
  content: '';
}

.navchoose:hover::before { background: linear-gradient(#fff1ca, #efc488); }
.tag-cord { position: absolute; width: 39px; height: 18px; left: -19px; top: 8px; color: #cf8466; }
.mobile-nav, .menu-button { display: none; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #111a34;
  color: #fff5e2;
}

.heropic, .heropic img, .hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.heropic img { object-fit: cover; object-position: 56% 50%; }

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, #131b36bc, #111a36aa 23%, #131b393f 41%, transparent 59%),
    linear-gradient(0deg, #141b3430, transparent 25%);
}

.hero-inner {
  display: flex;
  align-items: center;
  min-height: clamp(510px, 40.85vw, 675px);
  padding-block: 34px 36px;
}

.hero-text { width: min(52%, 540px); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 22px;
  font-size: .87rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow > svg { width: 18px; height: 18px; }
.hero-eyebrow, .dark-label { color: var(--gold); }
.hero-eyebrow svg, .dark-label svg { fill: currentColor; stroke: none; }
.hero-eyebrow { margin-bottom: 17px; font-size: .78rem; letter-spacing: .145em; }
.hero-eyebrow > svg { width: 15px; height: 15px; }

.hero h1, .section h2, .casefile h3, .bonus h3, .tier h3, .dialog-body h2 {
  font-family: Story, Georgia, serif;
  font-weight: 700;
  letter-spacing: -.055em;
}

.hero h1 {
  margin: 0 0 23px;
  font-size: clamp(4.05rem, 6.34vw, 6.1rem);
  line-height: .88;
}

.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: var(--gold); }

.hero-lead {
  max-width: 424px;
  margin: 0;
  color: #fff7e9;
  font-size: clamp(1.06rem, 1.31vw, 1.18rem);
  line-height: 1.43;
  text-wrap: pretty;
  text-shadow: 0 1px 8px #091127b0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
}

.btn, .tier button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  transition: background .18s, transform .18s;
}

.primary {
  min-height: 46px;
  padding: 8px 19px;
  background: #b33342;
  border-color: #fb858450;
  color: #fffaf0;
  font-size: .92rem;
}
.primary:hover, .duo button:hover { background: #97273a; transform: translateY(-1px); }

.btn-price {
  border-left: 1px solid #fff5;
  padding-left: 12px;
  color: #fff2df;
  font-size: .86em;
  white-space: nowrap;
}

.watch {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 0;
  border: 0;
  background: none;
  color: #fff5e3;
  font-size: .91rem;
  font-weight: 700;
  text-align: left;
}
.watch small {
  display: block;
  color: #efddc9;
  font-size: .75rem;
  font-weight: 400;
}

.play-ring {
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  border: 1px solid #d9b77b;
  border-radius: 50%;
  background: #18273e9c;
  color: var(--gold);
}
.play-ring svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.watch:hover .play-ring { background: #35445b; }

.fact-band {
  position: relative;
  background: linear-gradient(100deg, #183c3d, #1e4340 52%, #173538);
  color: #fff0d4;
  border-bottom: 1px solid #aa955c;
}

.fact-band::before {
  position: absolute;
  inset: 0 0 auto;
  height: clamp(42px, 4vw, 64px);
  background: url(media/holiday-lights.png) center top / clamp(1050px, 100vw, 1600px) auto repeat-x;
  mask-image: linear-gradient(#000 88%, transparent);
  pointer-events: none;
  content: '';
}

.facts {
  display: grid;
  grid-template-columns: minmax(0, .95fr) repeat(3, minmax(0, 1.02fr));
  align-items: center;
  min-height: clamp(117px, 8.71vw, 141px);
  padding-block: clamp(41px, 3.44vw, 57px) 12px;
}

.fact {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.4vw, 23px);
  padding-inline: clamp(12px, 1.85vw, 29px);
}

.fact:first-child { padding-left: 4px; }
.fact + .fact { border-left: 1px solid #ecd6a732; }
.fact-icon { display: grid; place-items: center; color: #ffcc75; }
.fact-icon svg { width: 29px; height: 29px; stroke-width: 1.5; }
.fact b, .fact div > span { display: block; }
.fact b { font-size: clamp(1.04rem, 1.35vw, 1.36rem); line-height: 1.26; }
.fact div > span { margin-top: 3px; color: #e8e0cb; font-size: clamp(.88rem, 1vw, 1rem); }

.section {
  position: relative;
  isolation: isolate;
  overflow: clip;
  padding-block: 76px;
}

.section h2 {
  margin: 0 0 24px;
  font-size: clamp(2.68rem, 4.2vw, 4.25rem);
  line-height: .98;
}
.section h2 em { color: var(--cranberry); }

.light-label { color: var(--cranberry); }
.light-label > span {
  position: relative;
  width: 37px;
  height: 1px;
  background: linear-gradient(90deg, currentColor 72%, transparent 72%);
}
.light-label > span::after {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  font-size: .65rem;
  content: '✦';
}

.body-copy, .steps p, .contents, .pricing-sub, .accordion p {
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.51;
}

.sample {
  display: grid;
  align-items: center;
  min-height: 628px;
  padding-block: 78px 74px;
  background: radial-gradient(ellipse at 90% 100%, #f3e5cd, transparent 59%), #fdf6e9;
}

.sample-grid, .how-grid, .inside-grid, .faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 4.6vw, 74px);
}

.sample-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); }

.sample::before, .sample::after, .how::before, .inside::before, .inside::after, .faq::before {
  position: absolute;
  z-index: -1;
  width: 147px;
  aspect-ratio: 147 / 278;
  background: url(media/snowflake.png) left center / contain no-repeat;
  mask-image: linear-gradient(90deg, #000 68%, transparent),
              linear-gradient(transparent, #000 13% 87%, transparent);
  mask-composite: intersect;
  filter: grayscale(1) brightness(1.055);
  mix-blend-mode: multiply;
  pointer-events: none;
  opacity: .82;
  content: '';
}

.sample::before { top: 24%; left: 0; }
.sample::after { top: -20px; right: 0; transform: scale(-1.32, 1.32); }
.how::before { top: -25px; left: 0; transform: scale(.95); }
.inside::before { right: 0; top: 25%; transform: scale(-1.18, 1.18); }
.inside::after { bottom: 40px; left: -25px; transform: scale(.6); }
.faq::before { bottom: 8px; left: -24px; transform: scale(.72); }

.sample-copy, .faq-intro { position: relative; isolation: isolate; }

.sample-copy::after, .faq-intro::after, .how::after {
  position: absolute;
  z-index: -1;
  background: center / contain no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 6% 94%, transparent),
              linear-gradient(transparent, #000 6% 92%, transparent);
  mask-composite: intersect;
  pointer-events: none;
  content: '';
}

.sample-copy::after {
  right: -49px;
  bottom: -31px;
  width: clamp(192px, 15.4vw, 246px);
  aspect-ratio: 246 / 296;
  background-image: url(media/globe-city.png);
  mask-image: none;
  filter: drop-shadow(0 7px 7px #69482024);
}
.sample-copy h2 { margin-bottom: 31px; }

.body-copy {
  max-width: min(424px, calc(100% - 199px));
  margin: 0 0 31px;
  font-size: clamp(1.07rem, 1.28vw, 1.28rem);
}

.tabs {
  display: inline-flex;
  padding: 3px;
  border: 1px solid #cdb688;
  border-radius: 999px;
  background: #eee3cd;
}
.tabs button {
  border: 0;
  border-radius: 999px;
  padding: 8px 23px;
  background: none;
  color: #685a4b;
  font-weight: 700;
  white-space: nowrap;
}
.tabs button[aria-pressed=true] { background: #1d3649; color: #fff8ea; }

.small-note { margin: 19px 0 0; color: #756953; font-size: .95rem; }

.caseback {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 580px;
  margin-inline: auto;
}

.caseback::before, .caseback::after {
  position: absolute;
  z-index: -1;
  inset: 8px 0 -10px;
  border: 1px solid #d1b687;
  border-radius: 16px;
  background: #ead9b9;
  transform: rotate(2deg);
  content: '';
}
.caseback::after { inset: 3px 0 -8px; background: #f5e8ce; transform: rotate(-2.2deg); }

.casefile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 407px;
  padding: 34px clamp(24px, 2.35vw, 38px) 25px;
  border: 1px solid #c9b78f;
  border-radius: 16px;
  background:
    repeating-linear-gradient(123deg, #367571 0 15px, #fbf2df 15px 46px, #ad3947 46px 61px, #fbf2df 61px 92px)
      top / 100% 12px no-repeat,
    linear-gradient(138deg, #fdf9ec, #f9efdb);
  box-shadow: 0 8px 21px #674d2522;
  text-align: center;
}

.casefile::before {
  position: absolute;
  inset: 18px;
  border: 1px dashed #bda98391;
  border-radius: 7px;
  pointer-events: none;
  content: '';
}

.casehead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #cdb990a6;
  color: var(--cranberry);
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .095em;
  text-transform: uppercase;
}
.case-number { display: flex; gap: 9px; align-items: center; }
.case-number svg { width: 18px; height: 18px; }
.case-age { color: #6e6051; white-space: nowrap; }

.casefile h3 {
  margin: 15px 0 9px;
  font-size: clamp(1.85rem, 2.73vw, 2.82rem);
  line-height: 1.1;
}

.casefile > p:not(.answer) { max-width: 460px; margin: 0 auto; font-size: 1.08rem; line-height: 1.48; }
.clue-tags { display: flex; justify-content: center; gap: 26px; margin: 12px auto 0; }

.tag-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 3px 7px;
  background: none;
  border: none;
}

.tag {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 94px;
  height: 98px;
  clip-path: polygon(18% 0, 82% 0, 100% 18%, 100% 100%, 0 100%, 0 18%);
  background: #b98548;
  transform: rotate(-3deg);
  transition: transform .18s;
}

.tag::before {
  position: absolute;
  inset: 1px;
  background: #f7dca5;
  clip-path: inherit;
  content: '';
}

.tag::after {
  position: absolute;
  top: 8px;
  width: 7px;
  height: 7px;
  border: 1.3px solid #90755c;
  border-radius: 50%;
  background: #fbf5e4;
  content: '';
}

.tag-btn:nth-child(2) .tag { background: #6f9a8b; transform: rotate(3deg); }
.tag-btn:nth-child(2) .tag::before { background: #c4dfd3; }
.tag-btn:hover .tag { transform: translateY(-4px); }
.tag-btn[data-result=correct] .tag { background: #196348; }
.tag-btn[data-result=wrong] .tag { background: #a73743; }
.tag-letter, .tag-expression { position: relative; }
.tag-letter { margin-top: 5px; color: #1c4143; font: 700 2.72rem/1 Story, Georgia, serif; }
.tag-expression { font-size: .9rem; font-weight: 700; }

.thread {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 68px;
  min-height: 11px;
  margin-top: 5px;
  background: linear-gradient(transparent 45%, #aa794a 45%, #aa794a 60%, transparent 60%);
}
.thread i { width: 7px; height: 7px; transform: rotate(45deg); background: #b47c43; }
.tag-btn:nth-child(2) .thread { background: linear-gradient(transparent 45%, #669687 45%, #669687 60%, transparent 60%); }
.tag-btn:nth-child(2) .thread i { background: #669687; }

.answer { margin: auto 0 3px; padding-top: 12px; min-height: 36px; color: #76674f; font-size: .96rem; }
.answer.correct { color: #186244; font-weight: 700; }
.answer.wrong { color: #963b30; }

.how {
  padding-block: 81px 23px;
  border-block: 1px solid #c6af83;
  background: radial-gradient(ellipse at 2% 7%, #e9ddc6, transparent 62%), #f1e7d8;
}
.how::after {
  right: 0;
  bottom: 52px;
  width: min(13vw, 204px);
  aspect-ratio: 204 / 223;
  background-image: url(media/globe-drawing.png);
}
.how-grid {
  grid-template-columns: minmax(0, .419fr) minmax(0, .581fr);
  align-items: start;
  gap: clamp(30px, 5.15vw, 82px);
}
.how h2 { font-size: clamp(2.15rem, 3.25vw, 3.27rem); line-height: 1.03; }

.art-story {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.185;
  border: 1px solid #b89964;
  border-radius: 110px 16px 16px 16px;
  box-shadow: 0 9px 19px #53432e29;
  background: #25443b;
}
.art-story > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; }

.film-label {
  position: absolute;
  bottom: 18px;
  left: 21px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border: 1px solid #dec396;
  border-radius: 999px;
  background: #141c29f0;
  color: #fff1db;
  font-size: .92rem;
}
.film-label svg { width: 18px; height: 18px; color: #eac182; }

.steps { position: relative; list-style: none; padding: 0; margin: 0; }

.steps::before {
  position: absolute;
  top: 19px;
  bottom: 36px;
  left: 19px;
  border-left: 1px dashed #c3a371;
  content: '';
}

.steps li { position: relative; display: flex; gap: 16px; align-items: flex-start; margin-top: 13px; }
.steps i {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  height: 40px;
  border: 1px solid #b59660;
  border-radius: 50%;
  background: #f5ebd9;
  color: #874d37;
  font: italic 700 1.45rem/1 Story, Georgia, serif;
}
.steps h3 { margin: 2px 0 1px; font-size: 1.17rem; line-height: 1.4; }
.steps p { max-width: 565px; margin: 2px 0 0; }

.inside { padding-block: 65px 36px; background: #fff9ee; }
.inside-grid { align-items: start; gap: clamp(30px, 4.2vw, 67px); }
.inside-grid > div:first-child { padding-top: 19px; }

.contents {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 27px 0 48px;
  list-style: none;
}
.contents li { position: relative; padding-left: 28px; }
.contents li::before {
  position: absolute;
  top: .43em;
  left: 2px;
  color: #a84134;
  font-size: .7rem;
  content: '✦';
}

.text-button {
  padding: 0 0 3px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--cranberry);
  font-size: 1.03rem;
  font-weight: 700;
  text-align: left;
}
#card-preview::after { content: ' →'; }

.paper-preview {
  position: relative;
  isolation: isolate;
  height: clamp(290px, 28.7vw, 460px);
  background: radial-gradient(ellipse, #e4d5bda8, transparent 70%);
}

.preview-card {
  position: absolute;
  width: 78%;
  padding: 7px;
  border: 1px solid #c6aa78;
  border-radius: 7px;
  background: #fbf7eb;
  box-shadow: 0 7px 16px #41372538;
}
.preview-card.back { top: 6%; right: 7%; transform: rotate(6deg); }
.preview-card.front { top: 23%; left: 3%; transform: rotate(-7deg); }

.bonus {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 18px;
  padding: 13px 21px;
  background: #e5ebdd;
  border: 1px solid #bbcbb7;
  border-radius: 15px;
}

.bonus > img {
  width: 70px;
  height: 70px;
  flex: none;
  object-fit: cover;
  border: 1px solid #b6803e;
  border-radius: 50%;
}
.bonus .eyebrow { margin: 0 0 1px; color: #2c6055; font-size: .73rem; }
.bonus h3 { margin: 0; color: #214c43; font-size: 1.7rem; line-height: 1.24; }
.bonus p:last-child { margin: 2px 0 0; color: #465c52; font-size: 1rem; }

.pricing {
  padding-block: 58px 41px;
  background: radial-gradient(ellipse at 57% 0, #263b51, transparent 73%),
              linear-gradient(#202e44, #151e35);
  color: #fff3df;
}

.pricing::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .56;
  background-image: radial-gradient(1.5px 1.5px at 18px 31px, #dbb581 77%, transparent),
                    radial-gradient(1px 1px at 78px 116px, #f3deb5 78%, transparent),
                    radial-gradient(1.5px 1.5px at 127px 56px, #a9a891 80%, transparent);
  background-size: 143px 173px, 207px 199px, 161px 251px;
  content: '';
}

.pricing-ornaments { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pricing-ornaments::before, .pricing-ornaments::after {
  position: absolute;
  top: 0;
  background: center / contain no-repeat;
  mask-composite: intersect;
  content: '';
}
.pricing-ornaments::before {
  left: 0;
  width: min(15.25vw, 244px);
  aspect-ratio: 244 / 198;
  background-image: url(media/pine-left.png);
  mask-image: linear-gradient(90deg, #000 78%, transparent),
              linear-gradient(#000 84%, transparent);
}
.pricing-ornaments::after {
  right: 0;
  width: min(25vw, 400px);
  aspect-ratio: 400 / 251;
  background-image: url(media/pine-right.png);
  mask-image: linear-gradient(270deg, #000 78%, transparent),
              linear-gradient(#000 91%, transparent);
}

.dark-label { justify-content: center; text-align: center; margin-bottom: 15px; }

.dark-label::before, .dark-label::after {
  width: 39px;
  height: 1px;
  background: #d8b27b;
  content: '';
}
.dark-label > svg { width: 9px; height: 9px; }

.pricing h2, .pricing-sub, .pricing-age, .guarantee { text-align: center; }
.pricing h2 { margin-bottom: 12px; }
.pricing h2 em { color: var(--gold); }
.pricing-sub { max-width: 835px; margin: 0 auto 10px; color: #fff0da; line-height: 1.4; }
.pricing-sub strong { display: block; margin-bottom: 4px; font-size: 1.23rem; }
.pricing-age { max-width: 940px; margin: 0 auto 19px; color: #d9dcd7; font-size: .97rem; }

.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.7vw, 27px); }

.tier {
  display: flex;
  flex-direction: column;
  min-height: 408px;
  padding: 25px clamp(17px, 1.8vw, 28px) 20px;
  border: 1px solid #ccba94;
  border-radius: 18px;
  background: #fcf6e9;
  box-shadow: 0 7px 15px #06102126;
  color: var(--ink);
}

.tier-title { display: flex; align-items: center; gap: 13px; color: #6b493a; font-weight: 700; font-size: 1.06rem; }

.tier-title img, .tier-title > svg {
  width: 44px;
  height: 44px;
  flex: none;
  object-fit: cover;
  border: 1px solid #c8a976;
  border-radius: 50%;
}
.tier-title > svg { padding: 9px; background: #fff6df; color: var(--cranberry); }
.tier h3 { margin: 13px 0 11px; font-size: clamp(2.22rem, 3.2vw, 3.2rem); line-height: 1.1; }
.tier p { margin: 0 0 13px; color: #54564f; font-size: 1.1rem; line-height: 1.48; }
.duration { margin-top: auto; color: #6b5545; font-size: .96rem; font-weight: 700; }

.tier-end { display: grid; gap: 15px; margin-top: 10px; }
.tier-end strong { font-size: 2.18rem; line-height: 1.2; }
.tier-end strong s { margin-left: 16px; color: #795b49; font-size: .96rem; font-weight: 400; }
.tier button { min-height: 48px; padding: 6px 15px; border-color: #ab9369; background: #fff9ec; }
.tier button:hover { background: #eee6d5; }
.duo { border: 2px solid #dcaa63; background: linear-gradient(145deg, #ffedc8, #f8dda5); box-shadow: inset 0 2px 0 #cf9947; }
.duo .duration { color: #963047; }
.duo button { border-color: #b13243; background: #b13243; color: #fff8ea; }
.guarantee { margin: 26px auto 0; color: #e1dacb; font-size: .98rem; }

.faq {
  padding-block: 77px 68px;
  background: radial-gradient(ellipse at 85% 105%, #f2e4cc, transparent 70%), #fcf5e8;
  border-top: 1px solid #c9b388;
}
.faq-grid {
  grid-template-columns: minmax(0, .42fr) minmax(0, .58fr);
  align-items: start;
  gap: clamp(30px, 4vw, 64px);
}

.faq-intro { min-height: 300px; }
.faq-intro::after {
  top: 21px;
  right: -51px;
  width: min(245px, 51%);
  aspect-ratio: 245 / 300;
  background-image: url(media/lantern.png);
}
.faq-intro h2 { position: relative; }
.accordion { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }

summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 19px 8px 19px 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.16rem;
  line-height: 1.49;
}
summary::-webkit-details-marker { display: none; }
summary svg { width: 20px; height: 20px; color: var(--cranberry); transition: transform .2s; }
details[open] summary svg { transform: rotate(45deg); }
.accordion p { margin: 0 24px 17px 0; font-size: 1rem; }

footer { border-top: 1px solid #b59e68; background: var(--night); color: #f0e2cd; }
.footrow { display: flex; align-items: center; gap: 38px; min-height: 112px; }
.footrow .brand img { width: 173px; }
.footrow > span, .foot-top { font-size: .94rem; }
.foot-top { margin-left: auto; font-weight: 700; }
.foot-top::after { content: ' ↑'; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 17px 24px;
  border-top: 1px solid #f0e2cd38;
  font-size: .91rem;
}
.footer-company, .footer-legal nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-company { margin: 0; }
.footer-legal a, .legal-page a { text-decoration: underline; text-underline-offset: .2em; }
.footer-legal a:hover { color: var(--gold); }

.legal-document {
  width: min(46rem, calc(100% - 36px));
  margin-inline: auto;
  padding-block: clamp(32px, 6vw, 70px);
}
.legal-document h1 {
  margin: .6em 0 .5em;
  font: 700 clamp(2rem, 5vw, 3.5rem)/1.05 Story, Georgia, serif;
  overflow-wrap: anywhere;
}
.legal-document h2 { margin: 1.4em 0 .25em; font-size: 1.2rem; }
.legal-document p { margin: 0 0 .8em; }
.legal-document a { color: var(--cranberry); }

dialog {
  width: fit-content;
  max-width: min(800px, calc(100vw - 32px));
  max-height: 90svh;
  padding: 0;
  overflow: auto;
  border: none;
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 20px 80px #070c284d;
}
dialog::backdrop { background: #11152ad6; }
.dialog-body { position: relative; min-width: min(480px, calc(100vw - 32px)); padding: 32px; }
.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #18243b;
  color: white;
}
.dialog-close svg { width: 16px; height: 16px; }
.dialog-body h2 { margin: 0 28px 12px 0; font-size: 2rem; line-height: 1.16; }
.dialog-body p { max-width: 520px; color: var(--muted); }
.dialog-body video, .dialog-body .bigcard {
  display: block;
  width: 100%;
  max-width: 700px;
  max-height: 65svh;
  margin-top: 16px;
  border-radius: 6px;
  object-fit: contain;
}
.modal-small { font-size: .89rem; }
.confirm-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
  border-block: 1px solid var(--line);
}
.demo-link { margin-top: 14px; }
.scroll-lock { overflow: hidden; }

@media (max-width: 1150px) {
  .top .wrap, .hero .wrap, .fact-band .wrap { width: calc(100% - 2 * var(--gutter)); }
  .top::before, .top::after { display: none; }
  .headrow { gap: 25px; padding-inline: 0; }
  .hero-text { width: min(53%, 500px); }
  .hero-shade { background: linear-gradient(90deg, #101936 3%, #101936eb 24%, #121b406e 48%, transparent 74%); }
  .hero-actions { gap: 17px; margin-top: 28px; }
  .sample { min-height: auto; }
  .sample-copy::after, .faq-intro::after, .how::after { display: none; }
  .body-copy { max-width: 420px; }
  .faq-intro { min-height: 0; }
  .tier { min-height: 385px; }
}

@media (max-width: 930px) {
  .headrow { gap: 16px; min-height: 86px; }
  .brand img { width: 157px; }
  .desk-nav a { padding-inline: 12px; }
  .navchoose { padding-inline: 20px 9px; }
  .tag-cord { display: none; }
  .hero-inner { min-height: 530px; }
  .hero-text { width: 55%; }
  .hero h1 { font-size: clamp(3.3rem, 7.3vw, 4.55rem); }
  .primary { padding-inline: 17px; }
  .hero-actions { gap: 15px; }
  .play-ring { width: 40px; height: 40px; }
  .facts { min-height: 128px; }
  .fact { gap: 9px; padding-inline: 8px; }
  .fact-icon svg { width: 24px; height: 24px; }
  .section { padding-block: 59px; }
  .section h2 { font-size: clamp(2.25rem, 4.9vw, 3.22rem); }
  .sample-grid, .how-grid, .inside-grid, .faq-grid { gap: 30px; }
  .casefile { min-height: 385px; padding-inline: 23px; }
  .casefile::before { inset: 16px 12px; }
  .how h2 { font-size: clamp(2.02rem, 3.75vw, 2.78rem); }
  .art-story { aspect-ratio: .87; border-top-left-radius: 73px; }
  .film-label { left: 12px; bottom: 12px; padding: 7px 11px; font-size: .81rem; }
  .steps h3 { font-size: 1.03rem; }
  .steps p, .contents { font-size: 1rem; }
  .contents { margin-block: 17px 26px; }
  .inside-grid > div:first-child { padding-top: 0; }
  .paper-preview { height: clamp(250px, 33vw, 315px); }
  .tier { min-height: 370px; padding-inline: 15px; }
  .tier-title { font-size: .9rem; gap: 8px; }
  .tier-title img, .tier-title > svg { width: 34px; height: 34px; }
  .tier p { font-size: 1rem; }
  .tier-end strong { font-size: 1.9rem; }
  .tier-end strong s { margin-left: 8px; }
  .tier button { font-size: .91rem; }
  summary { font-size: 1.05rem; }
}

@media (min-width: 701px) and (max-width: 800px) {
  .headrow { gap: 8px; }
  .brand img { width: 139px; }
  .desk-nav a, .desk-nav .nav-feature { padding-inline: 8px; font-size: .8rem; }
  .navchoose { padding-inline: 17px 8px; font-size: .8rem; }
}

@media (max-width: 700px) {
  :root { --gutter: 18px; }
  .headrow { min-height: 79px; gap: 8px; }
  .brand img { width: 141px; }
  .desk-nav { display: none; }
  .navchoose { min-height: 36px; margin-left: auto; padding: 6px 10px 6px 17px; font-size: .79rem; }
  .navchoose span { display: none; }

  .menu-button {
    display: grid;
    place-items: center;
    flex: none;
    width: 34px;
    height: 39px;
    padding: 0;
    border: none;
    background: transparent;
    color: #fff4d9;
  }
  .menu-button svg { width: 21px; height: 21px; }

  .mobile-nav {
    display: grid;
    padding: 3px 18px 14px;
    border-top: 1px solid #fff2;
    background: var(--night);
  }
  .mobile-nav a { padding: 9px 4px; }

  .hero { display: flex; flex-direction: column; background: #151e37; }
  .heropic { position: relative; inset: auto; z-index: 0; height: clamp(220px, 58vw, 394px); }
  .heropic img { z-index: 0; object-position: 50% 49%; }
  .heropic::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #151e37, #151e3720 23%, transparent 40%);
    content: '';
  }
  .hero-shade { display: none; }
  .hero-inner { display: block; min-height: 0; padding: 0; }
  .hero-text { position: relative; width: 100%; margin-top: -12px; padding: 0 3px 32px; }
  .eyebrow { margin-bottom: 15px; font-size: .73rem; letter-spacing: .13em; }
  .hero-eyebrow { margin-bottom: 13px; }
  .eyebrow > svg { width: 15px; height: 15px; }

  .hero h1 { margin-bottom: 16px; font-size: clamp(2.63rem, 11.15vw, 4.2rem); line-height: .97; }
  .hero h1 span { display: inline; }
  .hero-lead { font-size: 1rem; }
  .hero-actions { margin-top: 22px; gap: 15px; }
  .primary { min-height: 46px; padding: 8px 16px; font-size: .95rem; }
  .watch { gap: 8px; font-size: .88rem; }
  .watch small { font-size: .74rem; }
  .play-ring { width: 35px; height: 35px; }
  .play-ring svg { width: 16px; height: 16px; }

  .fact-band::before { height: 42px; background-size: 1050px auto; }
  .facts { min-height: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 11px; padding: 45px 2px 19px; }
  .fact, .fact:first-child { padding: 0; }
  .fact + .fact { border: 0; }
  .fact b { font-size: 1rem; }
  .fact div > span { font-size: .86rem; line-height: 1.35; }

  .section { padding-block: 49px; }
  .section h2 { margin-bottom: 19px; font-size: clamp(2.38rem, 8.05vw, 3.3rem); }
  .sample::before, .sample::after, .how::before, .inside::before, .inside::after, .faq::before { opacity: .46; width: 105px; }
  .sample-grid, .how-grid, .inside-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .body-copy { margin-bottom: 18px; font-size: 1.02rem; }
  .tabs button { padding: 7px 18px; }
  .small-note { margin-top: 12px; font-size: .88rem; }
  .caseback { width: calc(100% - 9px); }
  .casefile { min-height: 0; padding: 27px 20px 18px; }
  .casefile h3 { font-size: clamp(1.8rem, 6.2vw, 2.45rem); }
  .casefile > p:not(.answer) { font-size: .98rem; }
  .casehead { font-size: .75rem; padding-bottom: 8px; }
  .case-number { gap: 5px; }
  .tag { width: 74px; height: 80px; }
  .tag-letter { font-size: 2.25rem; }
  .thread { width: 55px; }

  .how-copy { grid-row: 1; }
  .how h2 { font-size: clamp(2.1rem, 7.5vw, 3.22rem); }
  .art-story { aspect-ratio: 1.26; max-height: 425px; border-top-left-radius: 67px; }
  .art-story > img { object-position: center 53%; }
  .steps li { gap: 13px; }
  .steps i { flex-basis: 34px; height: 34px; font-size: 1.25rem; }
  .steps::before { left: 16px; }
  .steps h3 { font-size: 1.06rem; }

  .inside-grid { gap: 23px; }
  .contents { gap: 8px; margin-bottom: 20px; }
  .contents li { padding-left: 23px; }
  .text-button { font-size: .98rem; }
  .paper-preview { width: min(100%, 470px); height: clamp(230px, 69vw, 350px); margin-inline: auto; }
  .preview-card { padding: 4px; }
  .bonus { gap: 12px; margin-top: 11px; align-items: flex-start; padding: 13px; }
  .bonus > img { width: 54px; height: 54px; }
  .bonus h3 { font-size: 1.37rem; }
  .bonus p:last-child { font-size: .92rem; }

  .pricing-ornaments { opacity: .72; }
  .pricing-ornaments::before { width: min(28vw, 170px); }
  .pricing-ornaments::after { width: min(37vw, 230px); }
  .dark-label { gap: 7px; }
  .dark-label::before, .dark-label::after { width: 13px; }
  .dark-label > svg { width: 8px; height: 8px; }
  .pricing-sub { font-size: 1rem; }
  .pricing-sub strong { font-size: 1.1rem; }
  .pricing-age { font-size: .9rem; }
  .tiers { grid-template-columns: 1fr; }
  .tier { min-height: 0; padding: 20px 21px; }
  .tier h3 { margin-top: 8px; }
  .tier-title { font-size: .96rem; }
  .tier p { margin-bottom: 10px; }
  .tier-end { gap: 12px; }
  .tier button { min-height: 44px; }
  .guarantee { font-size: .9rem; }

  .faq-grid { gap: 10px; }
  summary { padding-block: 16px; }
  .footrow { flex-wrap: wrap; gap: 8px 14px; min-height: 0; padding-block: 14px 17px; }
  .footrow .brand img { width: 133px; }
  .footrow > span { order: 3; flex-basis: 100%; font-size: .84rem; }

  .dialog-body { min-width: min(450px, calc(100vw - 32px)); padding: 23px 15px; }
  .dialog-close { top: 7px; right: 7px; width: 30px; height: 30px; }
  .dialog-body h2 { font-size: 1.53rem; }
}

@media (max-width: 370px) {
  .headrow { gap: 6px; }
  .brand img { width: 123px; }
  .navchoose { padding-inline: 12px 6px; font-size: .76rem; }
  .hero h1 { font-size: 2.55rem; }
  .hero-actions { gap: 12px; }
  .fact { gap: 6px; }
  .fact-icon svg { width: 21px; height: 21px; }
  .fact div > span { font-size: .82rem; }
}

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