:root {
  --deep: #1b4332;
  --green: #2d6a4f;
  --mint: #52b788;
  --pale-mint: #95d5b2;
  --cream: #f7f5f0;
  --sand: #f0ede6;
  --line: #e0ddd6;
  --text: #1a1a1a;
  --muted: #4a4a4a;
  --soft: #8a8a8a;
  --amber: #f4a261;
  --danger: #e63946;
  --shell: min(1312px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.button,
.download-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: default;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--deep);
}

.hero-layout {
  position: relative;
  z-index: 2;
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  grid-template-areas: 
    "copy phone"
    "avail phone";
  gap: 34px 72px;
  align-items: center;
  padding: 60px 0 46px;
}

.hero-copy {
  grid-area: copy;
}

.phone-wrap {
  grid-area: phone;
}

.availability {
  grid-area: avail;
  align-self: start;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-orb-large {
  width: 700px;
  height: 700px;
  top: 12px;
  right: -16px;
  background:
    radial-gradient(circle at 34% 42%, rgba(149, 213, 178, 0.28), transparent 0 42%),
    radial-gradient(circle, rgba(45, 106, 79, 0.72), rgba(27, 67, 50, 0) 68%);
}

.hero-orb-small {
  width: 400px;
  height: 400px;
  left: -80px;
  bottom: 62px;
  background: radial-gradient(circle, rgba(45, 106, 79, 0.88), rgba(27, 67, 50, 0) 66%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.final-cta h2 {
  margin: 0;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  color: #fff;
  font-size: clamp(48px, 7vw, 72px);
}

.hero h1 span {
  display: block;
  margin-top: 22px;
  color: var(--pale-mint);
}

.hero-lede {
  max-width: 615px;
  margin: 34px 0 0;
  color: #d1eede;
  font-size: 20px;
  line-height: 1.6;
}

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

.button {
  min-height: 56px;
  padding: 0 24px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
}

.button-primary {
  background: var(--mint);
  color: var(--deep);
}

.button-secondary {
  min-width: 200px;
  border: 1.5px solid rgba(149, 213, 178, 0.4);
  color: var(--pale-mint);
}

.availability {
  margin-top: 20px;
  color: var(--pale-mint);
  font-size: 12px;
}

.download-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.download-badge {
  display: inline-flex;
  height: clamp(40px, 5.5vw, 48px);
  transition: opacity 0.2s ease;
}

.download-badge:hover {
  opacity: 0.8;
}

.download-badge img {
  height: 100%;
  width: auto;
  display: block;
}

.phone-wrap {
  display: flex;
  justify-content: center;
}

.hero-phone-img {
  width: min(420px, 100%);
  height: auto;
  display: block;
  /* Natural elevation since the image has a background that should blend */
}

.trust-bar {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #fff;
}

.trust-track {
  min-height: 80px;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.trust-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--shell);
  margin: 0 auto;
  gap: 24px;
}

.trust-group[aria-hidden="true"] {
  display: none;
}

.trust-track span::before,
.price-card li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 14px;
  margin-right: 10px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(45deg) translateY(-1px);
}

.section {
  padding: 60px 0;
}

.problem,
.timeline,
.pricing {
  background: var(--cream);
}

.features {
  background: var(--sand);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 576px);
  gap: 64px;
  align-items: start;
}

.section h2 {
  max-width: 800px;
  font-size: clamp(42px, 5.5vw, 64px);
}

.body-copy,
.section-lede {
  max-width: 640px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.body-copy p {
  margin: 0 0 24px;
}

.problem-screenshots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: start;
}

.app-screenshot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.timeline {
  border-top: 1px solid var(--line);
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 42px;
}

.steps::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: var(--line);
}

.step-card {
  position: relative;
  z-index: 1;
  min-height: 290px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.step-card-soon {
  opacity: 0.9;
  filter: grayscale(1);
  cursor: not-allowed;
}

.step-card-soon::after {
  content: "Coming Soon";
  position: absolute;
  top: 18px;
  right: -32px;
  width: 130px;
  padding: 4px 0;
  background: var(--line);
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  transform: rotate(45deg);
  letter-spacing: 0.05em;
  z-index: 2;
}

.step-card span {
  color: var(--green);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.step-card h3,
.feature-item h3,
.faq-grid h3 {
  margin: 22px 0 10px;
  font-size: 20px;
  line-height: 1.22;
}

.step-card p,
.feature-item p,
.faq-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

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

.feature-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--cream);
  color: var(--text);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-item h3 {
  margin-top: 4px;
  font-size: 17px;
}

.quote-section {
  background: var(--deep);
  color: #fff;
  padding: 60px 0;
}

blockquote {
  margin: 0;
}

blockquote::before {
  content: "\"";
  display: block;
  height: 42px;
  color: var(--green);
  font-size: 120px;
  font-weight: 800;
  line-height: 0.75;
}

blockquote p {
  max-width: 900px;
  margin: 8px 0 28px;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.55;
}

blockquote cite {
  color: var(--pale-mint);
  font-size: 15px;
  font-style: normal;
}

.price-card {
  overflow: hidden;
  padding: 32px 28px 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  border-top: 6px solid var(--green);
  background: #fff;
}

.price-card h3 {
  margin: 0;
  font-size: 32px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 12px 0 22px;
}

.price strong {
  color: var(--green);
  font-size: 64px;
  line-height: 1;
}

.price span {
  color: var(--soft);
  font-size: 16px;
}

.price-card ul {
  display: grid;
  gap: 13px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 15px;
}

.button-dark {
  width: 100%;
  background: var(--green);
  color: #fff;
}

.faq {
  background: #fff;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 42px;
}

.faq-item {
  border-radius: 12px;
  background: var(--sand);
  overflow: hidden;
  transition: background 0.2s ease;
}

.faq-item:hover {
  background: var(--line);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  outline: none;
  user-select: none;
}

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

.faq-item p {
  padding: 0 24px 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.faq-item[open] p {
  animation: faqSlideIn 0.3s ease-out;
}

@keyframes faqSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--soft);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--green);
}

.final-cta {
  background: var(--deep);
  color: #fff;
  text-align: center;
  padding: 58px 0 56px;
}

.final-cta p {
  margin: 0 0 20px;
  color: var(--pale-mint);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.final-cta h2 {
  max-width: 800px;
  margin: 0 auto 34px;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 1.1;
}

.final-cta .button {
  min-width: min(384px, 100%);
}

.final-cta .download-row {
  justify-content: center;
  margin-top: 34px;
}

.footer {
  border-top: 1px solid #23503a;
  background: var(--deep);
  color: var(--pale-mint);
  padding: 28px 0;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer strong {
  display: block;
  font-size: 18px;
}

.footer span {
  display: block;
  margin-top: 8px;
  color: #64a082;
  font-size: 12px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .hero-layout,
  .split {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "phone" "avail";
  }

  .hero-layout {
    min-height: auto;
    gap: 48px;
  }

  .phone-wrap {
    justify-content: center;
  }

  .availability {
    text-align: center;
    justify-self: center;
  }

  .download-row {
    justify-content: center;
  }

  .trust-track {
    overflow-x: auto;
    justify-content: flex-start;
    padding-right: 24px;
  }

  .problem-screenshots,
  .steps,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps::before {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100vw - 32px, 540px);
  }

  .hero-layout {
    padding: 44px 0 38px;
    gap: 38px;
  }

  .hero h1 {
    font-size: clamp(42px, 12vw, 56px);
  }

  .hero h1 span {
    margin-top: 16px;
  }

  .hero-lede,
  .body-copy,
  .section-lede {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .download-badge {
    flex: 0 0 auto;
  }

  .trust-bar {
    position: relative;
  }

  .trust-bar::before,
  .trust-bar::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
  }

  .trust-bar::before {
    left: 0;
    background: linear-gradient(to right, #fff, transparent);
  }

  .trust-bar::after {
    right: 0;
    background: linear-gradient(to left, #fff, transparent);
  }

  .trust-track {
    width: max-content;
    animation: trustMarquee 30s linear infinite;
    justify-content: flex-start;
    will-change: transform;
  }

  .trust-group {
    width: auto;
    margin: 0;
    gap: 48px;
    padding-right: 48px;
  }

  .trust-group[aria-hidden="true"] {
    display: flex;
  }

  .section {
    padding: 46px 0;
  }

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

  .problem-screenshots {
    grid-template-columns: repeat(2, 1fr);
    max-width: 480px;
    margin: 0 auto;
    gap: 12px;
  }

  .feature-grid {
    gap: 28px;
  }

  .step-card,
  .faq-grid article {
    min-height: auto;
  }

  .quote-section {
    padding: 46px 0;
  }

  .price-card {
    padding-inline: 20px;
  }

  .footer-layout {
    flex-direction: column;
  }

  .footer nav {
    justify-content: flex-start;
    gap: 14px 20px;
  }
}

@media (max-width: 440px) {
  .hero-actions {
    gap: 12px;
  }

  .download-row {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  .download-badge {
    width: auto;
  }
}

@keyframes trustMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
