* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
}
body {
  margin:0;
  background:#f8f6f1;
  color:#18283b;
  font:16px/1.8 system-ui,"Microsoft YaHei",sans-serif;
}
a {
  color:inherit;
}
a:focus-visible {
  outline:3px solid #bd6c12;
  outline-offset:4px;
}
img {
  max-width:100%;
  display:block;
  height:auto;
}
.wrap {
  width:min(1160px,92%);
  margin:auto;
}
header {
  background:#fff;
  border-bottom:1px solid #e8e2d8;
}
.bar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:76px;
  flex-wrap:wrap;
}
.brand {
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
  text-decoration:none;
}
.brand img {
  width:44px;
}
nav {
  display:flex;
  gap:22px;
  flex-wrap:wrap;
}
nav a {
  text-decoration:none;
}
.hero {
  background:#142339;
  color:#fff;
  padding:64px 0;
}
.hero-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:40px;
}
.eyebrow {
  color:#f5b642;
  letter-spacing:.16em;
  font-size:13px;
}
h1 {
  font-size:clamp(28px,4vw,46px);
  line-height:1.3;
  margin:12px 0;
}
h2 {
  font-size:27px;
  line-height:1.4;
  margin:0 0 18px;
}
h3 {
  line-height:1.5;
  margin:12px 0;
}
p {
  margin:0 0 16px;
}
.cta {
  display:inline-block;
  background:#f5b642;
  color:#142339;
  padding:10px 22px;
  border-radius:8px;
  font-weight:700;
  text-decoration:none;
}
.section {
  padding:42px 0;
}
.intro {
  max-width:850px;
}
.cards {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}
.tile {
  background:#fff;
  border:1px solid #e6dfd4;
  border-radius:15px;
  overflow:hidden;
}
.tile img {
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}
.content {
  padding:20px;
}
.tag {
  color:#805113;
  font-size:13px;
  font-weight:700;
}
.tile a {
  font-weight:700;
  text-underline-offset:5px;
}
.guide {
  background:#ede8dc;
}
.guide-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}
.guide-grid div {
  border-top:3px solid #b77b27;
  padding-top:12px;
}
.article {
  max-width:820px;
  margin:36px auto;
  background:white;
  padding:clamp(20px,5vw,52px);
  border-radius:16px;
}
.article img {
  border-radius:10px;
  margin:20px 0;
}
.article h2 {
  margin-top:28px;
}
footer {
  background:#142339;
  color:#e0e5ec;
  padding:30px 0;
}
footer a {
  margin-right:16px;
}
.muted {
  color:#536174;
}
.hero .muted {
  color:#d5dce6;
}
@media(max-width:760px) {
  .hero-grid,.guide-grid {
    grid-template-columns:1fr;
  }
  .cards {
    grid-template-columns:repeat(2,1fr);
  }
  .hero {
    padding:36px 0;
  }
  .bar {
    padding:12px 0;
  }
  nav {
    gap:15px;
  }
}
@media(max-width:480px) {
  .cards {
    grid-template-columns:1fr;
  }
}
/* Homepage accessibility and responsive refinements */
.hero-grid > *, .cards > *, .guide-grid > * {
  min-width: 0;
}
.faq-item {
  padding: 16px 0;
  border-bottom: 1px solid #e6dfd4;
}
.faq-item h3 {
  margin-top: 0;
}
.faq-item p {
  margin-bottom: 0;
}
nav a[aria-current="page"] {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.hero-grid > img {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  border-radius: 14px;
}
.tile img {
  aspect-ratio: 1 / 1;
  object-position: center;
}
.article img {
  width: min(100%, 520px);
  margin-inline: auto;
}
.visual-note {
  font-size: 13px;
  color: #536174;
  margin-top: 18px;
}
@media (max-width: 760px) {
  .hero-grid > img {
    aspect-ratio: 3 / 1;
  }
}
