:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #526071;
  --line: #dfe6ef;
  --surface: #ffffff;
  --surface-soft: #f4f7fb;
  --brand: #14a0ff;
  --brand-dark: #005fca;
  --brand-soft: #e5f5ff;
  --success: #14a0ff;
  --success-dark: #006fe8;
  --warning: #14a0ff;
  --night: #061323;
  --night-2: #082b55;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(11, 31, 61, .12);
  --content: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  background: var(--surface);
}

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

a {
  color: var(--brand-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--night);
  border-radius: var(--radius);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100% - 32px, var(--content));
  min-height: 72px;
  margin: 0 auto;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  min-width: 128px;
}

.brand-link img {
  width: 128px;
  height: auto;
  padding: 8px 10px;
  background: var(--night);
  border-radius: var(--radius);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 10px;
  color: #223047;
  font-size: .93rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

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

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  content: "";
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.button {
  font: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 18px rgba(15, 44, 82, .08);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(15, 44, 82, .12);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--success), var(--success-dark));
  border-color: transparent;
}

.button-primary:hover {
  color: #fff;
}

.button-secondary {
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-color: rgba(20, 160, 255, .35);
  box-shadow: none;
}

.button-secondary:hover {
  color: var(--brand-dark);
  background: #d6efff;
}

.button-ghost {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .4);
  box-shadow: none;
}

.button-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, .2);
}

.hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--night);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(4, 12, 24, .92) 0%, rgba(6, 22, 43, .78) 42%, rgba(6, 22, 43, .24) 100%),
    linear-gradient(0deg, rgba(4, 12, 24, .45), rgba(4, 12, 24, .08));
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--content));
  margin: 0 auto;
  padding: 96px 0 82px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 16px;
  padding: 6px 10px;
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
  background: var(--brand);
  border-radius: var(--radius);
}

.hero h1 {
  max-width: 780px;
  margin: 0 0 20px;
  font-size: 3.45rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.hero p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.breadcrumbs {
  width: min(100% - 32px, var(--content));
  margin: 18px auto;
  color: var(--muted);
  font-size: .9rem;
}

.breadcrumbs a {
  color: var(--muted);
}

.breadcrumbs span {
  color: var(--ink);
}

.page-section {
  padding: 72px 0;
}

.page-section.is-muted {
  background: var(--surface-soft);
}

.section-inner {
  width: min(100% - 32px, var(--content));
  margin: 0 auto;
}

.section-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  gap: 44px;
  align-items: center;
}

.section-copy h2,
.section-inner > h2,
.faq h2 {
  max-width: 780px;
  margin: 0 0 18px;
  font-size: 2.05rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.section-copy p,
.section-inner > p {
  max-width: 830px;
  margin: 0 0 16px;
  color: var(--muted);
}

.media-frame {
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 12px;
  background:
    linear-gradient(135deg, rgba(6, 19, 35, .98), rgba(6, 42, 84, .94)),
    var(--night);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 6px;
}

.media-frame.is-wide {
  margin-top: 30px;
}

.media-frame.is-wide img {
  max-height: 520px;
}

.media-frame.is-compact {
  max-width: 420px;
  margin-inline: auto;
}

.media-frame.is-compact img {
  max-height: 300px;
}

.card-grid,
.slot-grid,
.link-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

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

.card,
.slot-card,
.faq-item,
.note-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card {
  padding: 22px;
}

.card h3,
.slot-card h3,
.faq-item h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.card p,
.faq-item p,
.note-box p {
  margin: 0;
  color: var(--muted);
}

.card a {
  display: inline-flex;
  margin-top: 14px;
  font-weight: 800;
}

.table-wrap {
  width: 100%;
  margin-top: 28px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.data-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.data-table th {
  color: #fff;
  font-size: .92rem;
  background: var(--night-2);
}

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

.data-table td {
  color: var(--muted);
}

.data-table strong {
  color: var(--ink);
}

.check-list,
.detail-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

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

.check-list li,
.detail-list li {
  position: relative;
  padding: 16px 18px 16px 48px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.check-list li::before,
.detail-list li::before {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 18px;
  height: 18px;
  color: #fff;
  font-size: .8rem;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
  background: var(--brand);
  border-radius: 50%;
  content: "✓";
}

.detail-list li::before {
  content: "";
}

.steps {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps li {
  position: relative;
  min-height: 92px;
  padding: 20px 20px 20px 74px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps li::before {
  position: absolute;
  top: 20px;
  left: 20px;
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  background: var(--brand);
  border-radius: var(--radius);
  counter-increment: steps;
  content: counter(steps);
}

.steps h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  letter-spacing: 0;
}

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

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

.slot-card {
  overflow: hidden;
}

.slot-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--surface-soft);
}

.slot-card h3 {
  padding: 14px 14px 16px;
  margin: 0;
  font-size: .98rem;
}

.note-box {
  margin-top: 28px;
  padding: 22px;
  border-left: 5px solid var(--brand);
}

.cta-band {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(4, 16, 32, .98), rgba(5, 78, 151, .94)),
    var(--night-2);
}

.cta-band .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band h2 {
  margin: 0 0 8px;
  font-size: 1.7rem;
  letter-spacing: 0;
}

.cta-band p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
}

.semantic-queries {
  background: #fff;
}

.semantic-queries details {
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.semantic-queries summary {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 900;
  cursor: pointer;
}

.semantic-queries p {
  max-width: 920px;
  margin: 16px 0 0;
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.keyword-cloud span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.2;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.faq {
  background: var(--surface-soft);
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.faq-item {
  padding: 22px;
}

.site-footer {
  color: rgba(255, 255, 255, .82);
  background: var(--night);
}

.footer-inner {
  width: min(100% - 32px, var(--content));
  margin: 0 auto;
  padding: 44px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 36px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.footer-brand img {
  width: 132px;
  height: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 440px;
  margin: 0;
  color: rgba(255, 255, 255, .72);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer-links h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: .98rem;
  letter-spacing: 0;
}

.footer-links a {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 24px;
  color: rgba(255, 255, 255, .62);
  font-size: .92rem;
}

.go-page {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  background: var(--surface-soft);
}

.go-panel {
  width: min(100% - 32px, 720px);
  margin: 0 auto;
  padding: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.go-panel h1 {
  margin: 0 0 12px;
  font-size: 2rem;
  letter-spacing: 0;
}

.go-panel p {
  margin: 0 0 18px;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .primary-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 560px;
  }

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

  .section-layout {
    grid-template-columns: 1fr;
  }

  .media-frame {
    max-width: 760px;
  }

  .media-frame img {
    max-height: 460px;
  }

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

  .check-list {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  body {
    font-size: 15px;
  }

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

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions {
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .header-actions .button {
    width: 100%;
    min-height: 40px;
    padding: 9px 12px;
    font-size: .92rem;
  }

  .primary-nav {
    order: 4;
    display: none;
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    padding: 8px 0 0;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    width: 100%;
  }

  .brand-link img {
    width: 118px;
  }

  .hero {
    min-height: 520px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(4, 12, 24, .92), rgba(6, 22, 43, .78)),
      linear-gradient(0deg, rgba(4, 12, 24, .35), rgba(4, 12, 24, .18));
  }

  .hero-content {
    padding: 72px 0 60px;
  }

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

  .hero p {
    font-size: 1rem;
  }

  .hero-actions,
  .cta-band .section-inner,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .page-section {
    padding: 54px 0;
  }

  .section-copy h2,
  .section-inner > h2,
  .faq h2 {
    font-size: 1.6rem;
  }

  .card-grid,
  .slot-grid,
  .footer-top,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .media-frame {
    padding: 8px;
  }

  .media-frame img,
  .media-frame.is-wide img,
  .media-frame.is-compact img {
    max-height: none;
  }

  .data-table {
    min-width: 640px;
  }

  .data-table th,
  .data-table td {
    padding: 13px;
  }

  .steps li {
    padding-left: 66px;
  }
}
