:root {
  --wrap: 1680px;

  --ink: #172033;
  --muted: #5f6978;
  --paper: #fbf7ef;
  --surface: #ffffff;
  --surface-soft: #f4efe6;
  --surface-deep: #e9e0d1;
  --line: #ddd2c1;

  --brand: #245c63;
  --brand-dark: #183f46;
  --brand-soft: #dceceb;
  --accent: #b7791f;
  --accent-soft: #f5e6c8;

  --shadow: 0 22px 55px rgba(23, 32, 51, 0.12);
  --shadow-soft: 0 14px 34px rgba(23, 32, 51, 0.09);

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

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

a {
  color: var(--brand-dark);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

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

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 247, 239, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 280px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 56px;
  height: 56px;
  max-width: none;
  flex: 0 0 56px;
  display: block;
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text strong {
  font-size: clamp(1.05rem, 1vw + 0.8rem, 1.45rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.25;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  color: var(--ink);
  font-weight: 650;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 999px;
}

.main-nav a:hover,
.main-nav a:focus {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.hero {
  padding: clamp(46px, 7vw, 108px) 0 clamp(34px, 5vw, 78px);
  background:
    radial-gradient(circle at top left, rgba(36, 92, 99, 0.19), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(183, 121, 31, 0.14), transparent 35rem),
    linear-gradient(180deg, #fffaf1 0%, var(--paper) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: clamp(26px, 4vw, 70px);
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 18px;
  max-width: 1100px;
  font-size: clamp(2.45rem, 5vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.lead {
  margin: 0;
  font-size: clamp(1.1rem, 1.05vw + 0.9rem, 1.5rem);
  color: #313b4d;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.notice-box {
  margin-top: 26px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
}

.button.primary {
  color: #fff;
  background: var(--brand-dark);
  box-shadow: 0 12px 24px rgba(24, 63, 70, 0.2);
}

.button.primary:hover {
  color: #fff;
  background: #0f3036;
}

.button.secondary {
  color: var(--brand-dark);
  background: #fff;
  border-color: var(--line);
}

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

.hero-card,
.info-panel,
.topic-card,
.feature-card,
.link-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.hero-card {
  padding: clamp(22px, 3vw, 36px);
}

.hero-card h2,
.info-panel h3,
.topic-card h3,
.feature-card h3,
.link-box h3 {
  margin-top: 0;
  line-height: 1.16;
  letter-spacing: -0.03em;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1;
}

.ad-section {
  margin: 30px 0 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.ad-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section {
  padding: clamp(46px, 6vw, 92px) 0;
}

.section-heading {
  margin-bottom: clamp(24px, 3vw, 42px);
}

.section-heading h2,
.two-column h2,
.author-grid h2,
.disclaimer-section h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 2.7vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.section-heading p,
.two-column p,
.author-grid p,
.disclaimer-section p {
  color: #354052;
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

.topic-card {
  display: grid;
  gap: 10px;
  padding: 22px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.topic-card:hover,
.topic-card:focus {
  transform: translateY(-3px);
  color: var(--ink);
  border-color: rgba(36, 92, 99, 0.35);
  box-shadow: var(--shadow);
}

.card-kicker {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topic-card h3 {
  margin-bottom: 0;
  font-size: 1.28rem;
}

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

.tinted {
  background:
    linear-gradient(135deg, rgba(36, 92, 99, 0.09), rgba(183, 121, 31, 0.08)),
    var(--surface-soft);
  border-block: 1px solid var(--line);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: clamp(22px, 4vw, 68px);
  align-items: start;
}

.info-panel {
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
}

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

.feature-card {
  padding: 24px;
}

.feature-card h3 {
  font-size: 1.35rem;
}

.feature-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.feature-card h3 a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

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

.muted-section {
  background: rgba(255, 255, 255, 0.48);
}

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

.link-box {
  padding: 22px;
}

.link-box ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.link-box a {
  font-weight: 650;
}

.author-band {
  background: var(--brand-dark);
  color: #fff;
}

.author-band .eyebrow,
.author-band p {
  color: rgba(255, 255, 255, 0.82);
}

.author-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.author-band .button.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.author-band .button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
}

.disclaimer-section {
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: #111827;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) repeat(3, minmax(180px, 0.6fr));
  gap: 30px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}

.footer-mark {
  width: 42px;
  height: 42px;
  max-width: none;
  flex: 0 0 42px;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 1rem;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.92rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1280px) {
  .six-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

@media (max-width: 1020px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero-grid,
  .two-column,
  .author-grid {
    grid-template-columns: 1fr;
  }

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

  .author-actions {
    margin-top: 0;
  }
}

@media (max-width: 720px) {
  .wrap {
    width: min(100% - 32px, var(--wrap));
  }

  .site-header {
    position: static;
  }

  .header-inner {
    min-height: auto;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  .brand-text strong {
    font-size: 1.08rem;
  }

  .brand-text span {
    font-size: 0.78rem;
  }

  .main-nav {
    gap: 6px;
  }

  .main-nav a {
    min-height: 36px;
    padding: 7px 10px;
    font-size: 0.88rem;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-copy h1 {
    font-size: clamp(2.25rem, 13vw, 3.5rem);
  }

  .six-grid,
  .feature-grid,
  .link-columns,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .notice-box,
  .hero-card,
  .info-panel,
  .topic-card,
  .feature-card,
  .link-box {
    border-radius: 20px;
  }

  .footer-bottom {
    display: grid;
  }
}