:root {
  --ink:#1b2439;
  --muted:#626c7e;
  --paper:#f7f8fc;
  --orange:#ed7948;
  --violet:#5c477d;
  --line:#e5e7f0;
  --white:#fff;
  --radius:18px}

* {
  box-sizing:border-box}

html {
  scroll-behavior:smooth}

body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:16px/1.75 system-ui,-apple-system,"Microsoft YaHei","PingFang SC",sans-serif}

a {
  color:inherit;
  text-decoration:none}

a:hover {
  color:#bd572f}

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

button,input {
  font:inherit}

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

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

.topin {
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px}

.brand {
  display:flex;
  align-items:center;
  gap:12px;
  font-size:23px;
  font-weight:850;
  letter-spacing:.02em}

.brandicon {
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  background:#fff0e6;
  border-radius:15px;
  font-size:29px}

.tagline {
  font-size:13px;
  color:var(--muted)}

.nav {
  background:#1b2943;
  color:#fff}

.navin {
  display:flex;
  gap:8px;
  align-items:center;
  flex-wrap:wrap;
  padding:9px 0}

.nav a {
  padding:7px 15px;
  border-radius:999px;
  font-size:14px}

.nav a:hover,.nav .active {
  background:var(--orange);
  color:#fff}

.hero {
  background:#1b2943;
  color:#fff;
  overflow:hidden}

.heroin {
  display:grid;
  grid-template-columns:1fr 42%;
  min-height:360px;
  align-items:center;
  gap:36px}

.hero h1 {
  font-size:clamp(29px,4vw,48px);
  line-height:1.24;
  letter-spacing:.02em;
  margin:14px 0 18px}

.hero p {
  color:#e7e9f4;
  max-width:640px}

.eyebrow {
  color:#ffc18e;
  font-weight:750;
  letter-spacing:.13em}

.heroimg {
  height:315px;
  width:100%;
  object-fit:cover;
  object-position:30% center;
  border-radius:20px;
  box-shadow:0 15px 50px #070b1b66}

.cta {
  display:inline-block;
  background:var(--orange);
  color:#fff;
  padding:11px 24px;
  border-radius:999px;
  font-weight:700;
  margin-top:12px}

.section {
  padding:38px 0}

.sectionhead {
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:20px;
  margin-bottom:19px}

.sectionhead h2 {
  margin:0;
  font-size:26px;
  line-height:1.35}

.sectionhead p {
  margin:0;
  color:var(--muted);
  font-size:14px}

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

.tile {
  display:block;
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:0 7px 22px #16244009;
  transition:transform .2s,box-shadow .2s}

.tile:hover {
  transform:translateY(-3px);
  box-shadow:0 10px 28px #1624401a}

.tile img {
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover}

.tilebody {
  padding:18px}

.tile h3 {
  margin:0 0 7px;
  font-size:19px}

.tile p {
  margin:0;
  color:var(--muted);
  font-size:14px}

.kicker {
  display:inline-block;
  color:#b65432;
  font-size:12px;
  font-weight:800;
  margin-bottom:5px}

.split {
  display:grid;
  grid-template-columns:1.6fr 1fr;
  gap:22px}

.panel {
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:25px}

.panel h2 {
  margin:0 0 15px;
  font-size:23px}

.panel p {
  color:var(--muted)}

.linklist {
  padding:0;
  margin:0;
  list-style:none}

.linklist li {
  padding:12px 0;
  border-bottom:1px solid var(--line)}

.linklist li:last-child {
  border:0}

.linklist a {
  display:flex;
  justify-content:space-between;
  gap:10px}

.linklist a span {
  color:var(--orange)}

.footer {
  margin-top:40px;
  background:#1b2439;
  color:#e6eaf2;
  padding:35px 0}

.footer a {
  color:#e6eaf2}

.footer p {
  font-size:13px;
  color:#b8c0d0}

.footlinks {
  display:flex;
  flex-wrap:wrap;
  gap:18px}

.articlehead {
  background:#fff;
  border-bottom:1px solid var(--line);
  padding:40px 0}

.articlehead h1 {
  max-width:850px;
  font-size:clamp(27px,3.4vw,40px);
  line-height:1.35;
  margin:12px 0}

.breadcrumb {
  color:var(--muted);
  font-size:14px}

.articlelayout {
  display:grid;
  grid-template-columns:minmax(0,1fr) 270px;
  gap:26px;
  align-items:start}

.prose {
  background:#fff;
  padding:32px;
  border-radius:var(--radius);
  border:1px solid var(--line)}

.prose h2 {
  font-size:24px;
  margin:28px 0 12px}

.prose h2:first-child {
  margin-top:0}

.prose p {
  line-height:2;
  color:#354057}

.articleimg {
  width:100%;
  aspect-ratio:16/8;
  object-fit:cover;
  border-radius:12px;
  margin:20px 0}

.aside {
  position:sticky;
  top:20px}

.note {
  font-size:13px;
  color:var(--muted);
  background:#f1f3f8;
  padding:14px;
  border-radius:10px}

.skip {
  position:absolute;
  left:-9999px}

.skip:focus {
  left:10px;
  top:10px;
  background:#fff;
  padding:10px;
  z-index:99}

@media(max-width:850px) {
  .heroin {
  grid-template-columns:1fr;
  padding:30px 0}

.heroimg {
  height:240px}

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

.split,.articlelayout {
  grid-template-columns:1fr}

.aside {
  position:static}

.topin {
  align-items:flex-start;
  flex-direction:column;
  padding:15px 0;
  gap:2px}

}

@media(max-width:560px) {
  .wrap {
  width:min(100% - 26px,1160px)}

.grid {
  grid-template-columns:1fr}

.hero h1 {
  font-size:29px}

.sectionhead {
  display:block}

.sectionhead h2 {
  font-size:23px}

.panel,.prose {
  padding:20px}

.navin {
  gap:0}

.nav a {
  font-size:13px;
  padding:6px 10px}

.brand {
  font-size:20px}

}

/* Layout resilience and accessibility */
:where(.tile, .panel, .prose, .hero, .articlehead) {
  min-width: 0;
}

:where(h1, h2, h3, p, a) {
  overflow-wrap: anywhere;
}

:focus-visible {
  outline: 3px solid #f49a60;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile { transition: none; }
}
