@import url("/assets/css/brand-tokens.css");

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--brand-ink);
  background: var(--brand-white);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--brand-teal-700);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand-navy-900);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--brand-teal-600);
  outline-offset: 4px;
}

h1,
h2,
h3 {
  margin: 0 0 0.8rem;
  color: var(--brand-navy-900);
  font-weight: 720;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 17ch;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

h2 {
  max-width: 24ch;
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

p,
ul,
ol {
  margin: 0 0 1.25rem;
}

ul,
ol {
  padding-left: 1.3rem;
}

li + li {
  margin-top: 0.55rem;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--brand-white);
  background: var(--brand-navy-900);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.prelaunch {
  padding: 0.36rem 1rem;
  color: var(--brand-navy-900);
  background: #f6ead1;
  border-bottom: 1px solid #d9bd80;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
}

.shell {
  width: min(calc(100% - 2rem), var(--content-width));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid var(--brand-border);
}

.header-inner {
  display: flex;
  min-height: 5.4rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-link {
  flex: 0 0 auto;
}

.brand-link img {
  width: clamp(15rem, 25vw, 22rem);
  height: auto;
}

.desktop-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.65rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav a {
  color: var(--brand-ink);
  font-size: 0.92rem;
  font-weight: 670;
  text-decoration: none;
}

.desktop-nav a[aria-current="page"] {
  color: var(--brand-teal-700);
  text-decoration: underline;
  text-decoration-thickness: 0.16rem;
  text-underline-offset: 0.5rem;
}

.desktop-nav a.button,
.desktop-nav a.button:hover {
  color: var(--brand-white);
}

.mobile-nav {
  display: none;
}

.button,
.button-secondary {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border: 2px solid var(--brand-navy-900);
  border-radius: var(--radius-small);
  font-weight: 750;
  text-decoration: none;
}

.button {
  color: var(--brand-white);
  background: var(--brand-navy-900);
}

.button:hover {
  color: var(--brand-white);
  background: #091d2e;
}

.button-secondary {
  color: var(--brand-navy-900);
  background: transparent;
}

.button-secondary:hover {
  color: var(--brand-white);
  background: var(--brand-navy-900);
}

.button-small {
  min-height: 2.6rem;
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4.8rem, 10vw, 8.6rem) 0 clamp(4.4rem, 8vw, 7rem);
  background: var(--brand-off-white);
}

.hero::after {
  position: absolute;
  right: -7rem;
  bottom: -15rem;
  width: 38rem;
  height: 38rem;
  border: 5rem solid rgb(10 122 114 / 9%);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(19rem, 0.82fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--brand-teal-700);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 43rem;
  margin-top: 1.5rem;
  color: var(--brand-slate-700);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.hero-aside {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--brand-white);
  background: var(--brand-navy-900);
  border-top: 0.45rem solid var(--brand-teal-600);
}

.hero-aside strong {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

.hero-aside p,
.hero-aside ul {
  color: #d4e0e8;
}

.hero-aside-label {
  margin: 0 0 0.65rem;
  color: #71d1ca !important;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-aside ul {
  margin: 1rem 0 1.2rem;
  padding-left: 1.15rem;
  font-size: 0.95rem;
}

.hero-aside li + li {
  margin-top: 0.35rem;
}

.hero-aside a {
  color: #8bded8;
  font-weight: 750;
}

.button-disabled,
.button-disabled:hover {
  color: #dce5eb;
  background: var(--brand-slate-700);
  border-color: var(--brand-slate-700);
  cursor: not-allowed;
}

.section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
}

.section-compact {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-muted {
  background: var(--brand-off-white);
}

.section-dark {
  color: #e5edf2;
  background: var(--brand-navy-900);
}

.section-dark h2,
.section-dark h3,
.section-dark a {
  color: var(--brand-white);
}

.section-dark .eyebrow {
  color: #54c5bd;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 6rem);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-intro > :last-child {
  max-width: var(--measure);
  color: var(--brand-slate-700);
  font-size: 1.1rem;
}

.section-dark .section-intro > :last-child {
  color: #c9d7e2;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1.25rem;
}

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

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

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

.card {
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
  border-top: 0.28rem solid var(--brand-teal-600);
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.card-number {
  display: inline-block;
  margin-bottom: 1.2rem;
  color: var(--brand-teal-700);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 800;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: center;
}

.feature-panel {
  padding: clamp(1.8rem, 4vw, 3.2rem);
  background: var(--brand-white);
  border-left: 0.5rem solid var(--brand-teal-600);
  box-shadow: var(--shadow-card);
}

.check-list,
.boundary-list {
  padding: 0;
  list-style: none;
}

.check-list li,
.boundary-list li {
  position: relative;
  padding-left: 1.8rem;
}

.check-list li::before {
  position: absolute;
  top: 0.1rem;
  left: 0;
  color: var(--brand-teal-700);
  font-weight: 900;
  content: "✓";
}

.boundary-list li::before {
  position: absolute;
  top: 0.05rem;
  left: 0.1rem;
  color: var(--brand-slate-700);
  font-weight: 900;
  content: "—";
}

.page-hero {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: var(--brand-off-white);
  border-bottom: 1px solid var(--brand-border);
}

.page-hero p {
  max-width: 46rem;
  margin-top: 1.4rem;
  color: var(--brand-slate-700);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.breadcrumbs {
  margin-bottom: 1.5rem;
  color: var(--brand-slate-700);
  font-size: 0.85rem;
}

.breadcrumbs a {
  color: inherit;
}

.service-list {
  counter-reset: service;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--brand-border);
}

.service-row {
  counter-increment: service;
  display: grid;
  grid-template-columns: 5rem minmax(13rem, 0.55fr) minmax(0, 1fr);
  gap: 2rem;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--brand-border);
}

.service-row h2 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.service-row::before {
  color: var(--brand-teal-700);
  font-family: var(--font-mono);
  font-weight: 800;
  content: "0" counter(service);
}

.service-row p {
  color: var(--brand-slate-700);
}

.service-row p:last-child {
  margin-bottom: 0;
}

.process {
  counter-reset: process;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--brand-border);
  border-left: 1px solid var(--brand-border);
}

.process article {
  counter-increment: process;
  min-height: 14rem;
  padding: 2rem;
  border-right: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
}

.process article::before {
  display: block;
  margin-bottom: 2rem;
  color: var(--brand-teal-700);
  font-family: var(--font-mono);
  font-weight: 800;
  content: "0" counter(process);
}

.price-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: clamp(1.7rem, 4vw, 2.8rem);
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
}

.price {
  margin: 0.6rem 0 1.4rem;
  color: var(--brand-navy-900);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 780;
  line-height: 1;
}

.price small {
  font-size: 0.9rem;
  font-weight: 700;
}

.price-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.note {
  padding: 1.25rem 1.4rem;
  background: #eef5f4;
  border-left: 0.3rem solid var(--brand-teal-600);
}

.warning-note {
  padding: 1.25rem 1.4rem;
  color: #4f370a;
  background: #fff6e4;
  border-left: 0.3rem solid var(--brand-warning);
}

.demo-label {
  display: inline-flex;
  margin-bottom: 1.25rem;
  padding: 0.45rem 0.65rem;
  color: #5f3b00;
  background: #f6ead1;
  border: 1px solid #d9bd80;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--brand-border);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--brand-white);
}

th,
td {
  padding: 1rem;
  border-bottom: 1px solid var(--brand-border);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--brand-navy-900);
  background: var(--brand-off-white);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.topology-frame {
  padding: 1rem;
  background: var(--brand-white);
  border: 1px solid var(--brand-border);
}

.topology-frame figcaption {
  padding: 0.85rem 0.3rem 0;
  color: var(--brand-slate-700);
  font-size: 0.86rem;
}

.prose {
  max-width: 49rem;
}

.prose h2 {
  margin-top: 3.5rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.prose h3 {
  margin-top: 2.2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 7vw, 7rem);
}

.inquiry-template {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  color: #e8eff4;
  background: var(--brand-navy-900);
}

.inquiry-template h2,
.inquiry-template h3 {
  color: var(--brand-white);
}

.inquiry-template a {
  color: #71d1ca;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  color: var(--brand-white);
  background: var(--brand-navy-900);
  border-top: 0.5rem solid var(--brand-teal-600);
}

.cta h2 {
  color: var(--brand-white);
}

.cta p {
  max-width: 42rem;
  margin-bottom: 0;
  color: #c9d7e2;
}

.cta .button {
  color: var(--brand-navy-900);
  background: var(--brand-white);
  border-color: var(--brand-white);
}

.site-footer {
  padding: 4rem 0 2rem;
  color: #c9d7e2;
  background: #091d2e;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) repeat(2, minmax(10rem, 0.42fr));
  gap: 3rem;
}

.footer-logo {
  width: 17rem;
  margin-bottom: 1.5rem;
}

.footer-grid h2 {
  color: var(--brand-white);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-grid a {
  color: #d9e5ec;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #294a66;
  color: #9eb3c3;
  font-size: 0.82rem;
}

@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    position: relative;
    display: block;
  }

  .mobile-nav summary {
    padding: 0.65rem 0.85rem;
    color: var(--brand-navy-900);
    border: 2px solid var(--brand-navy-900);
    cursor: pointer;
    font-weight: 750;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav ul {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    width: min(20rem, calc(100vw - 2rem));
    margin: 0;
    padding: 0.5rem;
    background: var(--brand-white);
    border: 1px solid var(--brand-border);
    box-shadow: var(--shadow-card);
    list-style: none;
  }

  .mobile-nav li + li {
    margin: 0;
  }

  .mobile-nav a {
    display: block;
    padding: 0.8rem;
    color: var(--brand-navy-900);
    font-weight: 700;
    text-decoration: none;
  }

  .hero-grid,
  .section-intro,
  .feature,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .service-row {
    grid-template-columns: 3rem minmax(12rem, 0.6fr) minmax(0, 1fr);
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(calc(100% - 1.25rem), var(--content-width));
  }

  .header-inner {
    min-height: 4.6rem;
  }

  .brand-link img {
    width: 13.5rem;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .process,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .service-row > :last-child {
    grid-column: 2;
  }

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

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

  .button,
  .button-secondary {
    width: 100%;
  }
}

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

@media print {
  .prelaunch,
  .site-header,
  .site-footer,
  .hero-actions,
  .cta {
    display: none;
  }

  body {
    color: #000;
    font-size: 11pt;
  }

  .hero,
  .page-hero,
  .section,
  .section-compact {
    padding: 1.4rem 0;
    background: #fff;
  }

  .card,
  .price-card,
  .topology-frame {
    break-inside: avoid;
    box-shadow: none;
  }
}
