:root {
  --navy: #24386e;
  --navy-deep: #1c2f5d;
  --teal: #49b6c7;
  --bg: #f6f8fc;
  --surface: #ffffff;
  --text: #182133;
  --muted: #5b6781;
  --line: #d7dfef;
  --shadow: 0 18px 40px rgba(24, 33, 51, 0.08);
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f9fbff 0%, #eef3fb 100%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 76px 0; }
.section-alt { background: rgba(255,255,255,0.7); backdrop-filter: blur(6px); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 12px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 248, 252, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(36, 56, 110, 0.08);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}
.brand img { height: 46px; width: auto; }
.site-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.site-nav a {
  font-weight: 600;
  color: var(--navy);
}
.hero { padding: 52px 0 32px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 32px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.25rem, 4vw, 4.6rem);
  line-height: 0.98;
  margin: 0 0 18px;
  color: var(--navy-deep);
  max-width: 10ch;
}
.lede {
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 60ch;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 18px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
}
.button-primary {
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow);
}
.button-secondary {
  background: white;
  color: var(--navy);
  border: 1px solid var(--line);
}
.mini-note {
  color: var(--muted);
  font-size: 0.95rem;
}
.hero-card {
  background: var(--surface);
  border: 1px solid rgba(36, 56, 110, 0.08);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-photo {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: center top;
}
.hero-card-copy {
  padding: 22px;
}
.hero-card-copy h2 { margin: 0 0 8px; color: var(--navy); }
.hero-card-copy p { margin: 0; color: var(--muted); }
.section-heading { margin-bottom: 28px; }
.section-heading h2, .links-grid h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.05;
  margin: 0 0 10px;
  color: var(--navy-deep);
}
.section-heading p, .muted { color: var(--muted); }
.narrow { max-width: 760px; }
.rule-panels, .tip-grid, .recipe-grid, .links-grid {
  display: grid;
  gap: 18px;
}
.rule-panels {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.panel, .tip-card, .recipe-card, .link-card {
  background: var(--surface);
  border: 1px solid rgba(36, 56, 110, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.panel { padding: 24px; }
.panel h3 { margin-top: 0; color: var(--navy); }
.panel ul { padding-left: 18px; margin-bottom: 0; color: var(--muted); line-height: 1.7; }
.panel.accent {
  background: linear-gradient(160deg, var(--navy) 0%, #2f4c90 100%);
  color: white;
}
.panel.accent h3,
.panel.accent ul { color: white; }
.tip-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tip-card { padding: 20px; line-height: 1.65; color: var(--muted); }
.controls {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.filter-row { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line);
  background: white;
  color: var(--navy);
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}
.chip.active { background: var(--navy); color: white; border-color: var(--navy); }
.search-wrap input {
  width: min(360px, 100%);
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 0 14px;
  font: inherit;
}
.recipe-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recipe-card { padding: 24px; }
.recipe-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.recipe-card h3 { margin: 0; color: var(--navy-deep); }
.badge {
  background: rgba(73, 182, 199, 0.13);
  color: #187b8b;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: capitalize;
}
.recipe-card p { color: var(--muted); line-height: 1.7; }
.recipe-card h4 {
  margin: 18px 0 10px;
  color: var(--navy);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.recipe-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}
.links-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}
.link-cards { display: grid; gap: 14px; }
.link-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
}
.link-card span { color: var(--muted); }
.link-card strong { color: var(--navy); }
.site-footer {
  background: var(--navy-deep);
  color: white;
  padding: 28px 0;
}
.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-wrap img { height: 78px; width: auto; }
.back-top { font-weight: 700; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 920px) {
  .hero-grid,
  .rule-panels,
  .tip-grid,
  .recipe-grid,
  .links-grid { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 12ch; }
  .site-nav { display: none; }
}
@media (max-width: 640px) {
  .section { padding: 56px 0; }
  .hero { padding-top: 30px; }
  .nav-wrap { justify-content: center; }
  .controls { align-items: stretch; }
  .search-wrap, .search-wrap input { width: 100%; }
  .recipe-top { flex-direction: column; }
}
