:root {
  color-scheme: light;
  --ink: #17232a;
  --muted: #5c6b72;
  --paper: #f7f4ec;
  --card: rgba(255, 255, 255, 0.86);
  --line: rgba(23, 35, 42, 0.12);
  --blue: #176b87;
  --blue-dark: #0d4d64;
  --amber: #f2a73b;
  --shadow: 0 18px 50px rgba(31, 45, 51, 0.11);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -10%, rgba(242, 167, 59, 0.22), transparent 31rem),
    radial-gradient(circle at 95% 18%, rgba(23, 107, 135, 0.15), transparent 34rem),
    var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Noto Sans SC", "Noto Sans TC", sans-serif;
  line-height: 1.65;
}

a { color: var(--blue-dark); }
a:hover { color: var(--blue); }

.shell { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 244, 236, 0.88);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-weight: 780;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: white;
  background: linear-gradient(145deg, var(--blue), var(--blue-dark));
  box-shadow: 0 8px 20px rgba(13, 77, 100, 0.22);
}

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-links { display: flex; gap: 18px; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.94rem; font-weight: 650; }

select {
  max-width: 150px;
  padding: 8px 30px 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: white;
  font: inherit;
}

.hero { padding: 86px 0 64px; }
.eyebrow { margin: 0 0 12px; color: var(--blue); font-size: 0.82rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
h1 { max-width: 780px; margin: 0; font-size: clamp(2.5rem, 7vw, 5.4rem); line-height: 0.98; letter-spacing: -0.06em; }
.lede { max-width: 660px; margin: 25px 0 0; color: var(--muted); font-size: clamp(1.06rem, 2.4vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 750;
  text-decoration: none;
}
.button.primary { border-color: var(--blue); color: white; background: var(--blue); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 20px 0 80px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); box-shadow: var(--shadow); }
.card-number { color: var(--amber); font-weight: 900; }
.card h2 { margin: 10px 0 8px; font-size: 1.22rem; letter-spacing: -0.02em; }
.card p { margin: 0; color: var(--muted); }

.document { max-width: 820px; padding: 68px 0 90px; }
.document h1 { font-size: clamp(2.35rem, 6vw, 4.4rem); }
.document .updated { margin: 16px 0 42px; color: var(--muted); }
.document section { margin: 34px 0; padding-top: 8px; }
.document h2 { margin-bottom: 10px; font-size: 1.42rem; letter-spacing: -0.025em; }
.document p, .document li { color: #39484f; }
.document ul, .document ol { padding-left: 1.25rem; }
.callout { padding: 20px 22px; border-left: 4px solid var(--amber); border-radius: 4px 14px 14px 4px; background: rgba(255, 255, 255, 0.72); }
.contact-box { padding: 24px; border: 1px solid rgba(23, 107, 135, 0.25); border-radius: 18px; background: rgba(23, 107, 135, 0.07); }

footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0 36px; font-size: 0.9rem; }
.footer-links { display: flex; gap: 16px; }

@media (max-width: 760px) {
  .nav { align-items: flex-start; padding: 14px 0; }
  .nav-links { display: none; }
  .grid { grid-template-columns: 1fr; }
  .hero { padding-top: 58px; }
  .footer-inner { flex-direction: column; }
}

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