:root {
  --navy: #0b1729;
  --deep: #13283d;
  --ink: #172b3d;
  --muted: #465e70;
  --surface: #fff;
  --paper: #f1f5f6;
  --line: #d6e1e7;
  --teal: #0c665e;
  --mint: #a5f1d8;
  --gold: #e8b869;
  --radius: 20px;
  --shadow: 0 10px 35px #182e4310;
}
* { box-sizing: border-box; }
html { color: var(--ink); background: var(--paper); }
body { margin: 0; font: 1rem/1.65 system-ui, -apple-system, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #2ba18e; outline-offset: 4px; }
.wrap { width: min(1160px, calc(100% - 3rem)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 2; inset: .75rem auto auto .75rem; padding: .65rem 1rem; background: var(--surface); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
header, footer { color: #eef6fb; background: var(--navy); }
header { border-bottom: 1px solid #ffffff20; }
.header, footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1.4rem; padding-block: 1rem; }
.wordmark { color: inherit; display: inline-flex; align-items: center; gap: .65rem; font-size: 1.125rem; font-weight: 800; letter-spacing: -.025em; text-decoration: none; }
.wordmark img, .byline img { flex: none; }
.header nav, footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1.2rem; }
.header nav a, footer nav a { display: inline-flex; align-items: center; min-height: 40px; color: #d4e0e9; font-size: .92rem; }
.header nav a { text-decoration: none; }
.header nav a:hover, footer nav a:hover, nav a[aria-current="page"] { color: var(--mint); text-decoration: underline; }
.header nav .nav-method { padding-inline: .8rem; border: 1px solid #ffffff34; border-radius: 9px; color: var(--mint); }
footer .wrap { padding-block: 1.6rem; }
.hero {
  color: #fff;
  background: radial-gradient(ellipse at 88% 12%, #104744 0, transparent 52%), linear-gradient(120deg, var(--navy), var(--deep));
  border-bottom: 2px solid #4fbda9;
}
.hero-layout { display: grid; align-items: center; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); padding-block: clamp(2.4rem, 5.5vw, 5rem); }
h1, h2, h3 { line-height: 1.14; letter-spacing: -.035em; }
h1 { margin: 0; font-size: clamp(2.2rem, 4.6vw, 4rem); text-wrap: balance; }
h2 { margin: 0 0 1rem; font-size: clamp(1.55rem, 3.1vw, 2.35rem); text-wrap: pretty; }
h3 { margin: 0 0 .65rem; font-size: clamp(1.14rem, 2vw, 1.32rem); }
.hero p { max-width: 63ch; margin: 1.1rem 0 0; color: #e0ebf2; }
.hero .article-note { display: inline-flex; margin: 0 0 1.15rem; color: #e2f7ec; background: #a5f1d812; border: 1px solid #a5f1d84d; border-radius: 9px; padding: .4rem .65rem; font-size: .81rem; font-weight: 650; }
.hero-image { margin: 0; padding: .45rem; border: 1px solid #a5f1d853; border-radius: 30px; background: #ffffff0c; box-shadow: 0 24px 50px #04131f80; }
.hero-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 23px; }
.hero-links { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.4rem; }
.hero-links > a:not(.button) { color: #e1f7ef; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .7rem; min-height: 46px; padding: .6rem 1rem; border-radius: 10px; color: #10322e; background: var(--mint); font-weight: 750; text-decoration: none; }
.button:hover { background: #c5f8e9; text-decoration: underline; }
.byline-bar { background: var(--surface); border-bottom: 1px solid var(--line); }
.byline { display: flex; align-items: center; gap: .65rem; padding-block: .7rem; }
.byline a { font-weight: 750; }
.prose { padding-block: clamp(1.4rem, 3.8vw, 3.5rem); overflow-wrap: break-word; }
.prose p { margin: 0 0 .95rem; }
.prose li + li { margin-top: .3rem; }
.prose [id] { scroll-margin-top: 1.3rem; }
.section-panel, .author-profile { margin-bottom: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); padding: clamp(1.15rem, 3.4vw, 2.4rem); }
.section-panel { display: flow-root; }
.section-panel > h2 { max-width: 29ch; }
.section-panel > h2::before { content: ""; display: block; margin-bottom: .8rem; width: 2.1rem; height: 3px; border-radius: 10px; background: #3a9e8b; }
.section-panel > h3 { margin-top: 1.55rem; }
.section-panel > :last-child, .info-card :last-child, .brand-copy :last-child { margin-bottom: 0; }
.section-image { float: right; width: min(40%, 360px); margin: .2rem 0 1rem 1.5rem; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 22px #16314630; }
.section-image img { width: 100%; }
.info-grid, .brand-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.info-card { border: 1px solid var(--line); border-radius: 12px; background: #f3f8f8; padding: 1.1rem; }
.info-card h3 { color: #135851; }
.brand-disclosure { color: var(--muted); font-size: .9rem; }
.brand-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; background: #f8fbfc; }
.brand-heading { display: flex; align-items: center; gap: .65rem; padding: .95rem; background: linear-gradient(115deg, var(--navy), var(--deep)); color: #fff; }
.brand-heading h3, .author-profile .author-name { margin: 0; }
.brand-index { display: grid; place-items: center; flex: none; width: 2.25rem; height: 2.25rem; border: 1px solid #e8b86970; border-radius: 9px; color: var(--gold); font-size: .9rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.brand-copy { padding: .95rem; flex: 1; font-size: .94rem; }
.brand-copy ul { margin: -.5rem 0 .9rem; padding-left: 1.2rem; }
.brand-copy ::marker { color: var(--teal); }
.brand-button { margin: 0 .95rem .95rem; color: #fff; background: var(--teal); }
.brand-button:hover { color: #fff; background: #084b46; }
.table-scroll { clear: both; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; margin: 1.2rem 0; }
table { width: 100%; min-width: 450px; border-collapse: collapse; }
th, td { text-align: left; padding: .68rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: #fff; background: var(--deep); }
tr:nth-child(even) td { background: var(--paper); }
tbody tr:last-child td { border-bottom: 0; }
.author-profile { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: clamp(.85rem, 2.5vw, 1.45rem); background: linear-gradient(118deg, #e4f2ed, #f8fcfa 62%); }
.author-profile h2 { margin: 0 0 .35rem; font-size: 1rem; color: var(--teal); font-weight: 700; letter-spacing: 0; }
.author-profile .author-name { font-size: clamp(1.25rem, 3vw, 1.7rem); line-height: 1.2; font-weight: 800; margin-bottom: .6rem; }
.topic-list { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0 0 .85rem; padding: 0; }
.topic-list li, .topic-list li + li { margin: 0; border: 1px solid #bbd7cc; border-radius: 999px; padding: .18rem .55rem; color: #174f48; font-size: .85rem; }
.text-link { font-weight: 750; }
.faq { background: #f7fafb; }
.faq-item { border: 1px solid var(--line); border-radius: 11px; margin-top: .55rem; background: var(--surface); }
.faq-item[open] { border-color: #6caf9f; }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: .85rem; border-radius: 10px; cursor: pointer; list-style: none; padding: .8rem 1rem; min-height: 52px; font-weight: 750; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: #ebf5f2; }
.faq-toggle { display: grid; place-items: center; flex: 0 0 1.7rem; height: 1.7rem; border-radius: 50%; color: #145d53; background: #e0f0eb; font-size: 1.2rem; line-height: 1; }
.faq-toggle::before { content: "+"; }
.faq-item[open] .faq-toggle::before { content: "−"; }
.faq-answer { padding: 0 1rem .9rem; color: var(--muted); }
.faq-answer > :last-child { margin-bottom: 0; }
.secondary .hero-layout { display: block; padding-block: clamp(2.25rem, 5vw, 4.5rem); }
.secondary .prose { width: min(860px, calc(100% - 3rem)); margin-block: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: clamp(1.25rem, 4vw, 3rem); box-shadow: var(--shadow); }
.secondary .prose h2 { font-size: clamp(1.35rem, 2.75vw, 1.9rem); margin-top: 1.7rem; }
.secondary .prose h2:first-child { margin-top: 0; }
@media (max-width: 900px) {
  .info-grid, .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .wrap, .secondary .prose { width: calc(100% - 2rem); }
  .hero-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-image { max-width: 530px; }
  .hero-image img { aspect-ratio: 16 / 9; }
  .header nav, footer nav { gap: .15rem .8rem; }
}
@media (max-width: 545px) {
  .info-grid, .brand-grid { grid-template-columns: minmax(0, 1fr); }
  .section-image { float: none; width: min(100%, 360px); margin: 0 0 1rem; }
  .author-profile { grid-template-columns: minmax(0, 1fr); }
  .author-profile img { width: 60px; }
}
