:root {
  color-scheme: light;
  --ink: #102a3b;
  --muted: #476273;
  --line: #d4e3e8;
  --paper: #f5faf9;
  --white: #ffffff;
  --navy: #102c3b;
  --cyan: #006e78;
  --mint: #d8f6e6;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-synthesis: none;
  line-height: 1.75;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: #005f69; text-underline-offset: .2em; }
a:hover { color: #003f4d; }
a:focus-visible, summary:focus-visible { outline: 3px solid #ffbf47; outline-offset: 4px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 10; padding: .6rem 1rem; background: var(--white); }
.skip:focus { left: 1rem; }
.shell { width: min(1100px, calc(100% - 2.5rem)); margin-inline: auto; }
.site-header { background: var(--navy); color: #fff; }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .7rem; font-size: 1.1rem; font-weight: 800; letter-spacing: .02em; }
.brand:hover { color: #fff; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.site-nav { display: flex; flex-wrap: wrap; gap: .2rem .5rem; }
.site-nav a { color: #f2fbfc; text-decoration: none; padding: .4rem .7rem; border-radius: .5rem; font-weight: 650; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: #285164; }
.hero { background: linear-gradient(145deg, #102c3b 0%, #174c5c 100%); color: #fff; padding: 4.5rem 0 5rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(270px, .8fr); align-items: center; gap: 3rem; }
.eyebrow { color: #94f3d2; font-size: .82rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.35; letter-spacing: -.025em; }
h1 { font-size: clamp(2.2rem, 5.8vw, 4.2rem); margin: .35rem 0 1.1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); margin: 0 0 1rem; }
h3 { font-size: 1.12rem; margin: 0 0 .4rem; }
p { margin: .5rem 0 1rem; }
.lead { font-size: 1.13rem; max-width: 40rem; color: #e4f4f7; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; padding: .6rem 1.15rem; border-radius: .6rem; font-weight: 800; text-decoration: none; }
.button-primary { background: #96efc0; color: #073b34; }
.button-primary:hover { background: #b3f6d2; color: #073b34; }
.button-outline { color: #fff; border: 1px solid #a6cbd0; }
.button-outline:hover { color: #fff; background: #285164; }
.preview { background: #0a2636; border: 1px solid #528595; border-radius: 1.1rem; box-shadow: 0 24px 55px #05192566; padding: 1.2rem; }
.preview-label { color: #8aafbb; font-size: .8rem; font-weight: 750; letter-spacing: .13em; }
.preview code { display: block; color: #e2f8f8; font: 1rem/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; }
.preview .accent { color: #a3efc1; }
.section { padding: 4.2rem 0; }
.section-alt { background: #eaf3f3; }
.section-intro { color: var(--muted); max-width: 46rem; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.7rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: .9rem; padding: 1.35rem; box-shadow: 0 4px 18px #123c4a0a; }
.card p { color: var(--muted); margin-bottom: 0; }
.card-icon { display: inline-grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: .55rem; background: var(--mint); color: #145345; font: 700 .85rem ui-monospace, SFMono-Regular, Menlo, monospace; margin-bottom: .9rem; }
.tool-list { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; list-style: none; margin: 1.5rem 0 0; }
.tool-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .32rem .9rem; font-weight: 750; }
.notice { border-left: 4px solid #07817b; background: #e5f5f1; padding: .85rem 1.1rem; border-radius: 0 .55rem .55rem 0; }
.page-head { padding: 3.2rem 0 2.3rem; background: #e8f4f3; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: .5rem; }
.page-head p { max-width: 45rem; color: var(--muted); }
.content { width: min(780px, calc(100% - 2.5rem)); margin: 0 auto; padding: 3rem 0 4rem; }
.content section { margin-bottom: 2.7rem; }
.content ul, .content ol { padding-left: 1.5rem; }
.content li { margin: .45rem 0; }
.content .card { margin: 1.2rem 0; }
details { border: 1px solid var(--line); border-radius: .7rem; background: #fff; padding: 0 1.15rem; margin: .8rem 0; }
summary { cursor: pointer; padding: 1rem 0; font-weight: 750; }
details p, details ol { margin-top: 0; }
.contact { overflow-wrap: anywhere; font-size: 1.07rem; font-weight: 750; }
.meta { font-size: .88rem; color: var(--muted); }
.site-footer { background: var(--navy); color: #d7e9ed; padding: 2rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.site-footer a { color: #d6f7ec; }
.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; }
.small { font-size: .88rem; }
@media (max-width: 730px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: .9rem 0; gap: .4rem; }
  .site-nav a { padding-left: 0; margin-right: .8rem; }
  .hero { padding: 3rem 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .preview { max-width: 450px; }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 3rem 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
