:root {
  --bg: #091015;
  --bg-deep: #060b0f;
  --bg-soft: #111921;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --surface-soft: rgba(255, 255, 255, 0.035);
  --border: rgba(255, 255, 255, 0.12);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f7fb;
  --text-soft: #b5c2ce;
  --text-muted: #8f9ca8;
  --accent: #ff5d8d;
  --accent-strong: #ff3f79;
  --accent-blue: #7fc6ff;
  --accent-panel: rgba(255, 93, 141, 0.12);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --page-width: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(255, 93, 141, 0.22), transparent 24%),
    radial-gradient(circle at top right, rgba(127, 198, 255, 0.14), transparent 22%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 28%, #111922 100%);
  color: var(--text);
  font-family: "SF Pro Display", "Segoe UI", sans-serif;
}

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

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 11, 15, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.topbar-inner {
  width: var(--page-width);
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.nav a {
  text-decoration: none;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.page {
  width: var(--page-width);
  margin: 0 auto;
  padding: 28px 0 96px;
}

.shell {
  display: grid;
  gap: 28px;
}

.compact-shell {
  gap: 22px;
}

.legal-shell {
  display: block;
}

.card {
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero {
  padding: 38px;
}

.compact-hero {
  padding: 30px;
  grid-template-columns: minmax(0, 1.15fr) auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 0;
}

.hero-visual {
  min-height: 100%;
}

.platform-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 22px 24px;
}

.compact-strip p:last-child {
  margin: 0;
}

.strip-label {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section {
  display: grid;
  gap: 22px;
}

.compact-section {
  gap: 16px;
}

.section-heading {
  max-width: 860px;
}

.section-heading.narrow {
  max-width: 760px;
}

.page-title {
  max-width: 900px;
}

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

.detail-card,
.support-card,
.language-card,
.menu-listing,
.final-cta {
  padding: 24px;
}

.link-card {
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.link-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.05));
}

.detail-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.04));
}

.support-card.success {
  background: linear-gradient(180deg, rgba(127, 198, 255, 0.12), rgba(255, 255, 255, 0.05));
}

.support-card.muted {
  background: linear-gradient(180deg, rgba(255, 93, 141, 0.08), rgba(255, 255, 255, 0.04));
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: center;
}

.compact-showcase {
  gap: 18px;
  grid-template-columns: auto minmax(0, 0.9fr);
}

.screenshot-story-list {
  gap: 24px;
}

.story-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.story-row.reverse {
  grid-template-columns: minmax(0, 1fr) auto;
}

.story-copy {
  max-width: 640px;
}

.story-shot {
  justify-self: center;
}

.phone-card {
  padding: 16px;
}

.phone-card img {
  width: 240px;
  max-width: 100%;
  aspect-ratio: 660 / 1434;
  object-fit: contain;
  border-radius: 22px;
}

.showcase-grid.reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
}

.showcase-copy {
  display: grid;
  gap: 14px;
}

.screenshot-frame {
  overflow: hidden;
  padding: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.screenshot-frame img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.screenshot-mac img,
.screenshot-ipad img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.screenshot-ipad {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  align-self: center;
  width: auto;
  padding: 16px;
}

.screenshot-ipad img {
  width: 720px;
  max-width: 100%;
  aspect-ratio: auto;
  object-fit: contain;
}

.screenshot-phone-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  align-self: center;
  width: auto;
  padding: 16px;
}

.screenshot-phone-hero img {
  width: 336px;
  max-width: 100%;
  aspect-ratio: 660 / 1434;
  object-fit: cover;
}

.dual-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.screenshot-stack {
  position: relative;
  min-height: 720px;
  padding: 28px;
  background:
    radial-gradient(circle at top center, rgba(255, 93, 141, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.phone-shot {
  width: min(240px, 46%);
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.phone-shot img {
  width: 100%;
  aspect-ratio: 660 / 1434;
  object-fit: cover;
}

.phone-offset {
  position: absolute;
  right: 24px;
  top: 72px;
}

.phone-float {
  position: absolute;
  left: 110px;
  bottom: 28px;
}

.language-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.compact-language-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.language-list li,
.hero-points li,
.bullet-list li,
.support-card li,
.menu-listing li {
  color: var(--text-soft);
}

.language-list li {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--surface-soft);
  text-align: center;
}

.hero-points,
.bullet-list,
.support-card ul,
.menu-listing ul {
  margin: 18px 0 0;
  padding-left: 18px;
  line-height: 1.8;
}

.bullet-list.compact {
  margin-top: 12px;
}

.compact-grid {
  gap: 16px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
}

.footer-copy {
  margin: 0;
  color: var(--text-soft);
}

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

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.meta,
.lede,
.feature p,
.legal p,
.section-heading p,
.showcase-copy p,
.final-cta p,
.detail-card p,
.menu-listing p {
  color: var(--text-soft);
  line-height: 1.75;
}

h1,
h2,
h3 {
  margin: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  text-decoration: none;
  font-weight: 600;
}

.button-primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  border-color: transparent;
  color: #fff;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.06);
}

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

@media (max-width: 1040px) {
  .hero-grid,
  .showcase-grid,
  .showcase-grid.reverse,
  .dual-panel,
  .platform-strip,
  .feature-grid,
  .support-columns {
    grid-template-columns: 1fr;
  }

  .compact-hero {
    grid-template-columns: 1fr;
  }

  .compact-showcase {
    grid-template-columns: 1fr;
  }

  .story-row,
  .story-row.reverse {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 860px) {
  .topbar-inner {
    width: min(100vw - 20px, 1180px);
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .nav {
    justify-content: flex-start;
  }

  .page {
    width: min(100vw - 20px, 1180px);
    padding-top: 20px;
  }

  .hero,
  .detail-card,
  .support-card,
  .language-card,
  .menu-listing,
  .legal,
  .final-cta,
  .screenshot-frame,
  .screenshot-stack {
    padding: 22px;
  }

  .screenshot-stack {
    min-height: auto;
    display: grid;
    gap: 18px;
  }

  .phone-shot,
  .phone-offset,
  .phone-float {
    position: static;
    width: 100%;
  }

  .language-list {
    grid-template-columns: 1fr;
  }
}
