:root {
  --bg: #f5efe6;
  --bg-warm: #fbf7f0;
  --panel: rgba(255, 251, 245, 0.86);
  --panel-strong: rgba(255, 250, 243, 0.96);
  --line: rgba(17, 17, 17, 0.12);
  --text: #111111;
  --muted: #5a584f;
  --forest: #015438;
  --forest-deep: #003c28;
  --leaf: #61bb2d;
  --leaf-soft: #dff0d1;
  --shadow: 0 24px 60px rgba(1, 84, 56, 0.12);
  --shadow-soft: 0 14px 30px rgba(1, 84, 56, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --ui-font: "Avenir Next", "Segoe UI", "Trebuchet MS", sans-serif;
  --display-font: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--ui-font);
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(142, 209, 76, 0.16), transparent 32%),
    radial-gradient(circle at bottom right, rgba(1, 84, 56, 0.14), transparent 34%),
    linear-gradient(140deg, #f6f0e7 0%, #f8f4ed 42%, #f1eadf 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(8px);
}

body::before {
  width: 320px;
  height: 320px;
  top: 4%;
  left: 3%;
  background: radial-gradient(circle, rgba(97, 187, 45, 0.18), transparent 68%);
}

body::after {
  width: 360px;
  height: 360px;
  right: 2%;
  bottom: 4%;
  background: radial-gradient(circle, rgba(1, 84, 56, 0.16), transparent 72%);
}

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

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.button,
button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  z-index: 20;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--forest-deep);
  color: #ffffff;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(var(--container), calc(100vw - 32px));
  margin: 0 auto;
}

.section-block {
  padding: 34px 0 0;
}

.home-page-main > .section-block + .section-block {
  padding-top: 44px;
}

.section-block.reveal-ready {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 520ms ease,
    transform 520ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.section-block.reveal-ready.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.glass-panel {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 36px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.glass-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 25%),
    linear-gradient(
      90deg,
      rgba(97, 187, 45, 0.04),
      transparent 18%,
      transparent 82%,
      rgba(1, 84, 56, 0.04)
    );
  pointer-events: none;
}

.glass-panel > * {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 18px 0 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  border-radius: 999px;
  position: relative;
  overflow: visible;
  background: rgba(255, 251, 245, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  min-width: 0;
  font-weight: 700;
  color: var(--forest-deep);
}

.brand-text {
  display: inline;
}

.brand-mark {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
}

.nav-menu {
  display: none !important;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.nav-menu[hidden] {
  display: none !important;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(8, 63, 43, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--forest-deep);
  font-size: 0;
  line-height: 0;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.nav-toggle-bars {
  display: grid;
  gap: 4px;
}

.nav-toggle-bars span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--forest-deep);
}

@media (min-width: 1201px) {
  .nav-menu {
    display: flex !important;
  }
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.site-nav a:hover,
.site-nav a:focus-visible,
.brand-link:hover,
.brand-link:focus-visible,
.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-1px);
}

.button:focus-visible,
.nav-toggle:focus-visible,
.site-nav a:focus-visible,
.brand-link:focus-visible,
.contact-link:focus-visible {
  outline: 3px solid rgba(99, 185, 70, 0.26);
  outline-offset: 3px;
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--forest), var(--forest-deep));
  box-shadow: 0 14px 28px rgba(8, 63, 43, 0.2);
}

.button-secondary {
  color: var(--forest-deep);
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(8, 63, 43, 0.12);
}

.hero-section {
  padding-top: 22px;
}

.hero-grid,
.details-grid,
.lower-grid {
  display: grid;
  gap: 22px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.82fr);
}

.hero-copy,
.logo-panel,
.features-card,
.pricing-card,
.terms-card,
.contact-card,
.demo-shell {
  animation: rise 540ms ease both;
}

.logo-panel {
  animation-delay: 120ms;
}

.demo-shell {
  animation-delay: 160ms;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(1, 84, 56, 0.12);
  background: rgba(255, 255, 255, 0.58);
  color: var(--forest);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--leaf), var(--forest));
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 700;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.8rem, 4vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.lead {
  max-width: 56ch;
  font-size: 1.08rem;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chips span,
.feature-grid li,
.terms-point {
  border-radius: 20px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-chips span {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  color: var(--forest-deep);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.logo-panel {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 34px;
}

.hero-logo-full {
  width: min(100%, 520px);
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(8, 63, 43, 0.12));
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.section-heading-centered {
  align-items: center;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.why-intro {
  padding: 28px 30px;
  width: 100%;
  max-width: 980px;
  border-radius: 30px;
  border: 1px solid rgba(1, 84, 56, 0.18);
  background:
    radial-gradient(circle at top right, rgba(97, 187, 45, 0.2), transparent 42%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.94), rgba(248, 244, 236, 0.94));
  box-shadow: 0 20px 40px rgba(1, 84, 56, 0.14);
}

.why-intro h2 {
  color: var(--forest-deep);
}

.why-intro p {
  color: #324239;
  font-size: 1.01rem;
  line-height: 1.98;
  max-width: 82ch;
  margin-inline: auto;
  text-align: left;
}

.why-intro p + p {
  margin-top: 10px;
}

.why-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px;
  animation: rise 540ms ease both;
}

.demo-shell {
  padding: 22px;
}

.demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 4px 4px 0;
}

.demo-note {
  font-size: 0.94rem;
  font-style: italic;
}

.demo-frame-wrap {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  background: var(--bg-warm);
  box-shadow: var(--shadow-soft);
}

.demo-frame {
  width: 100%;
  height: 1400px;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.details-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.75fr);
}

.features-card,
.pricing-card,
.terms-card,
.contact-card {
  padding: 30px;
}

.features-card {
  display: flex;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  flex: 1;
  gap: 16px 14px;
  align-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-grid li {
  position: relative;
  min-height: 100%;
  padding: 18px 18px 18px 42px;
  color: var(--forest-deep);
  font-weight: 700;
}

.feature-grid li:nth-child(odd) {
  transform: translateY(-18px);
}

.feature-grid li:nth-child(even) {
  transform: translateY(18px);
}

.feature-grid li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 24px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--leaf), var(--forest));
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  background:
    radial-gradient(circle at top right, rgba(97, 187, 45, 0.12), transparent 34%),
    var(--panel-strong);
}

.price-mark {
  color: var(--forest-deep);
  font-family: var(--display-font);
  font-size: clamp(2.5rem, 4vw, 4.25rem);
  line-height: 1;
}

.pricing-breakdown {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.pricing-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(8, 63, 43, 0.08);
  background: rgba(255, 255, 255, 0.66);
}

.pricing-line span {
  color: var(--muted);
  font-weight: 600;
}

.pricing-line strong {
  color: var(--forest-deep);
  font-size: 0.98rem;
}

.pricing-total {
  background: linear-gradient(135deg, rgba(97, 187, 45, 0.14), rgba(1, 84, 56, 0.08));
  border-color: rgba(1, 84, 56, 0.14);
}

.pricing-note {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.lower-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: 46px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-link {
  color: var(--forest);
  font-weight: 700;
}

.contact-info-card {
  justify-content: center;
}

.contact-info-stack {
  display: grid;
  gap: 12px;
}

.contact-info-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 18px;
  border: 1px solid rgba(8, 63, 43, 0.08);
  background: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.main-contact-form-card {
  gap: 20px;
}

.helper-note {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.site-footer {
  padding: 0 0 34px;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 0 0;
  color: var(--muted);
  text-align: center;
}

.footer-mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-terms-link {
  color: var(--forest);
  font-weight: 700;
}

.contact-page-main {
  padding-bottom: 46px;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.75fr);
  gap: 22px;
}

.contact-form-shell,
.contact-side-panel {
  padding: 32px;
}

.contact-form-shell {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-page-title {
  font-size: clamp(2.2rem, 3.3vw, 3.5rem);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-group span {
  color: var(--forest-deep);
  font-size: 0.94rem;
  font-weight: 700;
}

.field-group input,
.field-group textarea {
  width: 100%;
  border: 1px solid rgba(8, 63, 43, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  padding: 14px 16px;
  color: var(--text);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.field-group textarea {
  min-height: 160px;
  resize: vertical;
}

.field-group input:focus,
.field-group textarea:focus {
  outline: none;
  border-color: rgba(1, 84, 56, 0.2);
  box-shadow: 0 0 0 3px rgba(99, 185, 70, 0.14);
  background: rgba(255, 255, 255, 0.92);
}

.contact-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-side-panel {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.contact-page-logo {
  width: min(100%, 420px);
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(8, 63, 43, 0.12));
}

.how-page-main {
  padding-bottom: 46px;
}

.how-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.8fr);
  gap: 22px;
}

.how-intro,
.how-flow-card,
.how-step-card,
.how-cta-card {
  padding: 32px;
}

.how-intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.how-flow-card {
  display: grid;
  align-content: center;
  gap: 18px;
  text-align: center;
}

.how-flow-card img {
  width: min(100%, 320px);
  margin-inline: auto;
}

.how-app-download {
  justify-items: center;
}

.how-app-download h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
}

.ios-app-icon-wrap {
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  border-radius: 30px;
  border: 1px solid rgba(8, 63, 43, 0.12);
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.18)),
    linear-gradient(145deg, rgba(97, 187, 45, 0.16), rgba(1, 84, 56, 0.14));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    0 16px 32px rgba(8, 63, 43, 0.16);
}

.ios-app-icon {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.flow-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(8, 63, 43, 0.08);
  color: var(--forest-deep);
  font-weight: 700;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.how-step-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-tag {
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.tool-shot {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(8, 63, 43, 0.08);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.tool-shot img {
  width: 100%;
  height: auto;
}

.tool-note {
  font-size: 0.95rem;
}

.simple-points {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.simple-points li {
  color: var(--muted);
  line-height: 1.6;
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.source-links a {
  color: var(--forest);
  font-weight: 700;
}

.app-panel {
  display: grid;
  place-items: center;
  min-height: 220px;
  border-radius: 22px;
  border: 1px solid rgba(8, 63, 43, 0.08);
  background:
    radial-gradient(circle at top right, rgba(97, 187, 45, 0.14), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(248, 244, 236, 0.96));
  box-shadow: var(--shadow-soft);
  text-align: center;
  padding: 24px;
}

.app-panel strong {
  color: var(--forest-deep);
  font-size: 1.15rem;
}

.how-cta-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
}

.how-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.how-faq-shell {
  display: grid;
  gap: 18px;
  padding: 32px;
}

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

.faq-grid {
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 18px;
  border: 1px solid rgba(8, 63, 43, 0.1);
  background: rgba(255, 255, 255, 0.68);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  color: var(--forest-deep);
  font-weight: 700;
  line-height: 1.4;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0;
  padding: 0 16px 16px;
}

.faq-item a {
  color: var(--forest);
  font-weight: 700;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1200px) {
  .hero-grid,
  .why-grid,
  .details-grid,
  .lower-grid,
  .contact-page-grid,
  .how-hero,
  .how-grid {
    grid-template-columns: 1fr;
  }

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

  .why-intro {
    padding: 22px;
    border-radius: 24px;
  }

  .ios-app-icon-wrap {
    width: 112px;
    height: 112px;
    border-radius: 26px;
  }

  .ios-app-icon {
    width: 72px;
    height: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-block.reveal-ready {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1200px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    isolation: isolate;
    padding-top: 12px;
  }

  html {
    scroll-padding-top: 24px;
  }

  .demo-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 1200px) {
  .nav-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 24px;
    position: relative;
    overflow: visible !important;
    z-index: 110;
  }

  .brand-link {
    min-width: 0;
    gap: 10px;
    padding-left: 0;
    justify-content: flex-start;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-text {
    display: inline !important;
    font-size: 0.98rem;
    line-height: 1;
    white-space: nowrap;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .nav-menu {
    display: none !important;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    gap: 12px;
    margin: 0;
    width: auto;
    max-height: min(70vh, calc(100dvh - 120px));
    overflow: auto;
    padding: 14px;
    border: 1px solid rgba(8, 63, 43, 0.12);
    border-radius: 24px;
    background: rgba(251, 247, 240, 0.99);
    box-shadow: 0 26px 70px rgba(8, 63, 43, 0.24);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 1200;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

  .nav-shell.nav-open .nav-menu {
    display: grid !important;
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 0;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 0;
    border: 0;
    background: transparent;
    font-size: 0.92rem;
    white-space: nowrap;
    text-align: right;
  }

  .nav-cta {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    min-height: 46px;
    padding-inline: 18px;
    border: 0;
    box-shadow: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100vw - 16px));
  }

  .section-block {
    padding-top: 20px;
  }

  .home-page-main > .section-block + .section-block {
    padding-top: 28px;
  }

  .hero-copy,
  .logo-panel,
  .demo-shell,
  .features-card,
  .pricing-card,
  .terms-card,
  .contact-card,
  .contact-form-shell,
  .contact-side-panel,
  .how-intro,
  .how-flow-card,
  .how-step-card,
  .how-cta-card,
  .how-faq-shell {
    padding: 22px;
  }

  .how-app-download h2 {
    font-size: clamp(1.35rem, 6.2vw, 1.7rem);
  }

  .pricing-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .feature-grid li:nth-child(odd),
  .feature-grid li:nth-child(even) {
    transform: none;
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.35rem);
  }

  .hero-actions,
  .how-cta-actions,
  .contact-actions,
  .contact-form-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .how-cta-actions .button,
  .contact-actions .button,
  .contact-form-actions .button {
    width: 100%;
  }

  .contact-field-grid {
    grid-template-columns: 1fr;
  }

  .demo-frame {
    height: 1200px;
  }
}

@media (max-width: 420px) {
  .nav-toggle {
    min-height: 44px;
    width: 44px;
    height: 44px;
  }

  .site-nav a {
    font-size: 0.88rem;
  }
}
