:root {
  --bg: #f3eee6;
  --bg-soft: #fbf8f2;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: #fffdfa;
  --text: #16241d;
  --muted: #53665c;
  --line: rgba(22, 36, 29, 0.11);
  --line-strong: rgba(22, 36, 29, 0.18);
  --blue: #1f88d9;
  --orange: #ff9900;
  --green: #0a6e4e;
  --shadow-soft: 0 18px 40px rgba(18, 39, 30, 0.08);
  --shadow-strong: 0 34px 82px rgba(18, 39, 30, 0.14);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --shell: min(1160px, calc(100vw - 2rem));
  --nav-height: 86px;
  --display-font: "Avenir Next", "Segoe UI Variable Display", "Trebuchet MS", sans-serif;
  --body-font: "Trebuchet MS", "Segoe UI Variable Text", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body-font);
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(255, 153, 0, 0.12), transparent 28%),
    radial-gradient(circle at top left, rgba(31, 136, 217, 0.12), transparent 30%),
    linear-gradient(180deg, #fbf8f2 0%, #f3eee6 56%, #f0ebe3 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(22, 36, 29, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 36, 29, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 78%);
}

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

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

p,
li {
  line-height: 1.75;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 248, 242, 0.8);
  backdrop-filter: blur(20px);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--nav-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.65));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), var(--shadow-soft);
}

.brand-mark img {
  width: 34px;
  height: 34px;
}

.brand-copy {
  display: grid;
  gap: 0.08rem;
}

.brand-copy strong,
.footer-card strong {
  font-family: var(--display-font);
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.brand-copy span,
.footer-card p,
.site-nav a,
.pill,
.panel-label,
.eyebrow {
  color: var(--muted);
}

.brand-copy span,
.panel-label,
.eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.site-nav a,
.footer-nav a {
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a {
  padding: 0.78rem 1rem;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(22, 36, 29, 0.06);
}

main {
  padding-bottom: 4rem;
}

.hero,
.page-main {
  animation: lift-in 720ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.88fr);
  gap: 1.4rem;
  align-items: start;
  padding: clamp(2.8rem, 5vw, 5.4rem) 0 2rem;
}

.hero-copy {
  padding-block: 0.35rem;
}

.hero-copy h1,
.page-hero h1,
.section-intro h2,
.cta-band h2 {
  font-family: var(--display-font);
  letter-spacing: -0.06em;
  line-height: 0.95;
  margin: 0;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 7vw, 5.6rem);
  margin-block: 0.25rem 1rem;
}

.lead,
.page-lead,
.section-intro p,
.cta-band > p,
.card p,
.panel-note p,
.contact-card p,
.prose-card p,
.prose-card li {
  color: var(--muted);
}

.lead,
.page-lead {
  max-width: 42rem;
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
}

.action-row,
.pill-row,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.action-row {
  margin: 2rem 0 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.88rem 1.3rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  box-shadow: var(--shadow-soft);
}

.button:hover,
.button:focus-visible,
.card:hover,
.card:focus-within,
.card-panel:hover,
.card-panel:focus-within {
  transform: translateY(-3px);
}

.button-primary {
  color: #111311;
  background: linear-gradient(135deg, #ff9900, #ffb84c 78%);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
}

.button:hover,
.button:focus-visible,
.card:hover,
.card:focus-within,
.card-panel:hover,
.card-panel:focus-within {
  box-shadow: var(--shadow-strong);
}

.stat-row,
.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.stat-row li,
.card,
.card-panel,
.prose-card,
.cta-band {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.stat-row li {
  padding: 1rem 1.08rem;
  border-radius: 22px;
}

.stat-row strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}

.card-panel,
.prose-card,
.cta-band,
.product-visual,
.card,
.contact-card {
  border-radius: var(--radius-lg);
}

.card-panel,
.contact-card,
.prose-card,
.product-details {
  padding: clamp(1.35rem, 2.2vw, 2rem);
}

.hero-panel {
  position: relative;
  overflow: hidden;
}

.hero-panel::before,
.product-visual::before {
  content: "";
  position: absolute;
  inset: auto auto -42px -42px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 136, 217, 0.22), transparent 66%);
}

.hero-panel h2,
.product-details h3,
.card h3,
.prose-card h2,
.legal-summary h2,
.cta-band h2,
.contact-card h2,
.product-visual h3 {
  font-family: var(--display-font);
  letter-spacing: -0.04em;
}

.hero-panel h2,
.contact-card h2,
.product-visual h3 {
  margin: 0.25rem 0 0.7rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.panel-note {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.panel-note strong {
  display: block;
  margin-bottom: 0.35rem;
}

.pill-row {
  margin-top: 1.1rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  border: 1px solid rgba(22, 36, 29, 0.09);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.section {
  padding: 1.3rem 0 1.6rem;
  animation: lift-in 780ms cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.section-intro > div,
.cta-band > div {
  display: grid;
  gap: 0.5rem;
}

.section-intro h2,
.cta-band h2 {
  max-width: 14ch;
  font-size: clamp(2.1rem, 4.6vw, 3.45rem);
}

.section-intro p {
  max-width: 36rem;
  margin: 0;
}

.card-grid,
.content-grid,
.product-showcase,
.legal-layout {
  display: grid;
  gap: 1rem;
}

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

.card {
  padding: 1.35rem;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card h3,
.product-details h3,
.cta-band h2,
.side-panel h3 {
  font-size: 1.3rem;
  margin: 0.45rem 0 0.65rem;
}

.accent-line {
  display: inline-block;
  width: 3.7rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

.tone-blue .accent-line {
  background: linear-gradient(90deg, var(--blue), #78befb);
}

.tone-orange .accent-line {
  background: linear-gradient(90deg, var(--orange), #ffc167);
}

.tone-green .accent-line {
  background: linear-gradient(90deg, var(--green), #2aa275);
}

.product-showcase {
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.1fr);
}

.product-visual {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 2.3vw, 2rem);
  color: #f2f8f4;
  background: linear-gradient(135deg, #0d2235 0%, #173127 44%, #0a6e4e 100%);
  box-shadow: var(--shadow-strong);
}

.product-badge {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-mark {
  width: 72px;
  height: 72px;
  margin-bottom: 1rem;
}

.product-visual p,
.pill-row-dark .pill {
  color: rgba(242, 248, 244, 0.84);
}

.pill-row-dark .pill {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.14);
}

.check-list {
  display: grid;
  gap: 0.9rem;
}

.check-list li {
  display: flex;
  gap: 0.82rem;
  align-items: flex-start;
}

.check-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 0.86rem;
  height: 0.86rem;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  box-shadow: 0 0 0 6px rgba(255, 153, 0, 0.08);
}

.check-list strong,
.contact-link,
.prose-card strong,
.legal-summary h2 {
  color: var(--text);
}

.check-list p,
.footer-card p,
.legal-summary p,
.legal-summary a {
  margin: 0.2rem 0 0;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr) auto;
  align-items: center;
  gap: 1rem;
  margin-top: 1.4rem;
  padding: clamp(1.4rem, 2.3vw, 2rem);
}

.page-main {
  padding: clamp(2.4rem, 5vw, 4rem) 0 0;
}

.page-hero {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.6rem;
}

.page-hero h1 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 5vw, 4.55rem);
}

.legal-hero h1 {
  max-width: 14ch;
}

.content-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.75fr);
  align-items: start;
}

.stack-column {
  display: grid;
  gap: 1rem;
}

.side-panel {
  padding: 1.35rem;
}

.contact-card,
.legal-summary {
  position: sticky;
  top: calc(var(--nav-height) + 1rem);
}

.contact-link {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.contact-link:hover,
.contact-link:focus-visible,
.prose-card a:hover,
.prose-card a:focus-visible,
.legal-summary a:hover,
.legal-summary a:focus-visible,
.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--blue);
}

.legal-layout {
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  align-items: start;
}

.legal-card h2:not(:first-child) {
  margin-top: 1.7rem;
}

.prose-card ul {
  padding-left: 1.25rem;
  margin: 0.4rem 0 0;
}

.prose-card a,
.legal-summary a,
.footer-nav a {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.16em;
}

.site-footer {
  padding-bottom: 3rem;
}

.footer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.4rem;
  padding: 1.2rem 1.35rem;
  color: #edf4f0;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(13, 34, 53, 0.95), rgba(23, 49, 39, 0.97));
}

.footer-card p,
.footer-nav a {
  color: rgba(237, 244, 240, 0.78);
}

@keyframes lift-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@media (max-width: 980px) {
  .hero,
  .product-showcase,
  .content-grid,
  .legal-layout,
  .cta-band,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .section-intro,
  .footer-card {
    align-items: start;
  }

  .contact-card,
  .legal-summary {
    position: static;
  }

  .section-intro h2,
  .cta-band h2,
  .page-hero h1,
  .hero-copy h1 {
    max-width: none;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: min(100vw - 1rem, 100%);
    --nav-height: auto;
  }

  .header-row,
  .site-footer {
    padding-block: 0.9rem;
  }

  .header-row,
  .footer-card {
    flex-direction: column;
  }

  .brand,
  .site-nav,
  .footer-nav {
    width: 100%;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .site-nav a {
    padding-inline: 0.92rem;
  }

  .stat-row {
    grid-template-columns: 1fr;
  }

  .hero,
  .page-main {
    padding-top: 2rem;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(2.4rem, 11vw, 4rem);
  }

  .section-intro h2,
  .cta-band h2 {
    font-size: clamp(1.9rem, 10vw, 3rem);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}