:root {
  color-scheme: light;
  --ink: #090d09;
  --paper: #ffffff;
  --soft: #f3f6f0;
  --line: #d7ddd2;
  --muted: #687065;
  --green: #67c943;
  --green-dark: #2f7f25;
  --page: min(1440px, calc(100vw - 48px));
  font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; color: var(--ink); background: var(--paper); text-transform: uppercase; }
button, input { font: inherit; text-transform: uppercase; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }

.site-header {
  position: sticky;
  inset: 0 0 auto;
  z-index: 50;
  min-height: 92px;
  display: flex;
  align-items: center;
  padding: 24px max(28px, calc((100vw - var(--page)) / 2));
  background: rgba(9, 13, 9, .97);
  border-bottom: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(16px);
}
.site-header a { display: inline-flex; width: fit-content; }
.site-header img { width: 230px; height: auto; filter: brightness(0) invert(1); }
.loading { min-height: 65vh; display: grid; place-items: center; font-weight: 800; letter-spacing: .12em; }

.hero {
  min-height: calc(100svh - 92px);
  padding: clamp(72px, 10vw, 150px) max(28px, calc((100vw - var(--page)) / 2));
  color: white;
  background:
    linear-gradient(rgba(103,201,67,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103,201,67,.09) 1px, transparent 1px),
    radial-gradient(circle at 92% 35%, rgba(103,201,67,.20), transparent 40%),
    var(--ink);
  background-size: 56px 56px, 56px 56px, auto, auto;
}
.eyebrow { margin: 0 0 24px; color: var(--green); font-weight: 900; letter-spacing: .18em; font-size: .82rem; }
.hero h1 {
  max-width: 1050px;
  margin: 0;
  font-size: clamp(3.2rem, 10.5vw, 9.4rem);
  line-height: .82;
  letter-spacing: -.065em;
  overflow-wrap: anywhere;
}
.hero-copy { max-width: 780px; margin: 48px 0 0; color: #cbd0c9; font-size: clamp(1.05rem, 2.2vw, 1.65rem); line-height: 1.55; }
.prepared { max-width: 1050px; margin-top: clamp(64px, 10vw, 130px); padding: 32px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 36px; border: 1px solid rgba(255,255,255,.25); border-radius: 28px; background: rgba(4,7,4,.54); }
.prepared strong { display: block; font-size: clamp(1.7rem, 4vw, 3.1rem); line-height: 1; }
.prepared span { display: block; margin-top: 12px; color: #bdc4ba; line-height: 1.5; }

.section { width: var(--page); margin: 0 auto; padding: clamp(80px, 10vw, 150px) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr); gap: 56px; align-items: end; margin-bottom: 56px; }
.section h2 { margin: 0; font-size: clamp(2.6rem, 6vw, 6.1rem); line-height: .88; letter-spacing: -.055em; overflow-wrap: anywhere; }
.lede { margin: 0; color: var(--muted); line-height: 1.65; font-size: 1.02rem; }

.scope-list { border: 1px solid var(--line); }
.scope + .scope { border-top: 1px solid var(--line); }
.scope-button { width: 100%; min-height: 122px; display: grid; grid-template-columns: 72px minmax(0, 1fr) 44px; gap: 22px; align-items: center; padding: 26px 30px; border: 0; color: var(--ink); background: white; text-align: left; }
.scope-button:hover, .scope-button:focus-visible { background: var(--soft); }
.scope-index { color: #939a90; font-size: .84rem; }
.scope-name { min-width: 0; font-size: clamp(1.25rem, 2.5vw, 2.25rem); font-weight: 850; overflow-wrap: anywhere; }
.scope-toggle { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 1.4rem; }
.scope-panel { display: none; padding: 8px 30px 34px 124px; background: var(--soft); }
.scope.open .scope-panel { display: block; }
.scope-description { max-width: 900px; margin: 0 0 30px; color: var(--muted); line-height: 1.65; }
.prebuilt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.prebuilt { min-width: 0; display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 18px; align-items: start; padding: 22px; border: 1px solid var(--line); background: white; }
.prebuilt img { width: 58px; height: 58px; object-fit: contain; }
.prebuilt h3 { margin: 0 0 10px; font-size: 1rem; line-height: 1.25; overflow-wrap: anywhere; }
.prebuilt p { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.scope-group-total { margin-top: 28px; padding-top: 22px; display: flex; justify-content: space-between; gap: 24px; align-items: baseline; border-top: 1px solid var(--line); color: var(--green-dark); font-weight: 900; }
.scope-group-total strong { color: var(--ink); font-size: 1.25rem; }
.scope-group-total small, .option-row small { color: var(--muted); font-size: .68rem; }
.hierarchy-note { max-width: 800px; margin: 28px 0 0; color: var(--muted); line-height: 1.55; font-size: .76rem; }

.dark-wrap { width: 100%; background: var(--ink); }
.dark-section { color: white; }
.dark-section .lede { color: #b7beb4; }
.plan-tabs { display: flex; gap: 10px; overflow-x: auto; padding: 2px 0 18px; scrollbar-width: thin; }
.plan-tab { flex: 0 0 auto; padding: 13px 18px; color: white; border: 1px solid #394039; border-radius: 999px; background: transparent; font-weight: 800; font-size: .74rem; }
.plan-tab.active { color: var(--ink); border-color: var(--green); background: var(--green); }
.plans-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .55fr); gap: 24px; }
.plan-stage { position: relative; min-height: 600px; overflow: hidden; touch-action: none; border: 1px solid #3c443b; background: #111711; }
.plan-image, .hotspot-layer { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: center; transition: transform .08s linear; }
.plan-image { object-fit: contain; background: white; }
.hotspot-layer { pointer-events: none; }
.hotspot { position: absolute; translate: -50% -50%; width: 38px; height: 38px; pointer-events: auto; border: 2px solid white; border-radius: 50%; color: var(--ink); background: var(--green); font-weight: 900; box-shadow: 0 0 0 7px rgba(103,201,67,.18); }
.plan-note { align-self: stretch; padding: 30px; border: 1px solid #3c443b; background: #111711; }
.plan-note h3 { margin: 0 0 18px; font-size: 1.45rem; line-height: 1.2; }
.plan-summary, .feature-card p { color: #b7beb4; line-height: 1.6; font-size: .84rem; }
.feature-card { display: none; margin-top: 32px; padding-top: 26px; border-top: 1px solid #3c443b; }
.feature-card.active { display: block; }
.feature-card strong { color: var(--green); }

.investment-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .7fr); gap: 28px; }
.price-row, .option-row { display: flex; justify-content: space-between; gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--line); font-weight: 800; }
.price-row span:last-child { white-space: nowrap; }
.total-card { padding: 30px; color: white; background: var(--ink); }
.total-card > div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; }
.total-card .grand { margin-top: 12px; padding-top: 25px; border-top: 1px solid #4a5049; color: var(--green); font-size: 1.3rem; }
.option-list { margin-top: 42px; }

.legal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.legal-card { padding: 30px; border: 1px solid var(--line); background: var(--soft); }
.legal-card h3 { margin: 0 0 24px; font-size: 1.2rem; }
.legal-card ol { margin: 0; padding-left: 22px; color: var(--muted); font-size: .82rem; line-height: 1.65; }
.legal-card li + li { margin-top: 12px; }

.accept-card { display: grid; grid-template-columns: minmax(0, .75fr) minmax(380px, 1fr); gap: 58px; padding: clamp(32px, 6vw, 72px); border-radius: 34px; background: var(--soft); }
.accept-form { display: grid; gap: 22px; }
.accept-form label { display: grid; gap: 9px; font-size: .76rem; font-weight: 900; }
.accept-form input[type=text] { width: 100%; padding: 13px 4px; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; outline: none; }
.accept-form .check { display: grid; grid-template-columns: 22px 1fr; align-items: start; line-height: 1.5; }
.check input { width: 19px; height: 19px; margin: 0; accent-color: var(--green); }
.signature-wrap > span { display: block; margin-bottom: 9px; font-size: .76rem; font-weight: 900; }
.signature { width: 100%; height: 180px; border: 1px solid #9ca399; background: white; touch-action: none; }
.signature-actions { margin-top: 10px; }
.button { min-height: 54px; padding: 15px 24px; border: 1px solid var(--ink); border-radius: 999px; color: var(--ink); background: var(--green); font-weight: 900; letter-spacing: .05em; }
.button.secondary { background: white; }
.button:disabled { opacity: .35; cursor: not-allowed; }
.status { min-height: 1.4em; margin: 0; color: var(--muted); font-size: .78rem; }

.footer { width: 100%; min-height: 220px; display: flex; justify-content: space-between; gap: 40px; align-items: center; padding: 48px max(28px, calc((100vw - var(--page)) / 2)); background: var(--green); }
.footer img { width: 230px; height: auto; filter: brightness(0); }
.footer span { font-weight: 900; line-height: 1.7; text-align: right; }

@media (max-width: 820px) {
  :root { --page: calc(100vw - 36px); }
  .site-header { min-height: 76px; padding: 20px 18px; }
  .site-header img { width: 184px; }
  .hero { min-height: auto; padding: 76px 18px 92px; }
  .hero h1 { font-size: clamp(3rem, 15.5vw, 5.1rem); line-height: .82; }
  .prepared, .section-head, .plans-layout, .investment-grid, .legal-grid, .accept-card { grid-template-columns: 1fr; }
  .prepared { margin-top: 68px; padding: 24px; border-radius: 22px; }
  .section { padding: 82px 0; }
  .section-head { gap: 24px; margin-bottom: 34px; }
  .scope-button { min-height: 96px; grid-template-columns: 38px minmax(0, 1fr) 38px; gap: 12px; padding: 20px 16px; }
  .scope-name { font-size: 1.2rem; }
  .scope-toggle { width: 36px; height: 36px; }
  .scope-panel { padding: 10px 16px 26px; }
  .prebuilt-grid { grid-template-columns: 1fr; }
  .prebuilt { grid-template-columns: 56px minmax(0, 1fr); padding: 18px 14px; }
  .prebuilt img { width: 48px; height: 48px; }
  .scope-group-total { flex-direction: column; gap: 8px; }
  .plan-stage { min-height: 440px; }
  .plan-note { min-height: 220px; }
  .accept-card { padding: 28px 20px; border-radius: 22px; }
  .footer { min-height: 210px; align-items: flex-start; flex-direction: column; }
  .footer img { width: 190px; }
  .footer span { text-align: left; }
}

@media print {
  .site-header { position: static; }
  .hero { min-height: auto; }
  .scope-panel { display: block; }
  .plans-section, .accept-card { break-inside: avoid; }
}
