:root {
  --ink: #10231f;
  --muted: #5d706b;
  --paper: #f6f1e8;
  --mist: #e7f0ea;
  --mint: #bfe4d3;
  --deep: #0f3d35;
  --deep-2: #09251f;
  --gold: #d9a84f;
  --coral: #f06d52;
  --card: rgba(255, 255, 255, 0.72);
  --line: rgba(15, 61, 53, 0.16);
  --shadow: 0 30px 90px rgba(9, 37, 31, 0.18);
  font-family: "Avenir Next", "Nunito Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(191, 228, 211, 0.82), transparent 28rem),
    radial-gradient(circle at 92% 4%, rgba(217, 168, 79, 0.22), transparent 26rem),
    linear-gradient(135deg, #f9f4eb 0%, #edf6ef 46%, #f7efe5 100%);
  overflow-x: hidden;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 64px);
  backdrop-filter: blur(22px);
  background: rgba(246, 241, 232, 0.76);
  border-bottom: 1px solid rgba(15, 61, 53, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.brand img {
  border-radius: 13px;
  box-shadow: 0 10px 26px rgba(15, 61, 53, 0.2);
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

.section-pad {
  padding: clamp(48px, 6vw, 86px) clamp(18px, 5vw, 78px);
}

.hero {
  max-width: 1360px;
  min-height: min(760px, calc(100svh - 70px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(300px, 0.76fr);
  align-items: center;
  gap: clamp(34px, 5vw, 70px);
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 7% 4% auto auto;
  width: 46vw;
  height: 46vw;
  max-width: 680px;
  max-height: 680px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(15, 61, 53, 0.18), transparent 68%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--deep);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

h1 {
  max-width: 820px;
  font-size: clamp(3rem, 5.6vw, 5.9rem);
}

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

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

p {
  line-height: 1.65;
}

.hero-text {
  max-width: 640px;
  margin: 22px 0 0;
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  color: #314942;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 950;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--deep), var(--deep-2));
  box-shadow: 0 18px 38px rgba(15, 61, 53, 0.26);
}

.button.secondary {
  color: var(--deep);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(15, 61, 53, 0.13);
}

.trust-row {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(15, 61, 53, 0.1);
  color: var(--muted);
  font-weight: 800;
  font-size: 0.86rem;
}

.hero-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
}

.phone-frame {
  width: min(300px, 62vw);
  border-radius: 36px;
  padding: 9px;
  background: linear-gradient(145deg, rgba(255,255,255,.7), rgba(15,61,53,.22));
  box-shadow: var(--shadow);
}

.phone-frame img {
  aspect-ratio: 1080 / 2316;
  object-fit: cover;
  border-radius: 28px;
}

.phone-main {
  transform: rotate(-4deg);
}

.qr-card {
  position: absolute;
  right: 0;
  bottom: 9%;
  width: 142px;
  padding: 11px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 20px 60px rgba(9, 37, 31, 0.18);
  border: 1px solid rgba(15, 61, 53, 0.1);
}

.qr-card img {
  border-radius: 16px;
}

.qr-card p {
  margin: 10px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
  font-weight: 800;
}

.strip {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(26px, 3vw, 38px);
  border-radius: 30px;
  background: linear-gradient(135deg, var(--deep), #164e44);
  color: #f7fff8;
  box-shadow: var(--shadow);
}

.strip p {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 2.2rem);
  line-height: 1.18;
  letter-spacing: -0.045em;
  font-weight: 950;
}

.social-proof {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: clamp(36px, 4vw, 64px);
}

.store-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 18px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 32px;
  color: #f7fff8;
  background:
    radial-gradient(circle at 82% 18%, rgba(217, 168, 79, 0.35), transparent 32%),
    linear-gradient(135deg, rgba(15, 61, 53, 0.98), rgba(9, 37, 31, 0.96));
  box-shadow: var(--shadow);
}

.store-proof .eyebrow {
  color: var(--mint);
}

.store-proof h2 {
  max-width: 620px;
}

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

.store-stats span {
  min-height: 132px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.store-stats strong {
  font-size: clamp(1.65rem, 3.3vw, 3.2rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.store-stats small {
  color: rgba(247, 255, 248, 0.72);
  font-weight: 850;
}

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

.testimonial-card {
  min-height: 220px;
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(15, 61, 53, 0.12);
  box-shadow: 0 18px 58px rgba(9, 37, 31, 0.09);
  backdrop-filter: blur(18px);
}

.testimonial-card p {
  margin: 0;
  color: #203a34;
  font-size: 1.02rem;
  line-height: 1.55;
  font-weight: 760;
}

.testimonial-card span {
  width: fit-content;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--deep);
  background: rgba(191, 228, 211, 0.48);
  border: 1px solid rgba(15, 61, 53, 0.1);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.feature-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.calculator-panel,
.timeline-card,
.install-card,
.legal-grid p {
  background: var(--card);
  border: 1px solid rgba(15, 61, 53, 0.12);
  box-shadow: 0 20px 70px rgba(9, 37, 31, 0.11);
  backdrop-filter: blur(20px);
}

.feature-card {
  padding: 16px;
  border-radius: 28px;
}

.feature-card.wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 320px);
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 3vw, 38px);
}

.feature-card.wide p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.02rem;
}

.feature-card img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: top center;
  border-radius: 22px;
  border: 1px solid rgba(15, 61, 53, 0.1);
}

.feature-card:not(.wide) {
  grid-column: span 2;
}

.feature-card:not(.wide) h3 {
  margin-top: 16px;
}

.feature-card:not(.wide) p {
  color: var(--muted);
  margin-bottom: 0;
}

.section-heading {
  margin-inline: auto;
  max-width: 900px;
  margin-bottom: 32px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.1rem;
}

.calculators {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  gap: 20px;
  align-items: start;
}

.calculators .section-heading {
  grid-column: 1 / -1;
}

.calculator-panel {
  border-radius: 30px;
  padding: clamp(22px, 3vw, 34px);
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 850;
  font-size: 0.92rem;
}

input,
select {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(15, 61, 53, 0.16);
  border-radius: 18px;
  padding: 0 15px;
  font: inherit;
  font-weight: 900;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

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

.results div {
  min-height: 140px;
  border-radius: 26px;
  padding: 18px;
  display: grid;
  align-content: end;
  background:
    radial-gradient(circle at 80% 12%, rgba(217, 168, 79, 0.38), transparent 38%),
    linear-gradient(135deg, rgba(15, 61, 53, 0.95), rgba(9, 37, 31, 0.96));
  color: #fff;
}

.results strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 3.3rem);
  letter-spacing: -0.05em;
}

.results span {
  color: rgba(255,255,255,.75);
  font-weight: 800;
}

.timeline-card {
  border-radius: 30px;
  padding: clamp(22px, 3vw, 34px);
}

.timeline-card ol {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 14px;
}

.timeline-card li {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 16px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.58);
}

.timeline-card strong {
  color: var(--deep);
}

.timeline-card span,
.source-note {
  color: var(--muted);
}

.editorial {
  background:
    radial-gradient(circle at 18% 22%, rgba(217,168,79,.2), transparent 24rem),
    linear-gradient(135deg, rgba(15,61,53,.95), rgba(9,37,31,.96));
  color: #f7fff8;
}

.editorial > div,
.editorial > .editorial-columns {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.editorial .eyebrow {
  color: var(--mint);
}

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

.editorial article {
  padding: 26px;
  border-radius: 32px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}

.editorial article p {
  color: rgba(247,255,248,.76);
}

.install-card {
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 34px;
  padding: clamp(22px, 3vw, 38px);
  display: grid;
  grid-template-columns: minmax(190px, 310px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
}

.install-card > img {
  border-radius: 34px;
  box-shadow: 0 20px 70px rgba(9,37,31,.15);
}

.install-card p {
  color: var(--muted);
}

.legal {
  padding-top: 48px;
  max-width: 1280px;
  margin: 0 auto;
}

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

.legal-grid p {
  margin: 0;
  border-radius: 28px;
  padding: 22px;
  color: var(--muted);
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.source-links a {
  color: var(--deep);
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 78px);
  color: rgba(255,255,255,.78);
  background: #071b17;
}

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

.site-footer div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer a {
  color: #fff;
  font-weight: 800;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .calculators,
  .install-card,
  .store-proof {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

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

  .feature-card.wide,
  .editorial-columns,
  .legal-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .feature-card:not(.wide) {
    grid-column: span 4;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: relative;
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

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

  .phone-frame {
    width: min(300px, 78vw);
  }

  .qr-card {
    right: 50%;
    transform: translateX(50%);
    bottom: 0;
  }

  .calculator-form,
  .results,
  .store-stats,
  .timeline-card li {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
