:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #eaf0f7;
  --text: #111827;
  --text-soft: #526070;
  --line: #cfd8e3;
  --line-strong: #aebaca;
  --primary: #087cca;
  --primary-deep: #075a96;
  --primary-contrast: #ffffff;
  --header: rgba(244, 247, 251, 0.9);
  --hero-overlay: rgba(244, 247, 251, 0.91);
  --shadow: 0 18px 50px rgba(31, 49, 72, 0.11);
  --tony: #087cca;
  --tony-soft: #e2f3ff;
  --mark: #16825d;
  --mark-soft: #e1f5ed;
  --james: #b9650a;
  --james-soft: #fff1d9;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #07111f;
  --surface: #0d1b2a;
  --surface-soft: #122539;
  --text: #f4f7fb;
  --text-soft: #aab8c8;
  --line: #243b51;
  --line-strong: #3c566f;
  --primary: #37b7ff;
  --primary-deep: #8ad6ff;
  --primary-contrast: #04101d;
  --header: rgba(7, 17, 31, 0.9);
  --hero-overlay: rgba(7, 17, 31, 0.84);
  --shadow: 0 18px 54px rgba(0, 0, 0, 0.36);
  --tony: #37b7ff;
  --tony-soft: #0b3048;
  --mark: #53d5a4;
  --mark-soft: #123b31;
  --james: #ffb653;
  --james-soft: #422c13;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  transition: background-color 180ms ease, color 180ms ease;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--text);
  color: var(--bg);
  padding: 10px 14px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  background: var(--header);
  border-color: var(--line);
  box-shadow: 0 8px 26px rgba(7, 17, 31, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner,
.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  display: block;
  width: 154px;
  height: 46px;
  overflow: hidden;
}

.brand-logo {
  position: absolute;
  width: 160px;
  height: 160px;
  max-width: none;
  top: -54px;
  left: -3px;
  object-fit: contain;
  transition: opacity 180ms ease, transform 240ms ease;
}

.brand:hover .brand-logo,
.brand:focus-visible .brand-logo {
  transform: scale(1.025);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a,
.mobile-nav a,
.nav-dropdown-button {
  color: var(--text-soft);
  font-size: 0.89rem;
  font-weight: 600;
  text-decoration: none;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.mobile-nav a:hover,
.mobile-nav a:focus-visible,
.nav-dropdown-button:hover,
.nav-dropdown-button:focus-visible {
  color: var(--text);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-dropdown-button span {
  color: var(--primary-deep);
  font-size: 0.95rem;
  transition: transform 160ms ease;
}

.nav-dropdown.is-open .nav-dropdown-button span {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 34px;
  right: 0;
  min-width: 210px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.nav-menu-label {
  display: block;
  padding: 8px 10px 6px;
  color: var(--primary-deep);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-dropdown-menu a,
.nav-dropdown-menu .submenu-disabled {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 6px;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
  background: var(--surface-soft);
}

.submenu-disabled {
  color: var(--text-soft);
  cursor: default;
  opacity: 0.72;
}

.submenu-disabled small {
  color: var(--primary-deep);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: var(--primary);
}

.theme-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.theme-icon-dark,
html[data-theme="dark"] .theme-icon-light {
  display: none;
}

html[data-theme="dark"] .theme-icon-dark {
  display: inline;
}

.language-picker {
  position: relative;
}

.flag {
  width: 27px;
  height: 27px;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--line-strong) 75%, transparent);
  background: var(--surface-soft);
  box-shadow: 0 2px 7px rgba(7, 17, 31, 0.16);
}

.flag img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.language-menu {
  position: absolute;
  top: 50px;
  right: 0;
  width: 210px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.language-option {
  width: 100%;
  min-height: 48px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  text-align: left;
}

.language-option.is-active {
  background: var(--surface-soft);
}

.language-option:disabled {
  color: var(--text-soft);
}

.language-option small {
  font-size: 0.63rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--primary);
  border-radius: 6px;
  background: var(--primary);
  color: var(--primary-contrast);
  padding: 11px 20px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 26px color-mix(in srgb, var(--primary) 20%, transparent);
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px color-mix(in srgb, var(--primary) 28%, transparent);
}

.button-small {
  min-height: 40px;
  padding: 8px 15px;
  font-size: 0.82rem;
}

.menu-toggle {
  display: none;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 2px 0;
  background: currentColor;
}

.mobile-nav {
  width: 100%;
  padding: 12px 24px 24px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.mobile-nav a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.mobile-nav-group {
  border-bottom: 1px solid var(--line);
}

.mobile-nav-group summary {
  padding: 13px 0;
  color: var(--text-soft);
  font-size: 0.89rem;
  font-weight: 600;
  cursor: pointer;
}

.mobile-nav-group > span:not(.submenu-disabled) {
  display: block;
  padding: 6px 0 2px;
  color: var(--primary-deep);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mobile-nav-group a,
.mobile-nav-group .submenu-disabled {
  margin-left: 16px;
}

.mobile-nav-group .submenu-disabled {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  font-size: 0.89rem;
}

.hero {
  position: relative;
  min-height: min(760px, 88vh);
  padding: 150px 0 100px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #070b10;
}

.hero-media,
.hero-media::after,
.hero-final-image,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  z-index: 0;
  pointer-events: none;
}

.hero-media::after {
  z-index: 2;
  content: "";
  background: linear-gradient(90deg, var(--hero-overlay) 0%, var(--hero-overlay) 40%, rgba(244, 247, 251, 0.56) 70%, rgba(244, 247, 251, 0.16) 100%);
}

html[data-theme="dark"] .hero-media::after {
  background: linear-gradient(90deg, var(--hero-overlay) 0%, var(--hero-overlay) 44%, rgba(7, 17, 31, 0.59) 72%, rgba(7, 17, 31, 0.22) 100%);
}

.hero-final-image,
.hero-video {
  object-fit: cover;
  object-position: center;
}

.hero-final-image {
  z-index: 0;
}

.hero-video {
  z-index: 1;
}

.hero-video.is-finished {
  visibility: hidden;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hero-inner > * {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--primary-deep);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.8rem, 8vw, 7.4rem);
  line-height: 0.92;
  font-weight: 800;
}

.hero-slogan {
  margin: 28px 0 12px;
  color: var(--text);
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.3;
  font-weight: 700;
}

.hero-copy {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.text-link,
.agent-link {
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover,
.agent-link:hover {
  color: var(--primary-deep);
}

.hero-status {
  position: absolute;
  z-index: 4;
  inset: auto 0 0;
  min-height: 64px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--line);
  background: var(--header);
  backdrop-filter: blur(14px);
}

.hero-status span {
  padding: 0 28px;
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-status span + span {
  border-left: 1px solid var(--line);
}

.section-band {
  padding: 108px 0;
  border-bottom: 1px solid var(--line);
}

.section-band:nth-of-type(even) {
  background: var(--surface);
}

.intro-grid,
.tony-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 90px;
  align-items: start;
}

h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.1rem, 4vw, 3.7rem);
  line-height: 1.1;
  font-weight: 750;
}

.intro-copy {
  color: var(--text-soft);
  font-size: 1.08rem;
}

.intro-copy p:first-child {
  margin-top: 4px;
}

.section-heading {
  margin-bottom: 52px;
}

.steps {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.steps li {
  min-height: 258px;
  padding: 30px 36px 0 0;
}

.steps li + li {
  padding-left: 36px;
  border-left: 1px solid var(--line);
}

.step-number {
  color: var(--primary-deep);
  font-size: 0.72rem;
  font-weight: 800;
}

.steps h3 {
  margin: 60px 0 10px;
  font-size: 1.25rem;
}

.steps p,
.section-heading > p,
.trust-points p,
.story-placeholders p,
.outcome-list p {
  margin: 0;
  color: var(--text-soft);
}

.agents-heading,
.trust-heading {
  display: grid;
  grid-template-columns: 1.55fr 0.7fr;
  align-items: end;
  gap: 68px;
}

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

.agent-card {
  position: relative;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--agent-color);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.agent-tony { --agent-color: var(--tony); --agent-soft: var(--tony-soft); }
.agent-mark { --agent-color: var(--mark); --agent-soft: var(--mark-soft); }
.agent-james { --agent-color: var(--james); --agent-soft: var(--james-soft); }

.agent-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.agent-avatar {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--agent-soft);
  color: var(--agent-color);
  font-size: 1.2rem;
  font-weight: 800;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.agent-state {
  color: var(--agent-color);
  font-size: 0.67rem;
  font-weight: 800;
  text-transform: uppercase;
}

.agent-role {
  margin: 28px 0 3px;
  color: var(--agent-color);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.agent-card h3 {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.15;
}

.agent-description {
  min-height: 105px;
  color: var(--text-soft);
}

.agent-card ul {
  min-height: 142px;
  margin: 24px 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.agent-card li {
  position: relative;
  padding: 5px 0 5px 17px;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.agent-card li::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--agent-color);
}

.agent-link {
  color: var(--agent-color);
}

.tony-feature {
  background: var(--tony-soft) !important;
}

.tony-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin: 26px 0 34px;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.button-tony {
  --primary: var(--tony);
}

.outcome-list {
  border-top: 1px solid var(--line-strong);
}

.outcome-list > div {
  position: relative;
  padding: 24px 0 24px 62px;
  border-bottom: 1px solid var(--line);
}

.outcome-list span {
  position: absolute;
  left: 0;
  color: var(--tony);
  font-size: 0.72rem;
  font-weight: 800;
}

.outcome-list strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.02rem;
}

.trust-points,
.story-placeholders {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.trust-points > div,
.story-placeholders > div {
  padding-top: 24px;
  border-top: 2px solid var(--line-strong);
  transition: transform 200ms ease, border-color 200ms ease;
}

.trust-points strong,
.story-placeholders strong {
  display: block;
  margin-bottom: 9px;
  font-size: 1.06rem;
}

.story-placeholders span {
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--primary-deep);
  transition: transform 220ms ease, background-color 220ms ease;
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.75, 0.2, 1);
  transition-delay: calc(var(--reveal-index, 0) * 70ms);
}

.motion-ready [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-typewriter].is-typing::after {
  content: "";
  width: 2px;
  height: 0.9em;
  display: inline-block;
  margin-left: 5px;
  vertical-align: -0.06em;
  background: var(--primary);
  animation: typewriter-cursor 720ms steps(1) infinite;
}

@keyframes typewriter-cursor {
  50% { opacity: 0; }
}

@media (hover: hover) and (pointer: fine) {
  .agent-card:hover {
    z-index: 1;
    transform: translateY(-7px) scale(1.018);
    border-color: color-mix(in srgb, var(--agent-color) 64%, var(--line));
    box-shadow: 0 24px 58px color-mix(in srgb, var(--agent-color) 16%, rgba(7, 17, 31, 0.14));
  }

  .agent-card:hover .agent-avatar {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--agent-color) 22%, transparent);
  }

  .trust-points > div:hover,
  .story-placeholders > div:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
  }

  .story-placeholders > div:hover span {
    transform: scale(1.08);
    background: var(--surface-soft);
  }
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 24px 44px 24px 0;
  color: var(--text);
  font-weight: 750;
  cursor: pointer;
}

.faq-list details p {
  margin: -6px 0 24px;
  color: var(--text-soft);
}

.contact-cta {
  padding: 92px 0;
  background: var(--text) !important;
  color: var(--bg);
}

.contact-inner {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr auto;
  align-items: center;
  gap: 44px;
}

.contact-inner .eyebrow {
  color: var(--primary);
}

.contact-inner h2 {
  font-size: clamp(1.9rem, 3.5vw, 3.1rem);
}

.site-footer {
  padding: 64px 0 30px;
  background: var(--surface);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 48px;
}

.footer-brand {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
}

.footer-grid p {
  color: var(--text-soft);
}

.footer-grid .footer-legal {
  margin-top: 24px;
  font-size: 0.76rem;
  line-height: 1.75;
}

.footer-links {
  display: grid;
  gap: 8px;
  text-align: right;
}

.footer-links a {
  color: var(--text-soft);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--primary-deep);
}

.footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.76rem;
}

@media (max-width: 980px) {
  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .hero {
    min-height: min(760px, 88vh);
  }

  .intro-grid,
  .tony-grid,
  .faq-grid,
  .agents-heading,
  .trust-heading,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

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

  .agent-description,
  .agent-card ul {
    min-height: 0;
  }

  .contact-inner {
    justify-items: start;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .section-inner,
  .hero-inner {
    width: min(100% - 32px, 1180px);
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-mark {
    width: 119px;
    height: 40px;
  }

  .brand-logo {
    width: 126px;
    height: 126px;
    top: -42px;
  }

  .hero {
    min-height: 720px;
    padding: 118px 0 126px;
  }

  .hero-media::after {
    background: linear-gradient(180deg, var(--hero-overlay) 0%, var(--hero-overlay) 68%, rgba(244, 247, 251, 0.62) 100%);
  }

  html[data-theme="dark"] .hero-media::after {
    background: linear-gradient(180deg, var(--hero-overlay) 0%, var(--hero-overlay) 68%, rgba(7, 17, 31, 0.66) 100%);
  }

  .hero-final-image,
  .hero-video {
    object-position: 58% center;
  }

  .hero h1 {
    font-size: 3.9rem;
  }

  .hero-copy {
    font-size: 0.98rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero-status {
    min-height: 88px;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 16px;
  }

  .hero-status span {
    min-width: max-content;
    padding: 0 18px;
  }

  .section-band {
    padding: 76px 0;
  }

  h2 {
    font-size: 2.15rem;
  }

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

  .steps li,
  .steps li + li {
    min-height: 0;
    padding: 24px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .steps h3 {
    margin: 28px 0 8px;
  }

  .trust-points,
  .story-placeholders {
    grid-template-columns: 1fr;
  }

  .agent-card {
    padding: 24px;
  }

  .footer-grid,
  .footer-bottom {
    flex-direction: column;
  }

  .footer-links {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .brand-mark {
    width: 104px;
  }

  .header-actions {
    gap: 5px;
  }

  .icon-button {
    width: 38px;
    height: 38px;
  }

  .hero h1 {
    font-size: 3.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }

  [data-typewriter].is-typing::after {
    display: none;
  }

  .hero-video {
    display: none;
  }
}
