:root {
  color-scheme: light;
  --ink: #13274a;
  --muted: #455574;
  --blue: #0057c8;
  --paper: #f9f8f5;
  --border: #dce5f0;
  font: 16px/1.65 "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.container { width: min(100% - 40px, 1216px); margin-inline: auto; }
.skip { position: absolute; inset: 8px auto auto 12px; z-index: 2; padding: 10px; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.header { border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { display: block; width: clamp(144px, 15vw, 183px); height: auto; }
.header-nav { display: none; gap: 34px; color: var(--muted); }
.header-nav a, .contact { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 600; }
.header-nav a:hover, .footer a:hover { color: var(--blue); }
.contact { color: var(--blue); gap: 7px; white-space: nowrap; font-size: .9rem; }
.contact span { display: none; }
.hero { margin-block: 16px 0; background: #eaf4fd; border: 1px solid #dfebf6; border-radius: 24px; overflow: hidden; }
.hero-copy { padding: 28px 24px 26px; }
.location { font-size: .88rem; font-weight: 650; color: #245b98; margin-bottom: 12px; }
h1 { font-size: clamp(2.32rem, 6vw, 4.65rem); line-height: 1.16; letter-spacing: -.055em; font-weight: 800; }
h1 em { color: #1459a7; font-style: normal; }
.hero-line { display: block; margin-top: 14px; font-size: clamp(1.05rem, 2vw, 1.58rem); line-height: 1.45; letter-spacing: -.022em; }
.hero-description { margin-top: 16px; max-width: 30ch; color: var(--muted); }
.primary { display: inline-flex; align-items: center; gap: 16px; background: var(--blue); color: white; text-decoration: none; font-weight: 650; min-height: 46px; padding: 8px 17px; border-radius: 9px; margin-top: 19px; }
.primary:hover { background: #034ca9; }
.hero-scene { position: relative; min-width: 0; background: #9dc4e7; }
.hero-scene img { display: block; width: 100%; height: 100%; min-height: 215px; max-height: 280px; object-fit: cover; object-position: 74% 57%; }
.hero-scene figcaption { position: absolute; bottom: 12px; right: 13px; background: #13274ae8; color: white; border-radius: 6px; padding: 3px 7px; font-size: .75rem; }
h2 { font-size: clamp(1.52rem, 3vw, 2.1rem); letter-spacing: -.035em; line-height: 1.28; }
.services { margin-block: 31px; }
.service-grid { display: grid; gap: 10px; list-style: none; margin: 14px 0 0; padding: 0; }
.service-grid li { background: #fffefc; border: 1px solid var(--border); border-radius: 12px; padding: 13px 16px; }
.service-grid h3 { font-size: 1.06rem; margin-bottom: 3px; }
.service-grid p, .entries p { color: var(--muted); }
.entries { background: #efedf8; border: 1px solid #e5dff2; border-radius: 17px; padding: 18px; margin-bottom: 34px; }
.entries p { margin-block: 8px 15px; }
.entry-grid { display: grid; gap: 8px; }
.entry-grid a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 13px; min-height: 53px; border: 1px solid #ded8ed; border-radius: 9px; background: #fffefc; text-decoration: none; }
.entry-grid a:hover { border-color: var(--blue); }
.entry-grid small { display: block; font-size: .84rem; color: var(--muted); }
.entry-grid a > span:last-child { color: var(--blue); }
.footer { border-top: 1px solid var(--border); color: var(--muted); font-size: .88rem; padding-bottom: env(safe-area-inset-bottom, 0); }
.footer-inner { display: flex; flex-direction: column; align-items: flex-start; padding-block: 9px; }
.footer a { display: inline-flex; align-items: center; min-height: 44px; text-underline-offset: 3px; }
.footer p { padding-block: 8px; }
@media (min-width: 600px) {
  .header-nav, .contact span { display: inline-flex; }
  .service-grid, .entry-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 840px) {
  .header-inner { min-height: 78px; }
  .contact { border: 1px solid var(--border); border-radius: 9px; padding-inline: 14px; }
  .hero { display: grid; grid-template-columns: .96fr 1.04fr; margin-top: 28px; min-height: 478px; }
  .hero-copy { padding: clamp(34px, 4.3vw, 66px); align-self: center; }
  .hero-scene img { min-height: 478px; max-height: none; position: absolute; inset: 0; }
  .hero-scene figcaption { bottom: 16px; right: 16px; }
  .services { margin-block: 34px; }
  .service-grid { gap: 15px; }
  .service-grid li { padding: 17px 20px; }
  .entries { display: grid; grid-template-columns: .63fr 1.37fr; align-items: center; gap: 20px; padding: 20px 24px; }
  .entries p { margin-bottom: 0; }
  .footer-inner { flex-direction: row; align-items: center; gap: 22px; }
  .footer-inner > a:last-child { margin-inline-start: auto; }
}
