/* Amano field-guide pages: deliberately dependency-free for fast, accessible delivery. */
:root {
  --slate: #26303a;
  --slate-mid: #3c4a56;
  --slate-light: #5a6a78;
  --cyan: #4dc0e0;
  --cyan-dark: #17708c;
  --cyan-pale: #e8f7fc;
  --white: #ffffff;
  --off-white: #f7f9fa;
  --border: #d9e2e8;
  --muted: #5f7182;
  --max: 1120px;
  --reading: 760px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--slate);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--cyan-dark); text-underline-offset: 3px; }
a:hover { color: #0f5369; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 20;
  padding: 10px 16px;
  background: var(--cyan);
  color: var(--slate);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 62px;
  background: rgba(38, 48, 58, .98);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  min-height: 62px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  flex: 0 0 auto;
  color: var(--white);
  font-size: 20px;
  font-weight: 750;
  letter-spacing: -.04em;
  text-decoration: none;
}
.brand span { color: var(--cyan); }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  margin-left: auto;
}
.nav-links a {
  color: rgba(255, 255, 255, .78);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  padding: 9px 14px;
  border-radius: 6px;
  background: var(--cyan);
  color: var(--slate) !important;
}
.nav-cta:hover { background: #72d0e8; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.breadcrumbs {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 7px; color: #91a0aa; }
.breadcrumbs a { color: var(--muted); }

.hero {
  padding: 48px 0 62px;
  background: var(--slate);
  color: var(--white);
}
.hero--article { padding-top: 40px; }
.hero .container { max-width: 900px; }
.eyebrow {
  display: inline-block;
  margin-bottom: 17px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .12em;
  line-height: 1.3;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 850px;
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 760;
  letter-spacing: -.045em;
  line-height: 1.08;
}
.hero--article h1 { max-width: 820px; font-size: clamp(34px, 5vw, 56px); }
.hero .lede {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 24px;
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
}
.hero-meta strong { color: var(--white); font-weight: 650; }

.main { padding: 62px 0 86px; }
.answer {
  margin: 0 0 48px;
  padding: 25px 28px 27px;
  border: 1px solid #bde6f2;
  border-left: 5px solid var(--cyan);
  border-radius: 10px;
  background: var(--cyan-pale);
}
.answer-label {
  margin-bottom: 8px;
  color: var(--cyan-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.answer p { margin: 0; color: var(--slate); font-size: 19px; line-height: 1.55; }
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--reading)) 250px;
  gap: 68px;
  align-items: start;
  justify-content: center;
}
.article-main { min-width: 0; }
.article-main > :first-child { margin-top: 0; }
.article-main h2 {
  margin: 48px 0 13px;
  color: var(--slate);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 760;
  letter-spacing: -.035em;
  line-height: 1.18;
}
.article-main h3 {
  margin: 25px 0 7px;
  color: var(--slate);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.3;
}
.article-main p { margin: 0 0 17px; color: var(--slate-light); font-size: 16px; }
.article-main strong { color: var(--slate); }
.article-main ul, .article-main ol { margin: 12px 0 22px; padding-left: 24px; color: var(--slate-light); }
.article-main li { margin: 8px 0; padding-left: 4px; }
.section-kicker {
  margin: 0 0 8px;
  color: var(--cyan-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.checklist { padding-left: 0 !important; list-style: none; }
.checklist li { position: relative; padding-left: 29px; }
.checklist li::before {
  position: absolute;
  left: 0;
  top: .3em;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--slate);
  content: "✓";
  font-size: 12px;
  font-weight: 800;
  line-height: 17px;
  text-align: center;
}
.callout {
  margin: 26px 0;
  padding: 20px 22px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--off-white);
}
.callout--warning { border-color: #e9d8b0; background: #fffaf0; }
.callout p:last-child { margin-bottom: 0; }
.callout-title { margin: 0 0 6px; color: var(--slate); font-weight: 750; }
.scope-note {
  margin: 0 0 28px;
  padding: 14px 16px;
  border-left: 3px solid var(--cyan);
  background: var(--cyan-pale);
  color: var(--muted);
  font-size: 14px;
}
.data-table-wrap { overflow-x: auto; margin: 20px 0 27px; border: 1px solid var(--border); border-radius: 8px; }
.data-table { width: 100%; min-width: 590px; border-collapse: collapse; font-size: 14px; }
.data-table th, .data-table td { padding: 13px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.data-table th { background: var(--off-white); color: var(--slate); font-weight: 750; line-height: 1.35; }
.data-table td { color: var(--slate-light); }
.data-table tr:last-child td { border-bottom: 0; }
.related-section { margin-top: 65px; padding-top: 42px; border-top: 1px solid var(--border); }
.related-section h2 { margin-top: 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-top: 22px; }
.resource-card {
  display: block;
  height: 100%;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--white);
  text-decoration: none;
}
.resource-card:hover { border-color: var(--cyan); box-shadow: 0 5px 18px rgba(38, 48, 58, .07); }
.resource-card h3 { margin: 0 0 5px; color: var(--slate); font-size: 16px; }
.resource-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.sources {
  margin-top: 45px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}
.sources h2 { margin: 0 0 12px; font-size: 24px; }
.sources p { font-size: 14px; }
.source-list { margin: 12px 0 0 !important; padding-left: 20px !important; font-size: 14px; }
.source-list li { margin: 7px 0; }
.source-list a { overflow-wrap: anywhere; }
.article-aside { position: sticky; top: 86px; }
.aside-card { padding: 19px; border: 1px solid var(--border); border-radius: 9px; background: var(--off-white); }
.aside-card + .aside-card { margin-top: 14px; }
.aside-card h2 { margin: 0 0 10px; color: var(--slate); font-size: 15px; letter-spacing: -.01em; }
.aside-card ul { margin: 0; padding: 0; list-style: none; }
.aside-card li { border-top: 1px solid var(--border); }
.aside-card li:first-child { border-top: 0; }
.aside-card a { display: block; padding: 9px 0; font-size: 13px; line-height: 1.4; }
.aside-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.hub-section { padding: 64px 0 0; }
.hub-section:first-child { padding-top: 0; }
.hub-section h2 { margin: 0 0 12px; font-size: clamp(25px, 3vw, 34px); letter-spacing: -.035em; line-height: 1.2; }
.hub-section > p { max-width: 760px; margin: 0; color: var(--slate-light); font-size: 17px; }
.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 25px; }
.hub-card {
  display: block;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--white);
  text-decoration: none;
}
.hub-card:hover { border-color: var(--cyan); box-shadow: 0 7px 22px rgba(38, 48, 58, .08); }
.hub-card .card-number { color: var(--cyan-dark); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.hub-card h3 { margin: 9px 0 7px; color: var(--slate); font-size: 19px; line-height: 1.25; }
.hub-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.hub-card .read-more { display: inline-block; margin-top: 14px; color: var(--cyan-dark); font-size: 13px; font-weight: 750; }
.solution-band {
  margin-top: 28px;
  padding: 28px;
  border-radius: 11px;
  background: var(--slate);
  color: var(--white);
}
.solution-band h2 { color: var(--white); }
.solution-band p { color: rgba(255, 255, 255, .72); }
.solution-band a { color: var(--cyan); }
.solution-band .button-link {
  display: inline-block;
  margin-top: 7px;
  padding: 10px 15px;
  border-radius: 6px;
  background: var(--cyan);
  color: var(--slate);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}
.solution-band .button-link:hover { background: #72d0e8; }
.footer {
  padding: 36px 0;
  background: var(--slate);
  color: rgba(255, 255, 255, .6);
  font-size: 13px;
}
.footer-grid { display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; }
.footer-brand { color: var(--white); font-size: 18px; font-weight: 750; letter-spacing: -.03em; }
.footer-brand span { color: var(--cyan); }
.footer p { max-width: 460px; margin: 7px 0 0; line-height: 1.55; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.footer a { color: var(--cyan); }
.footer-note { margin-top: 24px !important; color: rgba(255, 255, 255, .42); font-size: 12px; }

@media (max-width: 900px) {
  .nav-shell { width: min(var(--max), calc(100% - 28px)); gap: 15px; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 12px; }
  .article-layout { grid-template-columns: minmax(0, var(--reading)); }
  .article-aside { display: none; }
}
@media (max-width: 680px) {
  .nav-shell { min-height: 56px; }
  .site-nav { min-height: 56px; }
  .brand { font-size: 18px; }
  .nav-links { gap: 8px; }
  .nav-links a:nth-child(-n+3) { display: none; }
  .nav-cta { padding: 8px 10px; }
  .container, .breadcrumbs { width: min(var(--max), calc(100% - 32px)); }
  .breadcrumbs { padding: 14px 0; font-size: 12px; }
  .hero { padding: 38px 0 48px; }
  .hero--article { padding-top: 30px; }
  .hero h1, .hero--article h1 { font-size: clamp(32px, 10vw, 45px); }
  .hero .lede { font-size: 17px; }
  .main { padding: 42px 0 60px; }
  .answer { margin-bottom: 36px; padding: 20px 18px 21px; }
  .answer p { font-size: 17px; }
  .article-main h2 { margin-top: 38px; font-size: 27px; }
  .article-main p { font-size: 15.5px; }
  .hub-section { padding-top: 45px; }
  .hub-grid, .related-grid { grid-template-columns: 1fr; }
  .solution-band { padding: 23px 19px; }
  .footer-grid { display: block; }
  .footer-links { justify-content: flex-start; margin-top: 18px; }
}
@media (pointer: coarse) {
  .brand, .nav-cta {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
