:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #5b6965;
  --surface: #ffffff;
  --surface-alt: #f2f7f4;
  --border: #d6e3de;
  --teal: #0f766e;
  --teal-dark: #0b4f4a;
  --gold: #c7902f;
  --blue: #2f5d8c;
  --shadow: 0 24px 80px rgba(20, 38, 35, 0.16);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
}

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

.brand img {
  border-radius: 10px;
}

.language-switcher {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.language-button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.language-button.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff;
}

.language-button.soon {
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.72;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  align-items: center;
  gap: clamp(32px, 6vw, 84px);
  min-height: calc(100vh - 73px);
  padding: clamp(48px, 7vw, 92px) clamp(20px, 5vw, 72px) 64px;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(15, 118, 110, 0.11), rgba(47, 93, 140, 0.08) 52%, rgba(199, 144, 47, 0.12)),
    var(--surface-alt);
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(58px, 9vw, 116px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-action,
.secondary-action,
.store-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
}

.primary-action,
.store-actions a:first-child {
  background: var(--teal);
  color: #ffffff;
}

.secondary-action,
.store-actions a:last-child {
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--ink);
}

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

.metrics div {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.metrics dt {
  font-size: 28px;
  font-weight: 900;
}

.metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-weight: 700;
  flex-wrap: wrap;
}
.footer-links { display: flex; gap: 16px; }
.footer-links a { color: inherit; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

.hero-visual {
  position: relative;
  min-height: 560px;
}

.phone-card,
.wide-phone {
  margin: 0;
  overflow: hidden;
  border: 10px solid #1b2422;
  border-radius: 34px;
  background: #111918;
  box-shadow: var(--shadow);
}

.phone-card img,
.wide-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-main {
  position: absolute;
  right: 14%;
  top: 0;
  width: min(320px, 64vw);
  aspect-ratio: 1320 / 2868;
}

.phone-side {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(230px, 46vw);
  aspect-ratio: 1320 / 2868;
  transform: rotate(5deg);
}

.feature-band,
.showcase-section,
.download-band {
  padding: clamp(56px, 7vw, 96px) clamp(20px, 5vw, 72px);
}

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

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

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

.feature-grid article {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.feature-icon {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--gold);
  font-weight: 900;
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
}

.feature-grid p,
.showcase-copy p,
.download-band p {
  color: var(--muted);
}

.showcase-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  background: #102622;
  color: #ffffff;
}

.showcase-section .eyebrow,
.showcase-section p {
  color: #bfddd6;
}

.wide-phone {
  max-width: 360px;
  justify-self: center;
  aspect-ratio: 1320 / 2868;
  border-color: #e5efeb;
}

.download-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  background: var(--surface-alt);
}

.download-band p {
  max-width: 720px;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero-section,
  .showcase-section,
  .download-band {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: 0;
  }

  .hero-visual {
    min-height: 520px;
  }

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

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

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .language-switcher {
    justify-content: flex-start;
  }

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

  .hero-visual {
    min-height: 420px;
  }

  .phone-main {
    right: 20%;
    width: min(250px, 66vw);
  }

  .phone-side {
    width: min(190px, 50vw);
  }

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