: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 product preview */
.rejoy-preview { min-height: 100vh; background: #f4f2e8; }
.rejoy-preview .preview-shell { width: min(1120px, calc(100% - 40px)); }
.rejoy-hero { display: grid; grid-template-columns: 1fr .92fr; gap: clamp(32px, 7vw, 90px); align-items: center; }
.rejoy-hero h1 { margin: 12px 0 24px; font: 600 clamp(54px, 8vw, 96px)/.94 "Iowan Old Style", "Palatino Linotype", Georgia, serif; letter-spacing: -.052em; }
.rejoy-hero-media { overflow: hidden; border-radius: 28px; background: #17231c; box-shadow: var(--shadow); }
.rejoy-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rejoy-notice { margin-top: 24px; padding: 14px 16px; border-left: 4px solid #b7d84b; border-radius: 0 12px 12px 0; background: #fff; color: #4b544d; font-size: 14px; line-height: 1.5; }
.rejoy-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 82px; }
.rejoy-step { overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 16px 45px rgba(37, 43, 36, .08); }
.rejoy-step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rejoy-step-copy { padding: 24px; }
.rejoy-step h2 { margin: 0 0 12px; font: 600 28px/1.08 "Iowan Old Style", "Palatino Linotype", Georgia, serif; }
.rejoy-step p { margin: 0; color: var(--muted); line-height: 1.58; }
.rejoy-gate { margin-top: 56px; padding: clamp(28px, 5vw, 54px); border-radius: 26px; background: #17231c; color: #f7f6ee; }
.rejoy-gate h2 { margin: 0 0 14px; font: 600 clamp(34px, 5vw, 54px)/1 "Iowan Old Style", "Palatino Linotype", Georgia, serif; }
.rejoy-gate p { max-width: 800px; margin: 0; color: #ced6cf; font-size: 17px; line-height: 1.6; }

.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: 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 (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
