:root {
  --bg: #ffffff;
  --bg-elevated: #f7f7f8;
  --bg-soft: #efeff1;
  --text: #111111;
  --muted: #5f6670;
  --border: rgba(17, 17, 17, 0.08);
  --accent: #b9f644;
  --accent-strong: #b9f644;
  --accent-soft: rgba(117, 181, 2, 0.08);
  --shadow: 0 8px 24px rgba(17, 17, 17, 0.06);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "SF Pro Display", "SF Pro Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

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

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(245, 245, 247, 0.9);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  flex-wrap: nowrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  transform: scale(1.8);
  transform-origin: left center;
}

.brand-wordmark {
  height: 1.5rem;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.active {
  color: var(--text);
  background: rgba(17, 17, 17, 0.05);
}

.nav .button-link {
  color: #081005;
  background: var(--accent);
  font-weight: 700;
}

.hero {
  padding: 5rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #446b00;
  border: 1px solid rgba(117, 181, 2, 0.24);
  font-size: 0.9rem;
}

.hero h1,
.page-title h1 {
  margin: 1rem 0;
  font-size: clamp(3rem, 8vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero h1 {
  margin-top: -12rem;
}

.hero-app-icon {
  width: 750px;
  height: 750px;
  object-fit: contain;
  display: block;
  margin: -20rem auto 1rem;
}

.hero p,
.page-title p,
.section-intro {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.4rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.app-store-badge {
  display: block;
  width: 180px;
  height: auto;
}

.store-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.store-badge {
  display: block;
  width: 180px;
  height: auto;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: #081005;
  background: var(--accent);
}

.btn-secondary {
  color: var(--text);
  background: rgba(17, 17, 17, 0.03);
  border-color: var(--border);
}

.hero-card,
.panel,
.feature-card,
.contact-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card {
  width: min(100%, 380px);
  padding: 0.9rem;
}

.hero-promo-grid {
  width: min(100%, 960px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hero-promo {
  width: 100%;
}

.hero-promo img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-promo p {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.phone-frame {
  padding: 0.7rem;
  border-radius: 2.4rem;
  background: #141414;
  border: 1px solid rgba(17, 17, 17, 0.08);
}

.phone-screen {
  border-radius: 1.9rem;
  overflow: hidden;
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 0;
}

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

.feed-card,
.mini-list,
.stack {
  display: grid;
  gap: 0.9rem;
}

.mini-card,
.feed-card,
.list-item,
.cta-strip {
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
  background: rgba(17, 17, 17, 0.02);
  border: 1px solid rgba(17, 17, 17, 0.06);
}

.mini-card strong,
.feed-card strong,
.kicker {
  display: block;
  margin-bottom: 0.35rem;
}

.section {
  padding: 2.5rem 0 4rem;
}

.section-head {
  margin-bottom: 1.8rem;
}

.compact-head {
  text-align: center;
}

.compact-head h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.03em;
}

.feature-grid,
.info-grid,
.contact-grid {
  display: grid;
  gap: 1rem;
}

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

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

.feature-card,
.panel,
.contact-card {
  padding: 1.4rem;
}

.feature-card {
  min-width: 0;
  max-width: none;
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  margin-bottom: 1rem;
  background: var(--accent-soft);
  color: #446b00;
  font-weight: 700;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.image-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.image-card p {
  margin: 0;
  padding: 1rem 1.1rem 1.2rem;
  color: var(--muted);
}

.feature-card h3,
.panel h3,
.contact-card h3 {
  margin-top: 0;
  margin-bottom: 0.55rem;
  font-size: 1.1rem;
}

.muted {
  color: var(--muted);
}

.home-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.overview-card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.overview-label {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #446b00;
  font-size: 0.9rem;
  font-weight: 600;
}

.overview-card h3 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  line-height: 1.2;
}

.overview-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.overview-list li + li {
  margin-top: 0.65rem;
}

.metric {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-right: 1rem;
  color: #d7e0db;
}

.cta-strip {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.page-title {
  padding: 4rem 0 1rem;
  text-align: center;
}

.legal-layout {
  display: grid;
  grid-template-columns: 0.28fr 0.72fr;
  gap: 1.5rem;
  padding: 1rem 0 4rem;
}

.legal-nav,
.legal-card {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.legal-nav {
  position: sticky;
  top: 5.8rem;
  height: fit-content;
}

.legal-nav a {
  display: block;
  padding: 0.55rem 0;
  color: var(--muted);
}

.legal-nav a:hover,
.legal-nav a:focus-visible {
  color: var(--text);
}

.legal-card section + section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.legal-card h2 {
  margin: 0 0 0.8rem;
  font-size: 1.3rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card ul {
  padding-left: 1.2rem;
}

.contact-grid {
  grid-template-columns: 1fr 1fr;
  padding: 1rem 0 4rem;
}

.contact-card a.inline-link,
.legal-card a.inline-link {
  color: #c9f27a;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2.25rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .feature-grid,
  .home-overview,
  .info-grid,
  .image-grid,
  .legal-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
  }

  .cta-strip,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-inner {
    flex-direction: row;
    align-items: center;
  }

  .nav {
    flex-wrap: nowrap;
  }

  .hero-app-icon {
    width: 420px;
    height: 420px;
    margin: -8rem auto 0.5rem;
  }

  .hero h1 {
    margin-top: -5rem;
  }
}

@media (max-width: 640px) {
  .site-header {
    backdrop-filter: blur(8px);
  }

  .header-inner {
    gap: 0.5rem;
  }

  .brand {
    gap: 0.5rem;
    min-width: 0;
  }

  .brand-mark {
    width: 1.55rem;
    height: 1.55rem;
    transform: scale(1.3);
  }

  .brand-wordmark {
    height: 1.05rem;
  }

  .nav {
    gap: 0.2rem;
  }

  .nav a {
    padding: 0.45rem 0.6rem;
    font-size: 0.86rem;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero h1,
  .page-title h1 {
    font-size: clamp(2.25rem, 12vw, 3.5rem);
  }

  .hero h1 {
    margin-top: -2.5rem;
  }

  .hero-app-icon {
    width: 240px;
    height: 240px;
    margin: -2.5rem auto 0.5rem;
  }

  .hero p,
  .page-title p,
  .section-intro {
    font-size: 0.96rem;
  }

  .store-badges {
    justify-content: center;
  }

  .store-badge {
    width: 148px;
  }

  .phone-screen {
    min-height: 0;
  }

  .hero-promo-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: min(100%, 320px);
  }

  .hero-promo p {
    font-size: 0.92rem;
  }

  .compact-head h2 {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }

  .overview-card {
    padding: 1.2rem;
  }

  .overview-card h3 {
    font-size: 1.15rem;
  }

  .overview-list {
    padding-left: 1rem;
  }

  .cta-strip {
    text-align: center;
    align-items: center;
  }

  .container {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }
}
