/* Bunbee web. Golden hour: flour, rye, honey and low sun. Matches the app's tokens.css. */
@font-face {
  font-family: "Brockmann";
  src: url("fonts/Brockmann-Medium.otf") format("opentype");
  font-weight: 500 900;
  font-display: swap;
}

/* Newsreader (SIL Open Font License). Latin and Latin Extended only. */
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url("fonts/Newsreader-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url("fonts/Newsreader-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("fonts/Newsreader-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("fonts/Newsreader-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Free online baking timer */
.baking-timer {
  width: min(100%, 560px);
  margin-top: 28px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.timer-display {
  display: block;
  color: var(--crust);
  font-size: clamp(48px, 10vw, 78px);
  font-variant-numeric: tabular-nums;
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
}

.timer-status,
.timer-privacy {
  color: var(--muted);
}

.timer-status {
  min-height: 1.5em;
  margin: 12px 0 18px;
}

.timer-presets,
.timer-controls,
.timer-custom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.timer-presets button,
.timer-custom button,
.timer-custom input {
  min-height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--crust);
  font: inherit;
}

.timer-presets button,
.timer-custom button {
  cursor: pointer;
  padding: 0 16px;
  font-weight: 700;
}

.timer-presets button[aria-pressed="true"] {
  border-color: var(--orange);
  background: var(--orange-soft);
}

.timer-custom {
  align-items: center;
  margin-top: 18px;
}

.timer-custom label {
  font-weight: 700;
}

.timer-custom input {
  width: 92px;
  padding: 0 14px;
}

.timer-controls {
  margin-top: 20px;
}

.timer-controls .button {
  min-width: 124px;
}

.timer-complete {
  outline: 4px solid color-mix(in srgb, var(--honey) 45%, transparent);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 640px) {
  .timer-controls .button {
    flex: 1 1 140px;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  color-scheme: light dark;
  --font-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font-ui: "Brockmann", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;

  --bg: #fffaf4;
  --surface: #fffdf9;
  --surface-sunk: #f5eadc;
  --text: #24170f;
  --muted: #6e5847;
  --faint: #a8937f;
  --line: rgb(36 23 15 / .1);
  --line-strong: rgb(36 23 15 / .18);
  --honey: #f2a93b;
  --honey-top: #ffc766;
  --glow: #ffd88f;
  --honey-soft: #fcebcb;
  --on-honey: #24170f;
  --accent: #a9541e;
  --ember: #1b110b;
  --on-ember: #ffffff;
  --basil: #4f8a55;
  --basil-ink: #3a6b40;
  --basil-soft: #e8f1e4;
  --choice-fill: #fef8ec;
  --choice-line: rgb(214 150 60 / .26);
  --choice-ring: rgb(169 84 30 / .55);
  --glass: rgb(255 250 244 / .84);
  --sun: rgb(255 200 120 / .42);

  --radius-card: 26px;
  --capsule-corner-shape: superellipse(1.17);
  --shadow: rgb(120 60 15 / .22);
  --shadow-card: 0 24px 40px -24px rgb(120 60 15 / .55);
  --shadow-soft: 0 12px 30px -16px rgb(120 60 15 / .4);
  --shadow-honey: inset 0 1px 0 rgb(255 255 255 / .55), 0 14px 30px -12px rgb(214 128 20 / .7);
  --max: 1120px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);

  /* Older names, still used by some pages. */
  --page: var(--bg);
  --page-deep: var(--surface-sunk);
  --surface-warm: var(--surface-sunk);
  --crust: var(--text);
  --crust-soft: var(--muted);
  --ink: var(--text);
  --orange: var(--accent);
  --orange-soft: var(--honey-soft);
  --green: var(--basil);
  --berry: #b84543;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17100b;
    --surface: #22180f;
    --surface-sunk: #2d2117;
    --text: #f8ede0;
    --muted: #c2ad98;
    --faint: #8e7a68;
    --line: rgb(248 237 224 / .1);
    --line-strong: rgb(248 237 224 / .2);
    --honey-soft: #4a3510;
    --accent: #e8a26b;
    --basil: #7cc184;
    --basil-ink: #9fd4a5;
    --basil-soft: #1d2a1d;
    --choice-fill: #2c2118;
    --choice-line: rgb(248 237 224 / .22);
    --choice-ring: rgb(248 237 224 / .5);
    --glass: rgb(23 16 11 / .84);
    --sun: rgb(255 170 70 / .14);
    --shadow: rgb(0 0 0 / .5);
    --shadow-card: 0 24px 40px -24px rgb(0 0 0 / .8);
    --shadow-soft: 0 12px 30px -16px rgb(0 0 0 / .7);
    --shadow-honey: inset 0 1px 0 rgb(255 255 255 / .45), 0 14px 30px -14px rgb(214 128 20 / .45);
  }
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  background:
    radial-gradient(60% 560px at 88% 0%, var(--sun), transparent 72%) no-repeat,
    var(--bg);
  color: var(--text);
  font-family: var(--font-ui);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
}

/* Display type: Newsreader with an italic honey or rye accent word. */
.headline,
.section-copy h2,
.compact-title,
.cta-band h2,
.content-card h3,
.faq-item h3,
.topic-card strong {
  font-family: var(--font-display);
  font-weight: 380;
  letter-spacing: -.025em;
}

.headline em,
.section-copy h2 em,
.compact-title em,
.content-card h3 em,
.faq-item h3 em {
  font-style: italic;
  font-weight: 340;
  color: var(--accent);
}

/* CJK headlines: break at phrases and run a little smaller than Latin display type. */
:is(:lang(ja), :lang(ko), :lang(zh)) .headline {
  word-break: auto-phrase;
  letter-spacing: 0;
}

/* Scripts without a true italic keep the accent colour but stay upright. */
:is(:lang(ja), :lang(ko), :lang(zh), :lang(th), :lang(hi), :lang(ar)) em {
  font-style: normal;
}

.page {
  min-height: 100dvh;
  overflow: hidden;
}

.container {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  background: var(--glass);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  width: min(100% - 32px, var(--max));
  height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 420;
  letter-spacing: -.02em;
  line-height: 1;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 10px;
  overflow: hidden;
  background: var(--ember);
  box-shadow: var(--shadow-soft);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  transition: color .15s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Capsule buttons: superellipse corners, as in the app. */
.button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  corner-shape: var(--capsule-corner-shape);
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 26px -14px rgb(36 23 15 / .6);
  transition: transform .15s ease, filter .15s ease;
}

.button:hover {
  filter: brightness(1.04);
}

.button:active {
  transform: scale(.98);
}

.button.secondary {
  color: var(--text);
  background: var(--surface-sunk);
  border: 0;
  box-shadow: none;
}

.button.orange {
  color: var(--on-honey);
  background: linear-gradient(180deg, var(--honey-top) 0%, var(--honey) 100%);
  box-shadow: var(--shadow-honey);
}

.button:focus-visible,
.choice:focus-visible,
.plan:focus-visible,
a:focus-visible {
  outline: 2px solid var(--honey);
  outline-offset: 3px;
}

.hero {
  padding: 58px 0 46px;
}

.hero-grid {
  display: grid;
  gap: 34px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.headline {
  max-width: 660px;
  margin: 0;
  color: var(--text);
  font-size: 56px;
  line-height: 1;
}

.headline.large {
  font-size: 64px;
  line-height: .98;
}

/* Body copy is always the UI face, as in the app; Newsreader is for headlines, card titles and numbers. */
.lead {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* The primary CTA comes last: after the secondary action in a row, below it when stacked. */
.hero-actions .button.orange,
.cta-band .action-row .button.orange {
  order: 2;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
  padding-top: 8px;
}

.proof {
  min-height: 78px;
  padding: 14px 16px;
  border-radius: 20px;
  background: var(--surface-sunk);
}

.proof strong {
  display: block;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 420;
  line-height: 1.1;
}

.proof span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 500;
}

.hero-media {
  position: relative;
  min-height: 520px;
}

.shot-card {
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--surface-sunk);
  box-shadow: 0 30px 60px -30px var(--shadow), 0 10px 24px -16px var(--shadow);
}

.shot-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1242 / 2688;
  object-fit: cover;
}

.photo-card {
  border-radius: var(--radius-card);
}

.photo-card img {
  aspect-ratio: 1 / 1;
}

.photo-collage {
  position: relative;
  width: min(78vw, 430px);
  min-height: 430px;
}

.collage-main {
  position: absolute;
  left: 0;
  top: 52px;
  width: 318px;
  transform: rotate(-2deg);
}

.collage-tile {
  position: absolute;
  width: 146px;
  border-radius: 20px;
  border: 4px solid var(--surface);
  box-shadow: 0 18px 42px -18px var(--shadow);
}

.collage-tile.top {
  top: 0;
  right: 6px;
  transform: rotate(4deg);
}

.collage-tile.middle {
  right: 0;
  top: 158px;
  transform: rotate(-3deg);
}

.collage-tile.bottom {
  right: 54px;
  bottom: 0;
  transform: rotate(5deg);
}

.value-photo {
  width: min(76vw, 390px);
}

.paywall-photo {
  width: min(74vw, 360px);
}

.photo-pair {
  width: min(78vw, 430px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
}

.photo-pair .photo-card:nth-child(2) {
  margin-top: 54px;
}

.hero-shot {
  width: min(74vw, 305px);
  margin: 0 auto;
  transform: rotate(-2deg);
}

.mini-shot {
  position: absolute;
  width: 150px;
  border-radius: 20px;
  border: 4px solid var(--surface);
  box-shadow: 0 18px 40px -18px var(--shadow);
}

.mini-shot.left {
  left: 0;
  bottom: 32px;
  transform: rotate(4deg);
}

.mini-shot.right {
  right: 0;
  top: 36px;
  transform: rotate(5deg);
}

.section {
  padding: 72px 0;
}

.section.alt {
  background: color-mix(in srgb, var(--surface-sunk) 55%, transparent);
}

.section-grid {
  display: grid;
  gap: 34px;
  align-items: center;
}

.section-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-copy h2,
.compact-title {
  max-width: 560px;
  margin: 0;
  font-size: 46px;
  line-height: 1.02;
}

.section-copy p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 500;
}

.feature-list {
  display: grid;
  gap: 20px;
  margin-top: 8px;
  max-width: 520px;
}

.feature-row {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.feature-row:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 40px;
  bottom: -16px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--honey), transparent);
  opacity: .5;
}

.feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: var(--honey-soft);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 420;
  font-variant-numeric: lining-nums;
}

.feature-row strong {
  display: block;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
}

.feature-row div > span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}

.shot-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: end;
}

.shot-pair .shot-card:nth-child(2) {
  margin-top: 54px;
}

.image-rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 18px 24px;
  scrollbar-width: none;
}

.image-rail::-webkit-scrollbar {
  display: none;
}

.rail-shot {
  width: 214px;
  flex: 0 0 auto;
  scroll-snap-align: center;
}

.guide-intro {
  max-width: 760px;
  margin-bottom: 28px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.topic-card {
  min-height: 100%;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 8px;
  padding: 10px 10px 18px;
  color: var(--text);
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: transform .2s ease;
}

.topic-card:hover {
  transform: translateY(-2px);
}

.topic-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 6px;
}

.topic-card span,
.topic-card strong {
  padding: 0 8px;
}

.topic-card span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.topic-card strong {
  font-size: 21px;
  line-height: 1.18;
}

.seo-page .nav {
  position: relative;
}

.seo-hero {
  padding: 48px 0 60px;
}

.breadcrumb {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
}

.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}

.seo-grid {
  display: grid;
  gap: 34px;
  align-items: center;
}

.seo-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.seo-copy .lead {
  max-width: 620px;
}

.seo-kicker {
  color: var(--accent);
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.keyword-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 640px;
}

.keyword-strip span {
  padding: 9px 14px;
  color: var(--text);
  background: var(--surface-sunk);
  border-radius: 999px;
  corner-shape: var(--capsule-corner-shape);
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
}

.seo-photo {
  width: min(82vw, 420px);
  margin: 0 auto;
}

.content-columns {
  display: grid;
  gap: 16px;
}

.content-card,
.faq-item {
  padding: 22px;
  background: var(--surface-sunk);
  border-radius: var(--radius-card);
}

.content-card h3,
.faq-item h3 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 24px;
  line-height: 1.15;
}

.content-card p,
.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 500;
}

.faq-grid {
  display: grid;
  gap: 12px;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 18px;
}

.inline-links a {
  color: var(--accent);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--honey) 60%, transparent);
}

/* Dark immersive band, like the app's onboarding: ember, low sun, the wax seal. */
.cta-band {
  position: relative;
  padding: 64px 0 calc(72px + var(--safe-bottom));
  background:
    radial-gradient(70% 120% at 100% 0%, rgb(255 190 95 / .28), rgb(255 170 70 / .06) 45%, transparent 70%),
    var(--ember);
  color: var(--on-ember);
  border-top: 1px solid var(--line);
}

.cta-band .container {
  display: grid;
  gap: 28px;
  align-items: center;
}

.cta-band .container > div:first-child::before {
  content: "";
  display: block;
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  background: url("images/brand/seal.webp") center / contain no-repeat;
  border-radius: 14px;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .08), 0 12px 28px -10px rgb(242 169 59 / .35);
}

.cta-band h2 {
  margin: 0;
  color: var(--on-ember);
  font-size: 44px;
  line-height: 1.02;
}

.cta-band h2 em {
  font-style: italic;
  font-weight: 340;
  color: var(--glow);
}

.cta-band p {
  max-width: 540px;
  margin: 12px 0 0;
  color: rgb(255 255 255 / .72);
  font-family: var(--font-ui);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 500;
}

.cta-band .button.secondary {
  color: #fff;
  background: rgb(255 250 244 / .12);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16);
}

.footer {
  padding: 28px 0 calc(34px + var(--safe-bottom));
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
  font-weight: 500;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--text);
  text-decoration: none;
}

.footer a:hover {
  color: var(--accent);
}

.funnel-page {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.funnel-shell {
  width: min(100% - 32px, 1060px);
  margin: 0 auto;
  padding: 18px 0 24px;
}

.funnel-topbar {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.progress {
  display: flex;
  align-items: center;
  gap: 7px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--line-strong);
}

.dot.active {
  width: 26px;
  background: var(--honey);
}

.direct-flow:not(.experiment-flow) .progress .dot:first-child {
  display: none;
}

.funnel-hidden {
  display: none !important;
}

.deal-banner {
  width: fit-content;
  margin: 0;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  corner-shape: var(--capsule-corner-shape);
  background: linear-gradient(135deg, #2f5f35 0%, #4f8a55 100%);
  color: #fff;
  box-shadow: 0 14px 30px -14px rgb(47 95 53 / .7);
  text-transform: uppercase;
}

.deal-banner span {
  font-size: 10px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: .12em;
}

.deal-banner strong {
  font-size: 17px;
  line-height: .9;
  font-weight: 500;
  letter-spacing: 0;
}

.stage {
  display: none;
  min-height: calc(100dvh - 130px);
  align-items: center;
}

.stage.active {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

.stage.has-media.active {
  align-items: center;
}

.step-label {
  color: var(--accent);
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.stage-meta {
  width: 100%;
  max-width: 620px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.choice-grid {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 620px;
}

.choice-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice {
  position: relative;
  width: 100%;
  min-height: 74px;
  border: 1px solid var(--choice-line);
  background: var(--choice-fill);
  color: var(--text);
  border-radius: 22px;
  padding: 15px 52px 15px 18px;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  cursor: pointer;
  box-shadow: none;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.choice::before,
.choice::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.choice::before {
  top: 19px;
  right: 18px;
  width: 22px;
  height: 22px;
  border: 2px solid var(--faint);
  background: var(--surface);
}

.choice::after {
  top: 25px;
  right: 24px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  opacity: 0;
  transform: scale(.6);
  transition: opacity .18s ease, transform .18s ease;
}

.choice.selected {
  border-color: var(--choice-ring);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--choice-ring), var(--shadow-soft);
}

.choice.selected::before {
  border-color: var(--accent);
}

.choice.selected::after {
  opacity: 1;
  transform: scale(1);
}

.choice span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  margin-top: 5px;
}

.selection-actions {
  max-width: 620px;
  margin-top: 14px;
}

.visual {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.funnel-shot {
  width: min(74vw, 276px);
}

.summary {
  display: grid;
  gap: 0;
  max-width: 620px;
  border-top: 1px solid var(--line);
}

.summary-row {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
}

.summary-row strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-align: right;
}

.paywall {
  display: grid;
  gap: 12px;
  max-width: 620px;
  width: 100%;
}

.plan {
  position: relative;
  border: 1px solid var(--choice-line);
  border-radius: 22px;
  background: var(--choice-fill);
  padding: 16px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  color: var(--text);
}

.plan.selected {
  border-color: var(--choice-ring);
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--choice-ring), var(--shadow-soft);
}

.plan-title {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.plan-sub {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  margin-top: 5px;
  line-height: 1.35;
}

.plan-sub-price {
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: fit-content;
  border: 0;
  border-radius: 999px;
  corner-shape: var(--capsule-corner-shape);
  background: linear-gradient(180deg, var(--honey-top) 0%, var(--honey) 100%);
  color: var(--on-honey);
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  gap: 3px 8px;
  white-space: nowrap;
}

.price strong {
  order: 2;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.1;
}

.price span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}

.price .price-original {
  order: 1;
  font-size: 19px;
  line-height: 1.1;
  text-decoration: line-through;
  opacity: .72;
}

.price [data-plan-period] {
  order: 3;
  flex-basis: 100%;
  text-align: right;
}

.discount-note {
  border: 1px solid color-mix(in srgb, var(--basil) 30%, transparent);
  border-radius: 18px;
  background: var(--basil-soft);
  color: var(--text);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin: 4px 0 2px;
  max-width: 620px;
}

.discount-note strong {
  display: block;
  color: var(--basil-ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}

.discount-note span {
  display: block;
  margin-top: 4px;
}

html[dir="rtl"] .section-copy,
html[dir="rtl"] .choice,
html[dir="rtl"] .plan,
html[dir="rtl"] .summary-row,
html[dir="rtl"] .fineprint {
  text-align: right;
}

html[dir="rtl"] .price {
  justify-content: flex-start;
}

html[dir="rtl"] .price [data-plan-period] {
  text-align: left;
}

.fineprint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  max-width: 620px;
}

.fineprint a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.unlock-page,
.download-page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px 18px calc(28px + var(--safe-bottom));
}

.compact-unlock-page {
  padding: 16px 14px calc(18px + var(--safe-bottom));
}

.center-panel {
  width: min(100%, 920px);
  display: grid;
  gap: 26px;
  align-items: center;
}

.unlock-panel {
  width: min(100%, 620px);
  display: block;
}

.success-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

.unlock-card {
  gap: 10px;
}

.unlock-card .brand {
  margin-bottom: 2px;
}

.unlock-card .headline {
  max-width: 560px;
  font-size: clamp(32px, 7vw, 44px);
  line-height: 1.02;
}

.unlock-card .lead {
  font-size: 16px;
  line-height: 1.4;
}

.unlock-steps {
  width: 100%;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.unlock-steps li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.unlock-step-content {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.unlock-step-content.has-action {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
}

.unlock-step-copy {
  min-width: 0;
}

.unlock-steps strong,
.unlock-steps small {
  display: block;
  overflow-wrap: break-word;
}

.unlock-steps strong {
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.25;
}

.unlock-steps small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.unlock-step-button {
  width: fit-content;
  max-width: 100%;
  display: inline-grid;
  align-items: center;
  justify-content: center;
  justify-self: end;
  position: relative;
  text-align: center;
  white-space: nowrap;
}

.unlock-step-button > .button-width-proxy,
.unlock-step-button > .button-visible-label {
  grid-area: 1 / 1;
}

.button-width-proxy {
  opacity: 0;
  pointer-events: none;
}

.button-visible-label {
  z-index: 1;
}

.hint {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
}

.redeem-card {
  max-width: 520px;
}

.redeem-status {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.redeem-status-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--basil);
  color: #fff;
  font-size: 13px;
  line-height: 1;
}

.redeem-actions {
  width: 100%;
  display: grid;
  gap: 10px;
}

.redeem-actions .button {
  min-height: 44px;
}

.download-card {
  width: min(100%, 430px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  text-align: center;
}

@media (min-width: 720px) {
  .nav-links {
    display: flex;
  }

  .hero-grid,
  .section-grid,
  .seo-grid,
  .cta-band .container,
  .center-panel {
    grid-template-columns: minmax(0, 1fr) minmax(280px, .82fr);
  }

  .content-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-grid.reverse .section-media {
    order: -1;
  }

  .cta-band .action-row {
    justify-content: flex-end;
  }

  .stage.has-media.active {
    grid-template-columns: minmax(0, .96fr) minmax(260px, .72fr);
  }

  .unlock-step-content.has-action .unlock-step-button {
    width: fit-content;
  }
}

@media (min-width: 980px) {
  .headline {
    font-size: 70px;
  }

  .headline.large {
    font-size: 84px;
  }

  :is(:lang(ja), :lang(ko), :lang(zh)) .headline.large {
    font-size: 64px;
  }

  .section-copy h2,
  .compact-title {
    font-size: 52px;
  }

  .cta-band h2 {
    font-size: 52px;
  }

  .hero {
    padding-top: 80px;
  }

  .hero-media {
    min-height: 620px;
  }

  .hero-shot {
    width: 342px;
  }

  .mini-shot {
    width: 176px;
  }

  .rail-shot {
    width: 248px;
  }

  .topic-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 719px) {
  .container {
    width: min(100% - 32px, var(--max));
  }

  .nav-inner {
    width: min(100% - 32px, var(--max));
  }

  .nav-actions .button.secondary {
    display: none;
  }

  .hero {
    padding-top: 36px;
  }

  .headline,
  .headline.large {
    font-size: 46px;
  }

  .section-copy h2,
  .compact-title,
  .cta-band h2 {
    font-size: 36px;
  }

  .lead {
    font-size: 18px;
  }

  .hero-actions .button,
  .cta-band .action-row .button {
    flex: 1 1 100%;
  }

  .proof-row,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 430px;
  }

  .hero-shot {
    width: min(72vw, 270px);
  }

  .mini-shot {
    width: 118px;
  }

  .mini-shot.left {
    left: -4px;
    bottom: 42px;
  }

  .mini-shot.right {
    right: -6px;
    top: 42px;
  }

  .photo-collage {
    width: min(100%, 356px);
    min-height: 360px;
  }

  .collage-main {
    width: 254px;
    top: 46px;
  }

  .collage-tile {
    width: 112px;
  }

  .collage-tile.middle {
    top: 136px;
  }

  .collage-tile.bottom {
    right: 42px;
  }

  .value-photo,
  .paywall-photo {
    width: min(86vw, 330px);
  }

  .stage[data-stage="2"].active .value-photo,
  .stage[data-stage="4"].active .value-photo {
    width: min(58vw, 210px);
  }

  .photo-pair {
    width: min(88vw, 350px);
    gap: 10px;
  }

  .stage[data-stage="3"].active .photo-pair {
    width: min(66vw, 240px);
  }

  .shot-pair {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
  }

  .choice-grid.two {
    grid-template-columns: 1fr;
  }

  .stage {
    min-height: auto;
    padding: 16px 0 34px;
  }

  .deal-banner {
    width: fit-content;
    margin: 0;
    padding: 7px 12px;
    justify-content: center;
    gap: 8px;
  }

  .deal-banner span {
    font-size: 9px;
  }

  .deal-banner strong {
    font-size: 16px;
  }

  .stage[data-stage="2"].active .visual,
  .stage[data-stage="3"].active .visual,
  .stage[data-stage="4"].active .visual {
    order: -1;
  }

  .stage[data-stage="0"].active .section-copy,
  .stage[data-stage="1"].active .section-copy,
  .stage[data-stage="2"].active .section-copy,
  .stage[data-stage="3"].active .section-copy,
  .stage[data-stage="4"].active .section-copy,
  .stage[data-stage="5"].active .section-copy {
    padding-bottom: 82px;
  }

  .stage[data-stage="0"].active .selection-actions,
  .stage[data-stage="1"].active .selection-actions,
  .stage[data-stage="2"].active .action-row,
  .stage[data-stage="3"].active .action-row,
  .stage[data-stage="4"].active .action-row,
  .stage[data-stage="5"].active .action-row {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(12px + var(--safe-bottom));
    z-index: 30;
    display: grid;
    gap: 10px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 32px;
    corner-shape: var(--capsule-corner-shape);
    background: var(--glass);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
  }

  .stage[data-stage="0"].active .selection-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .stage[data-stage="1"].active .selection-actions,
  .stage[data-stage="2"].active .action-row,
  .stage[data-stage="3"].active .action-row,
  .stage[data-stage="4"].active .action-row,
  .stage[data-stage="5"].active .action-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .stage[data-stage="0"].active .selection-actions .button,
  .stage[data-stage="1"].active .selection-actions .button,
  .stage[data-stage="2"].active .action-row .button,
  .stage[data-stage="3"].active .action-row .button,
  .stage[data-stage="4"].active .action-row .button,
  .stage[data-stage="5"].active .action-row .button {
    min-height: 48px;
    padding: 0 16px;
  }

  .funnel-shot {
    width: min(70vw, 236px);
  }
}
