:root {
  color-scheme: light;
  --ink: #18201d;
  --muted: #5d655f;
  --paper: #f5efe4;
  --cream: #fffaf1;
  --green: #165b4b;
  --green-bright: #c9f579;
  --orange: #e9683a;
  --purple: #4a34dc;
  --line: rgba(24, 32, 29, 0.16);
  --shadow: 0 24px 70px rgba(37, 43, 36, 0.13);
  font-family: "Avenir Next", Avenir, ui-sans-serif, system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { height: 92px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: 12px; align-items: center; text-decoration: none; font-weight: 700; letter-spacing: -0.02em; }
.brand em { color: var(--orange); font-style: normal; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--green-bright); font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-size: 20px; }
.header-actions { display: flex; gap: 4px; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.language { border: 0; border-radius: 999px; padding: 8px 10px; background: transparent; color: var(--muted); font: 600 12px/1 "Avenir Next", Avenir, ui-sans-serif, system-ui, sans-serif; cursor: pointer; }
.language.active { color: var(--cream); background: var(--ink); }

.hero { position: relative; padding: 74px 0 94px; }
.eyebrow { margin: 0 0 20px; color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 870px; margin: 0; font: 600 clamp(54px, 8vw, 110px)/.92 "Iowan Old Style", "Palatino Linotype", Georgia, serif; letter-spacing: -.055em; }
.hero-copy { max-width: 565px; margin: 38px 0 0 auto; color: var(--muted); font-size: clamp(18px, 2vw, 23px); line-height: 1.5; }
.hero-stroke { position: absolute; right: 3%; top: 40px; width: 150px; height: 70px; border-top: 4px solid var(--orange); border-radius: 50%; transform: rotate(-10deg); opacity: .8; }

.experiences { display: grid; gap: 28px; padding-bottom: 130px; }
.experience-card { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr); min-height: 620px; background: var(--cream); border: 1px solid var(--line); border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); }
.experience-card:nth-of-type(even) { grid-template-columns: minmax(320px, .7fr) minmax(0, 1.3fr); }
.experience-card:nth-of-type(even) .experience-visual { order: 2; }
.experience-visual { position: relative; min-height: 520px; overflow: hidden; background: #d9e4ce; }
.experience-visual > img { width: 100%; height: 100%; object-fit: cover; }
.status { position: absolute; top: 24px; left: 24px; padding: 9px 13px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 6px 22px rgba(0,0,0,.14); }
.status.live { background: var(--green-bright); color: #173323; }
.status.preview { background: #fff; color: var(--purple); }
.experience-content { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 54px); }
.card-number { margin: 0 0 26px; color: var(--orange); font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.experience-content h3 { margin: 0; font: 600 clamp(48px, 5vw, 72px)/1 "Iowan Old Style", "Palatino Linotype", Georgia, serif; letter-spacing: -.04em; }
.card-kicker { margin: 12px 0 30px; color: var(--green); font-size: 17px; font-weight: 600; }
.experience-content > p { color: var(--muted); font-size: 17px; line-height: 1.6; }
.feature-list { display: grid; gap: 10px; margin: 22px 0 34px; padding: 0; list-style: none; }
.feature-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.feature-list li::before { content: ""; width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: var(--orange); }
.primary-action { display: flex; align-items: center; justify-content: space-between; margin-top: auto; min-height: 58px; border-radius: 16px; padding: 0 20px; background: var(--green); color: #fff; font-weight: 700; text-decoration: none; transition: transform 160ms ease, box-shadow 160ms ease; }
.primary-action:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(22, 91, 75, .24); }
.primary-action.dark { background: var(--purple); }
.primary-action.rejoy-action { background: #b7d84b; color: #172017; }
.lumanar-visual { display: grid; place-items: end center; padding: 44px 42px 0; background: radial-gradient(circle at 20% 15%, #bbf0dd, transparent 32%), linear-gradient(145deg, #ede9ff, #f7ccba); }
.phone-shell { width: min(252px, 66%); padding: 9px 9px 0; overflow: hidden; border-radius: 36px 36px 0 0; background: #141414; box-shadow: 0 32px 70px rgba(48, 35, 81, .3); }
.phone-shell img { width: 100%; height: auto; aspect-ratio: 402 / 874; object-fit: contain; border-radius: 29px 29px 0 0; }
.rejoy-visual { background: #16211b; }
.rejoy-visual > img { filter: saturate(.94) contrast(1.03); }

/* ReJoy — dark precision meets play. Kept fully namespaced so the Nervia Play portal and
   Lumanar walkthrough retain their own light visual systems. */
.rejoy-preview {
  --rj-bg: #070a09;
  --rj-panel: #0e1311;
  --rj-panel-raised: #151b18;
  --rj-ink: #f3f4ed;
  --rj-muted: #9ba6a0;
  --rj-line: rgba(233, 242, 235, .14);
  --rj-line-strong: rgba(233, 242, 235, .25);
  --rj-green: #c7f36d;
  --rj-mint: #7ee4d0;
  min-height: 100vh;
  overflow-x: hidden;
  color-scheme: dark;
  background:
    radial-gradient(circle at 77% 12%, rgba(67, 128, 110, .16), transparent 26rem),
    radial-gradient(circle at 12% 35%, rgba(199, 243, 109, .055), transparent 28rem),
    var(--rj-bg);
  color: var(--rj-ink);
}
.rejoy-preview::before {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: .34;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}
.rejoy-preview a:focus-visible,
.rejoy-preview button:focus-visible {
  outline: 2px solid var(--rj-green);
  outline-offset: 4px;
}
.rejoy-wrap {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 72px));
  margin-inline: auto;
}
.rejoy-skip {
  position: fixed;
  z-index: 100;
  top: -80px;
  left: 24px;
  padding: 12px 16px;
  border-radius: 4px;
  background: var(--rj-green);
  color: #10150f;
  font-weight: 700;
}
.rejoy-skip:focus { top: 18px; }
.rejoy-header {
  position: relative;
  z-index: 10;
  height: 96px;
  border-bottom: 1px solid var(--rj-line);
}
.rejoy-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--rj-ink);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.045em;
  text-decoration: none;
}
.rejoy-mark {
  position: relative;
  width: 32px;
  height: 32px;
  border: 1px solid var(--rj-line-strong);
  border-radius: 8px;
  background:
    linear-gradient(var(--rj-green), var(--rj-green)) 7px 7px / 7px 1px no-repeat,
    linear-gradient(var(--rj-green), var(--rj-green)) 7px 7px / 1px 7px no-repeat,
    linear-gradient(var(--rj-green), var(--rj-green)) calc(100% - 7px) 7px / 7px 1px no-repeat,
    linear-gradient(var(--rj-green), var(--rj-green)) calc(100% - 7px) 7px / 1px 7px no-repeat,
    linear-gradient(var(--rj-green), var(--rj-green)) 7px calc(100% - 7px) / 7px 1px no-repeat,
    linear-gradient(var(--rj-green), var(--rj-green)) 7px calc(100% - 7px) / 1px 7px no-repeat,
    linear-gradient(var(--rj-green), var(--rj-green)) calc(100% - 7px) calc(100% - 7px) / 7px 1px no-repeat,
    linear-gradient(var(--rj-green), var(--rj-green)) calc(100% - 7px) calc(100% - 7px) / 1px 7px no-repeat;
}
.rejoy-mark i {
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: var(--rj-green);
  box-shadow: 0 0 18px rgba(199, 243, 109, .72);
}
.rejoy-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  margin-right: 48px;
}
.rejoy-nav a,
.rejoy-nervia-link {
  color: var(--rj-muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .04em;
  text-decoration: none;
  transition: color 160ms ease;
}
.rejoy-nav a:hover,
.rejoy-nervia-link:hover { color: var(--rj-ink); }
.rejoy-header-actions { display: flex; align-items: center; gap: 22px; }
.rejoy-nervia-link { white-space: nowrap; }
.rejoy-header .header-actions {
  border-color: var(--rj-line);
  background: rgba(255, 255, 255, .025);
}
.rejoy-header .language { color: var(--rj-muted); }
.rejoy-header .language.active { background: var(--rj-ink); color: #111512; }
.rejoy-main { position: relative; z-index: 1; }
.rejoy-hero {
  min-height: 760px;
  padding: clamp(72px, 8vw, 124px) 0 clamp(92px, 10vw, 150px);
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  gap: clamp(46px, 7vw, 112px);
  align-items: center;
}
.rejoy-kicker {
  margin: 0;
  color: var(--rj-mint);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.rejoy-hero h1 {
  max-width: 720px;
  margin: 28px 0 30px;
  font: 600 clamp(54px, 6.2vw, 96px)/.93 "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  letter-spacing: -.055em;
}
.rejoy-hero h1 em { color: var(--rj-green); font-style: normal; }
.rejoy-lead {
  max-width: 580px;
  margin: 0;
  color: var(--rj-muted);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.62;
}
.rejoy-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.rejoy-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 720;
  letter-spacing: .01em;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.rejoy-button:hover { transform: translateY(-2px); }
.rejoy-button-primary { min-width: 220px; background: var(--rj-green); color: #10150f; }
.rejoy-button-primary:hover { background: #d8ff8d; }
.rejoy-button-quiet { border-color: var(--rj-line-strong); color: var(--rj-ink); }
.rejoy-button-quiet:hover { border-color: var(--rj-mint); color: var(--rj-mint); }
.rejoy-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 50px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--rj-line);
  list-style: none;
}
.rejoy-proof li { min-width: 0; padding-right: 18px; }
.rejoy-proof strong { display: block; color: var(--rj-green); font: 500 18px/1 ui-monospace, SFMono-Regular, monospace; }
.rejoy-proof span { display: block; margin-top: 8px; color: var(--rj-muted); font-size: 11px; line-height: 1.35; }
.rejoy-hero-media { position: relative; min-width: 0; margin: 0; padding: 0 0 42px 42px; }
.rejoy-image-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rj-line-strong);
  border-radius: 8px;
  background: #e8dec4;
  box-shadow: 0 42px 110px rgba(0, 0, 0, .42);
}
.rejoy-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.rejoy-image-frame img { width: 100%; height: auto; object-fit: cover; filter: saturate(.9) contrast(1.03); }
.rejoy-hero-media figcaption {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 510px;
  margin: 16px 0 0 auto;
  color: var(--rj-muted);
  font: 10px/1.5 ui-monospace, SFMono-Regular, monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.rejoy-live-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--rj-green);
  box-shadow: 0 0 16px rgba(199, 243, 109, .7);
}
.rejoy-measure-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(280px, 48%);
  padding: 18px;
  border: 1px solid var(--rj-line-strong);
  border-radius: 6px;
  background: rgba(10, 15, 13, .91);
  box-shadow: 0 22px 50px rgba(0, 0, 0, .32);
  backdrop-filter: blur(18px);
}
.rejoy-measure-card span,
.rejoy-measure-card b { display: block; font: 9px/1.4 ui-monospace, SFMono-Regular, monospace; letter-spacing: .1em; }
.rejoy-measure-card span { color: var(--rj-muted); }
.rejoy-measure-card b { margin-top: 8px; color: var(--rj-mint); font-size: 11px; }
.rejoy-measure-card i { display: block; height: 2px; margin-top: 18px; background: linear-gradient(90deg, var(--rj-green) 64%, rgba(255,255,255,.12) 64%); }
.rejoy-manifest {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 40px;
  padding-top: 34px;
  padding-bottom: 34px;
  border-top: 1px solid var(--rj-line);
  border-bottom: 1px solid var(--rj-line);
}
.rejoy-manifest p { max-width: 950px; margin: 0; font: 500 clamp(24px, 3.4vw, 48px)/1.18 "Iowan Old Style", "Palatino Linotype", Georgia, serif; letter-spacing: -.03em; }
.rejoy-manifest > span { flex: none; color: var(--rj-green); font: 10px/1 ui-monospace, SFMono-Regular, monospace; letter-spacing: .16em; }
.rejoy-process,
.rejoy-availability { scroll-margin-top: 24px; padding-top: clamp(110px, 12vw, 180px); padding-bottom: clamp(110px, 12vw, 180px); }
.rejoy-section-heading { display: grid; grid-template-columns: 1fr 1.65fr; gap: 20px 70px; align-items: start; }
.rejoy-section-heading .rejoy-kicker { grid-column: 1; padding-top: 10px; }
.rejoy-section-heading h2 {
  grid-column: 2;
  margin: 0;
  font: 560 clamp(44px, 6vw, 82px)/.98 "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  letter-spacing: -.048em;
}
.rejoy-section-heading > p:last-child { grid-column: 2; max-width: 610px; margin: 4px 0 0; color: var(--rj-muted); font-size: 17px; line-height: 1.65; }
.rejoy-process-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(42px, 7vw, 100px); align-items: start; margin-top: 76px; }
.rejoy-scan-visual {
  position: sticky;
  top: 28px;
  min-width: 0;
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--rj-line);
  border-radius: 7px;
  background: #0c1110;
}
.rejoy-scan-visual img { width: 100%; aspect-ratio: 1.18; object-fit: cover; filter: saturate(.75) contrast(1.07); }
.rejoy-scan-visual figcaption { display: flex; justify-content: space-between; gap: 24px; padding: 14px 16px; border-top: 1px solid var(--rj-line); color: var(--rj-muted); font: 9px/1.4 ui-monospace, SFMono-Regular, monospace; letter-spacing: .08em; text-transform: uppercase; }
.rejoy-scan-visual figcaption span:first-child { color: var(--rj-mint); }
.rejoy-step-list { margin: 0; padding: 0; list-style: none; }
.rejoy-step-list li { display: grid; grid-template-columns: 46px 1fr; gap: 22px; padding: 0 0 34px; border-bottom: 1px solid var(--rj-line); }
.rejoy-step-list li + li { padding-top: 34px; }
.rejoy-step-number { color: var(--rj-green); font: 11px/1.4 ui-monospace, SFMono-Regular, monospace; }
.rejoy-step-list h3 { margin: -3px 0 10px; font-size: clamp(22px, 2.4vw, 31px); line-height: 1.1; letter-spacing: -.035em; }
.rejoy-step-list p { margin: 0; color: var(--rj-muted); font-size: 14px; line-height: 1.65; }
.rejoy-world {
  scroll-margin-top: 24px;
  padding: clamp(110px, 12vw, 176px) 0;
  border-top: 1px solid var(--rj-line);
  border-bottom: 1px solid var(--rj-line);
  background: linear-gradient(180deg, rgba(255,255,255,.018), transparent 22%), #0b0f0e;
}
.rejoy-section-heading-wide { grid-template-columns: .55fr 1.45fr; }
.rejoy-world-grid { display: grid; grid-template-columns: 1.28fr .72fr; gap: 18px; margin-top: 76px; }
.rejoy-world-card { position: relative; min-width: 0; overflow: hidden; margin: 0; border: 1px solid var(--rj-line); border-radius: 7px; background: #dcd5c6; }
.rejoy-world-card img { width: 100%; height: 100%; min-height: 580px; object-fit: cover; transition: transform 500ms cubic-bezier(.2,.7,.2,1); }
.rejoy-world-card:hover img { transform: scale(1.018); }
.rejoy-world-card figcaption { position: absolute; inset: auto 14px 14px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.25); border-radius: 4px; background: rgba(7,10,9,.84); color: var(--rj-ink); backdrop-filter: blur(12px); }
.rejoy-world-card figcaption span { color: var(--rj-green); font: 10px/1 ui-monospace, SFMono-Regular, monospace; }
.rejoy-world-card figcaption strong { font-size: 13px; }
.rejoy-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 66px; border: 1px solid var(--rj-line); background: var(--rj-line); }
.rejoy-principles article { min-width: 0; padding: clamp(24px, 3vw, 40px); background: #0b0f0e; }
.rejoy-principles article > span { color: var(--rj-mint); font: 9px/1 ui-monospace, SFMono-Regular, monospace; letter-spacing: .16em; }
.rejoy-principles h3 { margin: 48px 0 14px; font-size: 22px; letter-spacing: -.03em; }
.rejoy-principles p { margin: 0; color: var(--rj-muted); font-size: 13px; line-height: 1.62; }
.rejoy-availability .rejoy-section-heading { grid-template-columns: .55fr 1.45fr; }
.rejoy-store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 72px; }
.rejoy-store-card {
  min-height: 150px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--rj-line-strong);
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.018));
  color: var(--rj-ink);
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.rejoy-store-card:not(.is-unavailable):hover { transform: translateY(-2px); border-color: var(--rj-green); background: rgba(199, 243, 109, .06); }
.rejoy-store-card.is-unavailable { cursor: not-allowed; }
.rejoy-store-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: var(--rj-ink); color: #101410; font: 500 29px/1 system-ui, sans-serif; }
.rejoy-play-icon { background: var(--rj-mint); font-size: 21px; padding-left: 3px; }
.rejoy-store-copy { display: block; min-width: 0; }
.rejoy-store-copy small,
.rejoy-store-copy strong,
.rejoy-store-copy em { display: block; }
.rejoy-store-copy small { margin-bottom: 7px; color: var(--rj-green); font: 9px/1.3 ui-monospace, SFMono-Regular, monospace; letter-spacing: .1em; text-transform: uppercase; }
.rejoy-store-copy strong { font-size: 24px; letter-spacing: -.035em; }
.rejoy-store-copy em { margin-top: 8px; color: var(--rj-muted); font-size: 12px; font-style: normal; line-height: 1.45; }
.rejoy-store-arrow { align-self: start; color: var(--rj-muted); }
.rejoy-store-card.is-unavailable .rejoy-store-arrow { opacity: .25; }
.rejoy-pilot-callout { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 18px; padding: 26px; border: 1px solid rgba(199, 243, 109, .28); border-radius: 7px; background: rgba(199, 243, 109, .055); }
.rejoy-pilot-callout > div { display: flex; align-items: flex-start; gap: 14px; }
.rejoy-pilot-callout p { margin: 0; color: var(--rj-muted); font-size: 13px; line-height: 1.6; }
.rejoy-pilot-callout strong { color: var(--rj-ink); font-size: 16px; }
.rejoy-pilot-callout .rejoy-button { flex: 0 0 auto; }
.rejoy-footer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 30px;
  padding: 40px 0 52px;
  border-top: 1px solid var(--rj-line);
  color: var(--rj-muted);
}
.rejoy-footer p { margin: 0; text-align: center; font-size: 12px; }
.rejoy-footer > div { display: flex; justify-content: flex-end; gap: 22px; font-size: 11px; }
.rejoy-footer > div a { color: var(--rj-ink); text-decoration: none; }

.principles { padding: 110px 0; border-top: 1px solid var(--line); }
.principle-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 8vw; align-items: start; }
.principle-grid h2 { margin: 0; font: 600 clamp(42px, 6vw, 76px)/1.02 "Iowan Old Style", "Palatino Linotype", Georgia, serif; letter-spacing: -.045em; }
.principle-copy { display: grid; gap: 14px; padding-top: 10px; }
.principle-copy p { margin: 0; padding: 0 0 20px; border-bottom: 1px solid var(--line); color: var(--muted); line-height: 1.55; }
.principle-copy strong { color: var(--ink); }
.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 36px 0 46px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

/* Lumanar walkthrough */
.preview-page { min-height: 100vh; background: #f7f5fc; }
.preview-shell { width: min(1040px, calc(100% - 40px)); margin: 0 auto; padding: 58px 0 90px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 50px; color: var(--muted); font-weight: 600; text-decoration: none; }
.preview-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.preview-intro h1 { margin: 10px 0 24px; font: 600 clamp(54px, 8vw, 94px)/.95 "Iowan Old Style", "Palatino Linotype", Georgia, serif; letter-spacing: -.05em; }
.preview-lead { max-width: 600px; color: var(--muted); font-size: 19px; line-height: 1.55; }
.preview-note { display: inline-flex; align-items: center; gap: 9px; padding: 10px 13px; border-radius: 12px; background: #fff1db; color: #75460a; font-size: 13px; font-weight: 600; }
.preview-note::before { content: "i"; display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid currentColor; border-radius: 50%; }
.mini-phone { width: min(340px, 100%); justify-self: center; padding: 10px; border-radius: 46px; background: #15131b; box-shadow: 0 32px 80px rgba(52, 42, 89, .24); }
.mini-phone img { border-radius: 38px; }
.walkthrough { margin-top: 90px; padding: clamp(24px, 5vw, 60px); border-radius: 30px; background: #fff; box-shadow: 0 20px 70px rgba(52, 42, 89, .1); }
.walkthrough-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 44px; }
.progress-segment { height: 6px; border-radius: 99px; background: #e6e2ec; transition: background 180ms ease; }
.progress-segment.done { background: var(--purple); }
.step-label { color: var(--purple); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.walkthrough h2 { max-width: 670px; margin: 14px 0 18px; font: 600 clamp(32px, 5vw, 54px)/1.05 "Iowan Old Style", "Palatino Linotype", Georgia, serif; letter-spacing: -.035em; }
.walkthrough-copy { max-width: 650px; min-height: 86px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.demo-card { margin: 30px 0; padding: 20px; border-left: 4px solid var(--orange); border-radius: 0 16px 16px 0; background: #fff3ed; color: #643321; line-height: 1.55; }
.walkthrough-actions { display: flex; gap: 12px; align-items: center; }
.walkthrough-button { border: 0; border-radius: 14px; padding: 16px 22px; background: var(--purple); color: #fff; font: 700 15px/1 "Avenir Next", Avenir, ui-sans-serif, system-ui, sans-serif; cursor: pointer; }
.walkthrough-button.secondary { background: #eeeafd; color: var(--purple); }
.privacy-line { margin-top: 20px; color: #777080; font-size: 12px; }

@media (max-width: 820px) {
  .hero { padding-top: 52px; }
  .hero-copy { margin-left: 0; }
  .experience-card, .experience-card:nth-of-type(even) { grid-template-columns: 1fr; }
  .experience-card:nth-of-type(even) .experience-visual { order: 0; }
  .experience-visual { min-height: 380px; }
  .experience-content { min-height: 500px; }
  .principle-grid, .preview-intro, .rejoy-hero { grid-template-columns: 1fr; }
  .rejoy-steps { grid-template-columns: 1fr; }
  .mini-phone { display: none; }
}

@media (max-width: 1100px) {
  .rejoy-nav { gap: 20px; margin-right: 26px; }
  .rejoy-nervia-link { display: none; }
  .rejoy-hero { grid-template-columns: .9fr 1.1fr; gap: 44px; }
  .rejoy-proof { margin-top: 38px; }
}

@media (max-width: 900px) {
  .rejoy-nav { display: none; }
  .rejoy-header-actions { margin-left: auto; }
  .rejoy-nervia-link { display: inline-flex; }
  .rejoy-hero { min-height: 0; grid-template-columns: 1fr; }
  .rejoy-hero-copy { max-width: 720px; }
  .rejoy-hero-media { width: min(760px, 100%); margin-left: auto; }
  .rejoy-section-heading,
  .rejoy-section-heading-wide,
  .rejoy-availability .rejoy-section-heading { grid-template-columns: 1fr; gap: 18px; }
  .rejoy-section-heading .rejoy-kicker,
  .rejoy-section-heading h2,
  .rejoy-section-heading > p:last-child { grid-column: 1; }
  .rejoy-process-layout { grid-template-columns: 1fr; }
  .rejoy-scan-visual { position: relative; top: auto; }
  .rejoy-step-list { max-width: 720px; }
  .rejoy-world-grid { grid-template-columns: 1fr; }
  .rejoy-world-card img { min-height: 0; aspect-ratio: 1.45; }
  .rejoy-principles { grid-template-columns: 1fr 1fr; }
  .rejoy-principles article:last-child { grid-column: 1 / -1; }
  .rejoy-store-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .wrap, .preview-shell { width: min(100% - 24px, 1160px); }
  .site-header { height: 74px; }
  .brand-mark { width: 32px; height: 32px; }
  .hero { padding: 45px 0 70px; }
  .hero h1 { font-size: 49px; }
  .hero-stroke { display: none; }
  .experiences { padding-bottom: 88px; }
  .experience-card { border-radius: 22px; }
  .experience-visual { min-height: 285px; }
  .lumanar-visual { min-height: 480px; padding: 34px 20px 0; }
  .phone-shell { width: min(220px, 68%); }
  .experience-content { min-height: 510px; }
  .principles { padding: 80px 0; }
  .site-footer { flex-direction: column; }
  .preview-shell { padding-top: 34px; }
  .back-link { margin-bottom: 34px; }
  .walkthrough { margin-top: 58px; }
  .walkthrough-actions { align-items: stretch; flex-direction: column-reverse; }
  .walkthrough-button { width: 100%; }
}

@media (max-width: 680px) {
  .rejoy-wrap { width: min(100% - 32px, 1320px); }
  .rejoy-header { height: 76px; }
  .rejoy-header .rejoy-nervia-link { display: none; }
  .rejoy-brand { font-size: 21px; }
  .rejoy-mark { width: 30px; height: 30px; }
  .rejoy-hero { padding: 62px 0 94px; gap: 58px; }
  .rejoy-hero h1 { margin-top: 22px; font-size: clamp(45px, 14vw, 66px); }
  .rejoy-lead { font-size: 16px; }
  .rejoy-hero-actions { align-items: stretch; flex-direction: column; }
  .rejoy-button { width: 100%; }
  .rejoy-proof { gap: 10px; }
  .rejoy-proof li { padding-right: 4px; }
  .rejoy-proof span { font-size: 10px; }
  .rejoy-hero-media { padding: 0 0 38px 22px; }
  .rejoy-hero-media figcaption { font-size: 8px; }
  .rejoy-measure-card { width: 205px; padding: 14px; }
  .rejoy-manifest { padding-top: 26px; padding-bottom: 26px; }
  .rejoy-manifest p { font-size: 27px; }
  .rejoy-manifest > span { display: none; }
  .rejoy-process,
  .rejoy-availability { padding-top: 92px; padding-bottom: 92px; }
  .rejoy-world { padding: 92px 0; }
  .rejoy-section-heading h2 { font-size: clamp(42px, 13vw, 62px); }
  .rejoy-section-heading > p:last-child { font-size: 15px; }
  .rejoy-process-layout,
  .rejoy-world-grid { margin-top: 50px; }
  .rejoy-scan-visual figcaption { align-items: flex-start; flex-direction: column; gap: 5px; }
  .rejoy-step-list li { grid-template-columns: 38px 1fr; gap: 12px; }
  .rejoy-world-card img { aspect-ratio: 1.08; }
  .rejoy-world-card figcaption { inset: auto 9px 9px; padding: 12px; }
  .rejoy-principles { grid-template-columns: 1fr; margin-top: 46px; }
  .rejoy-principles article:last-child { grid-column: auto; }
  .rejoy-principles h3 { margin-top: 32px; }
  .rejoy-store-grid { margin-top: 48px; }
  .rejoy-store-card { min-height: 140px; padding: 20px; }
  .rejoy-store-copy strong { font-size: 21px; }
  .rejoy-pilot-callout { align-items: stretch; flex-direction: column; padding: 22px; }
  .rejoy-pilot-callout .rejoy-button { width: 100%; }
  .rejoy-footer { grid-template-columns: 1fr; gap: 20px; }
  .rejoy-footer p { text-align: left; }
  .rejoy-footer > div { justify-content: flex-start; }
}

@media (max-width: 390px) {
  .rejoy-store-card { grid-template-columns: auto 1fr; gap: 14px; }
  .rejoy-store-arrow { display: none; }
  .rejoy-store-icon { width: 48px; height: 48px; border-radius: 12px; font-size: 25px; }
  .rejoy-play-icon { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
