@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;1,500&family=Manrope:wght@400;500;600;700&display=swap");

:root {
  color-scheme: dark;
  --night: #07090f;
  --night-soft: #0c1119;
  --ink: #f7f1e7;
  --ink-soft: #bdb6aa;
  --ink-dim: #77766f;
  --gold: #dda83e;
  --gold-light: #f6db97;
  --gold-dark: #8e6420;
  --terracotta: #b85c3e;
  --teal: #4f9188;
  --paper: #eee5d4;
  --paper-ink: #272116;
  --line: rgba(247, 241, 231, 0.12);
  --line-strong: rgba(221, 168, 62, 0.34);
  --glass: rgba(10, 13, 20, 0.74);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1200px;
  --ease: cubic-bezier(0.22, 0.7, 0.18, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 2%, rgba(94, 68, 29, 0.2), transparent 30rem),
    var(--night);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  content: "";
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

::selection {
  color: #171006;
  background: var(--gold-light);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1001;
  padding: 10px 16px;
  color: var(--paper-ink);
  background: var(--paper);
  border-radius: 999px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.page-shell {
  position: relative;
  isolation: isolate;
}

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 200;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--terracotta), var(--gold-light));
  box-shadow: 0 0 20px rgba(221, 168, 62, 0.55);
}

#sky {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
}

.cursor-light {
  position: fixed;
  z-index: 20;
  width: 420px;
  height: 420px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(221, 168, 62, 0.07), transparent 64%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.35s, border-color 0.35s, transform 0.35s;
}

.site-nav.is-solid {
  background: rgba(7, 9, 15, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(125%);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  font: 500 25px/1 var(--serif);
  letter-spacing: 0.02em;
}

/* The web app's sun mark (app/web/public/jyoti-home/logo-sun-transparent-v3.webp);
   it carries its own ring, so the mark is just the image. */
.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand b {
  color: var(--gold);
  font-weight: 500;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 28px;
  margin-left: auto;
  margin-right: 30px;
  color: var(--ink-soft);
  font-size: 13px;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s var(--ease);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-actions {
  gap: 14px;
}

.lang-menu {
  position: relative;
}

.lang-menu__button {
  display: inline-flex;
  height: 42px;
  padding: 0 14px 0 12px;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 600 13px/1 var(--sans);
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.25s, background 0.25s, border-color 0.25s;
}

.lang-menu__button::after {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 2px;
  content: "";
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s var(--ease);
}

.lang-menu.is-open .lang-menu__button::after {
  margin-top: 3px;
  transform: rotate(-135deg);
}

.lang-menu__button:hover,
.lang-menu__button:focus-visible,
.lang-menu.is-open .lang-menu__button {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line-strong);
}

.lang-menu__globe {
  flex: none;
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1.4;
}

.lang-menu__list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  min-width: 210px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: rgba(7, 9, 15, 0.97);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.lang-menu.is-open .lang-menu__list {
  display: block;
}

.lang-menu__list a {
  display: flex;
  min-height: 42px;
  padding: 0 14px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink-soft);
  border-radius: 12px;
  font-size: 15px;
  outline: none;
}

.lang-menu__list a:hover,
.lang-menu__list a:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
}

.lang-menu__list a:focus-visible {
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.lang-menu__list a[aria-current="page"] {
  color: var(--gold-light);
  font-weight: 700;
}

.lang-menu__list a[aria-current="page"]::after {
  content: "✓";
}

.lang-suggest {
  position: fixed;
  top: 88px;
  right: 20px;
  z-index: 95;
  display: flex;
  max-width: min(440px, calc(100% - 28px));
  padding: 12px 12px 12px 18px;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  background: rgba(7, 9, 15, 0.96);
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.lang-suggest p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.lang-suggest .button {
  flex: none;
}

.lang-suggest__close {
  flex: none;
  width: 36px;
  height: 36px;
  color: var(--ink-soft);
  background: transparent;
  border: 0;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.lang-suggest__close:hover,
.lang-suggest__close:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
}

.theme-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.25s, background 0.25s, border-color 0.25s, transform 0.3s var(--ease);
}

.theme-toggle::before {
  content: "☼";
  font: 400 19px/1 Georgia, serif;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line-strong);
  transform: rotate(18deg);
}

.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 18px;
  height: 1px;
  margin: 5px auto;
  content: "";
  background: currentColor;
  transition: transform 0.25s;
}

.site-nav.menu-open .nav-toggle::before {
  transform: translateY(3px) rotate(45deg);
}

.site-nav.menu-open .nav-toggle::after {
  transform: translateY(-3px) rotate(-45deg);
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  padding: 0 25px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: transform 0.28s var(--ease), border-color 0.28s, background 0.28s;
}

.button:hover,
.button:focus-visible {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.button-gold {
  color: #1c1306;
  background: linear-gradient(110deg, #b47b22 0%, var(--gold-light) 45%, #c78e2c 100%);
  border-color: transparent;
  box-shadow: 0 13px 45px rgba(200, 143, 44, 0.22);
}

.button-gold::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.55), transparent 68%);
  transform: translateX(-130%);
  transition: transform 0.7s var(--ease);
}

.button-gold:hover::before {
  transform: translateX(130%);
}

.button-small {
  min-height: 42px;
  padding-inline: 19px;
  font-size: 12px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  content: "";
  background: var(--gold-dark);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: 132px 0 70px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  overflow: clip;
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-art::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 9, 15, 0.98) 0%, rgba(7, 9, 15, 0.9) 38%, rgba(7, 9, 15, 0.18) 78%),
    linear-gradient(0deg, var(--night) 0%, transparent 30%);
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
  scale: 1.03;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 720px;
}

.hero h1 {
  max-width: 750px;
  margin-bottom: 24px;
  font-size: clamp(58px, 7vw, 100px);
  line-height: 0.86;
  letter-spacing: -0.035em;
}

.hero h1 em {
  display: block;
  padding-left: 0.62em;
  color: var(--gold-light);
  font-weight: 500;
}

.hero-lead {
  max-width: 590px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.45vw, 19px);
}

.hero-lead strong {
  color: var(--ink);
  font-weight: 600;
}

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

.hero-note {
  margin-top: 16px;
  color: var(--ink-dim);
  font-size: 12px;
}

.hero-note span {
  color: var(--gold-light);
}

.hero-orbit {
  position: relative;
  display: grid;
  width: min(43vw, 520px);
  aspect-ratio: 1;
  margin-left: auto;
  place-items: center;
  perspective: 900px;
}

.orbit-line {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(246, 219, 151, 0.22);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(221, 168, 62, 0.08);
}

.orbit-line:nth-child(2) {
  inset: 20%;
  border-style: dashed;
  animation: orbit-spin 45s linear infinite reverse;
}

.orbit-line:nth-child(3) {
  inset: 32%;
  animation: orbit-spin 28s linear infinite;
}

.hero-logo-stage {
  position: relative;
  z-index: 2;
  display: grid;
  width: 62%;
  aspect-ratio: 1;
  place-items: center;
  isolation: isolate;
  transform-style: preserve-3d;
  transition: transform 0.3s var(--ease);
  will-change: transform;
}

.hero-logo-stage::before {
  position: absolute;
  inset: -19%;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle, rgba(246, 219, 151, 0.18) 0 34%, transparent 67%),
    conic-gradient(from 20deg, transparent 0 11%, rgba(246, 219, 151, 0.82) 14%, transparent 18% 36%, rgba(221, 168, 62, 0.5) 40%, transparent 45% 67%, rgba(255, 237, 181, 0.72) 72%, transparent 77%);
  border-radius: 50%;
  filter: blur(15px);
  opacity: 0.74;
  animation: logo-aura-spin 16s linear infinite;
}

.hero-logo-stage::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: "";
  background: radial-gradient(circle, rgba(255, 246, 211, 0.04), transparent 64%);
  border: 1px solid rgba(255, 233, 172, 0.3);
  border-radius: 50%;
  box-shadow:
    inset 0 0 34px rgba(255, 237, 185, 0.16),
    0 0 22px rgba(221, 168, 62, 0.24),
    0 0 80px rgba(221, 168, 62, 0.2);
  clip-path: circle(49%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: 902 / 889;
  object-fit: contain;
  border-radius: 50%;
  clip-path: ellipse(48% 48% at 50% 48.14%);
  filter:
    drop-shadow(0 0 22px rgba(0, 0, 0, 0.44))
    drop-shadow(0 0 22px rgba(221, 168, 62, 0.48));
  mix-blend-mode: screen;
  opacity: 0.76;
  transform: translate3d(0, 1.8%, 26px);
  animation: logo-breathe 5.2s var(--ease) infinite;
}

.orbit-chip {
  position: absolute;
  padding: 9px 13px;
  color: var(--ink-soft);
  background: rgba(7, 9, 15, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  font-size: 11px;
  letter-spacing: 0.04em;
  animation: float 6s var(--ease) infinite alternate;
}

.orbit-chip:nth-of-type(1) {
  top: 10%;
  left: 2%;
}

.orbit-chip:nth-of-type(2) {
  top: 38%;
  right: -4%;
  animation-delay: -2s;
}

.orbit-chip:nth-of-type(3) {
  right: 11%;
  bottom: 9%;
  animation-delay: -4s;
}

.hero-index {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  display: flex;
  justify-content: space-between;
  color: var(--ink-dim);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.question-river {
  overflow: hidden;
  padding: 21px 0;
  background: var(--paper);
  color: var(--paper-ink);
  border-block: 1px solid rgba(39, 33, 22, 0.24);
}

.question-track {
  display: flex;
  width: max-content;
  animation: river 38s linear infinite;
}

.question-track span {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font: 600 clamp(18px, 2.3vw, 29px)/1 var(--serif);
}

.question-track span::after {
  margin: 0 28px;
  color: var(--gold-dark);
  content: "✦";
  font-size: 11px;
}

.section {
  position: relative;
  padding: clamp(92px, 12vw, 170px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(300px, 1.22fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 72px;
}

.section-title {
  max-width: 840px;
  margin-bottom: 0;
  font-size: clamp(43px, 6.2vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.section-title em {
  color: var(--gold-light);
}

.section-intro {
  max-width: 510px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.manifesto {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10vw;
  align-items: start;
}

.manifesto-sticky {
  position: sticky;
  top: 130px;
}

.manifesto-number {
  color: var(--gold-dark);
  font: 500 14px/1 var(--serif);
  letter-spacing: 0.16em;
}

.manifesto-copy p {
  margin-bottom: 42px;
  color: var(--ink-soft);
  font: 500 clamp(31px, 4.1vw, 58px)/1.12 var(--serif);
}

.manifesto-copy p strong {
  color: var(--ink);
  font-weight: 500;
}

.manifesto-copy p em {
  color: var(--gold-light);
}

.story {
  background: linear-gradient(180deg, transparent, rgba(17, 23, 31, 0.66) 12%, rgba(17, 23, 31, 0.5) 88%, transparent);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(42px, 7vw, 100px);
}

.story-visual {
  position: sticky;
  top: 108px;
  height: calc(100svh - 150px);
  min-height: 600px;
  overflow: hidden;
  background: #111820;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.36);
}

.story-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter 0.6s;
}

.story-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(7, 9, 15, 0.93) 0%, transparent 54%);
}

.story-stage {
  position: absolute;
  right: 26px;
  bottom: 26px;
  left: 26px;
  z-index: 2;
}

.stage-kicker {
  margin-bottom: 10px;
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.stage-title {
  margin-bottom: 8px;
  font: 500 clamp(30px, 4vw, 54px)/1 var(--serif);
}

.stage-note {
  max-width: 460px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.stage-dots {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 9px);
  gap: 8px;
}

.stage-dots i {
  width: 9px;
  height: 9px;
  background: transparent;
  border: 1px solid rgba(246, 219, 151, 0.6);
  border-radius: 50%;
  transition: background 0.3s, transform 0.3s;
}

.stage-dots i.active {
  background: var(--gold-light);
  transform: scale(1.3);
}

.story-step {
  display: flex;
  min-height: 72svh;
  padding: 72px 0;
  flex-direction: column;
  justify-content: center;
  opacity: 0.38;
  transition: opacity 0.45s;
}

.story-step.active {
  opacity: 1;
}

.story-index {
  margin-bottom: 18px;
  color: var(--gold);
  font: 500 12px/1 var(--serif);
  letter-spacing: 0.14em;
}

.story-step h3 {
  margin-bottom: 18px;
  font-size: clamp(39px, 4.5vw, 59px);
  line-height: 1;
}

.story-step p {
  max-width: 470px;
  margin-bottom: 24px;
  color: var(--ink-soft);
}

.story-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.story-tags span {
  padding: 7px 11px;
  color: var(--ink-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
}

.products {
  overflow: hidden;
}

.window-deck {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
  perspective: 1200px;
}

.product-window {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: var(--night-soft);
  border: 1px solid var(--line);
  border-radius: 26px;
  transform-style: preserve-3d;
  transition: transform 0.28s var(--ease), border-color 0.28s, box-shadow 0.28s;
}

.product-window:hover {
  border-color: var(--line-strong);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.35);
}

.product-window.large {
  grid-column: span 7;
}

.product-window.medium {
  grid-column: span 5;
}

.product-window.third {
  grid-column: span 4;
  min-height: 390px;
}

.window-bar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 3;
  display: flex;
  height: 48px;
  padding: 0 18px;
  align-items: center;
  justify-content: space-between;
  color: rgba(247, 241, 231, 0.72);
  background: linear-gradient(180deg, rgba(7, 9, 15, 0.7), transparent);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.window-dots {
  display: flex;
  gap: 5px;
}

.window-dots i {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.7;
}

.product-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.8s var(--ease);
}

.product-window:hover .product-art {
  scale: 1.035;
}

.art-left {
  object-position: left center;
}

.art-center {
  object-position: center;
}

.art-right {
  object-position: right center;
}

.product-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  padding: 42px 34px 31px;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(0deg, rgba(6, 8, 13, 0.96) 0%, rgba(6, 8, 13, 0.35) 62%, rgba(6, 8, 13, 0.08));
}

.product-state {
  width: fit-content;
  margin-bottom: 13px;
  padding: 6px 10px;
  color: var(--gold-light);
  background: rgba(7, 9, 15, 0.55);
  border: 1px solid rgba(246, 219, 151, 0.24);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.product-overlay h3 {
  margin-bottom: 8px;
  font-size: clamp(33px, 3.5vw, 49px);
  line-height: 1;
}

.product-overlay p {
  max-width: 520px;
  margin-bottom: 19px;
  color: var(--ink-soft);
  font-size: 13px;
}

.product-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
}

.product-link span {
  transition: transform 0.25s;
}

.product-link:hover span {
  transform: translateX(5px);
}

.lab {
  background: var(--paper);
  color: var(--paper-ink);
}

.lab .eyebrow {
  color: var(--gold-dark);
}

.lab-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
}

.lab h2 {
  margin-bottom: 22px;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 0.95;
}

.lab-copy > p {
  max-width: 470px;
  color: #655c4d;
}

.prompt-list {
  display: grid;
  gap: 9px;
  margin: 30px 0;
}

.prompt-chip {
  display: flex;
  width: 100%;
  padding: 14px 16px;
  align-items: center;
  justify-content: space-between;
  color: #584e3e;
  background: transparent;
  border: 1px solid rgba(39, 33, 22, 0.17);
  border-radius: 14px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.prompt-chip::after {
  color: var(--gold-dark);
  content: "↗";
}

.prompt-chip:hover,
.prompt-chip.active {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(142, 100, 32, 0.56);
  transform: translateX(5px);
}

.answer-window {
  position: relative;
  min-height: 570px;
  padding: 54px;
  overflow: hidden;
  background: #0a1018;
  color: var(--ink);
  border-radius: 30px;
  box-shadow: 0 40px 100px rgba(61, 44, 18, 0.25);
}

.answer-window::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 80% 15%, rgba(221, 168, 62, 0.18), transparent 27%),
    linear-gradient(135deg, transparent, rgba(79, 145, 136, 0.08));
}

.answer-head,
.answer-body,
.answer-footer {
  position: relative;
  z-index: 1;
}

.answer-head {
  display: flex;
  margin-bottom: 72px;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-dim);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.answer-sun {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 50%;
  mix-blend-mode: screen;
}

.answer-question {
  margin-bottom: 18px;
  color: var(--gold-light);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.answer-title {
  margin-bottom: 19px;
  font-size: clamp(37px, 4.5vw, 60px);
  line-height: 1;
}

.answer-text {
  max-width: 570px;
  margin-bottom: 0;
  color: var(--ink-soft);
}

.answer-footer {
  position: absolute;
  right: 54px;
  bottom: 44px;
  left: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-dim);
  font-size: 10px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.proof-item {
  min-height: 240px;
  padding: 34px 28px;
  background: var(--night-soft);
}

.proof-value {
  display: block;
  margin-bottom: 66px;
  color: var(--gold-light);
  font: 500 clamp(42px, 5vw, 68px)/1 var(--serif);
}

.proof-label {
  max-width: 190px;
  color: var(--ink-soft);
  font-size: 12px;
}

.trust-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(45px, 7vw, 90px);
  align-items: center;
}

.trust-art {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 28px;
}

.trust-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust-art::after {
  position: absolute;
  inset: 0;
  content: "";
  box-shadow: inset 0 0 80px rgba(7, 9, 15, 0.4);
}

.trust-copy h2 {
  margin-bottom: 25px;
  font-size: clamp(42px, 5vw, 67px);
  line-height: 0.98;
}

.trust-copy > p {
  color: var(--ink-soft);
}

.trust-list {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.trust-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.trust-row span {
  color: var(--gold);
  font: 500 14px/1.5 var(--serif);
}

.trust-row p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: steps;
}

.how-card {
  position: relative;
  min-height: 360px;
  padding: 34px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: 24px;
  counter-increment: steps;
}

.how-card::before {
  display: block;
  margin-bottom: 100px;
  color: var(--gold);
  content: "0" counter(steps);
  font: 500 15px/1 var(--serif);
}

.how-card::after {
  position: absolute;
  top: 42px;
  right: 38px;
  width: 86px;
  height: 86px;
  content: "";
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(221, 168, 62, 0.035), 0 0 0 24px rgba(221, 168, 62, 0.02);
}

.how-card h3 {
  margin-bottom: 12px;
  font-size: 31px;
  line-height: 1.05;
}

.how-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.faq {
  max-width: 850px;
  margin: 0 auto;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  padding: 25px 0;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font: 500 clamp(22px, 2.5vw, 31px)/1.2 var(--serif);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  color: var(--gold);
  content: "+";
  font: 400 28px/1 var(--sans);
}

.faq details[open] summary::after {
  content: "−";
}

.faq-answer {
  max-width: 690px;
  padding-bottom: 28px;
  color: var(--ink-soft);
}

/* Report sales page (report-*.html): screenshot gallery + pricing cards. */
.trust-art.portrait {
  aspect-ratio: 3 / 4;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.shot-card {
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: transform 0.28s var(--ease), border-color 0.28s;
}

.shot-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}

/* Per-language PDF samples come as <picture> (AVIF → WebP → PNG): the wrapper takes no box. */
.shot-card picture,
.trust-art picture {
  display: contents;
}

.shot-card img {
  width: 100%;
  height: auto;
  border-bottom: 1px solid var(--line);
}

.shot-cap {
  padding: 14px 18px;
  color: var(--ink-soft);
  font-size: 13px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.price-card {
  position: relative;
  padding: 38px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: 24px;
}

.price-card.featured {
  border-color: var(--line-strong);
}

.price-name {
  margin-bottom: 6px;
  color: var(--gold-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-value {
  margin-bottom: 22px;
  color: var(--ink);
  font: 500 clamp(38px, 4vw, 52px)/1 var(--serif);
}

.price-feats {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.price-feats li {
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 14px;
  position: relative;
}

.price-feats li::before {
  position: absolute;
  left: 0;
  color: var(--gold);
  content: "✦";
}

.final-cta {
  position: relative;
  min-height: 78svh;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.final-cta::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 9, 15, 0.98), rgba(7, 9, 15, 0.62) 56%, rgba(7, 9, 15, 0.16)),
    linear-gradient(0deg, rgba(7, 9, 15, 0.98), transparent 45%),
    url("/assets/art/celestial-garden.webp") center / cover;
}

.final-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 78svh;
  padding-block: 110px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.final-inner h2 {
  max-width: 790px;
  margin-bottom: 22px;
  font-size: clamp(55px, 8vw, 104px);
  line-height: 0.88;
  letter-spacing: -0.035em;
}

.final-inner h2 em {
  color: var(--gold-light);
}

.final-inner p {
  max-width: 470px;
  margin-bottom: 32px;
  color: var(--ink-soft);
}

.site-footer {
  padding: 55px 0 32px;
  background: #05070b;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 50px;
  margin-bottom: 52px;
}

.footer-about {
  max-width: 390px;
  margin-top: 20px;
  color: var(--ink-dim);
  font-size: 12px;
}

.footer-col b {
  display: block;
  margin-bottom: 16px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  width: fit-content;
  margin-bottom: 9px;
  color: var(--ink-dim);
  font-size: 12px;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-legal {
  display: flex;
  padding-top: 24px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  color: var(--ink-dim);
  border-top: 1px solid var(--line);
  font-size: 10px;
}

.mobile-cta {
  position: fixed;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 90;
  display: none;
}

.mobile-cta .button {
  width: 100%;
}

.reveal {
  opacity: 0.72;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

@keyframes logo-aura-spin {
  to { transform: rotate(360deg); }
}

@keyframes logo-breathe {
  0%, 100% {
    opacity: 0.76;
    filter:
      drop-shadow(0 0 22px rgba(0, 0, 0, 0.44))
      drop-shadow(0 0 18px rgba(221, 168, 62, 0.42));
    transform: translate3d(0, 1.8%, 26px) scale(0.985);
  }
  50% {
    opacity: 1;
    filter:
      drop-shadow(0 0 26px rgba(0, 0, 0, 0.48))
      drop-shadow(0 0 38px rgba(246, 219, 151, 0.72));
    transform: translate3d(0, 1.8%, 42px) scale(1.025);
  }
}

@keyframes float {
  to { transform: translateY(12px); }
}

@keyframes river {
  to { transform: translateX(-50%); }
}

/* The lagna test link (home pages): on a narrow desktop row the six links
   would wrap onto a second line; there it lives in the footer only. At 820px
   and below the links fold into the burger menu, where it shows again. */
@media (min-width: 821px) and (max-width: 1160px) {
  .nav-links .nav-extra {
    display: none;
  }
}

@media (max-width: 1040px) {
  .nav-links {
    gap: 18px;
    margin-right: 20px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  }

  .hero h1 {
    font-size: clamp(58px, 8vw, 86px);
  }

  .product-window.large,
  .product-window.medium {
    grid-column: span 6;
  }

  .product-window.third {
    grid-column: span 6;
  }
}

@media (max-width: 820px) {
  .cursor-light,
  .nav-links,
  .nav-actions > .button {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    display: grid;
    margin: 0;
    padding: 22px;
    color: var(--ink);
    background: rgba(7, 9, 15, 0.96);
    border: 1px solid var(--line);
    border-radius: 20px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.25s, transform 0.25s;
  }

  .site-nav.menu-open .nav-links {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .hero {
    padding-top: 118px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-art::before {
    background:
      linear-gradient(180deg, rgba(7, 9, 15, 0.72), rgba(7, 9, 15, 0.96) 69%, var(--night)),
      linear-gradient(90deg, rgba(7, 9, 15, 0.65), transparent);
  }

  .hero-orbit {
    order: 2;
    width: min(76vw, 440px);
    margin: 18px auto -25px;
  }

  .hero h1 {
    font-size: clamp(52px, 14vw, 78px);
  }

  .section-head,
  .manifesto,
  .lab-grid,
  .trust-split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    gap: 25px;
    margin-bottom: 50px;
  }

  .manifesto-sticky {
    position: static;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-visual {
    top: 90px;
    z-index: 5;
    height: 58svh;
    min-height: 440px;
  }

  .story-step {
    min-height: 58svh;
  }

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

  .how-grid {
    grid-template-columns: 1fr;
  }

  .how-card {
    min-height: 280px;
  }

  .how-card::before {
    margin-bottom: 72px;
  }

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

  .price-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .wrap {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav-inner {
    min-height: 68px;
  }

  .brand {
    font-size: 22px;
  }

  .brand-mark {
    width: 33px;
    height: 33px;
  }

  /* Phone: globe-only button, the list opens as a bottom sheet. The nav's
     blur would make it the containing block of position: fixed, so drop it
     while the sheet is open. */
  .lang-menu__button {
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  .lang-menu__current,
  .lang-menu__button::after {
    display: none;
  }

  html.lang-sheet-open .site-nav {
    backdrop-filter: none;
  }

  html.lang-sheet-open .mobile-cta {
    display: none;
  }

  .lang-menu.is-open::before {
    position: fixed;
    inset: 0;
    content: "";
    background: rgba(0, 0, 0, 0.55);
  }

  .lang-menu__list {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    max-height: 85vh;
    overflow-y: auto;
    padding: 14px 14px calc(14px + env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0;
  }

  .lang-menu__list a {
    min-height: 50px;
    font-size: 17px;
  }

  .lang-suggest {
    top: 78px;
    right: 14px;
    left: 14px;
    max-width: none;
    flex-wrap: wrap;
  }

  .lang-suggest p {
    flex: 1 1 60%;
  }

  .hero {
    min-height: auto;
    padding: 108px 0 72px;
  }

  .hero h1 em {
    padding-left: 0.2em;
  }

  .hero-orbit {
    width: 88vw;
    margin-top: 10px;
  }

  .orbit-chip {
    font-size: 9px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-index {
    display: none;
  }

  .section {
    padding: 92px 0;
  }

  .section-title {
    font-size: clamp(40px, 13vw, 60px);
  }

  .manifesto-copy p {
    font-size: clamp(30px, 9.5vw, 45px);
  }

  .story-visual {
    height: 53svh;
    min-height: 410px;
    border-radius: 21px;
  }

  .story-stage {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .story-step {
    min-height: 56svh;
  }

  .window-deck {
    display: block;
  }

  .product-window {
    min-height: 450px;
    margin-bottom: 18px;
  }

  .product-window.third {
    min-height: 410px;
  }

  .product-overlay {
    padding: 40px 24px 25px;
  }

  .answer-window {
    min-height: 560px;
    padding: 31px 24px;
    border-radius: 22px;
  }

  .answer-head {
    margin-bottom: 70px;
  }

  .answer-footer {
    right: 24px;
    bottom: 27px;
    left: 24px;
  }

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

  .proof-item {
    min-height: 190px;
  }

  .proof-value {
    margin-bottom: 50px;
  }

  .final-inner h2 {
    font-size: clamp(50px, 16vw, 79px);
  }

  .footer-legal {
    padding-bottom: 80px;
    flex-direction: column;
  }

  .mobile-cta {
    display: block;
  }
}

html[data-theme="light"] {
  color-scheme: light;
  --night: #f4ecdf;
  --night-soft: #fffaf2;
  --ink: #251e17;
  --ink-soft: #665c51;
  --ink-dim: #887a69;
  --gold: #a66a13;
  --gold-light: #966013;
  --gold-dark: #744607;
  --terracotta: #a84f35;
  --teal: #3e8179;
  --paper: #eadbc4;
  --paper-ink: #261f17;
  --line: rgba(48, 37, 24, 0.14);
  --line-strong: rgba(159, 100, 17, 0.48);
  --glass: rgba(255, 250, 241, 0.82);
  background: var(--night);
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 78% 2%, rgba(202, 146, 52, 0.16), transparent 34rem),
    linear-gradient(180deg, #f7f0e5, var(--night));
  color: var(--ink);
}

html[data-theme="light"] body::before {
  opacity: 0.035;
  mix-blend-mode: multiply;
}

html[data-theme="light"] #sky {
  opacity: 0.18;
}

html[data-theme="light"] .cursor-light {
  background: radial-gradient(circle, rgba(185, 119, 23, 0.11), transparent 64%);
}

html[data-theme="light"] .site-nav.is-solid {
  background: rgba(248, 241, 229, 0.86);
  box-shadow: 0 12px 40px rgba(79, 55, 25, 0.08);
}

/* On paper the gold ring washes out: sit the sun on its night disc, as in the app. */
html[data-theme="light"] .brand-mark {
  background: #07090f;
  box-shadow: 0 7px 20px rgba(65, 43, 17, 0.14);
}

html[data-theme="light"] .theme-toggle {
  color: #70460c;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 7px 20px rgba(65, 43, 17, 0.08);
}

html[data-theme="light"] .theme-toggle::before {
  content: "☾";
}

html[data-theme="light"] .button {
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 10px 30px rgba(78, 54, 25, 0.06);
}

html[data-theme="light"] .button-gold {
  color: #201609;
  background: linear-gradient(110deg, #bd7b1e 0%, #e1b65b 45%, #c88b2d 100%);
  box-shadow: 0 15px 40px rgba(154, 94, 15, 0.22);
}

html[data-theme="light"] .hero-art::before {
  background:
    linear-gradient(90deg, rgba(248, 242, 231, 0.98) 0%, rgba(248, 242, 231, 0.9) 39%, rgba(248, 242, 231, 0.24) 79%),
    linear-gradient(0deg, var(--night) 0%, transparent 32%);
}

html[data-theme="light"] .hero-art img {
  opacity: 0.72;
  filter: saturate(0.82) brightness(1.08) contrast(0.92);
}

html[data-theme="light"] .orbit-chip {
  color: #574b3d;
  background: rgba(251, 246, 237, 0.82);
  border-color: rgba(85, 60, 27, 0.18);
  box-shadow: 0 8px 25px rgba(65, 43, 17, 0.1);
}

html[data-theme="light"] .question-river {
  background: #e5d3b8;
}

html[data-theme="light"] .story {
  background: linear-gradient(180deg, transparent, rgba(224, 207, 180, 0.5) 12%, rgba(239, 226, 207, 0.62) 88%, transparent);
}

html[data-theme="light"] .story-visual {
  box-shadow: 0 34px 80px rgba(67, 47, 25, 0.18);
}

html[data-theme="light"] .story-stage,
html[data-theme="light"] .product-window,
html[data-theme="light"] .answer-window,
html[data-theme="light"] .final-inner {
  color: #f7f1e7;
}

html[data-theme="light"] .stage-kicker,
html[data-theme="light"] .product-state,
html[data-theme="light"] .product-link,
html[data-theme="light"] .answer-question,
html[data-theme="light"] .final-inner h2 em {
  color: #f6db97;
}

html[data-theme="light"] .stage-note,
html[data-theme="light"] .product-overlay p,
html[data-theme="light"] .answer-text,
html[data-theme="light"] .final-inner p {
  color: #cfc6b8;
}

html[data-theme="light"] .window-bar {
  color: rgba(247, 241, 231, 0.76);
}

html[data-theme="light"] .answer-head,
html[data-theme="light"] .answer-footer {
  color: #8f918d;
}

html[data-theme="light"] .product-window {
  border-color: rgba(77, 53, 24, 0.18);
  box-shadow: 0 22px 60px rgba(67, 47, 25, 0.1);
}

html[data-theme="light"] .proof-grid {
  box-shadow: 0 20px 55px rgba(67, 47, 25, 0.08);
}

html[data-theme="light"] .proof-item {
  background: rgba(255, 250, 242, 0.78);
}

html[data-theme="light"] .how-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(239, 224, 202, 0.42));
  box-shadow: 0 18px 45px rgba(67, 47, 25, 0.06);
}

html[data-theme="light"] .final-cta::before {
  background:
    linear-gradient(90deg, rgba(27, 21, 15, 0.94), rgba(27, 21, 15, 0.58) 56%, rgba(27, 21, 15, 0.13)),
    linear-gradient(0deg, rgba(27, 21, 15, 0.94), transparent 45%),
    url("/assets/art/celestial-garden.webp") center / cover;
}

html[data-theme="light"] .site-footer {
  background: #dfcfb7;
}

html[data-theme="light"] .lang-menu__list,
html[data-theme="light"] .lang-suggest {
  background: rgba(255, 250, 241, 0.98);
  box-shadow: 0 22px 55px rgba(67, 47, 25, 0.14);
}

html[data-theme="light"] .lang-menu__button {
  background: rgba(255, 255, 255, 0.55);
}

html[data-theme="light"] .lang-menu__list a:hover,
html[data-theme="light"] .lang-menu__list a:focus-visible,
html[data-theme="light"] .lang-suggest__close:hover,
html[data-theme="light"] .lang-menu__button:hover {
  background: rgba(48, 37, 24, 0.06);
}

@media (max-width: 820px) {
  html[data-theme="light"] .nav-links {
    background: rgba(248, 241, 229, 0.97);
    box-shadow: 0 22px 55px rgba(67, 47, 25, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .cursor-light {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* PDF shop on the home pages (#pdf) + the bot feature grid (#bot).
   Cards reuse .price-card; the order form reads only theme tokens, so light
   and dark need no extra rules. */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.shop-grid .price-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.shop-grid .price-value {
  min-height: 1em;
  font-size: clamp(32px, 3vw, 42px);
}

.shop-grid .price-feats {
  flex: 1;
}

.shop-note {
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.shop-samples {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.order-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  margin-top: 44px;
  padding: clamp(22px, 4vw, 40px);
  background: var(--glass);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
}

.order-box h3 {
  grid-column: 1 / -1;
  margin: 0;
  font: 500 clamp(28px, 3vw, 38px)/1.1 var(--serif);
}

.order-field {
  display: grid;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 13px;
}

.order-field.wide,
.order-box .wide {
  grid-column: 1 / -1;
}

.order-field input,
.order-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  color: var(--ink);
  font: 500 15px var(--sans);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.order-field input:focus,
.order-field select:focus {
  border-color: var(--gold);
  outline: 2px solid var(--line-strong);
  outline-offset: 1px;
}

.order-field option {
  color: #171006;
}

.order-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink-soft);
  font-size: 13px;
}

/* Legal links in the consent line and the footer must read as links. */
.order-check a,
.footer-legal a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.order-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
}

.place-results {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.place-results button {
  width: 100%;
  padding: 8px 12px;
  color: var(--ink);
  font: 500 14px var(--sans);
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.place-results button:hover,
.place-results button:focus {
  border-color: var(--gold);
}

.order-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

.order-status.is-error {
  color: var(--terracotta);
}

/* Card payment (Stripe) — the second submit button, drawn by order.js only
   while card payment is on. */
.order-box #o-card {
  margin: 10px 0 0 10px;
}

.order-card-note {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.order-done[hidden],
.order-box [hidden] {
  display: none;
}

.bot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.bot-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  color: inherit;
  text-decoration: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: transform 0.28s var(--ease), border-color 0.28s;
}

.bot-card:hover,
.bot-card:focus-visible {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}

.bot-card .bot-ico {
  font-size: 28px;
  line-height: 1;
}

.bot-card b {
  font: 600 22px/1.15 var(--serif);
}

.bot-card span {
  color: var(--ink-soft);
  font-size: 14px;
}

@media (max-width: 1080px) {
  .shop-grid,
  .bot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .shop-grid,
  .order-box {
    grid-template-columns: 1fr;
  }

  .bot-card {
    padding: 16px;
  }

  .bot-card b {
    font-size: 19px;
  }

  .shop-samples {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
}

.order-fields {
  display: contents;
}

/* Honeypot for the order form: off-screen, not display:none (some bots skip those). */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.order-sub {
  margin: 12px 0 0;
  color: var(--gold-light);
  font: 600 13px var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

fieldset.order-fields {
  margin: 0;
  padding: 0;
  border: 0;
}
