:root {
  color-scheme: light;
  --ink: #17202c;
  --muted: #536173;
  --page: #f5f7fb;
  --panel: #ffffff;
  --panel-soft: #eef4fb;
  --line: #d6dee9;
  --brand: #16756b;
  --brand-dark: #0e524c;
  --accent: #c84f2f;
  --warning: #8a5a00;
  --danger: #a8241c;
  --code: #101720;
  --code-text: #eef4fb;
  --shadow: 0 18px 45px rgba(21, 32, 46, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.58;
}

a {
  color: var(--brand-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

code,
pre {
  font-family: Consolas, "SFMono-Regular", Menlo, Monaco, monospace;
}

.shell {
  min-height: 100vh;
}

.hero {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(11, 35, 42, 0.96), rgba(22, 117, 107, 0.88)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 28px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0, rgba(255, 255, 255, 0.08) 1px, transparent 1px, transparent 28px);
  padding: 48px 24px 32px;
}

.hero-inner,
.content {
  max-width: 1180px;
  margin: 0 auto;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.brand-row img,
.brand-row .guide-logo {
  width: 64px;
  height: 64px;
  border-radius: 15px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.brand-row span {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.96rem;
}

h1,
h2,
h3 {
  line-height: 1.16;
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  font-size: clamp(2.35rem, 5vw, 4.55rem);
  font-weight: 760;
}

.subtitle {
  max-width: 800px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.14rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 7px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
  font-weight: 650;
}

.button-link.primary {
  color: #102033;
  border-color: #baf2dc;
  background: #baf2dc;
}

.content {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  padding: 28px 24px 56px;
}

nav {
  position: sticky;
  top: 20px;
  align-self: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

nav strong {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

nav a {
  position: relative;
  display: block;
  padding: 7px 10px 7px 14px;
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
  border-top: 1px solid transparent;
}

nav a::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
  width: 3px;
  border-radius: 999px;
  background: transparent;
}

nav a.is-active {
  color: var(--brand-dark);
  background: #e9f7f3;
  font-weight: 650;
}

nav a.is-active::before {
  background: var(--brand);
}

nav a:hover,
nav a:focus {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

nav a.is-active:hover,
nav a.is-active:focus {
  text-decoration: none;
}

main {
  min-width: 0;
}

section {
  scroll-margin-top: 24px;
  margin-bottom: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

section h2 {
  margin-bottom: 12px;
  font-size: 1.72rem;
}

section h3 {
  margin-top: 22px;
  margin-bottom: 8px;
  font-size: 1.12rem;
}

p {
  margin: 0 0 12px;
}

ul,
ol {
  margin-top: 8px;
  margin-bottom: 12px;
  padding-left: 1.35rem;
}

li {
  margin: 6px 0;
}

.lead {
  color: var(--muted);
  font-size: 1.04rem;
}

.quick-grid,
.feature-grid,
.platform-grid,
.role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.quick-card,
.feature-card,
.platform-card,
.role-card,
.callout {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
  padding: 16px;
}

.quick-card strong,
.feature-card strong,
.platform-card strong,
.role-card strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 1rem;
}

.quick-card span,
.feature-card span,
.platform-card span,
.role-card span {
  color: var(--muted);
  font-size: 0.95rem;
}

.callout {
  margin: 16px 0;
  border-left: 5px solid var(--accent);
  background: #fff5f0;
}

.callout.info {
  border-left-color: var(--brand);
  background: #effaf7;
}

.callout.warning {
  border-left-color: var(--warning);
  background: #fff8e6;
}

.callout.danger {
  border-left-color: var(--danger);
  background: #fff1f0;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 12px 12px 12px 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  top: 12px;
  left: 14px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--brand);
  font-weight: 700;
  line-height: 1;
}

.table-wrap {
  overflow-x: auto;
  margin: 16px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: #263445;
  background: #eef4fb;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

tr:last-child td {
  border-bottom: 0;
}

pre {
  overflow-x: auto;
  margin: 16px 0;
  padding: 18px;
  border-radius: 8px;
  background: var(--code);
  color: var(--code-text);
  font-size: 0.9rem;
  line-height: 1.48;
}

.kbd {
  display: inline-block;
  min-width: 1.7em;
  padding: 0.08em 0.38em;
  border: 1px solid #b6c2d1;
  border-bottom-width: 2px;
  border-radius: 5px;
  background: #ffffff;
  color: #17202c;
  font-family: Consolas, "SFMono-Regular", Menlo, Monaco, monospace;
  font-size: 0.86em;
}

.print-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
}

.print-note strong {
  color: var(--ink);
}

footer {
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
  padding: 0 24px 36px;
}

@media (max-width: 900px) {
  .content {
    grid-template-columns: 1fr;
  }

  nav {
    position: static;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 34px;
  }

  .brand-row {
    align-items: flex-start;
  }

  section {
    padding: 20px;
  }

  .quick-grid,
  .feature-grid,
  .platform-grid,
  .role-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  body {
    background: #ffffff;
    color: #000000;
  }

  .hero {
    color: #000000;
    background: #ffffff;
    border-bottom: 2px solid #000000;
  }

  .subtitle,
  .brand-row span {
    color: #333333;
  }

  .hero-actions,
  nav {
    display: none;
  }

  .content {
    display: block;
    max-width: none;
    padding: 18px 0;
  }

  section {
    break-inside: avoid;
    box-shadow: none;
    border-color: #999999;
  }

  a {
    color: #000000;
  }

  pre {
    white-space: pre-wrap;
    border: 1px solid #999999;
    background: #ffffff;
    color: #000000;
  }

  footer {
    padding-bottom: 0;
  }
}

/* Refreshed guide surface */
:root {
  --ink: #272b31;
  --muted: #6c727c;
  --page: #f4f5f7;
  --panel: #ffffff;
  --panel-soft: #f8f9fb;
  --line: #e0e3e7;
  --brand: #1f6f5c;
  --brand-dark: #175747;
  --accent: #c95f36;
  --shadow: 0 1px 2px rgba(17, 24, 39, 0.05), 0 10px 28px rgba(17, 24, 39, 0.045);
}

body {
  background: var(--page);
  font-family: "Avenir Next", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 54px 24px 42px;
  background: #123a30;
}

.hero::after {
  content: "";
  position: absolute;
  right: max(-120px, calc((100vw - 1380px) / 2));
  bottom: -210px;
  width: 570px;
  height: 570px;
  border: 84px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 255, 255, 0.025);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; }

.brand-row { gap: 12px; margin-bottom: 42px; }

.brand-row img,
.brand-row .guide-logo {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  box-shadow: none;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  letter-spacing: -0.055em;
}

.subtitle { max-width: 760px; color: #bed3cb; }

.button-link {
  min-height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
}

.button-link.primary {
  border-color: #f0e7dc;
  background: #f0e7dc;
  color: #17211e;
}

.content { max-width: 1240px; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; padding-top: 24px; }

nav {
  top: 16px;
  padding: 14px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

nav strong { padding: 4px 8px 8px; font-size: 0.7rem; }
nav a { padding: 8px 10px 8px 13px; border-radius: 9px; font-size: 0.82rem; }
nav a.is-active { background: #e4f0eb; }

section {
  margin-bottom: 18px;
  padding: 28px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

section h2 { font-size: 1.55rem; letter-spacing: -0.03em; }

.quick-card,
.feature-card,
.platform-card,
.role-card,
.callout,
.steps li,
.print-note {
  border-radius: 12px;
}

.quick-card,
.feature-card,
.platform-card,
.role-card { background: var(--panel-soft); }

.callout { background: #fbf0eb; }
.callout.info { border-left-color: #527da3; background: #eef4fa; }
.callout.warning { background: #fbf5e8; }
.callout.danger { background: #faecea; }

.steps li { background: var(--panel-soft); }
.steps li::before { background: var(--brand); }

.table-wrap,
pre { border-radius: 12px; }

th { background: #f4f7f4; color: var(--muted); font-size: 0.72rem; }

@media (max-width: 720px) {
  .hero { padding: 32px 20px 30px; }
  .brand-row { margin-bottom: 28px; }
  .hero h1 { font-size: 2.45rem; }
  .content { padding-inline: 14px; }
  section { padding: 20px; border-radius: 15px; }
}

@media print {
  .hero {
    color: #000000;
    background: #ffffff;
    border-bottom: 2px solid #000000;
  }

  .hero::after { display: none; }
  .hero-actions,
  nav { display: none; }
  section { box-shadow: none; }
}
