:root {
  --navy: #061a34;
  --navy-2: #071f42;
  --navy-3: #0d2b55;
  --ink: #07162f;
  --muted: #5c667a;
  --gold: #e0a11d;
  --gold-2: #f6bb3d;
  --gold-dark: #bc7b06;
  --line: #e6eaf1;
  --paper: #ffffff;
  --soft: #f6f8fb;
  --shadow: 0 18px 50px rgba(7, 22, 47, .12);
  --shadow-soft: 0 10px 28px rgba(7, 22, 47, .08);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1130px;
  --header-h: 74px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.svg-sprite { position: absolute; inline-size: 0; block-size: 0; overflow: hidden; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 1000; background: var(--navy); color: #fff; padding: .75rem 1rem; border-radius: 999px; }
.skip-link:focus { top: 1rem; }
.sr-only, .hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(225, 230, 238, .95);
  backdrop-filter: blur(16px);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 14px 34px rgba(7, 22, 47, .08); background: rgba(255, 255, 255, .98); }
.header-inner {
  width: min(calc(100% - 32px), 1200px);
  min-height: var(--header-h);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; }
.brand img { width: 168px; height: auto; }
.site-nav { margin-left: auto; display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.35vw, 38px); font-size: .9rem; font-weight: 850; color: #061226; }
.site-nav a { position: relative; padding-block: 10px; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.nav-toggle { display: none; inline-size: 44px; block-size: 44px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; width: 20px; height: 2px; border-radius: 10px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn { --btn-bg: transparent; --btn-fg: var(--ink); --btn-border: transparent; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: .82rem 1.35rem; border-radius: 10px; border: 1px solid var(--btn-border); background: var(--btn-bg); color: var(--btn-fg); font-weight: 900; letter-spacing: -.02em; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease; }
.btn::after { content: "›"; font-size: 1.35rem; line-height: 0; transform: translateY(-1px); }
.btn:has(svg)::after, .btn.no-arrow::after { display: none; }
.btn svg { width: 1.05em; height: 1.05em; }
.btn:hover, .btn:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 28px rgba(7, 22, 47, .13); }
.btn-primary { --btn-bg: linear-gradient(135deg, var(--gold-2), var(--gold)); --btn-fg: #061226; box-shadow: 0 10px 22px rgba(224, 161, 29, .22); }
.btn-white { --btn-bg: #fff; --btn-fg: var(--ink); --btn-border: rgba(7, 22, 47, .12); }
.btn-ghost { --btn-bg: #fff; --btn-fg: var(--ink); --btn-border: #c9d0dc; }
.btn-ghost-dark { --btn-bg: #fff; --btn-fg: var(--ink); --btn-border: #bdc4d0; min-height: 42px; padding: .55rem .85rem; font-size: .88rem; }
.btn-outline-dark { --btn-bg: rgba(0, 0, 0, 0); --btn-fg: #fff; --btn-border: rgba(224, 161, 29, .8); min-height: 42px; padding: .58rem .95rem; font-size: .88rem; }
.btn-small { min-height: 44px; padding: .64rem 1.05rem; border-radius: 8px; font-size: .86rem; }
.btn-full { width: 100%; }

/* Hero */
.hero { min-height: clamp(560px, 58vw, 680px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #fff; border-bottom: 1px solid var(--line); }
.hero-left { position: relative; isolation: isolate; color: #fff; background: #06172f; overflow: hidden; }
.hero-left::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 14, 31, .97), rgba(4, 14, 31, .88) 44%, rgba(4, 14, 31, .42)), url("assets/global-network.webp") center right / cover no-repeat; z-index: -2; }
.hero-left::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 70%, rgba(246, 187, 61, .22), transparent 30%), linear-gradient(180deg, transparent, rgba(1, 8, 20, .38)); z-index: -1; }
.hero-left-inner { width: min(100%, 620px); margin-left: max(32px, calc((100vw - 1200px) / 2 + 16px)); padding: clamp(42px, 5vw, 76px) clamp(22px, 4vw, 42px) clamp(28px, 4vw, 42px) 0; }
.eyebrow { margin: 0 0 14px; color: var(--gold-2); font-weight: 900; font-size: .88rem; letter-spacing: .03em; }
.hero h1 { margin: 0; font-size: clamp(2.42rem, 4.6vw, 4.75rem); line-height: 1.03; letter-spacing: -.07em; font-weight: 950; }
.hero h1 span { color: var(--gold-2); }
.hero-lead { max-width: 610px; margin: 25px 0 0; color: rgba(255, 255, 255, .93); font-size: clamp(.94rem, 1.2vw, 1.04rem); font-weight: 700; line-height: 1.9; }
.hero-feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 28px; border-top: 1px solid rgba(255, 255, 255, .16); border-bottom: 1px solid rgba(255, 255, 255, .16); }
.hero-feature-row article { padding: 17px 12px; min-width: 0; border-right: 1px solid rgba(255, 255, 255, .16); text-align: center; }
.hero-feature-row article:last-child { border-right: 0; }
.hero-feature-row svg { width: 2rem; height: 2rem; color: var(--gold-2); margin-bottom: 8px; stroke-width: 1.95; }
.hero-feature-row h2 { margin: 0 0 3px; color: #fff; font-size: clamp(.75rem, 1vw, .86rem); line-height: 1.35; font-weight: 900; letter-spacing: -.03em; }
.hero-feature-row p { margin: 0; color: rgba(255, 255, 255, .82); font-size: .75rem; line-height: 1.65; font-weight: 700; }
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 26px; }
.hero-actions .btn { min-width: 240px; }
.hero-actions .btn-white { box-shadow: 0 16px 32px rgba(0, 0, 0, .18); }

.hero-right { min-width: 0; display: flex; align-items: center; justify-content: center; padding: clamp(28px, 4vw, 54px) clamp(18px, 4vw, 54px); background: radial-gradient(circle at 52% 48%, rgba(224, 161, 29, .08), transparent 43%), #fff; overflow: hidden; }
.os-diagram { position: relative; width: min(100%, 680px); aspect-ratio: 1; color: var(--ink); }
.diagram-arrows { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.diagram-arrows * { vector-effect: non-scaling-stroke; }
.diagram-center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 31.5%; aspect-ratio: 1; display: grid; place-items: center; text-align: center; border-radius: 50%; color: #fff; background: radial-gradient(circle at 36% 26%, #102f5c 0, var(--navy) 58%, #031126 100%); border: clamp(5px, .75vw, 8px) solid var(--gold); box-shadow: 0 16px 36px rgba(7, 22, 47, .22), inset 0 0 30px rgba(255, 255, 255, .05); padding: 6%; }
.diagram-center strong { display: block; font-size: clamp(1.5rem, 2.8vw, 2.65rem); line-height: 1; letter-spacing: -.04em; }
.diagram-center span { display: block; margin-top: .7em; font-weight: 900; font-size: clamp(.8rem, 1.35vw, 1.15rem); line-height: 1.45; }
.diagram-item { position: absolute; width: 27%; text-align: center; font-weight: 850; color: #07162f; z-index: 2; }
.diagram-item > span { width: clamp(48px, 7.5vw, 72px); aspect-ratio: 1; margin-inline: auto; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--navy); border: 2px solid var(--gold); box-shadow: 0 10px 26px rgba(7, 22, 47, .09); }
.diagram-item svg { width: 52%; height: 52%; stroke-width: 2.3; }
.diagram-item h3 { margin: .45rem 0 .08rem; font-size: clamp(.78rem, 1.15vw, 1.02rem); line-height: 1.25; letter-spacing: -.04em; }
.diagram-item p { margin: 0; font-size: clamp(.62rem, .85vw, .78rem); line-height: 1.45; color: #17223a; font-weight: 800; }
.item-top { left: 50%; top: 0; transform: translateX(-50%); }
.item-ur { right: 1%; top: 13%; }
.item-right { right: -2%; top: 43%; }
.item-lr { right: 7%; bottom: 10%; }
.item-bottom { left: 50%; bottom: -2%; transform: translateX(-50%); }
.item-ll { left: 7%; bottom: 10%; }
.item-left { left: -2%; top: 43%; }
.item-ul { left: 1%; top: 13%; }

/* Dark dream team card */
.dream-card-section { padding: 14px 0 18px; background: #fff; }
.dream-card { display: grid; grid-template-columns: .78fr 1.72fr; gap: 28px; align-items: center; color: #fff; background: linear-gradient(135deg, rgba(2, 13, 31, .98), rgba(4, 25, 55, .98)), url("assets/global-network.webp") center / cover; border-radius: 10px; box-shadow: var(--shadow); padding: clamp(22px, 3vw, 36px); }
.dream-copy h2 { margin: 0 0 15px; font-size: clamp(1.7rem, 2.5vw, 2.45rem); line-height: 1.28; letter-spacing: -.05em; }
.dream-copy p { margin: 0 0 18px; color: rgba(255,255,255,.9); font-weight: 700; font-size: .94rem; }
.flow-title { margin: 0 0 16px; text-align: center; font-size: clamp(1rem, 1.5vw, 1.22rem); font-weight: 900; }
.flow-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: start; position: relative; }
.flow-row b { position: absolute; top: 35%; transform: translateY(-50%); color: var(--gold-2); font-size: 1.25rem; }
.flow-row b:nth-of-type(1) { left: 18.3%; }
.flow-row b:nth-of-type(2) { left: 38.7%; }
.flow-row b:nth-of-type(3) { left: 59.0%; }
.flow-row b:nth-of-type(4) { left: 79.1%; }
.flow-row article { text-align: center; min-width: 0; }
.flow-row span { display: grid; place-items: center; width: clamp(58px, 7vw, 82px); aspect-ratio: 1; margin: 0 auto 12px; border-radius: 50%; color: var(--navy); background: #fff; box-shadow: 0 14px 30px rgba(0, 0, 0, .18); }
.flow-row svg { width: 50%; height: 50%; stroke-width: 2; }
.flow-row h3 { margin: 0 0 2px; font-size: .96rem; line-height: 1.3; }
.flow-row p { margin: 0; font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.88); line-height: 1.45; }


/* Why Sekai Port */
.why-section { padding: 0 0 18px; background: #fff; }
.why-card { display: grid; grid-template-columns: .92fr 1.38fr; gap: 28px; align-items: stretch; padding: clamp(24px, 3.5vw, 42px); border-radius: 10px; color: #fff; background: radial-gradient(circle at 82% 18%, rgba(224, 161, 29, .22), transparent 30%), linear-gradient(135deg, rgba(3, 14, 32, .98), rgba(6, 31, 66, .96)), url("assets/global-network.webp") center right / cover; box-shadow: var(--shadow); overflow: hidden; }
.why-copy { display: flex; flex-direction: column; justify-content: center; }
.why-copy h2 { margin: 0 0 16px; font-size: clamp(1.75rem, 2.7vw, 2.7rem); line-height: 1.22; letter-spacing: -.05em; }
.why-copy p:not(.eyebrow) { margin: 0; color: rgba(255,255,255,.9); font-weight: 750; line-height: 1.85; font-size: .98rem; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.why-grid article { min-height: 164px; padding: 18px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; background: rgba(255, 255, 255, .08); backdrop-filter: blur(10px); }
.why-grid span { width: 46px; aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 12px; border-radius: 50%; color: var(--gold-2); background: rgba(255,255,255,.08); border: 1px solid rgba(224, 161, 29, .55); }
.why-grid svg { width: 55%; height: 55%; stroke-width: 1.9; }
.why-grid h3 { margin: 0 0 6px; font-size: 1rem; line-height: 1.3; letter-spacing: -.03em; }
.why-grid p { margin: 0; color: rgba(255,255,255,.82); font-size: .8rem; font-weight: 730; line-height: 1.6; }

/* Shared cards */
.system-section, .expansion-section, .cases-section, .pricing-section, .faq-section { padding: 16px 0; background: #fff; }
.split-grid { display: grid; grid-template-columns: .86fr 1.78fr; gap: 18px; align-items: stretch; }
.pain-card, .flywheel-card, .expansion-copy, .expansion-flow, .case-card, .price-card, .faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 9px; box-shadow: var(--shadow-soft); }
.pain-card { padding: 20px 22px; }
.pain-card h2, .expansion-copy h2 { margin: 0 0 13px; font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.35; letter-spacing: -.04em; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-weight: 800; color: #243048; font-size: .88rem; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: .05rem; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: #fff; font-size: .75rem; font-weight: 900; }
.flywheel-card { padding: 18px 26px 24px; overflow: hidden; }
.section-head { text-align: center; margin: 0 auto 26px; }
.section-head h2 { margin: 0; font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.25; letter-spacing: -.04em; }
.section-head p { margin: 4px 0 0; color: var(--muted); font-weight: 700; font-size: .92rem; }
.section-head.compact { margin-bottom: 18px; }
.section-head.align-left { text-align: left; margin: 0; }
.flywheel { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; align-items: start; padding: 10px 0 20px; }
.flywheel::after { content: ""; position: absolute; left: 7%; right: 7%; bottom: 0; height: 18px; border: 3px solid var(--gold); border-top: 0; border-radius: 0 0 999px 999px; opacity: .8; }
.flywheel article { text-align: center; position: relative; z-index: 1; }
.flywheel span, .expansion-flow span { display: grid; place-items: center; width: 74px; aspect-ratio: 1; margin: 0 auto 8px; color: var(--navy); border: 2px solid rgba(224, 161, 29, .6); border-radius: 50%; background: #fff; }
.flywheel svg, .expansion-flow svg { width: 45%; height: 45%; stroke-width: 2.1; }
.flywheel h3, .expansion-flow h3 { margin: 0 0 2px; font-size: .94rem; line-height: 1.25; letter-spacing: -.03em; }
.flywheel p, .expansion-flow p { margin: 0; color: #4c5870; font-size: .75rem; font-weight: 800; }
.flywheel b { position: relative; align-self: center; justify-self: center; color: var(--gold); font-size: 1.6rem; margin-inline: -18px; display: none; }
.flywheel article:not(:last-of-type)::after { content: "→"; position: absolute; right: -24px; top: 28px; color: var(--gold); font-size: 1.7rem; font-weight: 800; }

/* Expansion */
.expansion-grid { grid-template-columns: .75fr 1.95fr; }
.expansion-copy { padding: 22px 24px; }
.expansion-copy p { margin: 0 0 16px; color: #34405a; font-weight: 700; font-size: .92rem; }
.expansion-flow { display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; gap: 22px; padding: 24px 28px; }
.expansion-flow article { text-align: center; position: relative; }
.expansion-flow b { display: none; }
.expansion-flow article:not(:last-of-type)::after { content: "▶"; position: absolute; right: -22px; top: 33px; color: var(--gold); font-size: 1rem; }
.expansion-flow span { color: var(--gold); border: 0; width: 70px; }
.expansion-flow svg { width: 68%; height: 68%; stroke-width: 1.65; }

/* Cases */
.case-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 13px; }
.case-card { overflow: hidden; }
.case-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.case-card h3 { margin: 10px 11px 3px; font-size: .92rem; line-height: 1.25; letter-spacing: -.03em; }
.case-card p { margin: 0 11px 14px; color: #33405a; font-size: .74rem; font-weight: 750; line-height: 1.55; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; }
.price-card { overflow: hidden; padding-bottom: 16px; }
.price-card h3 { margin: 0; padding: 11px 10px; min-height: 47px; display: grid; place-items: center; text-align: center; color: #fff; background: var(--navy); font-size: .9rem; line-height: 1.25; letter-spacing: -.03em; }
.price-card.featured { border-color: rgba(224, 161, 29, .8); box-shadow: 0 14px 34px rgba(224, 161, 29, .18); transform: translateY(-4px); }
.price-card.featured h3 { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #061226; }
.price { margin: 16px 12px 10px; text-align: center; font-size: clamp(1.28rem, 2vw, 1.72rem); font-weight: 950; letter-spacing: -.04em; }
.price-card ul { margin: 0; padding: 0 18px 0 28px; display: grid; gap: 5px; color: #26334d; font-size: .78rem; font-weight: 750; }
.price-card li::marker { color: var(--gold); }
.term { margin: 13px 16px 0; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 900; font-size: .82rem; }
.pricing-note { margin: 16px 0 0; text-align: center; color: #49546b; font-weight: 750; font-size: .86rem; }

/* FAQ */
.faq-section { padding-top: 34px; padding-bottom: 20px; }
.faq-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 28px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { padding: 14px 17px; box-shadow: none; }
.faq-list summary { cursor: pointer; font-weight: 900; }
.faq-list p { margin: 10px 0 0; color: #46516a; font-weight: 700; }

/* CTA + footer */
.final-cta { padding: 18px 0 16px; background: #fff; }
.cta-card { display: grid; grid-template-columns: 1.3fr 1.15fr .95fr; gap: 28px; align-items: center; padding: 26px 28px; color: #fff; border-radius: 10px; background: linear-gradient(100deg, rgba(3, 14, 32, .98), rgba(4, 25, 55, .93)), url("assets/global-network.webp") center right/cover; box-shadow: var(--shadow); }
.cta-copy h2 { margin: 0 0 10px; font-size: clamp(1.45rem, 2.3vw, 2.05rem); line-height: 1.25; letter-spacing: -.04em; }
.cta-copy p { margin: 0; color: rgba(255,255,255,.9); font-weight: 750; }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-row article { display: grid; place-items: center; text-align: center; gap: 7px; color: rgba(255, 255, 255, .9); font-size: .72rem; line-height: 1.35; font-weight: 800; }
.trust-row svg { width: 2rem; height: 2rem; color: var(--gold-2); stroke-width: 1.75; }
.cta-form-card { padding: 20px; border-radius: 8px; background: #fff; color: var(--ink); box-shadow: 0 14px 36px rgba(0, 0, 0, .22); text-align: center; }
.cta-form-card h3 { margin: 0 0 6px; font-size: 1.25rem; }
.cta-form-card p { margin: 0 0 12px; color: var(--muted); font-size: .82rem; font-weight: 700; }
.site-footer { background: #031126; color: rgba(255,255,255,.78); border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { width: min(calc(100% - 40px), 1200px); min-height: 82px; margin-inline: auto; display: grid; grid-template-columns: auto minmax(180px, 1fr) auto auto; gap: 20px; align-items: center; }
.footer-brand { display: inline-flex; filter: brightness(0) invert(1); opacity: .95; }
.footer-brand img { width: 148px; }
.footer-inner p { margin: 0; color: rgba(255,255,255,.82); font-size: .75rem; font-weight: 750; line-height: 1.55; }
.footer-inner nav { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(12px, 1.8vw, 24px); font-size: .76rem; font-weight: 750; }
.footer-inner nav a:hover { color: #fff; }
.footer-inner small { font-size: .72rem; white-space: nowrap; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; place-items: center; padding: 20px; }
.modal[aria-hidden="false"] { display: grid; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3, 11, 24, .68); backdrop-filter: blur(6px); }
.modal-dialog { position: relative; z-index: 1; width: min(100%, 590px); max-height: min(90vh, 860px); overflow: auto; border-radius: 20px; background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.38); padding: clamp(24px, 3vw, 34px); }
.modal-close { position: absolute; right: 15px; top: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.modal-head h2 { margin: 0; font-size: 1.75rem; letter-spacing: -.04em; }
.modal-head p:last-child { margin: 8px 0 20px; color: var(--muted); font-weight: 700; }
.contact-form { display: grid; gap: 13px; }
.contact-form label { display: grid; gap: 6px; font-weight: 900; font-size: .9rem; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #d9dfeb; border-radius: 12px; padding: .82rem .92rem; background: #fff; color: var(--ink); outline: 0; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(224, 161, 29, .14); }
.contact-form textarea { resize: vertical; }

@media (max-width: 1120px) {
  .site-nav { gap: 16px; font-size: .82rem; }
  .header-actions .btn-ghost { display: none; }
  .hero h1 { font-size: clamp(2.28rem, 5vw, 4.3rem); }
  .diagram-item { width: 29%; }
  .case-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-card { grid-template-columns: 1fr; }
  .trust-row { max-width: 640px; }
}

@media (max-width: 920px) {
  :root { --header-h: 68px; }
  .header-inner { width: min(calc(100% - 28px), 1200px); }
  .brand img { width: 150px; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .site-nav { position: fixed; top: var(--header-h); left: 14px; right: 14px; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 14px; border-radius: 10px; }
  .site-nav a:hover { background: var(--soft); }
  .site-nav a::after { display: none; }
  .header-actions { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left-inner { margin-left: 0; width: min(calc(100% - 40px), 700px); margin-inline: auto; padding: 50px 0 34px; }
  .hero-right { padding: 26px 20px 40px; }
  .os-diagram { width: min(100%, 680px); }
  .dream-card, .why-card, .split-grid, .expansion-grid, .faq-grid { grid-template-columns: 1fr; }
  .dream-flow { overflow-x: auto; padding-bottom: 4px; }
  .flow-row { min-width: 760px; }
  .flywheel { grid-template-columns: repeat(5, minmax(125px, 1fr)); overflow-x: auto; }
  .expansion-flow { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; padding: 22px 0; text-align: center; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .hero-feature-row { grid-template-columns: repeat(2, 1fr); }
  .hero-feature-row article:nth-child(2) { border-right: 0; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { width: 100%; min-width: 0; }
  .os-diagram { aspect-ratio: 1 / 1.12; }
  .diagram-arrows { opacity: .5; }
  .diagram-center { width: 42%; top: 44%; }
  .diagram-item { width: 34%; }
  .diagram-item > span { width: 46px; }
  .diagram-item h3 { font-size: .72rem; }
  .diagram-item p { display: none; }
  .item-top { top: 0; }
  .item-ur { right: -3%; top: 12%; }
  .item-right { right: -5%; top: 39%; }
  .item-lr { right: -1%; bottom: 16%; }
  .item-bottom { bottom: 0; }
  .item-ll { left: -1%; bottom: 16%; }
  .item-left { left: -5%; top: 39%; }
  .item-ul { left: -3%; top: 12%; }
  .dream-card, .why-card { padding: 22px 16px; }
  .why-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .cta-card { padding: 22px 16px; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 430px) {
  .brand img { width: 132px; }
  .hero h1 { font-size: 2.1rem; }
  .hero-left-inner { width: min(calc(100% - 28px), 700px); }
  .case-grid { grid-template-columns: 1fr; }
  .diagram-center strong { font-size: 1.15rem; }
  .diagram-center span { font-size: .72rem; }
}
.thanks-page { min-height: 100vh; background: radial-gradient(circle at 70% 20%, rgba(217,154,24,.15), transparent 28%), linear-gradient(135deg, #061832, #0c2b55); }
.thanks-wrap { min-height: 100vh; display: grid; place-items: center; padding: 28px; }
.thanks-card { width: min(100%, 620px); padding: clamp(34px, 7vw, 64px); border-radius: 24px; background: #fff; text-align: center; box-shadow: 0 30px 90px rgba(0,0,0,.3); }
.thanks-card img { margin: 0 auto 24px; }
.thanks-card h1 { margin: 0 0 12px; color: var(--ink); font-size: clamp(1.9rem, 5vw, 3rem); line-height: 1.25; letter-spacing: -.04em; }
.thanks-card p { margin: 0 auto 28px; color: var(--muted); font-weight: 730; }
