:root {
  color-scheme: light;
  --ink: #081724;
  --muted: #65717c;
  --soft: #f6f0e6;
  --paper: #fbf7ef;
  --surface: rgba(255, 252, 245, 0.76);
  --surface-strong: rgba(255, 252, 245, 0.92);
  --line: rgba(8, 23, 36, 0.11);
  --midnight: #061523;
  --lake: #174262;
  --sage: #91a38e;
  --gold: #d5a13b;
  --clay: #a96751;
  --shadow: 0 24px 80px rgba(8, 23, 36, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 8%, rgba(213, 161, 59, 0.18), transparent 28rem),
    radial-gradient(circle at 88% 18%, rgba(23, 66, 98, 0.15), transparent 32rem),
    linear-gradient(135deg, #fffaf1 0%, #f7efe4 48%, #eef2ed 100%);
  color: var(--ink);
  min-height: 100vh;
}

body.dark-page {
  color: #f9f3ea;
  background:
    radial-gradient(circle at 18% 10%, rgba(213, 161, 59, 0.20), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(43, 107, 139, 0.24), transparent 32rem),
    linear-gradient(135deg, #03111d 0%, #071b29 54%, #17221e 100%);
}

html[data-theme="dark"] body {
  color: #f9f3ea;
  background:
    radial-gradient(circle at 18% 10%, rgba(213, 161, 59, 0.20), transparent 28rem),
    radial-gradient(circle at 82% 18%, rgba(43, 107, 139, 0.24), transparent 32rem),
    linear-gradient(135deg, #03111d 0%, #071b29 54%, #17221e 100%);
}

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

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

.site-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  margin: 14px auto 0;
  width: min(1180px, calc(100% - 28px));
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.68);
  backdrop-filter: blur(22px) saturate(1.2);
  box-shadow: 0 14px 40px rgba(8, 23, 36, 0.10);
}

.dark-page .site-header {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(4, 15, 26, 0.66);
}

html[data-theme="dark"] .site-header {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(4, 15, 26, 0.66);
}

.nav {
  min-height: 62px;
  padding: 0 12px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 68% 28%, var(--gold), transparent 28%),
    linear-gradient(135deg, var(--midnight), var(--lake));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.dark-page .nav-link {
  color: rgba(249, 243, 234, 0.72);
}

html[data-theme="dark"] .nav-link {
  color: rgba(249, 243, 234, 0.72);
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
}

.dark-page .nav-link:hover,
.dark-page .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
}

html[data-theme="dark"] .nav-link:hover,
html[data-theme="dark"] .nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.10);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
}

html[data-theme="dark"] .language-switch,
html[data-theme="dark"] .theme-switch,
.dark-page .language-switch,
.dark-page .theme-switch {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.language-switch button,
.theme-switch button {
  width: 36px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

html[data-theme="dark"] .language-switch button,
html[data-theme="dark"] .theme-switch button,
.dark-page .language-switch button,
.dark-page .theme-switch button {
  color: rgba(249, 243, 234, 0.72);
}

.language-switch button.active,
.theme-switch button.active {
  color: var(--midnight);
  background: var(--gold);
  box-shadow: 0 8px 18px rgba(213, 161, 59, 0.20);
}

.theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 760;
  white-space: nowrap;
}

.button.primary {
  background: var(--midnight);
  color: #fff;
  box-shadow: 0 16px 34px rgba(8, 23, 36, 0.18);
}

.button.gold {
  background: var(--gold);
  color: var(--midnight);
  box-shadow: 0 16px 34px rgba(213, 161, 59, 0.23);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
}

.dark-page .button.secondary {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

html[data-theme="dark"] .button.secondary {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.hero {
  padding: 92px 0 64px;
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 9vw, 116px);
  line-height: 0.88;
  letter-spacing: 0;
}

.sora-dot {
  color: var(--gold);
}

.hero-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.dark-page .hero-copy,
.dark-page .section-copy,
.dark-page .card p,
.dark-page .metric-label {
  color: rgba(249, 243, 234, 0.70);
}

html[data-theme="dark"] .hero-copy,
html[data-theme="dark"] .section-copy,
html[data-theme="dark"] .card p,
html[data-theme="dark"] .metric-label,
html[data-theme="dark"] .legal-document p,
html[data-theme="dark"] .legal-document li {
  color: rgba(249, 243, 234, 0.70);
}

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

.hero-panel {
  min-height: 620px;
  border-radius: 38px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  background: var(--midnight);
}

.hero-panel img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 17, 29, 0.16), rgba(3, 17, 29, 0.86));
}

.hero-panel-content {
  position: absolute;
  z-index: 2;
  inset: auto 24px 24px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 26px;
  background: rgba(4, 15, 26, 0.42);
  backdrop-filter: blur(20px);
  color: #fff;
}

.hero-panel-content h2 {
  margin-bottom: 8px;
  font-size: 30px;
}

.hero-panel-content p {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.5;
}

.section {
  padding: 64px 0;
}

.section-header {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
  letter-spacing: 0;
}

.section-copy {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.app-grid,
.feature-grid,
.legal-grid {
  display: grid;
  gap: 18px;
}

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

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(22px) saturate(1.2);
  box-shadow: 0 18px 50px rgba(8, 23, 36, 0.09);
}

.dark-page .card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
}

html[data-theme="dark"] .card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] .brand,
html[data-theme="dark"] .metric-value {
  color: #f9f3ea;
}

.app-card {
  min-height: 420px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
}

.app-card.sima {
  background:
    linear-gradient(180deg, rgba(6, 21, 35, 0.05), rgba(6, 21, 35, 0.82)),
    url("assets/activity-lake-walk.png") center / cover;
  color: #fff;
}

.app-card.lumen {
  background:
    linear-gradient(180deg, rgba(255, 252, 245, 0.06), rgba(255, 252, 245, 0.90)),
    url("assets/lumen-hero.png") center / cover;
}

.app-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(8, 23, 36, 0.16);
}

.status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: inherit;
  font-size: 12px;
  font-weight: 780;
}

.app-card.lumen .status {
  background: rgba(8, 23, 36, 0.08);
}

.app-card h3 {
  margin-bottom: 10px;
  font-size: 34px;
}

.app-card p,
.feature-card p,
.legal-card p {
  color: var(--muted);
  line-height: 1.55;
}

.app-card.sima p {
  color: rgba(255, 255, 255, 0.78);
}

.feature-card,
.legal-card,
.metric-card {
  padding: 22px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(213, 161, 59, 0.14);
  color: var(--gold);
  font-weight: 900;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.metric-value {
  display: block;
  margin-bottom: 6px;
  font-size: 32px;
  font-weight: 820;
}

.metric-label {
  color: var(--muted);
  font-size: 14px;
}

.product-hero {
  padding: 78px 0 64px;
}

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 54px;
  align-items: center;
}

.phone-frame {
  position: relative;
  width: min(390px, 100%);
  margin-left: auto;
  padding: 12px;
  border-radius: 48px;
  background: #050b11;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
}

.phone-screen {
  overflow: hidden;
  border-radius: 38px;
  aspect-ratio: 9 / 16;
  background: var(--midnight);
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lumen-photo-panel {
  min-height: 520px;
  overflow: hidden;
  position: relative;
  border-radius: 38px;
  background: var(--midnight);
  box-shadow: var(--shadow);
}

.lumen-photo-panel img {
  width: 100%;
  min-height: 620px;
  height: 100%;
  object-fit: cover;
}

.lumen-photo-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 23, 36, 0.02), rgba(8, 23, 36, 0.78));
}

.lumen-photo-caption {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 26px;
  background: rgba(4, 15, 26, 0.42);
  backdrop-filter: blur(20px);
  color: #fff;
}

.lumen-photo-caption h2 {
  margin: 18px 0 12px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.92;
}

.lumen-photo-caption p {
  max-width: 340px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.55;
}

.lumen-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: center;
  padding: 24px;
}

.lumen-split img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(8, 23, 36, 0.12);
}

.sima-wordmark {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.sima-wordmark img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
}

.sima-wordmark span {
  font-size: 18px;
  font-weight: 760;
}

.site-footer {
  padding: 42px 0 54px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.legal-page {
  padding: 72px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 360px;
  gap: 42px;
  align-items: start;
}

.founder-card {
  padding: 24px;
  position: sticky;
  top: 100px;
}

.founder-photo-placeholder {
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 72% 18%, rgba(213, 161, 59, 0.32), transparent 10rem),
    linear-gradient(145deg, var(--midnight), var(--lake));
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
}

.founder-photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 38%;
  margin-bottom: 22px;
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(8, 23, 36, 0.16);
}

.founder-card h2 {
  margin-bottom: 8px;
  font-size: 30px;
}

.founder-role {
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 780;
}

html[data-theme="dark"] .founder-role {
  color: #f1c76b;
}

.inline-product-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
}

.inline-product-link::after {
  content: "→";
  color: var(--gold);
  font-size: 0.82em;
  transform: translateY(-1px);
}

.inline-product-link:hover {
  color: var(--gold);
}

.about-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.about-list .card {
  padding: 20px;
}

.legal-document {
  max-width: 860px;
  margin: 0 auto;
  padding: 34px;
}

.legal-document h1 {
  font-size: clamp(42px, 7vw, 72px);
}

.legal-document h2 {
  margin-top: 32px;
  font-size: 28px;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 920px) {
  .hero-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .hero-panel img {
    min-height: 520px;
  }

  .phone-frame {
    margin: 0 auto;
  }

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

  .lumen-split {
    grid-template-columns: 1fr;
  }

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

  .founder-card {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    position: static;
    border-radius: 24px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .product-hero {
    padding-top: 52px;
  }

  .app-grid,
  .feature-grid,
  .legal-grid,
  .metrics {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .hero-panel img {
    min-height: 470px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
