:root {
  --ink: #11231f;
  --muted: #60716b;
  --green: #174b3d;
  --green-dark: #102f28;
  --mint: #d8f2e5;
  --paper: #f5f7f2;
  --line: #dce3dc;
  --white: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; line-height: 1.65; background: var(--paper); }
a { color: inherit; touch-action: manipulation; }
a:focus-visible { outline: 3px solid #a7e8c5; outline-offset: 4px; }
.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 20px; top: 12px; z-index: 99; padding: 10px 14px; background: white; }

.site-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(255,255,255,.12); background: rgba(16,47,40,.96); color: white; backdrop-filter: blur(12px); }
.nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: white; text-decoration: none; font-size: 19px; font-weight: 760; letter-spacing: .03em; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; color: var(--green-dark); background: var(--mint); }
nav { display: flex; gap: 28px; }
nav a { color: rgba(255,255,255,.78); text-decoration: none; font-size: 14px; transition: color 180ms ease; }
nav a:hover, nav a:focus { color: white; }

.hero { padding: 92px 0 82px; color: white; background: radial-gradient(circle at 80% 20%, #2d6c57 0, transparent 35%), linear-gradient(145deg, #0c2b24, #174b3d 66%, #1b5b49); }
.hero-grid { display: grid; grid-template-columns: 1.35fr .8fr; gap: 72px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: #5f876f; font-weight: 760; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }
.hero .eyebrow { color: #9fd2b6; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 24px; font-size: clamp(40px, 5.2vw, 68px); line-height: 1.12; letter-spacing: -.045em; text-wrap: balance; }
h2 { max-width: 780px; margin-bottom: 34px; font-size: clamp(30px, 4vw, 46px); line-height: 1.2; letter-spacing: -.035em; text-wrap: balance; }
h3 { margin-bottom: 10px; font-size: 21px; }
[id] { scroll-margin-top: 88px; }
.hero-copy { max-width: 700px; color: rgba(255,255,255,.74); font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid transparent; border-radius: 14px; text-decoration: none; font-weight: 700; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease; }
.button-primary { color: var(--green-dark); background: var(--mint); }
.button-secondary { border-color: rgba(255,255,255,.28); color: white; }
.button:hover { transform: translateY(-1px); }
.button-primary:hover { background: #ebfff4; }
.button-secondary:hover { border-color: rgba(255,255,255,.64); background: rgba(255,255,255,.08); }
.hero-card { padding: 30px; border: 1px solid rgba(255,255,255,.18); border-radius: 24px; background: rgba(255,255,255,.08); box-shadow: 0 30px 80px rgba(0,0,0,.18); }
.card-kicker { color: #9fd2b6; font-size: 13px; font-weight: 700; }
.hero-card dl { margin: 0; }
.hero-card dl div { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14); }
.hero-card dt { color: rgba(255,255,255,.56); font-size: 13px; }
.hero-card dd { margin: 4px 0 0; font-weight: 650; }
.small-note { margin: 12px 0 0; color: rgba(255,255,255,.5); font-size: 12px; }

.section { padding: 92px 0; }
.section-muted { background: #edf1ea; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-grid article { min-height: 260px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); }
.service-grid p { color: var(--muted); font-size: 14px; }
.number { display: block; margin-bottom: 36px; color: #6b8a78; font: 700 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { min-height: 164px; padding: 24px; border-top: 3px solid var(--green); background: rgba(255,255,255,.6); counter-increment: step; }
.steps li::before { content: "0" counter(step); display: block; margin-bottom: 18px; color: #769183; font-size: 12px; }
.steps strong, .steps span { display: block; }
.steps span { margin-top: 6px; color: var(--muted); font-size: 14px; }
.notice { display: grid; grid-template-columns: 160px 1fr; gap: 24px; margin-top: 30px; padding: 24px; border: 1px solid #cdd9d0; border-radius: 16px; }
.notice p { margin: 0; color: var(--muted); }
.contact-section { color: white; background: var(--green-dark); }
.contact-section .eyebrow { color: #9fd2b6; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.contact-card { padding: 28px; border: 1px solid rgba(255,255,255,.16); border-radius: 20px; }
.contact-card p { display: grid; grid-template-columns: 70px 1fr; gap: 16px; margin: 0; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-card p:last-child { border: 0; }
.contact-card span { color: rgba(255,255,255,.55); }
footer { padding: 28px 0; border-top: 1px solid var(--line); background: white; }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-grid p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; }
.footer-links a { color: var(--muted); }
.legal-page { min-height: calc(100vh - 170px); padding: 70px 0; }
.legal-card { max-width: 820px; padding: 44px; border: 1px solid var(--line); border-radius: 24px; background: white; }
.legal-card h1 { font-size: clamp(32px, 5vw, 48px); }
.legal-card p { color: var(--muted); }
.text-link { color: var(--green); font-weight: 700; }

@media (max-width: 860px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .service-grid, .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1120px); }
  .site-header { position: static; }
  .nav-wrap { min-height: 64px; }
  nav { display: none; }
  .hero { padding: 62px 0 54px; }
  h1 { font-size: 40px; }
  .hero-copy { font-size: 16px; }
  .button { width: 100%; }
  .section { padding: 64px 0; }
  .service-grid, .steps { grid-template-columns: 1fr; }
  .service-grid article { min-height: auto; }
  .number { margin-bottom: 22px; }
  .notice { grid-template-columns: 1fr; gap: 8px; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
  .legal-card { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .button { transition: none; }
  .button:hover { transform: none; }
}
