:root {
  color-scheme: light;
  --ink: #1e252b;
  --muted: #66717c;
  --line: #d8d0c4;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --navy: #17324d;
  --teal: #0f766e;
  --gold: #d99a21;
  --rose: #c53d5d;
  --shadow: 0 18px 48px rgba(28, 34, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--navy);
  color: white;
  font-size: 15px;
}

nav {
  display: flex;
  gap: clamp(12px, 3vw, 28px);
  color: var(--muted);
  font-size: 15px;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  min-height: calc(100vh - 68px);
  padding: clamp(40px, 7vw, 86px) clamp(18px, 5vw, 64px) 42px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 740px;
  margin-bottom: 20px;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lede {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
}

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

.button.secondary {
  background: white;
}

.hero-visual {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  filter: drop-shadow(var(--shadow));
}

.tool-band,
.content-section {
  padding: 58px clamp(18px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.tool-band {
  background: #eef6f4;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

.tool-grid {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.chooser,
.recommendation,
.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 26px rgba(28, 34, 40, 0.08);
}

.chooser {
  display: grid;
  gap: 16px;
  padding: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.recommendation {
  min-height: 190px;
  padding: 24px;
}

.pill,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f6e7c8;
  color: #76510b;
  font-size: 13px;
  font-weight: 800;
}

.recommendation h3 {
  margin: 16px 0 10px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
}

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

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

.card {
  min-height: 220px;
  padding: 22px;
}

.card h3 {
  margin: 18px 0 10px;
  font-size: 24px;
  line-height: 1.12;
}

.card h3 a {
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--teal);
}

.article-header,
.article-main {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
}

.article-header {
  padding: 28px 0 18px;
}

.article-main {
  padding: 28px 0 64px;
}

.article-main h1 {
  font-size: clamp(38px, 6vw, 62px);
}

.article-main h2 {
  margin-top: 36px;
}

.article-main p,
.article-main li {
  color: var(--muted);
  font-size: 18px;
}

.article-main strong {
  color: var(--ink);
}

.article-main a {
  color: var(--teal);
}

.article-box {
  margin: 28px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.compact {
  background: #f4efe6;
}

.template-list {
  display: grid;
  gap: 12px;
  max-width: 820px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.template-list li {
  padding: 16px 18px;
  border-left: 5px solid var(--gold);
  background: white;
  border-radius: 8px;
  font-weight: 700;
}

footer {
  padding: 32px clamp(18px, 5vw, 64px) 46px;
  background: var(--navy);
}

footer p {
  max-width: 860px;
  margin: 0;
  color: #e7ecef;
}

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

  .hero,
  .tool-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    max-height: 360px;
  }
}

@media (max-width: 520px) {
  nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 14px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
    text-align: center;
  }
}
