:root,
html[data-theme="dark"] {
  --bg: #000000;
  --bg-elevated: #121212;
  --card: #1e1e1e;
  --border: #333333;
  --text: #ffffff;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --accent: #76c92d;
  --accent-dark: #5a9e22;
  --accent-muted: rgba(118, 201, 45, 0.15);
  --nav-bg: rgba(0, 0, 0, 0.72);
  --nav-border: rgba(51, 51, 51, 0.8);
  --hero-glow: rgba(118, 201, 45, 0.18);
  --section-alt-from: rgba(18, 18, 18, 0.9);
  --section-alt-to: rgba(0, 0, 0, 1);
  --section-alt-border: rgba(51, 51, 51, 0.65);
  --shot-bg: #0a0a0a;
  --btn-text: #0b1605;
  --error: #f87171;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --max: 1080px;
  color-scheme: dark;
}

html[data-theme="light"] {
  --bg: #f4f6f1;
  --bg-elevated: #ffffff;
  --card: #ffffff;
  --border: #d7ddd0;
  --text: #121412;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --accent: #5fa824;
  --accent-dark: #4d8a1c;
  --accent-muted: rgba(95, 168, 36, 0.14);
  --nav-bg: rgba(244, 246, 241, 0.88);
  --nav-border: rgba(215, 221, 208, 0.95);
  --hero-glow: rgba(95, 168, 36, 0.16);
  --section-alt-from: #eef2ea;
  --section-alt-to: #f4f6f1;
  --section-alt-border: rgba(215, 221, 208, 0.95);
  --shot-bg: #e8ece3;
  --btn-text: #0b1605;
  --error: #dc2626;
  --shadow: 0 16px 40px rgba(18, 20, 18, 0.08);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--nav-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav__brand:hover {
  text-decoration: none;
}

.nav__logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  appearance: none;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  position: relative;
}

.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.theme-toggle__sun,
.theme-toggle__moon {
  display: block;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 999px;
  position: absolute;
}

.theme-toggle__sun {
  background: currentColor;
  box-shadow:
    0 -0.38rem 0 -0.2rem currentColor,
    0 0.38rem 0 -0.2rem currentColor,
    -0.38rem 0 0 -0.2rem currentColor,
    0.38rem 0 0 -0.2rem currentColor,
    -0.27rem -0.27rem 0 -0.2rem currentColor,
    0.27rem -0.27rem 0 -0.2rem currentColor,
    -0.27rem 0.27rem 0 -0.2rem currentColor,
    0.27rem 0.27rem 0 -0.2rem currentColor;
}

.theme-toggle__moon {
  background: transparent;
  box-shadow: inset -0.28rem 0 0 0 currentColor;
  transform: rotate(-20deg);
}

html[data-theme="dark"] .theme-toggle__moon,
html[data-theme="light"] .theme-toggle__sun {
  display: none;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg-elevated);
}

.lang-switch button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 650;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"] {
  background: var(--accent-muted);
  color: var(--accent);
}

/* Hero */
.hero {
  padding: 3.25rem 0 2.5rem;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, var(--hero-glow), transparent 60%),
    var(--bg);
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-muted);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  white-space: pre-line;
}

.hero__subtitle {
  margin: 0 0 1.5rem;
  color: var(--text-secondary);
  font-size: 1.08rem;
  max-width: 36rem;
}

.coming {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.hero__preview {
  display: flex;
  justify-content: center;
}

.phone-stack {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 9 / 16;
  max-height: 540px;
}

.phone-frame {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone-frame--back {
  transform: translate(18px, 18px) rotate(3deg);
  opacity: 0.55;
}

.phone-frame--front {
  transform: translate(-6px, -4px);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section--alt {
  background: linear-gradient(180deg, var(--section-alt-from), var(--section-alt-to));
  border-block: 1px solid var(--section-alt-border);
}

.section__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.25rem;
}

.section__head h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}

.section__head p {
  margin: 0;
  color: var(--text-secondary);
}

.steps {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.9rem;
  border-radius: 999px;
  background: var(--accent-muted);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.85rem;
}

.step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
}

.step p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

/* Preview gallery */
.gallery {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.shot {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.shot__label {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
}

.shot__img {
  aspect-ratio: 9 / 16;
  max-height: 420px;
  background: var(--shot-bg);
}

.shot__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Waitlist / forms */
.waitlist-form {
  display: grid;
  gap: 0.85rem;
  max-width: 34rem;
}

.field-row {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 560px) {
  .field-row {
    grid-template-columns: 1fr auto;
  }
}

.input {
  width: 100%;
  appearance: none;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.95rem;
  font: inherit;
}

.input:focus {
  outline: 2px solid rgba(118, 201, 45, 0.45);
  border-color: var(--accent);
}

.btn {
  appearance: none;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--btn-text);
  font: inherit;
  font-weight: 750;
  padding: 0.85rem 1.2rem;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  background: #84d63b;
}

html[data-theme="light"] .btn:hover {
  background: #6bbc2d;
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--text-secondary);
  font-size: 0.86rem;
}

.consent input {
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.form-status {
  min-height: 1.25rem;
  margin: 0;
  font-size: 0.9rem;
}

.form-status[data-tone="ok"] {
  color: var(--accent);
}

.form-status[data-tone="err"] {
  color: var(--error);
}

/* Footer */
.footer {
  padding: 2.25rem 0 2.75rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer__links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer a {
  color: var(--text-secondary);
}

.footer a:hover {
  color: var(--accent);
}

/* Privacy page */
.privacy-page {
  padding: 2.5rem 0 4rem;
}

.privacy-page h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
}

.privacy-page .updated {
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.privacy-page article {
  max-width: 42rem;
}

.privacy-page h2 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.15rem;
}

.privacy-page p {
  margin: 0;
  color: var(--text-secondary);
}

.back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.back-link:hover {
  color: var(--accent);
  text-decoration: none;
}

.auth-page {
  padding: 2.5rem 0 4rem;
}

.auth-card {
  max-width: 28rem;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
}

.auth-card h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  letter-spacing: -0.03em;
}

.auth-card__lead {
  margin: 0 0 1.25rem;
  color: var(--text-secondary);
}

.auth-card__cta {
  display: inline-block;
  text-align: center;
}

.auth-form {
  display: grid;
  gap: 0.75rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
