:root {
  --ink: #0b1020;
  --navy: #111827;
  --deep: #060914;
  --panel: #162033;
  --blue: #2563eb;
  --blue-soft: #60a5fa;
  --cyan: #22d3ee;
  --gold: #e8c468;
  --paper: #f5f7fb;
  --white: #ffffff;
  --text: #111827;
  --muted: #667085;
  --line: #dce3ee;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 14px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.86);
  background: rgba(6, 9, 20, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.hero-actions,
.contact-details {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: max-content;
  color: var(--white);
  font-weight: 850;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 42px;
  place-items: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(37, 99, 235, 0.35));
}

.nav {
  justify-content: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  font-weight: 760;
}

.nav a:hover {
  color: var(--white);
}

.header-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  cursor: pointer;
}

.header-action,
.primary-button {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), #174bbf);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.3);
}

.secondary-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.8fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
  min-height: calc(100vh - 75px);
  padding: clamp(56px, 8vw, 108px) clamp(18px, 5vw, 72px) clamp(56px, 7vw, 86px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 9, 20, 0.96), rgba(6, 9, 20, 0.72)),
    url("assets/tbs-hero.jpg") center / cover no-repeat;
}

.hero-copy-block {
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6.1vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 1.9vw, 1.26rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

.system-visual {
  width: 100%;
}

.ops-visual {
  display: grid;
  gap: 16px;
  padding: 20px;
  background:
    linear-gradient(145deg, rgba(37, 99, 235, 0.2), rgba(6, 9, 20, 0.86)),
    rgba(17, 24, 39, 0.92);
  border: 1px solid rgba(96, 165, 250, 0.26);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.ops-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ops-step {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 104px;
  padding: 15px;
  color: inherit;
  text-align: left;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.ops-step:hover,
.ops-step:focus-visible,
.ops-step.is-active {
  background: rgba(37, 99, 235, 0.28);
  border-color: rgba(96, 165, 250, 0.62);
  transform: translateY(-2px);
}

.ops-step:focus-visible {
  outline: 3px solid rgba(34, 211, 238, 0.28);
  outline-offset: 2px;
}

.ops-step strong {
  color: var(--white);
  font-size: 1rem;
}

.ops-step small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
}

.ops-detail {
  display: grid;
  gap: 8px;
  min-height: 160px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.ops-detail span,
.ops-detail strong,
.ops-detail p {
  display: block;
}

.ops-detail span {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ops-detail strong {
  color: var(--gold);
  font-size: 1.28rem;
}

.ops-detail p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
}

.section {
  padding: clamp(68px, 9vw, 116px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(2.05rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.about-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.06rem;
}

.results-section,
.about-section,
.faq-section {
  background: var(--white);
}

.results-grid,
.service-grid,
.about-cards {
  display: grid;
  gap: 16px;
}

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

.results-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: -8px 0 18px;
  padding: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.05);
}

.results-summary div {
  padding: 22px 24px;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}

.results-summary span,
.results-summary strong {
  display: block;
}

.results-summary span {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.results-summary strong {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.35;
}

.results-grid article,
.service-card,
.about-cards article {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
}

.results-grid article {
  min-height: 245px;
}

.results-grid span,
.about-cards span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.results-grid h3,
.service-card h3,
.about-cards h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  line-height: 1.16;
}

.results-grid p,
.service-card p,
.about-cards p {
  color: var(--muted);
}

.services-section {
  background: #eef3f9;
}

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

.service-card {
  min-height: 260px;
}

.service-card.featured {
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), #123176);
  border-color: rgba(96, 165, 250, 0.32);
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.74);
}

.service-label {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.support-section {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(34, 211, 238, 0.16), transparent 30%),
    linear-gradient(135deg, var(--deep), #102154 55%, #123176);
}

.support-panel {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.support-panel p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.06rem;
}

.support-contact {
  margin-top: 18px;
}

.support-contact a,
.support-list a {
  color: var(--white);
  font-weight: 900;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 4px;
}

.support-list {
  display: grid;
  gap: 12px;
}

.support-list div {
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.support-list strong,
.support-list span {
  display: block;
}

.support-list strong {
  margin-bottom: 6px;
  color: var(--gold);
}

.support-list span {
  color: rgba(255, 255, 255, 0.72);
}

.method-section {
  color: var(--white);
  background:
    radial-gradient(circle at 78% 18%, rgba(34, 211, 238, 0.2), transparent 28%),
    linear-gradient(135deg, #050816, #0d1c48 52%, #102e78);
}

.method-shell {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.method-copy p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.method-controls {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.method-control {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 16px 18px;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.method-control:hover,
.method-control:focus-visible,
.method-control.is-active {
  color: var(--white);
  background: rgba(37, 99, 235, 0.28);
  border-color: rgba(96, 165, 250, 0.62);
  transform: translateX(4px);
}

.method-control:focus-visible {
  outline: 3px solid rgba(34, 211, 238, 0.3);
  outline-offset: 2px;
}

.method-control span {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.method-control strong {
  font-size: 1.04rem;
}

.method-blueprint {
  position: relative;
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.92), rgba(15, 45, 112, 0.72)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(96, 165, 250, 0.28);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.method-blueprint::before {
  content: "";
  position: absolute;
  inset: 18px;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 74%);
  pointer-events: none;
}

.method-map-heading,
.method-flow,
.method-stage-grid,
.method-detail {
  position: relative;
  z-index: 1;
}

.method-map-heading {
  display: grid;
  gap: 8px;
  max-width: 620px;
}

.method-map-heading span,
.method-stage-panel span,
.method-detail > span,
.method-output span {
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.method-map-heading strong {
  color: var(--white);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.08;
}

.method-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.method-node {
  position: relative;
  display: grid;
  align-content: start;
  gap: 7px;
  min-height: 132px;
  padding: 18px;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.method-node::after {
  content: "";
  position: absolute;
  top: 34px;
  left: calc(100% - 5px);
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.72), rgba(234, 179, 8, 0.5));
  pointer-events: none;
}

.method-node:last-child::after {
  display: none;
}

.method-node span {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.method-node strong {
  color: var(--white);
  font-size: 1.13rem;
  line-height: 1.08;
}

.method-node small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.method-node:hover,
.method-node:focus-visible,
.method-node.is-active {
  color: var(--white);
  background: rgba(37, 99, 235, 0.62);
  border-color: rgba(34, 211, 238, 0.82);
  box-shadow: 0 0 0 8px rgba(34, 211, 238, 0.09), 0 20px 46px rgba(37, 99, 235, 0.26);
  transform: translateY(-3px);
}

.method-node:focus-visible {
  outline: 3px solid rgba(34, 211, 238, 0.28);
  outline-offset: 2px;
}

.method-stage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.method-stage-panel,
.method-detail {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: rgba(1, 7, 20, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
}

.method-stage-panel strong {
  color: var(--white);
  font-size: 1.12rem;
  line-height: 1.15;
}

.method-stage-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.method-detail {
  align-content: start;
  min-height: 150px;
  background: rgba(255, 255, 255, 0.08);
}

.method-detail strong {
  color: var(--gold);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.1;
}

.method-detail p,
.method-output p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.method-output {
  display: grid;
  gap: 6px;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.about-section {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
}

.about-copy p + p {
  margin-top: 18px;
}

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

.about-cards article {
  min-height: 300px;
}

.faq-list {
  display: grid;
  max-width: 920px;
  gap: 12px;
}

.faq-list details {
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-list summary {
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: clamp(28px, 6vw, 76px);
  padding: clamp(68px, 9vw, 116px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background: linear-gradient(135deg, var(--deep), #123176);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-copy .eyebrow {
  color: var(--gold);
}

.contact-details {
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  color: var(--text);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: #283244;
  font-size: 0.9rem;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--text);
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(37, 99, 235, 0.18);
  border-color: var(--blue);
}

textarea {
  resize: vertical;
}

.checkbox-group {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.checkbox-group legend {
  margin-bottom: 2px;
  color: #283244;
  font-size: 0.9rem;
  font-weight: 800;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  background: #f8fbff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.checkbox-group input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  accent-color: var(--blue);
}

button {
  font: inherit;
}

.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-status {
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
  margin: 0;
  padding: 0.85rem 1rem;
}

.form-status[data-state="warning"] {
  background: #fff7df;
  border-color: #f0c45f;
  color: #654600;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.68);
  background: var(--deep);
}

.site-footer span:first-child {
  color: var(--white);
  font-weight: 900;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  font-size: 0.88rem;
  font-weight: 800;
}

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

.page-hero {
  padding: clamp(64px, 9vw, 108px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background:
    radial-gradient(circle at 84% 20%, rgba(34, 211, 238, 0.18), transparent 32%),
    linear-gradient(90deg, var(--deep), #102154 62%, #123176);
}

.page-hero h1 {
  max-width: 880px;
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 5.3vw, 5rem);
}

.page-hero p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.12rem;
}

.legal-page,
.contact-page {
  background: var(--white);
}

.legal-content {
  display: grid;
  gap: 26px;
  max-width: 920px;
  padding: clamp(54px, 8vw, 92px) clamp(18px, 5vw, 72px);
}

.legal-content section {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content ul {
  margin: 0;
  padding-left: 20px;
}

.legal-note {
  padding: 18px;
  color: #354053;
  background: #eef3f9;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-page .contact-section {
  background: var(--white);
  color: var(--text);
}

.contact-page .contact-copy p,
.contact-page .contact-details {
  color: var(--muted);
}

.contact-page .contact-copy .eyebrow {
  color: var(--blue);
}

.contact-page .contact-details a,
.contact-page .contact-details span {
  color: var(--text);
}

@media (max-width: 1180px) {
  .hero,
  .support-panel,
  .method-shell,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .system-visual {
    max-width: 760px;
  }

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

  .method-copy {
    max-width: 780px;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
  }

  .nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .header-action {
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(2.45rem, 10vw, 3.65rem);
  }

  .ops-flow,
  .results-summary,
  .results-grid,
  .service-grid,
  .about-cards,
  .method-flow,
  .method-stage-grid {
    grid-template-columns: 1fr;
  }

  .method-blueprint {
    min-height: auto;
  }

  .method-node,
  .method-detail {
    min-height: auto;
  }

  .method-node::after {
    display: none;
  }

  .ops-step,
  .service-card,
  .results-grid article,
  .about-cards article {
    min-height: auto;
  }

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