* {
  box-sizing: border-box;
}

:root {
  --bg: #fffaf0;
  --surface: #ffffff;
  --surface-soft: #fff3c7;
  --primary: #2e7d5b;
  --primary-dark: #1d5f44;
  --accent: #f7c948;
  --accent-soft: #fff0a8;
  --text: #223127;
  --muted: #66746b;
  --line: #e8ddbd;
  --shadow: 0 18px 50px rgba(46, 125, 91, 0.13);
  --radius: 24px;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(255, 250, 240, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232, 221, 189, 0.7);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  min-height: 78vh;
  padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 72px);
  background:
    radial-gradient(circle at 12% 18%, rgba(247, 201, 72, 0.32), transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(46, 125, 91, 0.12), transparent 28%);
}

.compact-hero {
  min-height: auto;
  grid-template-columns: 1fr;
  padding-bottom: 46px;
}

.hero-content {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 0.83rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 8vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.hero-text {
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 850;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 12px 28px rgba(46, 125, 91, 0.22);
}

.button.primary:hover {
  color: #ffffff;
  background: var(--primary-dark);
}

.button.secondary {
  color: var(--primary-dark);
  background: #ffffff;
  border: 1px solid var(--line);
}

.hero-card {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: min(360px, 100%);
  padding: 26px;
  background: linear-gradient(160deg, #ffffff, #fff5ce);
  border: 1px solid var(--line);
  border-radius: 38px;
  box-shadow: var(--shadow);
  text-align: center;
}

.app-badge {
  display: inline-block;
  margin-bottom: 26px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #e8f6ee;
  color: var(--primary-dark);
  font-weight: 850;
  font-size: 0.88rem;
}

.card-stack {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.play-card {
  display: block;
  padding: 20px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 900;
  font-size: 1.3rem;
  box-shadow: 0 10px 22px rgba(34, 49, 39, 0.07);
}

.play-card:nth-child(2) {
  transform: rotate(-2deg);
}

.play-card:nth-child(3) {
  transform: rotate(2deg);
}

.section {
  padding: clamp(56px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 30px;
}

.section-heading p,
.panel p,
.app-card p,
.support-box p,
.legal-content p {
  color: var(--muted);
}

.soft-section {
  background: var(--surface-soft);
}

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

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

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

.panel,
.app-card,
.support-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(34, 49, 39, 0.07);
}

.panel,
.app-card {
  padding: 26px;
}

.app-card .icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  background: var(--accent-soft);
  border-radius: 18px;
  font-size: 1.6rem;
}

.support-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 5vw, 44px);
}

.contact-section {
  text-align: center;
}

.contact-section .section-heading {
  margin-inline: auto;
}

.legal-page {
  padding: 0 clamp(20px, 5vw, 72px) 76px;
}

.legal-hero {
  padding: 72px 0 30px;
}

.legal-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
}

.legal-content {
  max-width: 850px;
  padding: clamp(26px, 5vw, 46px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.legal-content h2 {
  margin-top: 28px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.legal-note {
  margin-top: 34px;
  padding: 18px;
  background: #fff8de;
  border: 1px dashed #d9bc4f;
  border-radius: 18px;
  font-size: 0.95rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(20px, 5vw, 72px);
  background: #20372b;
  color: #ffffff;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

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

.footer-links a {
  color: #fff3c7;
  font-weight: 750;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer,
  .support-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .two-columns,
  .three-columns {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .support-box .button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-block: 14px;
  }

  .brand {
    font-size: 0.98rem;
  }

  .nav {
    gap: 14px;
    font-size: 0.9rem;
  }

  h1 {
    font-size: clamp(2.4rem, 16vw, 3.5rem);
  }

  .button {
    width: 100%;
  }
}
