:root {
  --background: #f4f7fc;
  --surface: #ffffff;
  --text: #18243b;
  --muted: #52627a;
  --primary: #2855d9;
  --primary-dark: #1e40af;
  --primary-light: #edf3ff;
  --border: #dce4f0;
  --radius: 18px;
  --shadow: 0 16px 48px rgba(24, 36, 59, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--primary);
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

a:hover {
  color: var(--primary-dark);
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 5px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.25;
}

h1 {
  margin: 12px 0 22px;
  font-size: clamp(36px, 6vw, 58px);
  letter-spacing: -1.8px;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: -0.6px;
}

h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

p {
  margin: 0 0 18px;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  padding-left: 24px;
}

li + li {
  margin-top: 8px;
}

code {
  padding: 2px 6px;
  border-radius: 5px;
  background: #edf1f8;
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 16px;
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, #3478f6, #3730a3);
  color: white;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -1px;
}

.brand-name {
  display: block;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3;
}

.brand-caption {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.main-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.main-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--primary);
}

.page-main {
  padding-block: 42px 64px;
}

.hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 36px;
  align-items: center;
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid var(--border);
  border-radius: 26px;
  background: linear-gradient(135deg, #ffffff, #edf3ff);
  box-shadow: var(--shadow);
}

.eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.lead {
  color: var(--muted);
  font-size: 18px;
}

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

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 18px;
  border: 1px solid var(--primary);
  border-radius: 11px;
  background: var(--primary);
  color: white;
  font-weight: 650;
  text-decoration: none;
}

.button:hover {
  background: var(--primary-dark);
  color: white;
}

.button-secondary {
  background: white;
  color: var(--primary);
}

.button-secondary:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.network-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: white;
}

.network-label {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.network-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.device {
  flex: 1;
  max-width: 140px;
  padding: 22px 12px;
  border: 1px solid #cddbf8;
  border-radius: 14px;
  background: var(--primary-light);
  text-align: center;
}

.device strong,
.device span {
  display: block;
}

.device span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.network-arrow {
  color: var(--primary);
  font-size: 30px;
  font-weight: 800;
}

.network-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.section {
  margin-top: 42px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.section-heading p {
  color: var(--muted);
}

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

.card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.card p {
  color: var(--muted);
}

.step-number {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
}

.notice {
  padding: 22px 24px;
  border: 1px solid #cfddff;
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  background: var(--primary-light);
}

.notice p {
  margin-bottom: 0;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.contact-card .actions {
  margin-top: 0;
}

.document {
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.document h1 {
  font-size: clamp(32px, 5vw, 44px);
  letter-spacing: -1px;
}

.document h2 {
  margin-top: 34px;
  font-size: 23px;
}

.document h3 {
  margin-top: 24px;
  font-size: 18px;
}

.document section {
  scroll-margin-top: 24px;
}

.document-meta {
  color: var(--muted);
  font-size: 14px;
}

.contents {
  margin-block: 26px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f8faff;
}

.contents h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.contents ol {
  margin: 0;
}

.owner-note {
  padding: 16px 18px;
  border: 1px solid #f1c86a;
  border-radius: 10px;
  background: #fff8e6;
  color: #6b4700;
}

.site-footer {
  padding-block: 30px;
  border-top: 1px solid var(--border);
  background: white;
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

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

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .network-card {
    max-width: 460px;
    width: 100%;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding-block: 18px;
    gap: 18px;
  }

  .main-nav {
    gap: 14px;
  }

  .main-nav a {
    font-size: 13px;
  }

  .page-main {
    padding-block: 24px 40px;
  }

  .hero {
    padding: 26px 22px;
  }

  .contact-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .actions {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .document {
    padding: 26px 20px;
  }
}

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