:root {
  --bg: #051720;
  --bg-strong: #0a1d2b;
  --bg-soft: #10293b;
  --panel: rgba(12, 27, 38, 0.82);
  --panel-strong: #0f2333;
  --panel-alt: #0d1e2a;
  --line: rgba(124, 163, 185, 0.2);
  --text: #ebf7ff;
  --muted: #afd0e5;
  --primary: #6fe7ff;
  --primary-strong: #25d0ff;
  --accent: #82f4d1;
  --accent-warm: #f7d895;
  --shadow: rgba(6, 13, 20, 0.42);
  --max-width: 1180px;
}

:root[data-theme="light"] {
  --bg: #f3f7f9;
  --bg-strong: #ffffff;
  --bg-soft: #e8f0f4;
  --panel: rgba(255, 255, 255, 0.94);
  --panel-strong: #ffffff;
  --panel-alt: #edf5f8;
  --line: rgba(11, 42, 58, 0.14);
  --text: #183447;
  --muted: #4d6674;
  --primary: #0f6275;
  --primary-strong: #0b4c62;
  --accent: #1a8d8b;
  --accent-warm: #bc7c3c;
  --shadow: rgba(8, 20, 28, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(39, 118, 160, 0.38), transparent 30%),
    radial-gradient(circle at bottom right, rgba(53, 209, 180, 0.18), transparent 28%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1,
h2,
h3,
.brand-text strong {
  font-family: "Cormorant Garamond", Georgia, serif;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.container {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.alt-panel {
  background: rgba(12, 27, 38, 0.56);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(4, 16, 23, 0.78);
  border-bottom: 1px solid rgba(126, 166, 190, 0.15);
}

:root[data-theme="light"] body {
  background:
    radial-gradient(circle at top left, rgba(67, 132, 167, 0.18), transparent 30%),
    radial-gradient(circle at bottom right, rgba(26, 141, 139, 0.12), transparent 28%),
    var(--bg);
}

:root[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.84);
  border-bottom-color: rgba(24, 52, 71, 0.12);
}

:root[data-theme="light"] .alt-panel {
  background: rgba(255, 255, 255, 0.72);
}

:root[data-theme="light"] .proof-panel,
:root[data-theme="light"] .info-card,
:root[data-theme="light"] .market-card,
:root[data-theme="light"] .service-card,
:root[data-theme="light"] .outcome-list div,
:root[data-theme="light"] .contact-box,
:root[data-theme="light"] .contact-form {
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--line);
  box-shadow: 0 18px 36px rgba(12, 30, 40, 0.06);
}

:root[data-theme="light"] .proof-item {
  background: rgba(239, 246, 249, 0.9);
  border-color: var(--line);
}

:root[data-theme="light"] .panel-header,
:root[data-theme="light"] .theme-toggle {
  background: rgba(255, 255, 255, 0.9);
}

:root[data-theme="light"] .button-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  border-color: rgba(24, 52, 71, 0.18);
}

:root[data-theme="light"] .field input,
:root[data-theme="light"] .field textarea {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(17, 53, 68, 0.16);
  color: var(--text);
}

:root[data-theme="light"] .field input::placeholder,
:root[data-theme="light"] .field textarea::placeholder {
  color: var(--muted);
  opacity: 0.9;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 999px;
  padding: 0.6rem 0.9rem;
  cursor: pointer;
  font-weight: 600;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
}

:root[data-theme="light"] .theme-toggle {
  background: rgba(14, 28, 36, 0.04);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #051720;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(38, 214, 255, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.main-nav a {
  position: relative;
  transition: color 200ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #061822;
  box-shadow: 0 14px 28px rgba(43, 214, 253, 0.3);
}

.button-secondary {
  border-color: rgba(126, 166, 190, 0.38);
  background: rgba(12, 27, 38, 0.48);
  color: var(--text);
}

.hero {
  padding: 5.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
}

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: var(--primary);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.eyebrow::before,
.section-tag::before {
  content: "";
  width: 2.3rem;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.hero-copy h1,
.section-heading h2,
.narrow h2,
.outcome-grid h2,
.contact-box h2 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(2.5rem, 4.5vw, 4.1rem);
  max-width: 640px;
  font-weight: 600;
}

.lede,
.section-copy,
.contact-box p,
.market-card p,
.info-card p,
.service-card p,
.outcome-list span,
.footer-wrap p {
  color: var(--muted);
}

.lede {
  margin-top: 1.2rem;
  max-width: 610px;
  font-size: 1.02rem;
  line-height: 1.7;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
}

.mini-stats li {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.mini-stats strong {
  display: block;
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}

.mini-stats span {
  color: var(--muted);
  font-size: 0.93rem;
}

.hero-visual {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.6;
}

.orb-one {
  width: 260px;
  height: 260px;
  background: rgba(71, 201, 255, 0.16);
  right: 6%;
  top: 12%;
}

.orb-two {
  width: 210px;
  height: 210px;
  background: rgba(130, 244, 209, 0.14);
  left: 8%;
  bottom: 8%;
}

.proof-panel {
  position: relative;
  width: min(100%, 450px);
  padding: 1.4rem;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 35, 51, 0.92), rgba(8, 21, 29, 0.82));
  border-radius: 1.5rem;
  box-shadow: 0 25px 60px var(--shadow);
}

.panel-header {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  font-weight: 600;
  color: var(--muted);
}

.status-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: 0 0 18px rgba(118, 244, 205, 0.9);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.proof-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(11, 22, 31, 0.7);
}

.proof-item span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-item strong {
  font-size: 1.12rem;
}

.feature-list {
  list-style: none;
  padding: 1.5rem 0 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.narrow {
  max-width: 760px;
  text-align: center;
}

.section-heading {
  margin-bottom: 2.4rem;
}

.section-heading h2,
.narrow h2,
.outcome-grid h2,
.contact-box h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

.section-copy {
  max-width: 760px;
  margin: 1rem auto 0;
  font-size: 1.05rem;
}

.platform-grid,
.markets-grid,
.service-grid {
  display: grid;
  gap: 1.1rem;
}

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

.info-card,
.market-card,
.service-card {
  padding: 1.5rem;
  border-radius: 1.15rem;
  border: 1px solid var(--line);
  background: rgba(13, 28, 38, 0.72);
  box-shadow: 0 22px 42px rgba(3, 10, 16, 0.28);
}

.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  border-radius: 0.65rem;
  background: rgba(111, 231, 255, 0.08);
  border: 1px solid rgba(111, 231, 255, 0.25);
  color: var(--primary);
  font-weight: 700;
}

.info-card h3,
.market-card h3,
.service-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
}

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

.market-card {
  min-height: 220px;
}

.service-wrap {
  display: grid;
  gap: 2rem;
}

.left {
  margin-bottom: 0;
}

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

.outcome-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
}

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

.outcome-list div {
  padding: 1.25rem 1.3rem;
  border-radius: 1rem;
  border: 1px solid var(--line);
  background: rgba(13, 28, 38, 0.72);
}

.outcome-list strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.06rem;
}

.contact-section {
  padding-top: 5rem;
  padding-bottom: 6rem;
}

.contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(16, 41, 59, 0.86), rgba(8, 18, 26, 0.8));
  box-shadow: 0 25px 58px rgba(1, 9, 13, 0.32);
}

.contact-box p {
  max-width: 640px;
  margin: 0.8rem 0 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.contact-form {
  margin-top: 1.75rem;
  padding: 1.5rem;
  border-radius: 1.2rem;
  border: 1px solid var(--line);
  background: rgba(12, 25, 35, 0.7);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field span {
  color: var(--muted);
  font-size: 0.9rem;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(126, 166, 190, 0.28);
  background: rgba(6, 17, 23, 0.9);
  color: var(--text);
  border-radius: 0.8rem;
  padding: 0.82rem 0.9rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid rgba(111, 231, 255, 0.35);
  border-color: rgba(111, 231, 255, 0.6);
}

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

.form-actions {
  margin-top: 1rem;
}

.site-footer {
  padding: 2rem 0 3.5rem;
  border-top: 1px solid var(--line);
}

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

.footer-brand {
  margin: 0 0 0.25rem;
  color: var(--text);
  font-weight: 700;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
  color: var(--muted);
}

.footer-meta a {
  color: var(--primary);
}

@media (max-width: 980px) {
  .hero-grid,
  .outcome-grid,
  .contact-box {
    grid-template-columns: 1fr;
    display: grid;
  }

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

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

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

  .main-nav {
    display: none;
  }

  .nav-button {
    display: none;
  }
}

@media (max-width: 680px) {
  .section {
    padding: 4.5rem 0;
  }

  .hero {
    padding-top: 4rem;
  }

  .mini-stats,
  .platform-grid,
  .markets-grid {
    grid-template-columns: 1fr;
  }

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

  .card-side {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }

  .contact-actions,
  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-meta {
    align-items: flex-start;
  }
}
