:root {
  color-scheme: light;
  --ink: #111418;
  --ink-soft: #303944;
  --paper: #f7f1e8;
  --paper-strong: #fffaf2;
  --muted: #69717c;
  --line: rgba(17, 20, 24, 0.12);
  --mint: #54d6b6;
  --mint-deep: #12866f;
  --coral: #ff715f;
  --gold: #d9a84f;
  --night: #151a22;
  --night-soft: #202833;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(17, 20, 24, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

code {
  font: inherit;
  font-weight: 800;
  padding: 0.08em 0.32em;
  border-radius: 5px;
  background: rgba(17, 20, 24, 0.08);
  color: var(--ink);
}

.dark-card code,
.page-hero code,
.detail-hero code,
.guide-hero code {
  background: rgba(255, 250, 242, 0.12);
  color: var(--paper-strong);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(247, 241, 232, 0.86);
  border-bottom: 1px solid rgba(17, 20, 24, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand {
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(17, 20, 24, 0.2);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper-strong);
  font-size: 0.78rem;
}

.nav-links {
  gap: clamp(14px, 3vw, 30px);
  flex: 1 1 auto;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.nav-links a {
  padding: 8px 0;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  border-color: var(--ink);
  color: var(--ink);
  outline: none;
}

.language-switcher {
  position: relative;
  flex: 0 0 auto;
}

.language-switcher select {
  min-height: 40px;
  padding: 8px 34px 8px 12px;
  border: 1px solid rgba(17, 20, 24, 0.18);
  border-radius: var(--radius);
  background: var(--paper-strong);
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 750;
}

.language-switcher select:focus-visible {
  outline: 2px solid var(--mint-deep);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 86vh;
  overflow: hidden;
  padding: 112px clamp(20px, 4vw, 56px) 44px;
  background:
    linear-gradient(100deg, rgba(6, 10, 22, 0.95) 0%, rgba(6, 10, 22, 0.82) 44%, rgba(6, 10, 22, 0.38) 100%),
    url("assets/lunacam.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--paper-strong);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  content: "";
  background: linear-gradient(to top, rgba(17, 20, 24, 0.34), transparent);
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.74;
  pointer-events: none;
}

.signal-line {
  position: absolute;
  right: -8vw;
  width: 54vw;
  min-width: 520px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(84, 214, 182, 0.64), transparent);
  transform: rotate(-16deg);
}

.line-one {
  top: 24%;
}

.line-two {
  top: 48%;
  background: linear-gradient(90deg, transparent, rgba(255, 113, 95, 0.58), transparent);
}

.line-three {
  top: 72%;
  background: linear-gradient(90deg, transparent, rgba(217, 168, 79, 0.52), transparent);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr);
  align-items: center;
  gap: clamp(34px, 7vw, 92px);
  max-width: 1240px;
  min-height: calc(86vh - 156px);
  margin: 0 auto;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 8vw, 7.1rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.8vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.24rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 610px;
  margin-bottom: 30px;
  color: rgba(255, 250, 242, 0.82);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  background: var(--mint);
  color: #06251e;
  box-shadow: 0 18px 42px rgba(84, 214, 182, 0.24);
}

.button-secondary {
  border-color: rgba(255, 250, 242, 0.28);
  color: var(--paper-strong);
}

.product-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 580px;
}

.phone-shell {
  width: min(330px, 74vw);
  padding: 13px;
  border: 1px solid rgba(255, 250, 242, 0.24);
  border-radius: 42px;
  background: linear-gradient(150deg, #272f3a, #0d1116 74%);
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.5);
  transform: rotate(3deg);
}

.phone-screen {
  min-height: 630px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(255, 250, 242, 0.08);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(84, 214, 182, 0.12), transparent 34%),
    #111820;
}

.app-topbar,
.mini-player,
.floating-note,
.metric {
  border: 1px solid rgba(255, 250, 242, 0.12);
  background: rgba(255, 250, 242, 0.08);
  backdrop-filter: blur(18px);
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 46px;
  padding: 0 12px;
  border-radius: 14px;
  color: var(--paper-strong);
  font-size: 0.92rem;
  font-weight: 750;
}

.status-pill {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(84, 214, 182, 0.18);
  color: var(--mint);
  font-size: 0.74rem;
}

.wave-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 190px;
  margin: 48px 0 26px;
}

.wave-panel span {
  display: block;
  width: 9px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 30px rgba(84, 214, 182, 0.36);
}

.wave-panel span:nth-child(1) {
  height: 56px;
  opacity: 0.5;
}

.wave-panel span:nth-child(2) {
  height: 108px;
  background: var(--gold);
}

.wave-panel span:nth-child(3) {
  height: 146px;
}

.wave-panel span:nth-child(4) {
  height: 176px;
  background: var(--coral);
}

.wave-panel span:nth-child(5) {
  height: 136px;
}

.wave-panel span:nth-child(6) {
  height: 92px;
  background: var(--gold);
}

.wave-panel span:nth-child(7) {
  height: 62px;
  opacity: 0.5;
}

.record-area {
  display: grid;
  justify-items: center;
  margin-top: 12px;
  text-align: center;
}

.record-ring {
  display: grid;
  place-items: center;
  width: 164px;
  height: 164px;
  border: 1px solid rgba(84, 214, 182, 0.22);
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(84, 214, 182, 0.12), transparent),
    rgba(255, 250, 242, 0.05);
}

.record-button {
  width: 112px;
  height: 112px;
  border: 8px solid rgba(255, 250, 242, 0.18);
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 14px 50px rgba(255, 113, 95, 0.32);
}

.record-area p {
  margin: 22px 0 4px;
  color: var(--paper-strong);
  font-size: 1.25rem;
  font-weight: 800;
}

.record-area small {
  color: rgba(255, 250, 242, 0.56);
  font-size: 0.86rem;
}

.mini-player {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  margin-top: 40px;
  padding: 0 14px;
  border-radius: 18px;
}

.play-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mint);
  clip-path: polygon(38% 28%, 38% 72%, 74% 50%);
}

.player-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.14);
}

.player-track span {
  display: block;
  width: 62%;
  height: 100%;
  border-radius: inherit;
  background: var(--mint);
}

.time-code {
  color: rgba(255, 250, 242, 0.66);
  font-size: 0.82rem;
  font-weight: 700;
}

.floating-note {
  position: absolute;
  display: grid;
  gap: 2px;
  width: 174px;
  padding: 14px 16px;
  border-radius: var(--radius);
  color: var(--paper-strong);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.floating-note strong {
  font-size: 1.08rem;
}

.floating-note span {
  color: rgba(255, 250, 242, 0.68);
  font-size: 0.82rem;
}

.note-one {
  top: 92px;
  left: 0;
}

.note-two {
  right: 0;
  bottom: 126px;
}

.note-three {
  right: 30px;
  top: 34px;
}

.intro-strip {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 22px 20px;
  background: var(--mint);
  color: #06251e;
  text-align: center;
}

.intro-strip p {
  margin: 0;
  font-size: clamp(1.08rem, 2.1vw, 1.5rem);
  font-weight: 850;
}

.section {
  padding: clamp(74px, 10vw, 132px) clamp(20px, 4vw, 56px);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 46px;
  text-align: center;
}

.section-heading .eyebrow,
.studio-copy .eyebrow,
.cta-section .eyebrow {
  color: var(--mint-deep);
}

.section-heading h2,
.studio-copy h2,
.cta-section h2 {
  color: var(--ink);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.feature-card {
  min-height: 286px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: 0 16px 40px rgba(17, 20, 24, 0.06);
}

.feature-number {
  display: inline-block;
  margin-bottom: 60px;
  color: var(--coral);
  font-size: 0.88rem;
  font-weight: 850;
}

.feature-card p,
.studio-copy p,
.principles-list p,
.luna-grid p {
  color: var(--muted);
  font-size: 1rem;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.luna-actions {
  justify-content: flex-start;
}

.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 72vh;
  padding: 136px clamp(20px, 4vw, 56px) 62px;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(6, 10, 22, 0.95) 0%, rgba(6, 10, 22, 0.78) 54%, rgba(6, 10, 22, 0.36) 100%),
    url("assets/lunacam.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--paper-strong);
}

.page-hero-inner {
  width: min(860px, 100%);
  max-width: 1180px;
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 940px;
  font-size: clamp(2.8rem, 7vw, 6.2rem);
}

.page-lede {
  max-width: 760px;
  margin-bottom: 30px;
  color: rgba(255, 250, 242, 0.76);
  font-size: clamp(1.05rem, 2.1vw, 1.28rem);
}

.detail-hero,
.tutorials-hero,
.guide-hero {
  background:
    linear-gradient(100deg, rgba(6, 10, 22, 0.95) 0%, rgba(6, 10, 22, 0.82) 54%, rgba(6, 10, 22, 0.42) 100%),
    url("assets/luna_graphics.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.voice-detail-hero {
  background:
    linear-gradient(100deg, rgba(6, 10, 22, 0.96) 0%, rgba(6, 10, 22, 0.84) 50%, rgba(6, 10, 22, 0.5) 100%),
    url("assets/odin-voicemirror-icon.png");
  background-color: #101820;
  background-position: right 12% center;
  background-repeat: no-repeat;
  background-size: min(360px, 52vw);
}

.page-section {
  background: var(--paper);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

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

.content-card {
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: 0 16px 42px rgba(17, 20, 24, 0.06);
}

.content-card p {
  color: var(--muted);
}

.persona-detail-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.link-card a {
  border-bottom: 1px solid rgba(17, 20, 24, 0.28);
}

.page-split {
  padding-top: clamp(74px, 10vw, 132px);
  padding-bottom: clamp(74px, 10vw, 132px);
}

.tutorial-list {
  display: grid;
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}

.tutorial-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: 0 16px 42px rgba(17, 20, 24, 0.06);
}

.tutorial-row p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.tutorial-row a:not(.button) {
  border-bottom: 1px solid rgba(17, 20, 24, 0.28);
}

.guide-page {
  background: var(--paper);
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 54px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(62px, 9vw, 112px) clamp(20px, 4vw, 56px);
}

.guide-sidebar {
  align-self: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
}

.guide-sidebar h2 {
  margin-bottom: 14px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.guide-sidebar ul,
.guide-body ol {
  margin: 0;
  padding-inline-start: 1.2rem;
}

.guide-sidebar li,
.step-list li {
  margin-bottom: 10px;
  color: var(--muted);
}

.guide-body {
  min-width: 0;
}

.guide-body h2 {
  margin-top: 34px;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
}

.guide-body h2:first-child {
  margin-top: 0;
}

.guide-body p {
  color: var(--muted);
  font-size: clamp(1rem, 1.7vw, 1.13rem);
}

.step-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-inline-start: 1.35rem;
}

.step-list li {
  padding-inline-start: 4px;
  font-size: 1.03rem;
}

.tutorial-step-list {
  gap: 22px;
}

.step-list strong {
  color: var(--ink);
}

.image-placeholder {
  display: grid;
  place-items: center;
  min-height: 180px;
  margin-top: 14px;
  border: 1px dashed rgba(17, 20, 24, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.68);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.tutorial-image {
  margin: 14px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-strong);
}

.tutorial-image img {
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  background: #ffffff;
}

.tutorial-language-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tutorial-language-nav a {
  padding: 7px 10px;
  border: 1px solid rgba(255, 250, 242, 0.24);
  border-radius: var(--radius);
  color: var(--paper-strong);
  font-size: 0.86rem;
  font-weight: 800;
}

.tutorial-adjacent {
  margin-top: 30px;
}

.callout {
  margin-top: 34px;
  padding: 24px;
  border: 1px solid rgba(18, 134, 111, 0.26);
  border-radius: var(--radius);
  background: rgba(84, 214, 182, 0.14);
}

.warning-callout {
  border-color: rgba(255, 113, 95, 0.28);
  background: rgba(255, 113, 95, 0.11);
}

.callout h3 {
  margin-bottom: 8px;
}

.callout p {
  margin-bottom: 0;
}

.voice-icon-showcase {
  display: grid;
  place-items: center;
  min-height: 320px;
}

.voice-icon-showcase img {
  width: min(240px, 58vw);
  border-radius: 42px;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.42);
}

.translation-shell {
  display: grid;
  min-height: 62vh;
  padding: 132px clamp(20px, 4vw, 56px) 64px;
  background:
    linear-gradient(120deg, rgba(84, 214, 182, 0.14), transparent 38%),
    var(--paper);
}

.translation-placeholder {
  display: grid;
  align-content: center;
  min-height: 320px;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  border: 1px dashed rgba(17, 20, 24, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.72);
}

.hero-replay {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.88fr);
  align-items: center;
  gap: clamp(34px, 7vw, 92px);
  background:
    linear-gradient(120deg, rgba(84, 214, 182, 0.16), transparent 36%),
    linear-gradient(260deg, rgba(255, 113, 95, 0.12), transparent 40%),
    var(--night);
  color: var(--paper-strong);
}

.hero-replay-copy {
  max-width: 680px;
}

.hero-replay-copy h2 {
  color: var(--paper-strong);
}

.hero-replay-copy p {
  color: rgba(255, 250, 242, 0.72);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.luna-section {
  background:
    linear-gradient(120deg, rgba(96, 188, 255, 0.14), transparent 36%),
    linear-gradient(270deg, rgba(255, 231, 156, 0.12), transparent 34%),
    #071122;
  color: var(--paper-strong);
}

.luna-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.68fr);
  align-items: center;
  gap: clamp(34px, 7vw, 94px);
  max-width: 1180px;
  margin: 0 auto 48px;
}

.luna-copy {
  max-width: 760px;
}

.luna-copy h2 {
  color: var(--paper-strong);
}

.luna-copy p {
  color: rgba(255, 250, 242, 0.72);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.luna-copy .eyebrow {
  color: var(--mint);
}

.responsible-note {
  margin-top: 22px;
  padding-inline-start: 18px;
  border-inline-start: 3px solid var(--gold);
}

.luna-visual {
  display: grid;
  place-items: center;
  min-height: 440px;
}

.luna-icon-panel {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 360px;
  margin: 0;
  text-align: center;
}

.luna-icon-panel img {
  width: min(280px, 66vw);
  border-radius: 36px;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.48);
}

.luna-icon-panel figcaption {
  color: rgba(255, 250, 242, 0.7);
  font-size: 0.95rem;
}

.luna-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  border: 1px solid rgba(255, 250, 242, 0.12);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 250, 242, 0.12);
}

.luna-grid article {
  min-height: 250px;
  padding: 26px;
  background: rgba(255, 250, 242, 0.07);
}

.luna-grid h3 {
  color: var(--paper-strong);
}

.luna-grid p {
  color: rgba(255, 250, 242, 0.66);
}

.persona-panel {
  max-width: 1180px;
  margin: 48px auto 0;
}

.persona-panel .section-heading {
  max-width: 780px;
  margin: 0 0 24px;
  text-align: start;
}

.persona-panel h3 {
  color: var(--paper-strong);
}

.persona-panel .section-heading > p:not(.eyebrow) {
  color: rgba(255, 250, 242, 0.68);
  font-size: clamp(1rem, 1.8vw, 1.14rem);
}

.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.persona-card {
  min-height: 306px;
  padding: 24px;
  border: 1px solid rgba(255, 250, 242, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.07);
}

.persona-card .feature-number {
  margin-bottom: 34px;
}

.persona-use {
  display: block;
  margin-bottom: 8px;
  color: var(--mint);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.persona-card p {
  color: rgba(255, 250, 242, 0.66);
}

.luna-brand-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: center;
  gap: clamp(24px, 5vw, 54px);
  max-width: 1180px;
  margin: 40px auto 0;
}

.luna-art-stack {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.luna-art-stack figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 250, 242, 0.14);
  border-radius: var(--radius);
  background: #081227;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.luna-art-stack img {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}

.luna-art-stack figure:nth-child(2) img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.luna-specs h3 {
  color: var(--paper-strong);
  font-size: clamp(1.5rem, 3vw, 2.45rem);
}

.luna-specs p {
  color: rgba(255, 250, 242, 0.68);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.74fr);
  align-items: center;
  gap: clamp(34px, 7vw, 90px);
  background: var(--night);
  color: var(--paper-strong);
}

.studio-copy {
  max-width: 760px;
}

.studio-copy h2,
.cta-section h2 {
  color: var(--paper-strong);
}

.studio-copy p {
  color: rgba(255, 250, 242, 0.68);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.metrics {
  display: grid;
  gap: 14px;
}

.metric {
  display: grid;
  gap: 6px;
  min-height: 112px;
  padding: 22px;
  border-radius: var(--radius);
}

.metric strong {
  color: var(--mint);
  font-size: 1.46rem;
}

.metric span {
  color: rgba(255, 250, 242, 0.66);
}

.showcase {
  background: var(--paper-strong);
}

.compact {
  max-width: 720px;
}

.screenshot-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

.screenshot-row figure {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #e9e1d7;
  box-shadow: 0 18px 48px rgba(17, 20, 24, 0.08);
}

.screenshot-row img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.shape-shot-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  margin: 0 auto;
}

.shape-shot {
  display: grid;
  justify-items: center;
  min-height: 390px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  text-align: center;
}

.shape-phone {
  display: grid;
  place-items: center;
  width: min(210px, 62vw);
  aspect-ratio: 9 / 14;
  margin-bottom: 24px;
  border: 10px solid var(--ink);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(84, 214, 182, 0.13), transparent 42%),
    #111820;
  box-shadow: 0 22px 56px rgba(17, 20, 24, 0.16);
}

.shape-record {
  display: grid;
  place-items: center;
  width: 138px;
  height: 138px;
  border: 1px solid rgba(84, 214, 182, 0.32);
  border-radius: 50%;
  background: rgba(84, 214, 182, 0.12);
}

.shape-record span {
  display: block;
  width: 92px;
  height: 92px;
  border: 8px solid rgba(255, 250, 242, 0.24);
  border-radius: 50%;
  background: var(--coral);
}

.shape-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 150px;
  height: 160px;
}

.shape-wave span {
  display: block;
  width: 12px;
  border-radius: 999px;
  background: var(--mint);
}

.shape-wave span:nth-child(1) {
  height: 58px;
}

.shape-wave span:nth-child(2) {
  height: 104px;
  background: var(--gold);
}

.shape-wave span:nth-child(3) {
  height: 142px;
}

.shape-wave span:nth-child(4) {
  height: 98px;
  background: var(--coral);
}

.shape-wave span:nth-child(5) {
  height: 68px;
}

.shape-play {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 16px;
  width: 158px;
}

.shape-play-icon {
  display: block;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--mint);
  clip-path: polygon(38% 28%, 38% 72%, 74% 50%);
}

.shape-play-track {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mint) 62%, rgba(255, 250, 242, 0.18) 62%);
}

.shape-shot h3 {
  margin-bottom: 8px;
}

.shape-shot p {
  max-width: 230px;
  margin-bottom: 0;
  color: var(--muted);
}

.principles-section {
  background:
    linear-gradient(90deg, rgba(17, 20, 24, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 20, 24, 0.06) 1px, transparent 1px),
    var(--paper);
  background-size: 46px 46px;
}

.principles-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}

.principles-list article {
  min-height: 250px;
  padding: 30px;
  background: rgba(255, 250, 242, 0.86);
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(54px, 8vw, 86px) clamp(20px, 4vw, 56px);
  background:
    linear-gradient(120deg, rgba(84, 214, 182, 0.18), transparent 42%),
    var(--night-soft);
  color: var(--paper-strong);
}

.cta-section > div {
  max-width: 760px;
}

.cta-section h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.3vw, 4rem);
}

.cta-actions,
.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cta-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
}

html[dir="rtl"] .hero,
html[dir="rtl"] .hero-replay,
html[dir="rtl"] .luna-section,
html[dir="rtl"] .split-section,
html[dir="rtl"] .cta-section,
html[dir="rtl"] .site-footer {
  text-align: right;
}

html[dir="rtl"] .section-heading,
html[dir="rtl"] .shape-shot,
html[dir="rtl"] .luna-icon-panel,
html[dir="rtl"] .intro-strip {
  text-align: center;
}

html[dir="rtl"] .language-switcher select {
  padding: 8px 12px 8px 34px;
}

html[dir="rtl"] .luna-actions {
  justify-content: flex-end;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 4vw, 56px);
  background: #0f1318;
  color: rgba(255, 250, 242, 0.66);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--mint);
  font-weight: 750;
}

.site-footer a.legal-link {
  color: rgba(255, 250, 242, 0.38);
  font-size: 0.84rem;
  font-weight: 650;
}

.site-footer a.legal-link:hover,
.site-footer a.legal-link:focus {
  color: var(--mint);
}

@media (max-width: 980px) {
  .site-header {
    position: sticky;
  }

  .hero {
    min-height: auto;
    background-size: cover;
    background-position: center;
  }

  .hero-inner,
  .split-section,
  .hero-replay,
  .luna-layout,
  .luna-brand-row {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-copy {
    padding-top: 20px;
  }

  .product-stage {
    min-height: 560px;
  }

  .feature-grid,
  .principles-list,
  .luna-grid,
  .persona-grid,
  .content-grid,
  .content-grid.four-up,
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: auto;
  }

  .tutorial-row {
    grid-template-columns: 1fr;
  }

  .luna-visual {
    min-height: 360px;
  }

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

  .shape-shot-row {
    grid-template-columns: 1fr;
  }

  .cta-section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 14px 18px;
  }

  .nav-links {
    display: grid;
    grid-auto-columns: max-content;
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 12px;
    width: 100%;
    overflow-x: auto;
    font-size: 0.84rem;
  }

  .language-switcher,
  .language-switcher select {
    width: 100%;
  }

  .hero {
    padding: 34px 18px 36px;
  }

  .hero-copy {
    padding-top: 0;
  }

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

  .product-stage {
    min-height: 480px;
    margin-top: 16px;
  }

  .phone-shell {
    width: min(290px, 86vw);
    transform: none;
  }

  .phone-screen {
    min-height: 520px;
    padding: 18px;
  }

  .floating-note {
    position: static;
    width: min(290px, 86vw);
    margin-top: 12px;
  }

  .note-one,
  .note-two,
  .note-three {
    justify-self: center;
  }

  .luna-visual {
    min-height: 300px;
  }

  .luna-art-stack img,
  .luna-art-stack figure:nth-child(2) img {
    aspect-ratio: 16 / 9;
  }

  .section {
    padding: 62px 18px;
  }

  .feature-card,
  .principles-list article,
  .luna-grid article,
  .persona-card,
  .content-card,
  .tutorial-row,
  .guide-sidebar {
    min-height: auto;
    padding: 24px;
  }

  .page-hero {
    padding: 58px 18px 44px;
  }

  .guide-layout {
    padding: 54px 18px;
  }

  .feature-number {
    margin-bottom: 36px;
  }

  .screenshot-row {
    grid-template-columns: 1fr;
  }

  .shape-shot {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-actions,
  .footer-links {
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
    width: 100%;
  }
}
