:root {
  --bg: #04060b;
  --bg-soft: #0d1320;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --text: #f2f5fb;
  --muted: #9ea6b5;
  --line: rgba(205, 215, 235, 0.11);
  --accent: #a9bde8;
  --accent-soft: rgba(169, 189, 232, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --good: #19c99a;
  --bad: #d74260;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Instrument Sans", sans-serif;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background:
    linear-gradient(90deg, rgba(70, 84, 112, 0.05), transparent 24%),
    linear-gradient(270deg, rgba(39, 51, 78, 0.09), transparent 24%),
    linear-gradient(180deg, rgba(39, 51, 78, 0.06), transparent 32%),
    linear-gradient(180deg, #030507 0%, #09101a 48%, #030507 100%);
  color: var(--text);
}

body.theme-light {
  --bg: #f4f0e9;
  --bg-soft: #f4f6fb;
  --surface: rgba(20, 28, 44, 0.04);
  --surface-strong: rgba(20, 28, 44, 0.07);
  --text: #141922;
  --muted: #5e6675;
  --line: rgba(25, 34, 51, 0.1);
  --accent: #6d83ba;
  --accent-soft: rgba(109, 131, 186, 0.1);
  --shadow: 0 24px 80px rgba(26, 35, 56, 0.12);
  background:
    radial-gradient(circle at top left, rgba(133, 146, 176, 0.12), transparent 24%),
    linear-gradient(180deg, #f7f8fc 0%, #eef2f9 100%);
}

a {
  color: inherit;
}

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

.site-shell {
  min-height: 100vh;
}

.section,
.site-footer,
.site-header__inner {
  width: min(calc(100% - 3rem), var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  padding: 0.9rem 0;
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.25rem;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-separator {
  color: var(--muted);
  line-height: 1;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 5, 7, 0.72) 0%,
    rgba(6, 9, 15, 0.42) 58%,
    rgba(4, 5, 7, 0.08) 100%
  );
  z-index: -1;
}

.site-header--light::before {
  background: linear-gradient(
    180deg,
    rgba(247, 248, 252, 0.78) 0%,
    rgba(247, 248, 252, 0.48) 58%,
    rgba(247, 248, 252, 0.08) 100%
  );
}

.wordmark,
.text-link,
.header-cta,
.pill-button,
.eyebrow,
.price-label,
.service-card h3,
.comparison-table th {
  font-family: var(--font-display);
}

.wordmark,
.text-link,
.header-cta {
  text-decoration: none;
  letter-spacing: 0.01em;
}

.wordmark {
  font-size: 1.2rem;
  font-weight: 500;
}

.text-link {
  font-size: 1rem;
  color: var(--muted);
}

.header-cta {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 180ms ease;
}

.text-link:hover,
.text-link:focus-visible,
.header-cta:hover,
.header-cta:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
}

.section {
  padding: 5rem 0;
}

.hero {
  position: relative;
  min-height: calc(100vh - 5.5rem);
  display: grid;
  align-items: center;
  overflow: clip;
}

.hero-grid {
  display: grid;
  gap: 1.1rem;
  justify-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(169, 189, 232, 0.08);
}

.hero h1,
.section-heading h1,
.section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.94;
}

.hero h1 {
  display: grid;
  gap: 0.12em;
  font-size: clamp(4.8rem, 11vw, 10.5rem);
  text-transform: uppercase;
  max-width: 11ch;
  line-height: 0.88;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
}

.hero-copy,
.section-heading p,
.service-card p,
.feature-list,
.add-ons-list,
.faq-list p,
.footer-copy,
.about-copy-block,
.comparison-table td {
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.7;
}

.hero-copy {
  max-width: 42rem;
  color: #a5adbc;
  margin-top: 0.4rem;
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
}

.section-utility-link {
  margin-top: -0.25rem;
}

.hero-actions,
.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: center;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-width: 15.5rem;
  padding: 1.05rem 1.85rem;
  border: 1px solid rgba(205, 215, 235, 0.16);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.88rem;
  font-weight: 700;
  background: transparent;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.hero .pill-button {
  min-height: 4.15rem;
}

.pill-button:hover,
.pill-button:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.pill-button--solid {
  background: linear-gradient(135deg, #2c3651, #202838);
  border-color: transparent;
  box-shadow:
    0 20px 48px rgba(12, 16, 24, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.pill-button--solid:hover,
.pill-button--solid:focus-visible {
  background: linear-gradient(135deg, #35415f, #252f44);
}

.hero-orbit {
  display: none;
}

.hero-orbit::before {
  content: none;
}

.hero-orbit--left {
  left: auto;
  bottom: auto;
}

.hero-orbit--right {
  right: auto;
  top: auto;
}

.section-heading {
  display: grid;
  gap: 1rem;
  max-width: 50rem;
  margin-bottom: 3rem;
}

.section-heading--wide {
  max-width: 70rem;
}

.section-heading h1,
.section-heading h2 {
  font-size: clamp(2.6rem, 6vw, 5.5rem);
}

.section-partners {
  padding-top: 1rem;
}

.partners-shell {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.8rem 0;
}

.partners-eyebrow {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.partner-logo-tile {
  min-height: 6.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
  padding: 1rem 1.25rem;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.partner-logo-tile:hover,
.partner-logo-tile:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(205, 215, 235, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
}

.partner-logo-tile img {
  max-width: 100%;
  max-height: 3.1rem;
  width: auto;
  height: auto;
  object-fit: contain;
}

.service-grid,
.pricing-grid {
  display: grid;
  gap: 1.5rem;
}

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

.pricing-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card,
.price-card,
.add-ons-card,
.faq-list details,
.comparison-table-wrap,
.video-poster {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    linear-gradient(180deg, var(--surface), transparent);
  border-radius: 1.75rem;
  box-shadow: var(--shadow);
}

.service-card,
.price-card {
  padding: 2rem;
}

.service-card {
  min-height: 19rem;
  display: grid;
  align-content: start;
  gap: 1rem;
}

.service-icon {
  width: 4.5rem;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #eef3ff;
  margin-bottom: 0.15rem;
}

.service-icon img {
  width: 3.15rem;
  height: 3.15rem;
  object-fit: contain;
}

.service-card h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.1;
}

.add-ons-card h3 {
  margin: 0;
  display: grid;
  gap: 0.35rem;
}

.add-ons-card .subtle-line {
  font-weight: 500;
  color: var(--muted);
}

.price-card {
  position: relative;
  overflow: clip;
}

.price-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -45% auto;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 138, 181, 0.14), transparent 60%);
}

.price-card--featured {
  border-color: rgba(189, 201, 228, 0.22);
  background:
    linear-gradient(180deg, rgba(91, 104, 136, 0.1), rgba(255, 255, 255, 0.01)),
    linear-gradient(180deg, var(--surface), transparent);
}

.price-label {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  font-size: 0.95rem;
}

.price-value {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  font-weight: 700;
}

.feature-list,
.add-ons-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.feature-list li,
.add-ons-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}

.feature-list li::before {
  content: "✓";
  color: var(--accent);
  margin-right: 0.75rem;
}

.add-ons-card {
  margin-top: 1.5rem;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 2rem;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list details {
  padding: 1.4rem 1.6rem;
}

.faq-list summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  list-style: none;
}

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

.faq-list summary::before {
  content: "+";
  color: var(--accent);
  margin-right: 0.75rem;
}

.faq-list details[open] summary::before {
  content: "-";
}

.faq-list p {
  margin: 1rem 0 0 1.7rem;
}

.site-footer {
  padding: 1.5rem 0 3rem;
}

.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-top {
  flex-wrap: wrap;
  padding-bottom: 2rem;
}

.site-footer p,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer-inline-links {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 2.9rem;
  height: 2.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.social-icon img {
  width: 1.15rem;
  height: 1.15rem;
  object-fit: contain;
  filter: brightness(0) invert(0);
}

body.theme-dark .social-icon img {
  filter: brightness(0) invert(1);
}

.add-ons-button {
  min-width: 11rem;
  justify-self: end;
}

.footer-copy {
  max-width: 55rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.climate-badge {
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(36, 48, 76, 0.3);
  color: #d5e3ff;
}

.back-to-top {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.about-hero {
  padding-top: 4rem;
}

.video-poster {
  min-height: 32rem;
  margin-top: 3rem;
  overflow: hidden;
  background:
    linear-gradient(rgba(8, 10, 20, 0.15), rgba(8, 10, 20, 0.45)),
    url("https://images.unsplash.com/photo-1517604931442-7e0c8ed2963c?auto=format&fit=crop&w=1600&q=80")
      center/cover;
}

.video-embed {
  aspect-ratio: 16 / 9;
  min-height: 0;
  background: #0c1018;
  width: 85%;
  margin-left: auto;
  margin-right: auto;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-overlay {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: grid;
  place-items: center;
  gap: 1rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.42));
}

.play-button {
  width: 5.5rem;
  height: 5.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

.comparison-table-wrap {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.comparison-table th,
.comparison-table td {
  padding: 1.2rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.comparison-table th {
  color: var(--text);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.comparison-table td {
  color: var(--text);
}

.good {
  color: var(--good) !important;
}

.bad {
  color: var(--bad) !important;
}

.about-copy-block {
  max-width: 64rem;
  margin: 3rem 0 0;
  text-align: left;
}

.closing-line {
  font-style: italic;
  color: var(--muted);
}

.about-actions {
  margin-top: 2rem;
}

.about-actions--polished {
  justify-content: flex-start;
}

.pill-button--light {
  border-color: rgba(26, 34, 49, 0.14);
  background: rgba(255, 255, 255, 0.55);
  color: var(--text);
  box-shadow: 0 16px 38px rgba(31, 39, 58, 0.08);
}

.pill-button--light:hover,
.pill-button--light:focus-visible {
  border-color: rgba(26, 34, 49, 0.2);
  background: rgba(255, 255, 255, 0.78);
}

.pill-button--light-solid {
  border-color: transparent;
  background: linear-gradient(135deg, #1f2533, #141925);
  color: #f5f7fb;
  box-shadow:
    0 18px 42px rgba(22, 29, 43, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pill-button--light-solid:hover,
.pill-button--light-solid:focus-visible {
  background: linear-gradient(135deg, #262e40, #191f2d);
}

.legal-page {
  padding-top: 4rem;
}

.specs-page .section-heading {
  max-width: 62rem;
}

.legal-card {
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  background: linear-gradient(180deg, var(--surface), transparent);
  box-shadow: var(--shadow);
  padding: 2.2rem;
}

.legal-block + .legal-block {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.legal-block h2 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.1;
}

.legal-block p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.specs-card .legal-block h2 {
  font-size: 1.42rem;
}

.specs-figure {
  margin: 1.35rem 0 0;
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.55);
}

.specs-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.specs-actions {
  margin-top: 2.5rem;
}

.legal-actions {
  margin-top: 2rem;
  justify-content: flex-start;
}

.success-page .section-heading {
  max-width: 54rem;
}

.success-card {
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  background: linear-gradient(180deg, var(--surface), transparent);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.success-card__intro {
  padding: 0.5rem 0.5rem 1.25rem;
}

.success-card__intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.success-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0 0 1.4rem;
}

.success-step {
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.38);
  padding: 1.15rem;
}

.success-step__label {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.success-step h2 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.12;
}

.success-step p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.tally-embed-wrap {
  margin-top: 0.35rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.42);
}

.tally-embed-wrap iframe {
  display: block;
  border-radius: 0.85rem;
}

@media (max-width: 960px) {
  .service-grid,
  .pricing-grid,
  .add-ons-card {
    grid-template-columns: 1fr;
  }

  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
    padding-top: 4rem;
  }

  .add-ons-button {
    justify-self: start;
  }

  .hero-orbit {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header__inner,
  .section,
  .site-footer {
    width: min(calc(100% - 1.5rem), var(--max-width));
  }

  .site-header {
    padding: 0.75rem 0;
  }

  .site-header__actions {
    gap: 0.9rem;
  }

  .success-steps {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(3.6rem, 18vw, 5.7rem);
    gap: 0.08em;
  }

  .section {
    padding: 3.5rem 0;
  }

  .service-card,
  .price-card,
  .add-ons-card,
  .faq-list details {
    border-radius: 1.3rem;
  }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .pill-button {
    width: 100%;
  }

  .video-poster {
    min-height: 20rem;
  }

  .video-embed {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .partner-logo-tile {
    min-height: 5.1rem;
    padding: 0.85rem 1rem;
  }

  .partner-logo-tile img {
    max-height: 2.4rem;
  }

  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .partner-logo-tile {
    min-height: 4.65rem;
    padding: 0.7rem 0.85rem;
  }

  .partner-logo-tile img {
    max-height: 2rem;
  }
}
