:root {
  --green-950: #062f29;
  --green-900: #073f36;
  --green-800: #0c594c;
  --green-700: #16705f;
  --green-100: #dcebe5;
  --green-050: #edf5f1;
  --paper: #f5f7f5;
  --cream: #fbfaf5;
  --white: #ffffff;
  --ink: #17312c;
  --muted: #63736f;
  --line: #d8e2de;
  --accent: #8cc7ae;
  --shadow: 0 20px 58px rgba(4, 40, 34, .12);
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
body.home-page { display: flex; min-height: 100svh; flex-direction: column; }
a { color: inherit; }
button,
select { font: inherit; }
.content-shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: -60px;
  left: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--white);
  background: var(--green-950);
}

.skip-link:focus { top: 10px; }
.site-header { flex: 0 0 auto; position: relative; z-index: 10; color: var(--white); background: var(--green-950); box-shadow: 0 3px 16px rgba(0, 0, 0, .16); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--white); text-decoration: none; }
.brand-mark { width: 27px; height: 27px; border: 7px solid var(--accent); border-top-color: transparent; border-radius: 50% 50% 46% 54%; transform: rotate(28deg); }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-size: 1rem; letter-spacing: -.02em; }
.brand-copy small { color: rgba(255, 255, 255, .66); font-size: .69rem; }
.header-action { padding: 9px 13px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 8px; color: var(--white); font-size: .76rem; font-weight: 800; letter-spacing: .04em; text-decoration: none; }

.brand:focus-visible,
.header-action:focus-visible,
.selector-form select:focus-visible,
.selector-form button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.compact-main { display: flex; flex: 1 0 auto; }
.compact-hero {
  display: flex;
  flex: 1 0 auto;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 22%, rgba(140, 199, 174, .2), transparent 24rem),
    linear-gradient(135deg, var(--cream), var(--green-050));
}

.compact-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(270px, .62fr);
  align-items: center;
  gap: clamp(38px, 6vw, 88px);
  min-height: calc(100svh - 126px);
  padding-block: clamp(34px, 4.5vh, 54px);
}

.compact-hero__content { min-width: 0; }
.eyebrow { margin: 0 0 10px; color: var(--green-700); font-size: .7rem; font-weight: 820; letter-spacing: .14em; text-transform: uppercase; }
.compact-hero h1 { margin: 0; color: var(--green-950); font-family: Georgia, "Times New Roman", serif; font-size: clamp(4.2rem, 7.4vw, 6.8rem); font-weight: 500; line-height: .86; letter-spacing: -.065em; }
.compact-hero__subtitle { max-width: 700px; margin: 23px 0 0; color: var(--green-900); font-size: clamp(1.2rem, 2.1vw, 1.8rem); font-weight: 680; line-height: 1.15; letter-spacing: -.028em; }

.selector-block { max-width: 720px; margin-top: clamp(28px, 4vh, 40px); }
.selector-block h2 { margin: 0 0 14px; color: var(--green-950); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 2.5vw, 2.3rem); font-weight: 500; letter-spacing: -.035em; }
.selector-block--consultation { margin-top: 24px; padding-top: 23px; border-top: 1px solid var(--line); }
.selector-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 8px; border: 1px solid rgba(12, 89, 76, .16); border-radius: 13px; background: rgba(255, 255, 255, .84); box-shadow: 0 10px 30px rgba(4, 40, 34, .07); }
.selector-form select { width: 100%; min-height: 48px; padding: 0 42px 0 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--green-950); background: var(--white); font-weight: 680; cursor: pointer; }
.selector-form button { min-height: 48px; padding: 0 18px; border: 1px solid var(--green-900); border-radius: 8px; color: var(--white); background: var(--green-900); font-size: .75rem; font-weight: 820; letter-spacing: .045em; cursor: pointer; }
.selector-form button:hover { background: var(--green-800); }

.info-card { position: relative; min-height: 220px; padding: 28px; overflow: hidden; border: 1px solid rgba(12, 89, 76, .14); border-radius: 17px; background: rgba(255, 255, 255, .78); box-shadow: var(--shadow); }
.info-card__index { display: block; color: rgba(12, 89, 76, .1); font-family: Georgia, "Times New Roman", serif; font-size: 6.8rem; line-height: .82; letter-spacing: -.08em; }
.info-card p { position: absolute; right: 26px; bottom: 24px; left: 26px; margin: 0; color: var(--green-900); font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; line-height: 1.42; }

.site-footer { flex: 0 0 auto; color: rgba(255, 255, 255, .7); background: var(--green-950); }
.site-footer__inner { display: flex; align-items: center; gap: 12px; min-height: 58px; }
.site-footer strong { color: var(--white); font-size: .82rem; }
.site-footer span { font-size: .76rem; }
.site-footer span::before { content: "·"; margin-right: 12px; color: rgba(255, 255, 255, .35); }

@media (max-width: 860px) {
  .compact-hero__layout { grid-template-columns: 1fr; gap: 30px; min-height: auto; padding-block: 54px; }
  .info-card { max-width: 640px; min-height: 190px; }
  .info-card__index { font-size: 5.5rem; }
}

@media (max-width: 620px) {
  .content-shell { width: min(100% - 28px, 1160px); }
  .site-header__inner { min-height: 64px; }
  .compact-hero__layout { gap: 28px; padding-block: 42px; }
  .compact-hero h1 { font-size: clamp(4rem, 22vw, 5.4rem); }
  .compact-hero__subtitle { margin-top: 18px; font-size: 1.28rem; }
  .selector-block { margin-top: 32px; }
  .selector-block h2 { font-size: 1.75rem; }
  .selector-form { grid-template-columns: 1fr; }
  .selector-form button { width: 100%; }
  .info-card { min-height: 176px; padding: 22px; }
  .info-card__index { font-size: 5rem; }
  .info-card p { right: 21px; bottom: 19px; left: 21px; font-size: 1.02rem; }
  .site-footer__inner { min-height: 62px; }
}

@media (max-width: 390px) {
  .brand-copy small { font-size: .64rem; }
  .compact-hero h1 { font-size: 4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
