:root {
  --canvas: #f5f1ea;
  --paper: rgba(255, 252, 246, 0.82);
  --paper-strong: #fffaf2;
  --ink: #172220;
  --muted: #66716f;
  --line: rgba(23, 34, 32, 0.1);
  --forest: #2f705d;
  --forest-deep: #254f43;
  --sage: #8fb1a4;
  --clay: #d7b9a0;
  --mist: #e8e1d7;
  --shadow: 0 24px 60px rgba(30, 41, 38, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --site-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(143, 177, 164, 0.28), transparent 28rem),
    radial-gradient(circle at top right, rgba(215, 185, 160, 0.22), transparent 26rem),
    linear-gradient(180deg, #faf6ef, var(--canvas));
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-shell {
  width: min(calc(100% - 32px), var(--site-width));
  margin: 0 auto;
  padding-bottom: 32px;
}

.site-shell-narrow {
  width: min(calc(100% - 32px), 920px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--forest), var(--forest-deep));
  color: #fff;
  font-weight: 700;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 0.98rem;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.96rem;
}

.site-nav a {
  color: var(--muted);
}

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

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--paper);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 999px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 40px;
  align-items: center;
  padding: 42px 0 32px;
}

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

.hero h1,
.section-heading h2,
.cta-card h2,
.legal-heading h1 {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  line-height: 0.97;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
  max-width: 11ch;
}

.hero-text,
.section-heading p,
.cta-card p,
.legal-heading p,
.feature-card p,
.security-card p,
.value-strip p,
.screen-meta p,
.legal-card p,
.legal-card li {
  color: var(--muted);
}

.hero-text {
  max-width: 60ch;
  margin: 18px 0 0;
  font-size: 1.12rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--forest), var(--forest-deep));
  color: #fff;
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.trust-row li,
.screen-thumb,
.preview-chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(23, 34, 32, 0.08);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 540px;
}

.phone-stack {
  position: relative;
  height: 100%;
}

.phone-card {
  position: absolute;
  overflow: hidden;
  border-radius: 42px;
  background: var(--paper-strong);
  border: 1px solid rgba(23, 34, 32, 0.08);
  box-shadow: var(--shadow);
}

.phone-card img {
  width: 100%;
  height: auto;
}

.phone-card-front {
  width: min(340px, 92%);
  right: 0;
  top: 24px;
  transform: rotate(2deg);
}

.phone-card-back {
  width: min(310px, 82%);
  left: 18px;
  bottom: 8px;
  transform: rotate(-7deg);
}

.value-strip,
.feature-grid,
.security-grid {
  display: grid;
  gap: 18px;
}

.value-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 18px 0 20px;
}

.value-strip article,
.feature-card,
.security-card,
.cta-card,
.legal-card {
  background: var(--paper);
  border: 1px solid rgba(23, 34, 32, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.value-strip article,
.feature-card,
.security-card {
  padding: 22px;
}

.value-strip h2,
.feature-card h3,
.security-card h3,
.screen-meta h3,
.legal-card h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.section {
  padding: 56px 0 12px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 24px;
}

.section-heading h2,
.legal-heading h1 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  max-width: 13ch;
}

.section-heading p,
.legal-heading p {
  margin: 14px 0 0;
  font-size: 1.05rem;
}

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

.screenshots .section-heading h2 {
  max-width: 16ch;
}

.screen-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.screen-frame {
  margin: 0;
  padding: 20px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(23, 34, 32, 0.08);
  box-shadow: var(--shadow);
}

.screen-frame img {
  width: min(360px, 100%);
  margin: 0 auto;
  border-radius: 34px;
}

.screen-nav {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
}

.screen-meta {
  margin-top: 18px;
  text-align: center;
}

.screen-meta h3 {
  font-size: 1.6rem;
}

.screen-meta p {
  margin: 8px auto 0;
  max-width: 58ch;
}

.screen-thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.screen-thumb {
  border: 0;
  cursor: pointer;
  color: var(--muted);
}

.screen-thumb.is-active {
  background: linear-gradient(135deg, var(--forest), var(--forest-deep));
  color: #fff;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--paper);
  border: 1px solid rgba(23, 34, 32, 0.08);
  box-shadow: var(--shadow);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin: 12px 0 0;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 0 10px;
  color: var(--muted);
}

.site-footer p {
  margin: 6px 0 0;
}

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

.legal-page {
  padding: 38px 0 20px;
}

.legal-heading {
  margin-bottom: 22px;
}

.legal-card {
  padding: 28px;
}

.legal-card h2 {
  margin-top: 28px;
}

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

.legal-list {
  margin: 0;
  padding-left: 18px;
}

.legal-card a,
.site-footer a,
.site-nav.is-static a {
  color: var(--forest);
}

@media (max-width: 980px) {
  .hero,
  .value-strip,
  .feature-grid,
  .security-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 24px;
  }

  .hero h1,
  .section-heading h2,
  .legal-heading h1 {
    max-width: none;
  }

  .hero-visual {
    min-height: 480px;
  }

  .cta-card {
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(23, 34, 32, 0.08);
  }

  .site-nav.is-open,
  .site-nav.is-static {
    display: flex;
  }

  .screen-stage {
    grid-template-columns: 1fr;
  }

  .screen-nav {
    display: none;
  }

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