:root {
  --ink: #17213b;
  --muted: #65708a;
  --navy: #111a34;
  --blue: #4263eb;
  --cyan: #65d6e8;
  --pale: #f4f7fc;
  --line: #e5eaf3;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(24, 40, 80, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
  background: #fff;
}

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.narrow {
  width: min(800px, calc(100% - 48px));
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: #fff;
  padding: 10px;
  z-index: 20;
}

.skip-link:focus {
  left: 12px;
}

/* Header */

.site-header {
  height: 84px;
  border-bottom: 1px solid rgba(229, 234, 243, 0.8);
  background: rgba(255, 255, 255, 0.94);
  position: relative;
  z-index: 5;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
  line-height: 1.1;
}

.brand img {
  display: block;
}

.brand-logo {
  height: 44px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 34px;
  margin-left: auto;
}

.main-nav a,
.footer-links a {
  font-size: 14px;
  text-decoration: none;
  color: #59647d;
  font-weight: 600;
}

.main-nav a:hover,
.footer-links a:hover,
.text-link:hover {
  color: var(--blue);
}

.header-cta {
  font-size: 13px;
  text-decoration: none;
  font-weight: 700;
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.header-cta span {
  color: var(--blue);
  padding-left: 8px;
}

/* Hero */

.hero {
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 82% 43%,
      rgba(95, 126, 245, 0.12),
      transparent 35%
    ),
    linear-gradient(180deg, #fbfcff, #fff);
  padding: 90px 0 96px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 50px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 800;
  color: var(--blue);
  margin: 0 0 18px;
}

.eyebrow-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #54c6d8;
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 0 4px rgba(84, 198, 216, 0.13);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(42px, 5.5vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  font-weight: 760;
  max-width: 700px;
}

.hero h1 span,
.section-heading h2 span,
.value-grid h2 span {
  color: var(--blue);
}

.hero-intro {
  font-size: 18px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 21px;
  border-radius: 9px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition:
    transform 0.18s,
    box-shadow 0.18s;
}

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

.button-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 9px 22px rgba(66, 99, 235, 0.2);
}

.button-primary:hover {
  box-shadow: 0 13px 26px rgba(66, 99, 235, 0.28);
}

.button-light {
  background: #fff;
  color: var(--navy);
}

.text-link {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}

.hero-proof {
  font-size: 11px;
  color: #8791a7;
  margin-top: 36px;
}

.proof-icon {
  color: #24a887;
  font-weight: 900;
  margin-right: 5px;
}

.proof-separator {
  padding: 0 7px;
  color: #c1c8d5;
}

/* Hero art */

.hero-art {
  height: 390px;
  position: relative;
  display: grid;
  place-items: center;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(75, 105, 220, 0.17);
  border-radius: 50%;
  transform: rotate(-24deg);
}

.orbit-one {
  width: 350px;
  height: 180px;
}

.orbit-two {
  width: 440px;
  height: 245px;
  transform: rotate(34deg);
}

.orbit-three {
  width: 300px;
  height: 300px;
  border-style: dashed;
}

.planet {
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(42, 66, 145, 0.18);
}

.planet-main {
  width: 150px;
  height: 150px;
  background: linear-gradient(140deg, #526ff0, #283d9b);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 39px;
  font-weight: 800;
  letter-spacing: -0.08em;
  box-shadow:
    0 22px 55px rgba(48, 70, 168, 0.3),
    inset -14px -16px 28px rgba(9, 20, 76, 0.22);
}

.planet-a {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #70e0e5, #3aaec8);
  top: 54px;
  right: 105px;
}

.planet-b {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #a8b6ff, #6179e9);
  bottom: 68px;
  left: 85px;
}

.planet-c {
  width: 14px;
  height: 14px;
  background: #f1bd76;
  top: 105px;
  left: 72px;
}

.star {
  position: absolute;
  color: #6c82ed;
}

.star-one {
  top: 38px;
  left: 44%;
}

.star-two {
  right: 8%;
  bottom: 85px;
  font-size: 26px;
  color: #59cbd8;
}

.star-three {
  left: 10%;
  bottom: 125px;
}

.art-label {
  position: absolute;
  bottom: 15px;
  right: 4%;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b96ad;
}

/* Sections */

.section {
  padding: 90px 0;
}

.products-section {
  background: #fff;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 38px;
}

.section-heading h2,
.value-grid h2,
.closing-inner h2 {
  font-size: clamp(32px, 4vw, 45px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0;
}

.section-heading .eyebrow {
  margin-bottom: 12px;
}

.section-heading > .text-link {
  margin-bottom: 8px;
}

/* Product cards */

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

.product-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 21px 22px;
  min-height: 300px;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    border-color 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #d7def0;
}

.product-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  margin-bottom: 22px;
  background: var(--pale);
  border: 1px solid var(--line);
}

.product-icon img {
  width: 32px;
  height: 32px;
  display: block;
  object-fit: contain;
}

.product-kicker {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: #8a94a9;
  font-weight: 800;
  margin-bottom: 8px;
}

.product-card h3 {
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.product-card > p:not(.product-kicker) {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 20px;
}

.product-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}

.product-link:hover {
  text-decoration: underline;
}

/* Value section */

.value-section {
  background: var(--navy);
  color: #fff;
  padding: 76px 0;
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
}

.value-grid .eyebrow {
  color: #91a5ff;
}

.value-grid h2 span {
  color: #83dce7;
}

.value-copy p {
  font-size: 16px;
  color: #c1c9dc;
  line-height: 1.8;
  margin-bottom: 24px;
}

/* Closing section */

.closing-section {
  background: var(--pale);
  text-align: center;
}

.closing-inner {
  max-width: 700px;
}

.closing-inner h2 {
  margin-bottom: 16px;
}

.closing-inner > p:not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 26px;
}

/* Page hero and content pages */

.page-hero {
  background: linear-gradient(130deg, #f4f7ff, #fbfdff);
  padding: 90px 0 82px;
}

.page-hero h1 {
  font-size: clamp(40px, 5vw, 58px);
}

.page-hero p:not(.eyebrow) {
  font-size: 18px;
  color: var(--muted);
  max-width: 690px;
}

.product-list {
  display: grid;
  gap: 0;
}

.product-row {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 25px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  max-width: 850px;
}

.product-row .product-icon {
  margin: 0;
}

.product-row h2 {
  font-size: 25px;
  margin: 0 0 8px;
}

.product-row p:not(.product-kicker) {
  color: var(--muted);
  margin-bottom: 13px;
}

.prose h2 {
  font-size: 25px;
  margin: 34px 0 10px;
}

.prose p {
  color: #5f6b83;
  line-height: 1.85;
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.contact-panel a {
  color: var(--blue);
  font-weight: 700;
}

.small-note {
  font-size: 12px;
  color: #929bad !important;
}

.error-page .button {
  margin-top: 12px;
}

/* Footer */

.site-footer {
  background: #0d152b;
  color: #fff;
  padding: 54px 0 22px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  padding-bottom: 42px;
}

.brand-footer {
  color: #fff;
}

.logo-light {
  filter: brightness(0) invert(1);
  height: 40px;
}

.footer-brand p {
  font-size: 13px;
  color: #8d99b4;
  margin: 17px 0 0;
}

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

.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links strong {
  font-size: 12px;
  margin-bottom: 5px;
}

.footer-links a {
  font-size: 12px;
  color: #9da8bf;
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 19px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #7885a1;
  font-size: 10px;
}

/* Responsive: tablet */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-art {
    height: 320px;
    max-width: 560px;
    width: 100%;
    margin: auto;
  }

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

  .value-grid {
    gap: 35px;
  }

  .footer-links {
    gap: 35px;
  }
}

/* Responsive: mobile */

@media (max-width: 620px) {
  .container {
    width: min(100% - 36px, 1160px);
  }

  .narrow {
    width: min(100% - 36px, 800px);
  }

  .site-header {
    height: auto;
    min-height: 72px;
  }

  .header-inner {
    flex-wrap: wrap;
    padding: 15px 0;
    gap: 13px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }

  .main-nav a {
    font-size: 12px;
  }

  .header-cta {
    font-size: 11px;
    padding: 9px 12px;
  }

  .brand-logo {
    height: 38px;
  }

  .hero {
    padding: 64px 0 60px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-intro {
    font-size: 16px;
  }

  .hero-proof {
    line-height: 2;
  }

  .hero-art {
    height: 270px;
    transform: scale(0.86);
    margin: -5px auto;
  }

  .orbit-one {
    width: 290px;
  }

  .orbit-two {
    width: 350px;
  }

  .section {
    padding: 65px 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

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

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

  .value-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .value-section {
    padding: 60px 0;
  }

  .page-hero {
    padding: 65px 0;
  }

  .page-hero h1 {
    font-size: 42px;
  }

  .product-row {
    grid-template-columns: 52px 1fr;
    gap: 16px;
  }

  .product-row .product-icon {
    width: 42px;
    height: 42px;
  }

  .footer-top {
    flex-direction: column;
    gap: 35px;
  }

  .footer-links {
    justify-content: space-between;
    gap: 18px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 5px;
  }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

.contact-panel {
  margin-top: 48px;
  max-width: 700px;
}

.contact-panel h2 {
  font-size: 25px;
  margin: 0 0 8px;
}

.contact-intro {
  color: var(--muted);
  margin-bottom: 26px;
}

.contact-form {
  margin-top: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field-full {
  grid-column: 1/-1;
}

.form-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.form-field label span[aria-hidden="true"] {
  color: #d34b55;
}

.form-field .optional {
  font-weight: 500;
  color: var(--muted);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #dce2ed;
  border-radius: 9px;
  padding: 12px 13px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(66, 99, 235, 0.12);
}

.form-field textarea {
  resize: vertical;
  min-height: 150px;
}

.captcha-row {
  margin: 23px 0 18px;
  min-height: 65px;
}

.form-submit {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.form-submit span {
  padding-left: 8px;
}

.form-footnote {
  font-size: 11px;
  color: #929bad;
  margin: 13px 0 0;
}

.form-alert {
  border-radius: 9px;
  padding: 14px 16px;
  margin: 18px 0;
  font-size: 13px;
}

.form-alert p {
  font-weight: 700;
  margin: 0 0 6px;
}

.form-alert ul {
  margin: 0;
  padding-left: 20px;
}

.form-success {
  background: #eaf8f2;
  border: 1px solid #bce8d2;
  color: #176b4a;
}

.form-error {
  background: #fff1f1;
  border: 1px solid #f2caca;
  color: #9b3030;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 620px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field-full {
    grid-column: auto;
  }
}

.contact-form {
  display: grid;
  gap: 1.25rem;
  max-width: 700px;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field label {
  font-weight: 600;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font: inherit;
  box-sizing: border-box;
}

.form-field textarea {
  resize: vertical;
}

.form-errors,
.form-success {
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: 6px;
}

.form-errors {
  background: #fff1f0;
  border: 1px solid #e3a19d;
}

.form-success {
  background: #edf8f0;
  border: 1px solid #9bc9a7;
}

.form-errors ul {
  margin-bottom: 0;
}

/* Honeypot: hidden visually, but still present in the form. */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}
