:root {
  --background: #fbf8f1;
  --ink: #142437;
  --muted: #5f6f7d;
  --teal: #2b8e8b;
  --coral: #f06445;
  --surface: #ffffff;
  --surface-soft: #f4eee4;
  --line: rgba(20, 36, 55, 0.14);
  --shadow: 0 24px 80px rgba(20, 36, 55, 0.18);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.5;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  font-size: 5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

.site-header,
.section,
.site-footer,
.legal-page {
  display: block;
  width: calc(100% - 40px);
  max-width: 1120px;
  margin: 0 auto;
}

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  z-index: 3;
}

.brand,
.site-nav,
.site-footer nav,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
}

.site-nav,
.site-footer nav {
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a,
.site-footer a,
.hero-actions a {
  text-decoration: none;
}

.site-nav a:hover,
.site-footer a:hover,
.hero-actions a:hover {
  color: var(--teal);
}

.hero {
  min-height: 520px;
  display: grid;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
  margin: 0 auto 44px;
  padding: 84px 0;
}

.hero-content {
  width: calc(100% - 40px);
  max-width: 860px;
  margin: 0 auto;
}

.hero-markline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-markline img {
  width: 44px;
  height: 44px;
}

.hero-markline .eyebrow {
  margin-bottom: 0;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tagline {
  margin-top: 10px;
  color: var(--teal);
  font-size: 1.6rem;
  font-weight: 750;
}

.hero-copy {
  max-width: 620px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.25rem;
}

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

.app-store-cta,
.hero-actions a {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  padding: 0 22px;
  font-weight: 800;
}

.app-store-cta {
  background: var(--coral);
  color: #101418;
}

.hero-actions a {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.hero-actions .app-store-cta {
  border-color: transparent;
  background: var(--coral);
  color: #101418;
  box-shadow: 0 14px 34px rgba(240, 100, 69, 0.34);
}

.hero-actions .app-store-cta:hover {
  background: var(--teal);
  color: #101418;
  box-shadow: 0 16px 38px rgba(101, 200, 193, 0.28);
}

.hero-actions .app-store-cta span {
  font-size: 1.1em;
  line-height: 1;
}

.section {
  padding: 76px 0 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.intro > p,
.product-copy p,
.feature-grid p,
.legal-page p,
.site-footer {
  color: var(--muted);
}

.intro > p,
.product-copy p {
  font-size: 1.14rem;
}

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

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

.feature-grid p {
  margin-top: 12px;
}

.product-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 56px;
  align-items: center;
  padding-bottom: 84px;
}

.product-copy p {
  max-width: 560px;
  margin-top: 18px;
}

.phone-preview {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #090f17;
  box-shadow: var(--shadow);
}

.phone-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.legal-page {
  max-width: 780px;
  padding: 78px 0 96px;
}

.legal-page h1 {
  font-size: 3.4rem;
}

.legal-updated {
  margin-top: 12px;
}

.legal-page section {
  padding-top: 42px;
}

.legal-page h2 {
  font-size: 1.45rem;
}

.legal-page section p {
  margin-top: 12px;
}

.legal-page a {
  color: var(--teal);
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 28px 0 34px;
}

@media (max-width: 820px) {
  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .site-header,
  .site-footer,
  .intro,
  .product-section {
    align-items: flex-start;
  }

  .hero {
    min-height: 460px;
    padding: 64px 0;
  }

  .hero-copy,
  .intro > p,
  .product-copy p {
    font-size: 1.04rem;
  }

  .tagline {
    font-size: 1.35rem;
  }

  .intro,
  .feature-grid,
  .product-section {
    grid-template-columns: 1fr;
  }

  .product-section {
    gap: 28px;
  }

  .phone-preview {
    max-width: 340px;
  }
}

@media (max-width: 580px) {
  .site-header,
  .site-footer {
    flex-direction: column;
  }

  .site-header {
    align-items: flex-start;
    padding: 18px 0;
  }

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .app-store-cta,
  .hero-actions a {
    width: 100%;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #101418;
    --ink: #edf2f7;
    --muted: #9aa8b4;
    --teal: #65c8c1;
    --coral: #ff8a70;
    --surface: #151b21;
    --surface-soft: #141a20;
    --line: rgba(237, 242, 247, 0.14);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  }
}
