@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #eef8ff;
  --bg-strong: #d9f1ff;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --line: rgba(25, 72, 110, 0.12);
  --line-strong: rgba(17, 56, 94, 0.22);
  --ink: #16233b;
  --muted: #56708f;
  --brand: #0f8fe8;
  --brand-strong: #0566b6;
  --brand-soft: rgba(15, 143, 232, 0.1);
  --sea: #0fd1c7;
  --sand: #ffc86e;
  --shadow: 0 28px 80px rgba(12, 57, 94, 0.13);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --page-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(15, 143, 232, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(15, 209, 199, 0.18), transparent 24%),
    linear-gradient(180deg, #f8fcff 0%, var(--bg) 35%, #f7fbfd 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.58)),
    repeating-linear-gradient(
      135deg,
      transparent 0 24px,
      rgba(15, 143, 232, 0.03) 24px 25px
    );
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
}

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

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(247, 252, 255, 0.8);
  border-bottom: 1px solid rgba(17, 56, 94, 0.08);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(var(--page-width), calc(100vw - 32px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(15, 143, 232, 0.24);
}

.brand-wording {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-size: 1.08rem;
}

.brand-subtitle {
  font-size: 0.76rem;
  color: var(--muted);
  font-weight: 600;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-link,
.language-link,
.cta-secondary,
.cta-primary,
.store-chip,
.inline-link {
  border-radius: 999px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.nav-link,
.language-link {
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-link:hover,
.language-link:hover,
.cta-secondary:hover,
.cta-primary:hover,
.inline-link:hover {
  transform: translateY(-1px);
}

.language-link.is-active {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.cta-group,
.hero-actions,
.legal-actions,
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cta-primary,
.cta-secondary,
.store-chip,
.inline-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  font-weight: 800;
  font-size: 0.96rem;
}

.cta-primary {
  color: white;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-strong) 100%);
  box-shadow: 0 18px 32px rgba(5, 102, 182, 0.24);
}

.cta-secondary,
.inline-link {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(17, 56, 94, 0.1);
}

.store-chip {
  color: var(--ink);
  background: white;
  border: 1px solid rgba(17, 56, 94, 0.14);
  min-width: 196px;
}

.store-chip small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.store-chip.is-muted {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(250, 252, 255, 0.96));
}

.store-chip strong {
  display: block;
  font-size: 0.98rem;
}

.hero {
  padding: 44px 0 28px;
}

.hero-card,
.section-card,
.legal-hero {
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.76));
  border: 1px solid rgba(17, 56, 94, 0.1);
  box-shadow: var(--shadow);
}

.hero-card {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 38px;
  padding: 36px;
  overflow: hidden;
  position: relative;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -60px -120px auto;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 209, 199, 0.24) 0%, rgba(15, 209, 199, 0) 70%);
  pointer-events: none;
}

.eyebrow,
.pill-strip,
.meta-pill,
.stat-chip,
.availability-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
}

.eyebrow {
  padding: 8px 14px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.legal-hero h1 {
  margin: 18px 0 14px;
  font-family: "Fraunces", serif;
  font-size: clamp(2.5rem, 6vw, 4.7rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.hero-copy p,
.legal-hero p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--muted);
  max-width: 40rem;
}

.pill-strip {
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 30px;
}

.meta-pill {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 56, 94, 0.1);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.84rem;
}

.hero-footnote,
.section-copy p,
.availability-note,
.legal-intro,
.prose p,
.prose li {
  color: var(--muted);
  line-height: 1.72;
}

.hero-footnote {
  margin-top: 18px;
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}

.hero-glow {
  position: absolute;
  inset: 10% 12%;
  border-radius: 999px;
  background:
    radial-gradient(circle at top, rgba(15, 143, 232, 0.3), rgba(15, 143, 232, 0) 60%),
    radial-gradient(circle at bottom right, rgba(15, 209, 199, 0.28), rgba(15, 209, 199, 0) 48%);
  filter: blur(28px);
}

.hero-stage {
  position: relative;
  width: min(100%, 520px);
  padding: 40px 18px 16px;
}

.screenshot-laptop,
.screenshot-phone,
.screenshot-panel {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(17, 56, 94, 0.14);
  box-shadow: 0 26px 44px rgba(17, 56, 94, 0.22);
  background: white;
}

.screenshot-laptop {
  padding: 10px 10px 18px;
}

.screenshot-laptop::after {
  content: "";
  display: block;
  width: 38%;
  height: 10px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: rgba(17, 56, 94, 0.14);
}

.screenshot-phone {
  position: absolute;
  right: -6px;
  bottom: -14px;
  width: 38%;
  padding: 8px;
  border-radius: 34px;
}

.floating-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 56, 94, 0.08);
  box-shadow: 0 20px 32px rgba(17, 56, 94, 0.14);
}

.floating-card strong {
  font-size: 0.96rem;
}

.floating-card span {
  color: var(--muted);
  font-size: 0.85rem;
}

.floating-card.is-top {
  left: -8px;
  top: 10px;
}

.floating-card.is-bottom {
  right: 90px;
  bottom: -10px;
}

.section {
  padding: 24px 0;
}

.section-card {
  padding: 28px;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.section-kicker {
  color: var(--brand-strong);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.78rem;
  font-weight: 800;
}

.section-title {
  margin: 10px 0 8px;
  font-family: "Fraunces", serif;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-copy p,
.legal-intro {
  font-size: 1rem;
  max-width: 42rem;
}

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

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

.highlight-card,
.feature-card,
.legal-card,
.availability-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 56, 94, 0.08);
}

.highlight-card h3,
.feature-card h3,
.legal-card h3 {
  margin: 12px 0 8px;
  font-size: 1.1rem;
}

.highlight-card p,
.feature-card p,
.legal-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.card-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15, 143, 232, 0.12), rgba(15, 209, 199, 0.16));
  color: var(--brand-strong);
  font-size: 1.2rem;
}

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

.screenshot-showcase {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 18px;
}

.screenshot-panel {
  position: relative;
  padding: 18px;
}

.screenshot-panel h3 {
  margin: 0 0 8px;
}

.screenshot-panel p {
  margin: 0 0 16px;
  color: var(--muted);
}

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

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

.availability-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.availability-card p {
  margin: 0 0 18px;
}

.availability-note {
  margin-top: 12px;
  font-size: 0.9rem;
}

.split-note {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(15, 143, 232, 0.08), rgba(15, 209, 199, 0.08)),
    rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 56, 94, 0.1);
}

.split-note strong {
  font-size: 1.05rem;
}

.split-note code {
  font-family: inherit;
  font-weight: 800;
  color: var(--brand-strong);
  background: rgba(255, 255, 255, 0.72);
  padding: 4px 10px;
  border-radius: 999px;
}

.legal-hero {
  padding: 34px;
  margin: 36px auto 22px;
}

.legal-hero .eyebrow {
  margin-bottom: 6px;
}

.legal-grid {
  margin-top: 24px;
}

.legal-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.prose {
  display: grid;
  gap: 20px;
}

.prose-section {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 56, 94, 0.08);
}

.prose h2 {
  margin: 0 0 14px;
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.prose h3 {
  margin: 18px 0 8px;
  font-size: 1.05rem;
}

.prose ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.prose p:last-child,
.prose ul:last-child {
  margin-bottom: 0;
}

.site-footer {
  padding: 28px 0 46px;
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  align-items: start;
}

.footer-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(17, 56, 94, 0.08);
}

.footer-card h3,
.footer-card h4 {
  margin: 0 0 12px;
}

.footer-card p,
.footer-card li {
  color: var(--muted);
  line-height: 1.65;
}

.footer-card ul {
  margin: 0;
  padding-left: 18px;
}

.footer-bottom {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.88rem;
}

@media (max-width: 1024px) {
  .hero-card,
  .screenshot-showcase,
  .availability-layout,
  .footer-grid,
  .legal-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

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

  .section-head {
    align-items: start;
  }
}

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

  .header-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-card,
  .section-card,
  .legal-hero {
    padding: 24px;
  }

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

  .hero-stage {
    padding-top: 18px;
  }

  .screenshot-phone {
    width: 42%;
    right: 4px;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 20px;
  }

  .hero-copy h1,
  .legal-hero h1 {
    font-size: 2.5rem;
  }

  .hero-copy p,
  .legal-hero p,
  .section-copy p,
  .prose p,
  .prose li {
    font-size: 0.97rem;
  }

  .site-footer {
    padding-bottom: 32px;
  }

  .screenshot-phone {
    position: relative;
    width: min(100%, 240px);
    right: auto;
    bottom: auto;
    margin: 18px auto 0;
  }

  .floating-card {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    margin-top: 14px;
  }
}
