:root {
  color-scheme: light;
  --bg: #f7faf6;
  --surface: #ffffff;
  --surface-alt: #eef4ef;
  --ink: #17231f;
  --muted: #5b6862;
  --line: #d9e3dc;
  --brand: #1f7a5b;
  --brand-dark: #1d2c26;
  --coral: #df6047;
  --gold: #e6b64e;
  --blue: #2e6f95;
  --shadow: 0 18px 44px rgba(23, 35, 31, 0.12);
}

* {
  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;
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 250, 246, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  display: block;
  border-radius: 8px;
}

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

.site-nav a {
  min-height: 36px;
  padding: 7px 11px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--surface-alt);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(780px, calc(100vh - 72px));
  padding: clamp(52px, 9vw, 120px) clamp(20px, 5vw, 72px);
  overflow: hidden;
  background: var(--brand-dark);
  color: #ffffff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(29, 44, 38, 0.82);
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  background: url("logo.png") center / min(88vw, 920px) no-repeat;
  opacity: 0.46;
  filter: drop-shadow(0 28px 70px rgba(0, 0, 0, 0.28));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

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

.hero .eyebrow {
  color: #f0bf62;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 10vw, 7rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 17px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 780;
  line-height: 1.2;
  text-decoration: none;
}

.button.primary {
  background: var(--gold);
  color: #22190a;
}

.button.primary:hover {
  background: #f0c86a;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.36);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.availability {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.95rem;
}

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

.intro-section {
  margin-top: -1px;
}

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

.section-heading p {
  max-width: 640px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading.compact {
  max-width: 620px;
}

.workflow-grid,
.format-grid,
.store-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.format-item,
.store-link {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(23, 35, 31, 0.06);
}

.feature-card {
  min-height: 232px;
  padding: 22px;
}

.feature-card p,
.format-item span,
.store-link span,
.privacy-list span {
  color: var(--muted);
}

.step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: var(--surface-alt);
  color: var(--brand);
  font-weight: 850;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  background: #ffffff;
}

.split-section p {
  max-width: 680px;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--brand);
  font-weight: 750;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.privacy-list {
  display: grid;
  gap: 12px;
}

.privacy-list div {
  padding: 18px;
  border-left: 6px solid var(--brand);
  background: var(--surface-alt);
  border-radius: 8px;
}

.privacy-list strong,
.privacy-list span,
.format-item strong,
.format-item span,
.store-link strong,
.store-link span {
  display: block;
}

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

.format-item {
  padding: 18px;
  min-height: 128px;
}

.format-item strong {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.app-store-section {
  background: var(--brand-dark);
  color: #ffffff;
}

.app-store-section .eyebrow {
  color: var(--gold);
}

.app-store-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.store-link {
  min-height: 132px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  text-decoration: none;
}

.store-link:hover {
  background: rgba(255, 255, 255, 0.14);
}

.store-link span {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 22px;
  align-items: center;
  padding: 28px clamp(20px, 5vw, 72px);
  background: #ffffff;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--muted);
  font-weight: 650;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ink);
}

.legal-main,
.not-found {
  padding: clamp(42px, 8vw, 92px) clamp(20px, 5vw, 72px);
}

.legal-hero,
.support-hero {
  max-width: 860px;
  padding: clamp(34px, 6vw, 72px) 0;
}

.legal-hero p,
.support-hero p {
  color: var(--muted);
  font-size: 1.08rem;
}

.legal-content {
  max-width: 880px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--muted);
}

.legal-content a {
  color: var(--brand);
  font-weight: 700;
}

.support-hero {
  padding-bottom: 26px;
}

.support-hero h1 {
  max-width: 820px;
  font-size: clamp(2.8rem, 8vw, 6rem);
}

.support-hero p {
  max-width: 700px;
}

.support-hero .button {
  margin-top: 16px;
}

.small-note {
  max-width: 640px;
  font-size: 0.92rem;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 960px;
}

details {
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

summary {
  min-height: 54px;
  padding: 16px 18px;
  cursor: pointer;
  font-weight: 780;
}

details p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
}

.review-links {
  display: grid;
  gap: 12px;
  max-width: 1040px;
}

.review-links div {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.review-links span {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

code {
  overflow-wrap: anywhere;
  color: #ffffff;
  font-family: "SF Mono", Consolas, monospace;
  font-size: 0.92rem;
}

.not-found {
  display: grid;
  justify-items: start;
  align-content: center;
  min-height: 100vh;
}

.not-found img {
  border-radius: 8px;
  margin-bottom: 20px;
}

.not-found p {
  color: var(--muted);
}

@media (max-width: 980px) {
  .workflow-grid,
  .format-grid,
  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-section {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .site-nav a {
    padding-left: 9px;
    padding-right: 9px;
  }

  .hero {
    min-height: 620px;
    padding-top: 56px;
  }

  .hero::after {
    background: rgba(29, 44, 38, 0.86);
  }

  .hero-media {
    background-position: center 54px;
    background-size: 86vw;
    opacity: 0.38;
  }

  .hero-content {
    align-self: end;
  }

  .workflow-grid,
  .format-grid,
  .store-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .legal-content {
    padding: 22px;
  }

  .review-links div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
