:root {
  --tp-ink: #102420;
  --tp-deep: #102e28;
  --tp-green: #125547;
  --tp-gold: #f5c765;
  --tp-paper: #f7f7f0;
  --tp-muted: #4d6259;
  --tp-line: #ced9cf;
}

body { background: var(--tp-paper); color: var(--tp-ink); }
.tp-wrap { width: min(100% - 48px, 1160px); margin-inline: auto; }
body > header {
  padding: 0;
  background: #0d2621;
  border-bottom: 1px solid #36594f;
  box-shadow: 0 4px 16px #0d262120;
}
body > header > .wrap {
  width: min(100% - 48px, 1160px);
  max-width: none;
  padding: 10px 0;
  min-height: 66px;
  margin-inline: auto;
  flex-wrap: nowrap;
  gap: 12px;
}
.tp-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 17px; font-weight: 760; line-height: 1.15; text-decoration: none; }
.tp-mark { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border: 1px solid #d8a94f; border-radius: 10px; background: #1e3b30; color: var(--tp-gold); font-size: 15px; letter-spacing: .06em; }
body > header .primary-guide-links { gap: clamp(12px, 2.8vw, 30px); }
body > header .primary-guide-links a { color: #eff6f1; }
body > header .site-navigation > summary { padding-inline: 12px; border-color: #799386; color: #fff; background: #17362d; white-space: nowrap; }
body > header .site-navigation[open] > nav { background: #122f28; border-color: #55786a; }
body > header nav a { color: #e8f2ed; }
.tp-home { padding: 0; max-width: none; }
.tp-home h1, .tp-home h2, .tp-home h3, .tp-footer h2 { margin: 0; letter-spacing: -.025em; }
.tp-home p, .tp-footer p { margin: 0; }
.tp-hero { background: radial-gradient(ellipse at 75% 20%, #205344 0, transparent 58%), #112e27; color: #fff; padding-block: clamp(30px, 4.8vw, 70px); }
.tp-hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: clamp(26px, 5.5vw, 78px); }
.tp-hero-copy { min-width: 0; }
.tp-hero-copy .tp-kicker { color: var(--tp-gold); font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.tp-hero h1 { font-size: clamp(2.1rem, 4.4vw, 4.2rem); line-height: 1.16; color: #fff; }
.tp-hero h1 span { color: var(--tp-gold); white-space: nowrap; }
.tp-hero-copy > p:not(.tp-kicker) { max-width: 37rem; margin-top: 16px; color: #e0eee6; font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.72; }
.tp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.tp-actions .tp-button { min-height: 48px; display: inline-flex; align-items: center; gap: 9px; justify-content: center; padding: 9px 16px; border: 1px solid var(--tp-gold); border-radius: 8px; color: #172917; background: var(--tp-gold); font-weight: 720; text-decoration: none; }
.tp-actions .tp-button-outline { border-color: #819f91; background: transparent; color: #fff; }
.tp-actions .tp-button:hover { background: #ffdb86; color: #172917; }
.tp-actions .tp-button-outline:hover { background: #285243; color: #fff; }
.tp-hero-photo { position: relative; margin: 0; overflow: hidden; aspect-ratio: 1.42; border-radius: 18px; border: 1px solid #779081; background: #1a4b3d; box-shadow: 0 18px 45px #071b1590; }
.tp-hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tp-section { padding-block: clamp(38px, 5.5vw, 68px); }
.tp-home [id] { scroll-margin-top: 82px; }
.tp-section-head { display: grid; gap: 6px; margin-bottom: 22px; }
.tp-section-head h2 { color: var(--tp-ink); font-size: clamp(1.55rem, 3vw, 2.45rem); line-height: 1.25; }
.tp-section-head p, .tp-brand-card p, .tp-topic-card p { color: var(--tp-muted); line-height: 1.6; }
.tp-brand-grid, .tp-topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tp-brand-card, .tp-topic-card { border: 1px solid var(--tp-line); border-radius: 13px; background: #fff; padding: clamp(18px, 3vw, 29px); }
.tp-brand-card h3, .tp-topic-card h3 { color: var(--tp-ink); font-size: clamp(1.16rem, 2vw, 1.5rem); line-height: 1.3; margin-bottom: 5px; }
.tp-brand-card h3 a, .tp-topic-card > a { color: var(--tp-green); }
.tp-list, .tp-footer ul { list-style: none; margin: 0; padding: 0; }
.tp-list { margin-top: 14px; }
.tp-list li { border-top: 1px solid #e0e7df; }
.tp-list a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 0; color: var(--tp-green); font-weight: 700; }
.tp-help { background: #e8efe7; border-top: 1px solid #d5e1d5; }
.tp-topic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tp-topic-card { display: flex; flex-direction: column; gap: 8px; }
.tp-topic-card > a { align-self: start; margin-top: auto; padding-top: 6px; font-weight: 740; text-decoration: underline; text-underline-offset: .17em; }
.tp-list a:hover, .tp-brand-card a:hover { text-decoration: underline; text-underline-offset: .17em; }

body > main.wrap { padding-block: 28px 42px; }
body > main.wrap a { color: var(--tp-green); text-decoration: underline; text-underline-offset: .16em; }
.tp-footer { background: #0d2621; color: #e7f0ea; padding: 40px 0; text-align: start; border-top: 1px solid #36594f; }
.tp-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.tp-footer .tp-brand { margin-bottom: 12px; }
.tp-footer p { color: #bfd1c6; max-width: 25rem; }
.tp-footer h2 { color: #fff; font-size: 1.1rem; margin-bottom: 11px; }
.tp-footer li + li { margin-top: 8px; }
.tp-footer li a { color: #e7f0ea; text-decoration: underline; text-underline-offset: .16em; }
.tp-home a:focus-visible, .tp-footer a:focus-visible, .tp-brand:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

@media (max-width: 780px) {
  .tp-hero-grid { grid-template-columns: 1fr; }
  .tp-hero-photo { aspect-ratio: 1.8; }
  .tp-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 540px) {
  .tp-wrap, body > header > .wrap { width: calc(100% - 32px); }
  .tp-brand { font-size: 15px; gap: 8px; }
  .tp-mark { width: 34px; height: 34px; }
  .tp-brand-grid, .tp-topic-grid, .tp-footer-grid { grid-template-columns: 1fr; }
  .tp-hero { padding-top: 30px; }
  .tp-hero-photo { aspect-ratio: 1.52; }
  .tp-footer-grid { gap: 23px; }
}
