:root {
  color-scheme: light;
  --paper: #f8f4ef;
  --surface: #ffffff;
  --ink: #1a1a1a;
  --muted: #716b65;
  --primary: #d4691e;
  --primary-dark: #1a120d;
  --primary-light: #f5e6d3;
  --gold: #f0a500;
  --line: rgba(26, 26, 26, 0.1);
  --shadow: 0 24px 60px rgba(26, 18, 13, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 72px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-bottom: 1px solid rgba(26, 26, 26, 0.1);
  background: rgba(248, 244, 239, 0.92);
  color: var(--ink);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.hero-actions,
.hero-tags,
.hero-facts {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.nav {
  gap: clamp(14px, 2.4vw, 30px);
  font-size: 14px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  background: var(--primary-dark);
  color: #fff;
}

.hero::after,
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::after {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(26, 18, 13, 0.97) 0%, rgba(26, 18, 13, 0.8) 44%, rgba(26, 18, 13, 0.26) 100%),
    linear-gradient(0deg, rgba(212, 105, 30, 0.2), rgba(26, 18, 13, 0.04));
}

.hero::before {
  z-index: 2;
  background:
    linear-gradient(115deg, transparent 0 26%, rgba(240, 165, 0, 0.18) 31%, transparent 38%),
    linear-gradient(145deg, transparent 0 56%, rgba(212, 105, 30, 0.24) 60%, transparent 67%);
  mix-blend-mode: screen;
}

.hero-map,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-map {
  left: 30%;
  width: 82%;
  height: 112%;
  object-fit: cover;
  opacity: 0.74;
  filter: saturate(1.08) sepia(0.08);
}

.hero-grid {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(245, 230, 211, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(245, 230, 211, 0.09) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 72%, transparent 100%);
  opacity: 0.26;
  animation: gridDrift 16s linear infinite;
}

.route-line {
  position: absolute;
  right: 7vw;
  bottom: 13vh;
  z-index: 3;
  width: min(560px, 48vw);
  height: 120px;
  border-top: 2px solid rgba(240, 165, 0, 0.64);
  border-right: 2px solid rgba(240, 165, 0, 0.44);
  border-radius: 0 78px 0 0;
  opacity: 0.82;
}

.route-line::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 42%;
  border-top: 2px solid #fff2d5;
  filter: drop-shadow(0 0 12px rgba(240, 165, 0, 0.9));
  animation: routeTrace 3.8s ease-in-out infinite;
}

.route-line span {
  position: absolute;
  width: 11px;
  height: 11px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--primary-dark);
  box-shadow: 0 0 0 8px rgba(240, 165, 0, 0.14), 0 0 22px rgba(240, 165, 0, 0.82);
  animation: routePoint 2.6s ease-in-out infinite;
}

.route-line span:nth-child(1) { left: 0; top: -7px; }
.route-line span:nth-child(2) { left: 52%; top: -7px; animation-delay: 0.35s; }
.route-line span:nth-child(3) { right: -7px; top: 84px; animation-delay: 0.7s; }

.hero-inner {
  position: relative;
  z-index: 4;
  display: grid;
  width: min(1180px, calc(100% - 40px));
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.82fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 90vh;
  margin: 0 auto;
  padding: 116px 0 48px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(240, 165, 0, 0.34);
}

.hero h1,
.section-heading h2,
.ios-section h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1;
}

.hero h1 {
  max-width: 760px;
  background: linear-gradient(92deg, #fff 0%, #fff1da 42%, var(--gold) 78%, #fff 100%);
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(44px, 7vw, 88px);
  animation: titleShimmer 7s ease-in-out infinite;
}

.hero-copy p {
  max-width: 640px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button,
.store-badge {
  min-height: 52px;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 160ms ease, background 160ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  padding: 12px 18px;
}

.button:hover,
.store-badge:hover {
  transform: translateY(-1px);
}

.button-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.store-badge {
  display: inline-grid;
  min-width: 176px;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  padding: 8px 16px 9px;
  background: #050505;
  color: #fff;
  line-height: 1.05;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.store-badge span {
  font-size: 11px;
  font-weight: 700;
}

.store-badge strong {
  margin-top: 3px;
  font-size: 22px;
}

.store-badge-large {
  min-width: 208px;
}

.hero-tags {
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.hero-tags span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 640px;
  margin-top: 18px;
}

.hero-facts div {
  border: 1px solid rgba(240, 165, 0, 0.22);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(14px);
}

.hero-facts strong,
.hero-facts span {
  display: block;
  line-height: 1.05;
}

.hero-facts strong {
  color: #fff2d5;
  font-size: 20px;
  font-weight: 950;
}

.hero-facts span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-stage {
  position: relative;
  min-height: 600px;
}

.stage-frame {
  position: absolute;
  inset: 24px 4% 24px 3%;
  border: 1px solid rgba(240, 165, 0, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(212, 105, 30, 0.18), transparent 40%),
    linear-gradient(315deg, rgba(240, 165, 0, 0.14), transparent 44%);
  box-shadow: inset 0 0 60px rgba(240, 165, 0, 0.08), 0 0 42px rgba(212, 105, 30, 0.16);
  transform: skewY(-2deg);
}

.phone {
  position: absolute;
  z-index: 2;
  border: 10px solid #070a09;
  border-radius: 34px;
  background: #070a09;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.38);
}

.phone-map {
  left: 2%;
  top: 30px;
  width: min(300px, 58%);
  transform: rotate(-5deg);
  animation: phoneFloat 6.4s ease-in-out infinite;
}

.phone-chat {
  right: 3%;
  top: 92px;
  width: min(270px, 52%);
  transform: rotate(6deg);
  animation: phoneFloatAlt 7.2s ease-in-out infinite;
}

.coach {
  position: absolute;
  right: 1%;
  bottom: 20px;
  z-index: 4;
  width: min(260px, 48%);
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.34));
  animation: coachFloat 5.8s ease-in-out infinite;
}

.voice-pill {
  position: absolute;
  right: 7%;
  top: 52px;
  z-index: 5;
  display: flex;
  width: 112px;
  height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(240, 165, 0, 0.32);
  border-radius: 999px;
  background: rgba(26, 18, 13, 0.78);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.voice-pill span {
  width: 5px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(240, 165, 0, 0.78);
  animation: voiceBars 960ms ease-in-out infinite;
}

.voice-pill span:nth-child(1) { height: 12px; animation-delay: 0ms; }
.voice-pill span:nth-child(2) { height: 24px; animation-delay: 90ms; }
.voice-pill span:nth-child(3) { height: 16px; animation-delay: 180ms; }
.voice-pill span:nth-child(4) { height: 30px; animation-delay: 270ms; }
.voice-pill span:nth-child(5) { height: 14px; animation-delay: 360ms; }

.section {
  padding: clamp(64px, 9vw, 108px) 0;
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading h2,
.ios-section h2 {
  font-size: clamp(34px, 5vw, 64px);
}

.core-section {
  position: relative;
  overflow: hidden;
  background: #100b08;
  color: #fff;
}

.core-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(245, 230, 211, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(245, 230, 211, 0.06) 1px, transparent 1px),
    linear-gradient(135deg, rgba(212, 105, 30, 0.22), transparent 42%);
  background-size: 54px 54px, 54px 54px, auto;
  opacity: 0.7;
  pointer-events: none;
}

.core-section .section-inner {
  position: relative;
  z-index: 1;
}

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

.core-card {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  border: 1px solid rgba(240, 165, 0, 0.18);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 28px 62px rgba(0, 0, 0, 0.26);
}

.core-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 165, 0, 0.78), transparent);
}

.core-ai {
  display: grid;
  min-height: 540px;
  grid-column: 1 / -1;
  grid-template-columns: minmax(260px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}

.core-photo,
.core-city {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  min-height: 540px;
}

.core-photo {
  background:
    linear-gradient(145deg, rgba(245, 230, 211, 0.13), rgba(255, 255, 255, 0.035)),
    rgba(255, 255, 255, 0.04);
}

.core-copy {
  position: relative;
  z-index: 2;
}

.core-copy > span {
  display: inline-flex;
  margin-bottom: 18px;
  border: 1px solid rgba(240, 165, 0, 0.28);
  border-radius: 999px;
  padding: 7px 11px;
  background: rgba(240, 165, 0, 0.12);
  color: #ffd991;
  font-size: 12px;
  font-weight: 900;
}

.core-copy h3 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(34px, 4.6vw, 68px);
  line-height: 0.98;
}

.core-photo .core-copy h3,
.core-city .core-copy h3 {
  font-size: clamp(30px, 3vw, 44px);
}

.core-copy p {
  max-width: 580px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.photo-points {
  display: grid;
  gap: 8px;
  max-width: 420px;
  margin-top: 26px;
}

.photo-points div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 850;
}

.photo-points strong {
  color: var(--gold);
  font-size: 13px;
}

.photo-points span {
  display: block;
}

.ai-friend-stage,
.mode-visual,
.challenge-board,
.photo-lab {
  position: relative;
  min-height: 360px;
}

.photo-lab {
  min-height: 500px;
}

.ai-phone,
.mode-phone,
.challenge-board > img {
  position: absolute;
  border: 9px solid #060606;
  border-radius: 30px;
  background: #060606;
  box-shadow: 0 28px 48px rgba(0, 0, 0, 0.32);
}

.ai-phone {
  left: 2%;
  top: 4px;
  width: min(250px, 42%);
  transform: rotate(-4deg);
}

.persona-stack {
  position: absolute;
  top: 24px;
  right: 0;
  display: grid;
  width: min(380px, 58%);
  gap: 10px;
}

.persona-card {
  display: grid;
  min-height: 112px;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 8px 14px 8px 6px;
  background: rgba(255, 250, 245, 0.1);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.18);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.persona-card:nth-child(2) {
  transform: translateX(-24px);
}

.persona-card:nth-child(3) {
  transform: translateX(16px);
}

.persona-card:nth-child(4) {
  transform: translateX(-10px);
}

.persona-card:hover {
  border-color: rgba(240, 165, 0, 0.46);
  background: rgba(255, 250, 245, 0.15);
}

.persona-card img {
  width: 116px;
  height: 104px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.2));
}

.persona-card strong,
.persona-card small {
  display: block;
}

.persona-card strong {
  font-size: 18px;
  line-height: 1.1;
}

.persona-card small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.66);
  font-weight: 800;
}

.mode-visual {
  margin-top: 24px;
}

.mode-phone {
  left: 4%;
  bottom: -22px;
  width: min(232px, 52%);
  transform: rotate(-5deg);
}

.mode-coach {
  position: absolute;
  right: -4%;
  bottom: -18px;
  width: min(260px, 54%);
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.28));
}

.photo-phone {
  position: absolute;
  overflow: hidden;
  border: 8px solid #060606;
  border-radius: 30px;
  background: #060606;
  box-shadow: 0 28px 48px rgba(0, 0, 0, 0.34);
}

.photo-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.photo-capture {
  left: 0;
  top: 58px;
  z-index: 2;
  width: min(212px, 32%);
  aspect-ratio: 9 / 16;
  transform: rotate(-7deg);
}

.photo-generated {
  left: 26%;
  top: 2px;
  z-index: 4;
  width: min(238px, 36%);
  aspect-ratio: 9 / 16;
}

.photo-practice {
  right: 0;
  top: 70px;
  z-index: 3;
  width: min(218px, 33%);
  aspect-ratio: 9 / 16;
  transform: rotate(7deg);
}

.word-signal {
  position: absolute;
  right: 12%;
  bottom: 42px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  max-width: 310px;
  gap: 8px;
}

.word-signal span {
  border: 1px solid rgba(240, 165, 0, 0.36);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 250, 245, 0.92);
  color: #9d4512;
  font-weight: 950;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.18);
}

.photo-coach {
  position: absolute;
  left: 11%;
  bottom: 18px;
  z-index: 5;
  width: min(160px, 25%);
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.28));
}

.photo-depth {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
}

.photo-depth article {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.photo-depth img {
  width: 86px;
  aspect-ratio: 9 / 16;
  border: 5px solid #060606;
  border-radius: 18px;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.25);
}

.photo-depth span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.photo-depth h4 {
  margin: 5px 0 0;
  font-size: 18px;
  line-height: 1.1;
}

.photo-depth p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.45;
}

.challenge-board {
  margin-top: 24px;
}

.challenge-board > img {
  left: 4%;
  bottom: -22px;
  width: min(232px, 52%);
  transform: rotate(5deg);
}

.challenge-track {
  position: absolute;
  right: 4%;
  bottom: 72px;
  width: min(240px, 46%);
  height: 180px;
  border-top: 2px solid rgba(240, 165, 0, 0.72);
  border-right: 2px solid rgba(240, 165, 0, 0.5);
  border-radius: 0 70px 0 0;
}

.challenge-track::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 0;
  width: 52%;
  border-top: 2px solid #fff1ca;
  filter: drop-shadow(0 0 12px rgba(240, 165, 0, 0.8));
  animation: routeTrace 3.8s ease-in-out infinite;
}

.challenge-track span {
  position: absolute;
  width: 13px;
  height: 13px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: #100b08;
  box-shadow: 0 0 0 8px rgba(240, 165, 0, 0.12), 0 0 20px rgba(240, 165, 0, 0.72);
}

.challenge-track span:nth-child(1) { left: 0; top: -8px; }
.challenge-track span:nth-child(2) { left: 58%; top: -8px; }
.challenge-track span:nth-child(3) { right: -8px; bottom: 0; }

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

.feature-section {
  background: #fffaf5;
}

.feature-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid article,
.trust-grid article {
  min-height: 230px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(26, 18, 13, 0.06);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.feature-grid article:hover,
.trust-grid article:hover {
  border-color: rgba(212, 105, 30, 0.28);
  box-shadow: 0 20px 42px rgba(26, 18, 13, 0.1);
  transform: translateY(-4px);
}

.feature-grid span,
.cast-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--primary-light);
  color: #9d4512;
  font-size: 12px;
  font-weight: 900;
}

.feature-grid h3,
.trust-grid h3,
.cast-grid h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.12;
}

.feature-grid p,
.trust-grid p,
.cast-grid p,
.culture-layout .section-heading p {
  margin: 12px 0 0;
  color: var(--muted);
}

.concept-card {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 42px rgba(26, 18, 13, 0.1);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.concept-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  background: linear-gradient(112deg, transparent 0 28%, rgba(255, 255, 255, 0.58) 44%, transparent 58%);
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
}

.concept-card:hover {
  border-color: rgba(212, 105, 30, 0.34);
  box-shadow: 0 28px 58px rgba(26, 18, 13, 0.16);
  transform: translateY(-6px);
}

.concept-card:hover::before {
  opacity: 1;
  animation: cardSweep 900ms ease;
}

.concept-visual {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 58%;
  overflow: hidden;
}

.concept-visual::after {
  content: "";
  position: absolute;
  inset: 44% 0 0;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.94));
}

.concept-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.82;
  transition: transform 260ms ease, opacity 260ms ease;
}

.concept-city {
  position: absolute;
  top: 48px;
  right: 34px;
  z-index: 2;
  width: min(118px, 30%);
  max-height: 230px;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(26, 18, 13, 0.2));
  transition: transform 260ms ease;
}

.concept-phone {
  position: absolute;
  z-index: 2;
  top: 44px;
  left: 50%;
  width: min(194px, 50%);
  border: 9px solid #111;
  border-radius: 32px;
  background: #111;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 26px 48px rgba(26, 18, 13, 0.22);
  transform: translateX(-58%) rotate(-4deg);
  transition: transform 260ms ease;
}

.concept-coach {
  position: absolute;
  z-index: 3;
  right: -3%;
  top: 170px;
  width: min(180px, 44%);
  filter: drop-shadow(0 22px 28px rgba(26, 18, 13, 0.22));
  transition: transform 260ms ease;
}

.concept-copy {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 4;
  border: 1px solid rgba(212, 105, 30, 0.12);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 34px rgba(26, 18, 13, 0.08);
  backdrop-filter: blur(16px);
}

.concept-copy span {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 6px 10px;
  background: var(--primary-light);
  color: #9d4512;
  font-size: 12px;
  font-weight: 900;
}

.concept-copy h3 {
  margin: 0;
  font-size: clamp(25px, 2.3vw, 33px);
  line-height: 1.04;
}

.concept-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.concept-card:hover .concept-bg {
  opacity: 0.94;
  transform: scale(1.04);
}

.concept-card:hover .concept-city {
  transform: translateY(-8px) scale(1.04);
}

.concept-card:hover .concept-phone {
  transform: translateX(-58%) translateY(-8px) rotate(-3deg);
}

.concept-card:hover .concept-coach {
  transform: translateY(-10px) rotate(2deg);
}

.flow-section {
  background: #fff;
}

.culture-section {
  overflow: hidden;
  background: var(--primary-dark);
  color: #fff;
}

.culture-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.culture-layout .section-heading {
  position: sticky;
  top: 106px;
  margin-bottom: 0;
}

.culture-layout .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

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

.city-strip article {
  display: grid;
  min-height: 230px;
  align-content: center;
  justify-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 20px;
  background:
    radial-gradient(circle at 50% 34%, rgba(240, 165, 0, 0.18), transparent 58%),
    rgba(255, 255, 255, 0.055);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.city-strip article:hover {
  border-color: rgba(240, 165, 0, 0.46);
  background:
    radial-gradient(circle at 50% 34%, rgba(240, 165, 0, 0.24), transparent 58%),
    rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.city-strip img {
  width: 118px;
  height: 132px;
  object-fit: contain;
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.28));
}

.city-strip span {
  margin-top: 14px;
  font-weight: 900;
}

.cast-section {
  background: #fff;
}

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

.cast-grid article {
  display: grid;
  min-height: 430px;
  align-content: end;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background:
    radial-gradient(circle at 50% 34%, rgba(212, 105, 30, 0.16), transparent 54%),
    #fffaf5;
}

.cast-grid img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(26, 18, 13, 0.14));
}

.cast-grid div {
  margin-top: 14px;
}

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

.screen-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.screen-row img {
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 8px solid #111;
  border-radius: 30px;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 22px 42px rgba(26, 18, 13, 0.18);
}

.flow-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.flow-section .section-heading {
  position: sticky;
  top: 106px;
  margin-bottom: 0;
}

.flow-steps {
  display: grid;
  gap: 14px;
}

.flow-steps article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fffaf5;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.flow-steps article:hover {
  border-color: rgba(212, 105, 30, 0.28);
  box-shadow: 0 18px 34px rgba(26, 18, 13, 0.08);
  transform: translateX(6px);
}

.flow-steps span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--primary);
  font-weight: 900;
}

.flow-steps h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1.08;
}

.flow-steps p {
  margin: 10px 0 0;
  color: var(--muted);
}

.ios-section {
  padding: clamp(64px, 9vw, 108px) 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, #32180b 54%, var(--primary) 132%);
  color: #fff;
}

.ios-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
}

.ios-section p:not(.eyebrow) {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: #0f0b08;
  color: #fff;
}

.site-footer div,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.site-footer span,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

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

.legal-main {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 118px 0 72px;
}

.legal-main h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
}

.legal-main h2 {
  margin: 34px 0 0;
  font-size: 25px;
}

.legal-main p,
.legal-main li {
  color: var(--muted);
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(22px, 4vw, 34px);
  background: #fff;
  box-shadow: 0 18px 42px rgba(26, 18, 13, 0.08);
}

.legal-main a {
  color: #a84914;
  font-weight: 900;
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 128px 64px, 64px 128px; }
}

@keyframes routeTrace {
  0%, 100% { transform: translateX(0); opacity: 0.1; }
  45% { transform: translateX(138%); opacity: 1; }
  70% { transform: translateX(190%); opacity: 0; }
}

@keyframes routePoint {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

@keyframes titleShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes phoneFloat {
  0%, 100% { transform: rotate(-5deg) translateY(0); }
  50% { transform: rotate(-4deg) translateY(-14px); }
}

@keyframes phoneFloatAlt {
  0%, 100% { transform: rotate(6deg) translateY(0); }
  50% { transform: rotate(5deg) translateY(12px); }
}

@keyframes coachFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(2deg); }
}

@keyframes voiceBars {
  0%, 100% { transform: scaleY(0.62); opacity: 0.72; }
  50% { transform: scaleY(1.18); opacity: 1; }
}

@keyframes cardSweep {
  from { transform: translateX(-120%); }
  to { transform: translateX(120%); }
}

@media (max-width: 980px) {
  .hero-inner,
  .flow-layout,
  .culture-layout,
  .ios-layout {
    grid-template-columns: 1fr;
  }

  .core-grid,
  .core-ai,
  .core-photo,
  .core-city {
    grid-template-columns: 1fr;
  }

  .core-ai,
  .core-photo,
  .core-city {
    min-height: 0;
  }

  .hero-stage {
    order: -1;
    min-height: 520px;
  }

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

  .feature-grid,
  .trust-grid,
  .cast-grid,
  .screen-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .concept-card {
    min-height: 560px;
  }

  .ai-friend-stage {
    min-height: 430px;
  }

  .photo-lab {
    min-height: 460px;
  }

  .photo-depth {
    grid-template-columns: 1fr;
  }

  .persona-stack {
    width: min(390px, 56%);
  }

  .concept-phone {
    width: min(210px, 44%);
  }

  .concept-coach {
    right: 12%;
    width: min(190px, 36%);
  }

  .concept-city {
    right: 11%;
    width: min(122px, 24%);
  }

  .flow-section .section-heading {
    position: static;
  }

  .culture-layout .section-heading {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 20px;
  }

  .nav {
    gap: 12px;
    font-size: 12px;
  }

  .hero,
  .hero-inner {
    min-height: 86vh;
  }

  .hero-inner {
    padding-top: 100px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .route-line {
    display: none;
  }

  .hero-grid {
    background-size: 42px 42px;
    opacity: 0.18;
  }

  .hero-stage {
    min-height: 370px;
  }

  .stage-frame {
    inset: 18px 0 20px;
  }

  .phone {
    border-width: 7px;
    border-radius: 28px;
  }

  .phone-map {
    left: 0;
    width: 178px;
  }

  .phone-chat {
    right: 0;
    top: 70px;
    width: 168px;
  }

  .coach {
    right: 0;
    bottom: 0;
    width: 150px;
  }

  .voice-pill {
    right: 0;
    top: 28px;
    width: 86px;
    height: 34px;
  }

  .concept-card {
    min-height: 500px;
  }

  .feature-grid,
  .trust-grid,
  .city-strip,
  .cast-grid,
  .screen-row {
    grid-template-columns: 1fr;
  }

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

  .core-card {
    min-height: 0;
    padding: 22px;
  }

  .core-copy h3,
  .core-photo .core-copy h3,
  .core-city .core-copy h3 {
    font-size: 32px;
  }

  .ai-friend-stage,
  .mode-visual,
  .challenge-board,
  .photo-lab {
    min-height: 390px;
  }

  .ai-phone {
    left: 0;
    top: 16px;
    width: 178px;
    border-width: 7px;
    border-radius: 26px;
  }

  .persona-stack {
    top: 12px;
    right: 0;
    width: calc(100% - 142px);
  }

  .persona-card,
  .persona-card:nth-child(2),
  .persona-card:nth-child(3),
  .persona-card:nth-child(4) {
    min-height: 74px;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 9px;
    padding: 6px 8px 6px 3px;
    transform: none;
  }

  .persona-card img {
    width: 68px;
    height: 64px;
  }

  .persona-card strong {
    font-size: 14px;
  }

  .persona-card small {
    font-size: 11px;
  }

  .mode-phone,
  .challenge-board > img {
    left: 0;
    bottom: 0;
    width: 178px;
    border-width: 7px;
    border-radius: 26px;
  }

  .mode-coach {
    right: 0;
    bottom: 4px;
    width: 164px;
  }

  .photo-points {
    max-width: none;
  }

  .photo-phone {
    border-width: 7px;
    border-radius: 26px;
  }

  .photo-capture {
    left: 0;
    top: 70px;
    width: 142px;
  }

  .photo-generated {
    left: 50%;
    top: 12px;
    width: 156px;
    transform: translateX(-50%);
  }

  .photo-practice {
    right: 0;
    top: 88px;
    width: 142px;
  }

  .word-signal {
    right: 0;
    bottom: 56px;
    max-width: 230px;
  }

  .word-signal span {
    padding: 6px 9px;
    font-size: 12px;
  }

  .photo-coach {
    left: 6px;
    bottom: 28px;
    width: 96px;
  }

  .photo-depth {
    gap: 14px;
    padding-top: 18px;
  }

  .photo-depth article {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
  }

  .photo-depth img {
    width: 64px;
    border-width: 4px;
    border-radius: 14px;
  }

  .photo-depth h4 {
    font-size: 16px;
  }

  .photo-depth p {
    font-size: 12px;
  }

  .challenge-track {
    right: 6px;
    bottom: 70px;
    width: calc(100% - 190px);
    min-width: 120px;
    height: 146px;
   }

  .feature-grid article,
  .trust-grid article {
    min-height: 0;
  }

  .cast-grid article {
    min-height: 360px;
  }

  .screen-row {
    width: min(320px, 100%);
    margin: 0 auto;
  }

  .concept-copy {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .concept-phone {
    top: 34px;
    width: min(174px, 55%);
  }

  .concept-coach {
    top: 142px;
    right: -2%;
    width: min(148px, 44%);
  }

  .concept-city {
    top: 46px;
    right: 22px;
    width: min(92px, 28%);
  }

  .hero-actions,
  .ios-layout {
    align-items: stretch;
  }

  .button,
  .store-badge {
    width: 100%;
  }

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

@media (prefers-reduced-motion: reduce) {
  .hero-grid,
  .route-line::after,
  .route-line span,
  .hero h1,
  .phone-map,
  .phone-chat,
  .coach,
  .voice-pill span {
    animation: none;
  }

  .concept-card,
  .core-card,
  .persona-card,
  .flow-steps article,
  .store-badge,
  .button {
    transition: none;
  }

  .challenge-track::after {
    animation: none;
  }
}
