:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --surface: #ffffff;
  --ink: #171717;
  --muted: #63635f;
  --line: #dedbd2;
  --accent: #1f7a68;
  --accent-strong: #155f51;
  --amber: #c87a2a;
  --blue: #3469a6;
  --shadow: 0 18px 50px rgba(35, 31, 25, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  background: rgba(247, 245, 239, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 32% 30%, #f8d77e 0 14%, transparent 15%),
    linear-gradient(135deg, #1f7a68, #3469a6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.36);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--ink);
}

.page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 450px);
  gap: 56px;
  align-items: center;
  padding: 48px 0 72px;
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-strong);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p {
  margin: 24px 0 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 20px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
}

.app-shot {
  margin: 0 0 0 auto;
  display: flex;
  width: min(100%, 360px);
  height: min(720px, calc(100vh - 120px));
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--shadow);
}

.app-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.section {
  padding: 72px 0;
  border-top: 1px solid rgba(23, 23, 23, 0.08);
}

.section h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

.section-intro {
  margin: 18px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
}

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

.feature {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.66);
}

.feature h3 {
  margin: 0;
  font-size: 20px;
}

.feature p {
  margin: 12px 0 0;
  color: var(--muted);
}

.legal-page {
  max-width: 840px;
  padding: 56px 0 80px;
}

.legal-page h1 {
  font-size: clamp(40px, 7vw, 64px);
}

.legal-page h2 {
  margin: 38px 0 12px;
  font-size: 26px;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  font-size: 17px;
}

.legal-page ul {
  padding-left: 22px;
}

.notice {
  margin-top: 28px;
  border-left: 4px solid var(--accent);
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
}

.support-options {
  margin-top: 34px;
  display: grid;
  gap: 14px;
}

.support-option {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.7);
}

.support-option h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.support-option p {
  margin: 0;
}

.site-footer {
  border-top: 1px solid rgba(23, 23, 23, 0.08);
  padding: 34px 0;
  color: var(--muted);
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

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

.footer-links a {
  text-decoration: none;
}

@media (max-width: 840px) {
  .nav {
    min-height: 62px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 38px;
    gap: 36px;
  }

  .app-shot {
    margin: 0;
    width: min(100%, 430px);
    height: 720px;
  }

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

  .nav-links {
    gap: 12px;
    font-size: 14px;
  }
}

@media (max-width: 520px) {
  .nav {
    width: min(100% - 24px, 1120px);
  }

  .page,
  .footer-inner {
    width: min(100% - 24px, 1120px);
  }

  .brand span {
    display: none;
  }

  h1 {
    font-size: 48px;
  }

  .hero p,
  .section-intro {
    font-size: 17px;
  }

  .app-shot {
    width: 100%;
    height: min(640px, 132vw);
    border-radius: 24px;
  }
}
