:root {
  --bg: #0b0b0d;
  --paper: #141418;
  --ink: #ffffff;
  --muted: #c9c9d6;
  --line: #343443;
  --accent: #8de3c4;
  --accent-dark: #64cfae;
  --accent-warm: #ffd84d;
  --accent-soft: #1d1f23;
  --card: #141418;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --max: 1160px;
  --font-display: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(141, 227, 196, 0.18), transparent 28%),
    linear-gradient(180deg, #0f0f14 0%, var(--bg) 100%);
  line-height: 1.62;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  color: var(--accent-warm);
}

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

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(11, 11, 13, 0.88);
  border-bottom: 1px solid rgba(52, 52, 67, 0.75);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  width: min(230px, 38vw);
  height: 31px;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 18px;
}

.site-nav a,
.footer-column a {
  text-decoration: none;
}

.site-nav a,
.footer-column a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.site-nav a:hover,
.footer-column a:hover,
.brand:hover {
  color: var(--accent-dark);
}

.site-menu {
  display: none;
  position: relative;
}

.site-menu summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--ink);
  background: rgba(29, 29, 36, 0.86);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
}

.site-menu summary::-webkit-details-marker {
  display: none;
}

.site-menu .site-nav {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(280px, calc(100vw - 24px));
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(20, 20, 24, 0.98);
  box-shadow: var(--shadow);
}

.site-menu:not([open]) > .site-nav {
  display: none;
}

.site-menu .site-nav a {
  border-radius: 8px;
  padding: 10px 12px;
}

.site-menu .site-nav a:hover {
  color: #141418;
  background: var(--accent);
}

.hero {
  padding: 88px 0 56px;
}

.compact-hero {
  padding: 72px 0 34px;
}

.hero-grid,
.section-grid,
.cards {
  display: grid;
  gap: 22px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: start;
  gap: 34px;
}

.hero-copy {
  min-width: 0;
}

.eyebrow,
.section-kicker,
.card-label,
.panel-label,
.footer-heading {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero h1,
.content-section h2,
.card h3,
.panel-quote,
.motto-line,
.footer-mark {
  font-family: var(--font-display);
}

.hero h1,
.content-section h2 {
  margin: 0 0 16px;
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(2.3rem, 6.3vw, 4.3rem);
}

.compact-hero h1 {
  max-width: 920px;
  font-size: clamp(2.2rem, 5.6vw, 4rem);
}

.hero-lead,
.section-lead,
.section-body p,
.card p,
.tab-lead,
.form-note {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-lead {
  max-width: 720px;
  margin: 0 0 24px;
}

.hero-lead p,
.section-body p,
.card p {
  margin: 0 0 16px;
}

.hero-lead p:last-child,
.section-body p:last-child,
.card p:last-child {
  margin-bottom: 0;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #141418;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(29, 29, 36, 0.8);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-panel,
.card,
.contact-form,
.tabs,
.callout {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel,
.card,
.contact-form,
.tabs {
  padding: 22px;
}

.panel-quote {
  margin: 8px 0 18px;
  font-size: 1.55rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.panel-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.panel-stack span {
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
}

.statement-band {
  border-top: 1px solid rgba(52, 52, 67, 0.7);
  border-bottom: 1px solid rgba(52, 52, 67, 0.7);
  background: rgba(20, 20, 24, 0.62);
}

.statement-band .wrap {
  padding: 18px 0;
}

.statement-band p {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.content-section {
  padding: 72px 0;
  border-top: 1px solid rgba(52, 52, 67, 0.55);
}

.content-section.alt {
  background: rgba(20, 20, 24, 0.58);
}

.section-grid {
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: 34px;
  align-items: start;
}

.section-intro h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
}

.section-intro.wide {
  max-width: 860px;
  margin-bottom: 24px;
}

.section-lead {
  max-width: 780px;
  margin: 12px 0 0;
}

.section-body p:first-child {
  color: var(--ink);
}

.cards {
  gap: 18px;
}

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

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

.card h3 {
  margin: 8px 0 10px;
  font-size: 1.4rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.tabs {
  max-width: 900px;
}

.tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.tab-nav button {
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 9px 13px;
}

.tab-nav button[aria-selected="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #141418;
}

.tab-panel[hidden] {
  display: none;
}

.tab-lead {
  margin: 0;
  color: var(--ink);
  font-size: 1.2rem;
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

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

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(29, 29, 36, 0.86);
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
}

.link-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0 42px;
  background: rgba(11, 11, 13, 0.86);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.45fr) repeat(4, minmax(130px, 1fr));
  gap: 28px;
  align-items: start;
}

.footer-brand,
.footer-column {
  display: grid;
  gap: 10px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.footer-mark {
  color: var(--ink) !important;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.footer-brand p:last-child {
  max-width: 280px;
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .section-grid,
  .cards-two,
  .cards-three,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    max-width: 420px;
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(var(--max), calc(100% - 24px));
  }

  .site-header {
    position: sticky;
  }

  .header-row {
    gap: 12px;
    padding: 12px 0;
  }

  .brand {
    width: min(205px, 58vw);
    height: 28px;
  }

  .site-nav-desktop {
    display: none;
  }

  .site-menu {
    display: block;
    margin-left: auto;
  }

  .hero {
    padding-top: 50px;
    padding-bottom: 40px;
  }

  .compact-hero {
    padding-top: 44px;
    padding-bottom: 34px;
  }

  .hero h1 {
    font-size: clamp(1.95rem, 8.8vw, 2.85rem);
  }

  .hero-lead,
  .section-lead,
  .section-body p,
  .card p,
  .tab-lead {
    font-size: 0.98rem;
  }

  .panel-quote {
    font-size: 1.3rem;
  }

  .statement-band p {
    font-size: 1rem;
  }

  .content-section {
    padding: 48px 0;
  }

  .section-intro h2 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .btn {
    width: 100%;
  }

  .hero-actions,
  .form-actions {
    flex-direction: column;
  }

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

@media (max-width: 480px) {
  .wrap {
    width: min(var(--max), calc(100% - 18px));
  }

  .hero {
    padding-top: 38px;
    padding-bottom: 30px;
  }

  .compact-hero {
    padding-top: 34px;
    padding-bottom: 28px;
  }

  .hero-panel,
  .card,
  .contact-form,
  .tabs {
    padding: 16px;
  }

  .panel-stack {
    gap: 8px;
  }

  .panel-stack span {
    padding: 8px 10px;
  }
}
