:root {
  --ink: #061f4f;
  --muted: #5e708b;
  --blue: #1163d8;
  --blue-bright: #0879ff;
  --blue-soft: #eef7ff;
  --orange: #ff6a13;
  --orange-dark: #dd4f08;
  --orange-soft: #fff4e9;
  --line: #dce6f1;
  --surface: #ffffff;
  --page: #f5f9fd;
  --shadow: 0 24px 70px rgba(10, 45, 92, .12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--page);
  font-family: Inter, "Segoe UI", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.sr-only { 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; top: 8px; left: 8px; z-index: 100; padding: 10px 14px; background: #fff; color: var(--blue); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(12,60,120,.1);
  backdrop-filter: blur(16px);
}
.header-inner {
  width: min(1440px, 100%);
  min-height: 82px;
  margin: 0 auto;
  padding: 10px 30px;
  display: grid;
  grid-template-columns: 250px auto 1fr;
  align-items: center;
  gap: 32px;
}
.brand { display: block; width: 218px; text-decoration: none; }
.brand img { width: 100%; }
.site-header nav { display: flex; align-items: stretch; height: 62px; }
.site-header nav a {
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-bottom: 3px solid transparent;
  color: #314866;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.site-header nav a:hover, .site-header nav a.active { color: var(--blue); border-bottom-color: var(--blue); }
.brand-line { justify-self: end; display: flex; align-items: center; gap: 15px; color: #173e78; font-size: 12px; }
.brand-line span { color: #aab8ca; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 9px; }
.menu-toggle > span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: var(--ink); }

#app { outline: none; min-height: 65vh; overflow: clip; }
.section-shell { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.eyebrow, .section-heading > span {
  display: block;
  color: var(--blue);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: .18em;
}
.button {
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-action:focus-visible, .dialog-close:focus-visible, .menu-toggle:focus-visible { outline: 3px solid rgba(8,121,255,.3); outline-offset: 3px; }
.button-blue, .button-primary { color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-bright)); box-shadow: 0 14px 28px rgba(17,99,216,.22); }
.button-outline { color: var(--ink); background: #fff; border-color: #afc2d9; }
.button-ghost { color: var(--ink); background: rgba(255,255,255,.9); border-color: rgba(9,42,81,.25); }

.home-page { background: #fff; }
.home-hero {
  position: relative;
  width: 100%;
  min-height: clamp(620px, 41vw, 790px);
  margin: 0 auto;
  padding: 72px max(40px, calc((100vw - 1760px) / 2 + 72px));
  display: grid;
  grid-template-columns: minmax(0, 760px) 1fr;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background: #eaf6ff;
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.96) 25%, rgba(255,255,255,.76) 39%, rgba(255,255,255,.12) 58%, rgba(255,255,255,0) 72%);
}
.home-copy { position: relative; z-index: 2; max-width: 720px; }
.home-copy h1 { max-width: none; margin: 18px 0 22px; font-size: clamp(52px, 3.7vw, 68px); line-height: 1.12; letter-spacing: -.04em; }
.home-copy p { max-width: 610px; margin: 0; color: var(--muted); font-size: 18px; line-height: 1.9; }
.home-actions { display: flex; gap: 14px; margin-top: 34px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; color: #49617e; font-size: 13px; font-weight: 700; }
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--blue); }
.home-visual { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.home-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }

.dual-entry { padding: 92px 0 110px; }
.section-heading { max-width: 720px; margin-bottom: 36px; }
.section-heading.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading h2 { margin: 10px 0 14px; font-size: clamp(34px, 4vw, 52px); line-height: 1.2; letter-spacing: -.04em; }
.section-heading p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.acc-balanced-title { text-wrap: balance; }
@media (min-width: 761px) {
  .business-page .acc-single-line-heading { max-width: none; }
  .business-page .acc-single-line-heading h2 { white-space: nowrap; font-size: clamp(38px, 3.35vw, 48px); }
  .business-page .process-section { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .business-page .action-panel { padding: 34px; }
}
.dual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.entry-card { position: relative; min-height: 330px; padding: 42px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.entry-card > span { font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.entry-card h3 { margin: 12px 0; font-size: 42px; }
.entry-card p { max-width: 500px; color: #536982; line-height: 1.8; }
.entry-card a { position: absolute; left: 42px; bottom: 40px; font-weight: 900; text-decoration: none; }
.entry-number { position: absolute; right: 24px; top: 10px; font-size: 118px; font-weight: 900; line-height: 1; opacity: .06; }
.enterprise-card { background: linear-gradient(145deg, #eaf6ff, #fff); border: 1px solid #d6eaff; }
.enterprise-card a, .enterprise-card > span { color: var(--blue); }
.opc-card { background: linear-gradient(145deg, #fff2e6, #fff); border: 1px solid #ffe0c6; }
.opc-card a, .opc-card > span { color: var(--orange-dark); }

.partner-showcase { padding: 16px 0 96px; }
.partner-showcase h2 { margin: 0 0 28px; font-size: clamp(30px, 3vw, 42px); line-height: 1.2; letter-spacing: -.035em; }
.partner-logo-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.partner-logo { min-width: 0; min-height: 142px; display: grid; place-items: center; padding: 20px 16px; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(15,54,105,.07); }
.partner-logo-dark { background: #0c1c2d; }
.partner-logo img { display: block; width: 100%; height: auto; max-height: 96px; object-fit: contain; }
.global-theme { min-height: 360px; display: flex; align-items: center; background: linear-gradient(90deg, rgba(245,250,255,.98) 0%, rgba(245,250,255,.9) 48%, rgba(245,250,255,.24) 100%), url("assets/overseas-global-hero.png") center/cover no-repeat; border-top: 1px solid #dbe9f7; }
.global-theme h2 { max-width: 760px; margin: 0 0 18px; color: var(--ink); font-size: clamp(38px, 4vw, 58px); line-height: 1.16; letter-spacing: -.045em; text-wrap: balance; }
.global-theme p { max-width: 650px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.8; }

.business-root { background: #fff; }
.business-page { --theme: var(--blue); --theme-dark: #074bb1; --theme-soft: var(--blue-soft); }
.opc-theme { --theme: var(--orange); --theme-dark: var(--orange-dark); --theme-soft: var(--orange-soft); }
.business-hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background-position: center;
  background-size: cover;
}
.business-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.enterprise-hero { background-image: url("assets/overseas-global-hero.png"); }
.enterprise-hero::before { background: linear-gradient(90deg, rgba(1,37,90,.96) 0%, rgba(2,65,144,.91) 46%, rgba(2,70,145,.25) 80%); }
.opc-hero { background-image: url("assets/opc-founder-hero.png"); background-position: center 42%; }
.opc-hero::before { background: linear-gradient(90deg, rgba(255,250,243,.98) 0%, rgba(255,246,235,.94) 52%, rgba(255,238,219,.16) 84%); }
.hero-content { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 80px 0; }
.hero-content .eyebrow { color: #7bbcff; }
.hero-content h1 { max-width: 760px; margin: 18px 0; color: #fff; font-size: clamp(48px, 5vw, 76px); line-height: 1.08; letter-spacing: -.055em; }
.hero-content > p { max-width: 650px; margin: 0; color: #dcecff; font-size: 18px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 28px; color: #d8e7fb; font-size: 12px; font-weight: 700; }
.hero-notes span::before { content: "○"; margin-right: 7px; }
.opc-hero .eyebrow { color: var(--orange-dark); }
.opc-hero .hero-content h1 { color: var(--ink); max-width: 820px; }
.opc-hero .hero-content > p, .opc-hero .hero-notes { color: #5f5149; }
.opc-theme .button-primary { background: linear-gradient(135deg, var(--orange), #ff7b22); box-shadow: 0 14px 28px rgba(255,106,19,.22); }

.services-section { padding: 100px 0; }
.business-page .section-heading > span { color: var(--theme); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-grid article { min-height: 260px; padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(150deg, var(--theme-soft), #fff 62%); text-align: center; }
.service-title { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; }
.service-grid i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--theme); color: #fff; font-style: normal; font-size: 12px; font-weight: 900; }
.service-grid h3 { margin: 0; font-size: 22px; line-height: 1.35; text-align: left; }
.service-grid p { margin: 0; color: var(--muted); line-height: 1.75; }
.service-title + p { margin-top: 24px; }

.process-section { padding: 90px 0 110px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.process-copy h2 { margin: 14px 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.2; letter-spacing: -.04em; }
.process-copy > p { max-width: 720px; color: var(--muted); line-height: 1.8; }
.process-steps { margin-top: 38px; }
.process-steps > div { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--line); }
.process-steps b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--theme-soft); color: var(--theme); }
.process-steps span { color: var(--muted); }
.process-steps strong { display: block; margin-bottom: 4px; color: var(--ink); }
.action-panel { padding: 38px; border-radius: var(--radius); background: var(--theme-soft); border: 1px solid color-mix(in srgb, var(--theme) 22%, white); }
.action-panel > span { color: var(--theme); font-size: 12px; font-weight: 900; }
.action-panel h3 { margin: 12px 0; font-size: 30px; line-height: 1.3; }
.acc-006-title { text-wrap: balance; }
.acc-title-keep { white-space: nowrap; }
.action-panel p { color: var(--muted); line-height: 1.7; }
.action-panel .button { width: 100%; margin-top: 14px; }
.text-action { width: 100%; margin-top: 10px; padding: 12px; border: 0; background: transparent; color: var(--theme-dark); font-weight: 900; cursor: pointer; }

.placeholder-root { display: grid; place-items: center; padding: 60px 24px; background: linear-gradient(145deg, #eef7ff, #fff); }
.placeholder-page { width: min(760px, 100%); padding: 62px; border: 1px solid var(--line); border-radius: 28px; background: #fff; text-align: center; box-shadow: var(--shadow); }
.placeholder-mark { width: 84px; height: 84px; margin: 0 auto 24px; display: grid; place-items: center; border-radius: 24px; background: var(--blue-soft); color: var(--blue); font-size: 25px; font-weight: 900; }
.opc-placeholder .placeholder-mark { background: var(--orange-soft); color: var(--orange-dark); }
.placeholder-page h1 { margin: 14px 0; font-size: clamp(32px, 5vw, 50px); }
.placeholder-page > p { color: var(--muted); line-height: 1.8; }
.status-banner { margin: 30px 0; padding: 18px; border-radius: 12px; background: #f5f7fa; border: 1px dashed #aab9ca; }
.status-banner b, .status-banner span { display: block; }
.status-banner span { margin-top: 5px; color: var(--muted); font-size: 13px; }
.placeholder-actions { display: flex; justify-content: center; gap: 12px; }

.form-root { --form-theme: var(--blue); --form-soft: var(--blue-soft); background: #f4f8fc; }
.form-app { width: min(1440px, 100%); min-height: calc(100vh - 82px); margin: 0 auto; display: grid; grid-template-columns: 300px minmax(0, 1fr); }
.opc-form { --form-theme: var(--orange); --form-soft: var(--orange-soft); }
.form-sidebar { position: sticky; top: 82px; align-self: start; min-height: calc(100vh - 82px); padding: 34px 28px; background: #071d3d; color: #fff; }
.opc-form .form-sidebar { background: #32170a; }
.form-back { display: inline-block; margin-bottom: 32px; color: #a9c5e8; font-size: 13px; text-decoration: none; }
.form-sidebar > span { color: #8ec3ff; font-size: 11px; font-weight: 900; letter-spacing: .14em; }
.opc-form .form-sidebar > span { color: #ffb37e; }
.form-sidebar h1 { margin: 8px 0 28px; font-size: 26px; }
.form-sidebar ol { margin: 0; padding: 0; list-style: none; }
.form-sidebar li { position: relative; }
.form-sidebar li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 39px; bottom: -5px; width: 1px; background: rgba(255,255,255,.16); }
.form-sidebar button { width: 100%; padding: 8px 0; border: 0; display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; color: #b8c9dd; background: transparent; text-align: left; cursor: pointer; }
.form-sidebar button b { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; font-size: 12px; }
.form-sidebar li.current button { color: #fff; }
.form-sidebar li.current button b, .form-sidebar li.complete button b { border-color: var(--form-theme); background: var(--form-theme); color: #fff; }
.form-progress { margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14); }
.form-progress span, .form-progress b { display: block; }
.form-progress span { color: #99afca; font-size: 12px; }
.form-progress b { margin: 5px 0 10px; }
.form-progress div { height: 5px; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.13); }
.form-progress i { display: block; height: 100%; border-radius: inherit; background: var(--form-theme); }
.form-workspace { width: min(920px, calc(100% - 48px)); margin: 0 auto; padding: 52px 0 72px; }
.form-header { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 24px; }
.form-header span { color: var(--muted); font-size: 13px; }
.form-header h2 { margin: 7px 0 0; font-size: clamp(32px, 4vw, 46px); letter-spacing: -.04em; }
.contract-count { min-width: 150px; padding: 14px 18px; border: 1px solid color-mix(in srgb, var(--form-theme) 28%, white); border-radius: 14px; background: var(--form-soft); text-align: right; }
.contract-count b, .contract-count span { display: block; }
.contract-count b { color: var(--form-theme); font-size: 18px; }
.contract-count span { margin-top: 3px; font-size: 11px; }
.form-notice, .form-boundary { padding: 17px 20px; border-left: 4px solid var(--form-theme); background: var(--form-soft); line-height: 1.6; }
.form-notice strong, .form-notice span, .form-boundary strong, .form-boundary span { display: block; }
.form-notice span, .form-boundary span { margin-top: 4px; color: var(--muted); font-size: 13px; }
.form-error { margin-top: 16px; padding: 14px 18px; border-radius: 10px; background: #fff0f0; border: 1px solid #f5b8b8; color: #a52121; font-weight: 700; }
.form-message { margin-top: 16px; padding: 14px 18px; border-radius: 10px; background: #eaf8f0; border: 1px solid #a8ddbd; color: #17633a; font-weight: 700; }
.draft-restore, .draft-toolbar { margin-bottom: 16px; padding: 16px 18px; display: flex; justify-content: space-between; gap: 20px; align-items: center; border: 1px solid #bad5f3; border-radius: 12px; background: #f5faff; }
.opc-form .draft-restore, .opc-form .draft-toolbar { border-color: #f1cfb2; background: #fffaf5; }
.draft-restore strong, .draft-restore span, .draft-toolbar strong, .draft-toolbar span { display: block; }
.draft-restore span, .draft-toolbar span { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.55; }
.draft-restore > div:last-child, .draft-toolbar > div:last-child { flex: none; display: flex; gap: 8px; }
.draft-restore button, .draft-toolbar button { min-height: 38px; padding: 0 12px; border: 1px solid #aac2dc; border-radius: 8px; background: #fff; color: var(--ink); font-weight: 800; cursor: pointer; }
.draft-restore button:first-child { border-color: var(--form-theme); background: var(--form-theme); color: #fff; }
.contract-form { margin-top: 22px; }
.field-section { margin-bottom: 22px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: 0 12px 32px rgba(15,54,105,.06); }
.field-section-title { display: flex; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 8px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.field-section-title span { font-size: 20px; font-weight: 900; }
.field-section-title b { color: var(--form-theme); font-size: 12px; }
.form-field { padding: 24px 0; border-bottom: 1px solid #e8eef5; }
.form-field:last-child { padding-bottom: 0; border-bottom: 0; }
.field-heading { display: flex; justify-content: space-between; gap: 18px; align-items: start; }
.field-heading label { font-weight: 800; line-height: 1.6; }
.field-heading em { margin-left: 5px; color: #e12626; font-style: normal; }
.field-heading code { flex: none; padding: 4px 7px; border-radius: 6px; background: #eff3f8; color: #536982; font-size: 10px; }
.field-help { margin: 7px 0 12px; color: var(--muted); font-size: 13px; line-height: 1.65; }
.form-field > input, .form-field > textarea, .form-field > select, .state-control select { width: 100%; border: 1px solid #cbd8e6; border-radius: 10px; background: #fff; color: var(--ink); }
.form-field > input, .form-field > select, .state-control select { min-height: 46px; padding: 0 13px; }
.form-field > textarea { padding: 12px 13px; resize: vertical; line-height: 1.6; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: 3px solid color-mix(in srgb, var(--form-theme) 18%, transparent); border-color: var(--form-theme); }
.form-field input:disabled, .form-field textarea:disabled, .form-field select:disabled { background: #f0f3f7; color: #8190a3; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.choice-grid label { min-height: 46px; padding: 10px 12px; display: flex; gap: 9px; align-items: center; border: 1px solid #d5e0eb; border-radius: 9px; cursor: pointer; }
.choice-grid label:has(input:checked) { border-color: var(--form-theme); background: var(--form-soft); }
.choice-grid input { flex: none; width: 17px; height: 17px; accent-color: var(--form-theme); }
.choice-grid span { font-size: 13px; line-height: 1.4; }
.field-rule { display: inline-block; margin-top: 9px; color: #b42318; font-size: 11px; font-weight: 800; }
.state-control { margin-top: 10px; display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: center; gap: 12px; }
.state-control > span { color: var(--muted); font-size: 12px; }
.state-control select { font-size: 12px; }
.form-boundary { margin-top: 24px; background: #edf1f6; border-left-color: #8191a4; }
.form-actions { margin-top: 24px; display: flex; justify-content: space-between; gap: 12px; }
.form-actions .button { min-width: 150px; }
.form-actions .button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.full-privacy { margin-top: 22px; padding: 16px 18px; border: 1px solid #cbd8e6; border-radius: 12px; background: #fff; }
.submission-result-page { min-height: calc(100vh - 82px); padding: 64px 24px; display: grid; place-items: center; background: #f5f8fc; }
.submission-result { width: min(660px, 100%); padding: 44px; border: 1px solid #d9e5f1; border-radius: 22px; background: #fff; box-shadow: 0 18px 55px rgba(9,39,82,.1); text-align: center; }
.submission-result-icon { width: 64px; height: 64px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: #e7f7ee; color: #14804a; font-size: 34px; font-weight: 900; }
.submission-result h1 { margin: 0; font-size: 34px; }
.submission-result > p { color: var(--muted); line-height: 1.7; }
.submission-result dl { margin: 24px 0; padding: 18px 20px; display: grid; gap: 10px; border-radius: 12px; background: #f2f7fc; text-align: left; }
.submission-result dl > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 18px; }
.submission-result dt { color: var(--muted); font-size: 12px; font-weight: 800; }
.submission-result dd { margin: 0; overflow-wrap: anywhere; font-size: 13px; font-weight: 800; }
.submission-result-note { padding: 13px 15px; border-left: 4px solid #8293a8; background: #eef2f6; color: #56697f !important; text-align: left; }

.consult-dialog { width: min(1040px, calc(100% - 32px)); padding: 0; border: 0; border-radius: 24px; color: var(--ink); background: #fff; box-shadow: 0 30px 100px rgba(2,26,66,.28); }
.consult-dialog::backdrop { background: rgba(2,18,45,.64); backdrop-filter: blur(4px); }
.consult-dialog[open] { display: grid; grid-template-columns: minmax(0, 1fr) 340px; }
.dialog-close { position: absolute; top: 14px; right: 16px; z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #eef3f8; color: var(--ink); font-size: 25px; cursor: pointer; }
.dialog-copy { padding: 48px; }
.dialog-copy h2 { margin: 12px 0; font-size: 34px; }
.dialog-copy > p { color: var(--muted); line-height: 1.7; }
.dialog-boundary { margin: 28px 0; padding: 17px; border-left: 4px solid var(--blue); background: var(--blue-soft); }
.opc-dialog .dialog-boundary { border-left-color: var(--orange); background: var(--orange-soft); }
.dialog-boundary strong, .dialog-boundary span { display: block; }
.dialog-boundary span { margin-top: 5px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.dialog-copy small { color: #738299; line-height: 1.6; }
.consult-form { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consult-form > label { display: block; }
.consult-form > label > span { display: block; margin-bottom: 6px; color: #344b68; font-size: 12px; font-weight: 800; }
.consult-form input:not([type="checkbox"]), .consult-form select, .consult-form textarea { width: 100%; border: 1px solid #cbd8e6; border-radius: 9px; background: #fff; color: var(--ink); }
.consult-form input:not([type="checkbox"]), .consult-form select { min-height: 43px; padding: 0 11px; }
.consult-form textarea { padding: 10px 11px; resize: vertical; line-height: 1.5; }
.consult-form input:focus, .consult-form select:focus, .consult-form textarea:focus { outline: 3px solid rgba(17,99,216,.15); border-color: var(--blue); }
.opc-dialog .consult-form input:focus, .opc-dialog .consult-form select:focus, .opc-dialog .consult-form textarea:focus { outline-color: rgba(255,106,19,.16); border-color: var(--orange); }
.consult-type { grid-column: 1 / -1; padding: 10px 12px; display: flex; justify-content: space-between; border-radius: 8px; background: var(--blue-soft); font-size: 12px; }
.opc-dialog .consult-type { background: var(--orange-soft); }
.consult-form label:has(textarea), .privacy-check, .consult-feedback, .consult-check, .consult-boundary { grid-column: 1 / -1; }
.privacy-check { display: flex !important; gap: 9px; align-items: flex-start; padding: 4px 0; cursor: pointer; }
.privacy-check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); }
.opc-dialog .privacy-check input { accent-color: var(--orange); }
.privacy-check span { margin: 0 !important; font-weight: 600 !important; line-height: 1.5; }
.consult-feedback { min-height: 0; font-size: 13px; font-weight: 800; }
.consult-feedback.error { padding: 10px 12px; border-radius: 8px; background: #fff0f0; color: #a52121; }
.consult-feedback.success { padding: 10px 12px; border-radius: 8px; background: #eaf8f0; color: #17633a; }
.consult-check { width: 100%; }
.consult-boundary { margin: 0; color: #718096; font-size: 11px; line-height: 1.55; }
.qr-card { padding: 45px 34px 34px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #f4f8fd; text-align: center; }
.opc-dialog .qr-card { background: #fff6ed; }
.qr-card img { width: 240px; height: 240px; object-fit: contain; border-radius: 8px; }
.qr-card b { margin-top: 15px; font-size: 18px; }
.qr-card span { margin-top: 5px; color: var(--muted); font-size: 12px; }
.qr-card small { margin-top: 14px; color: #6f8095; font-size: 11px; line-height: 1.55; }
.qr-card details { width: 100%; margin-top: 18px; padding-top: 14px; border-top: 1px solid #dce5ef; color: #536982; font-size: 11px; text-align: left; }
.qr-card summary { cursor: pointer; font-weight: 800; }
.qr-card details p { margin: 7px 0 0; line-height: 1.5; }

.site-footer { border-top: 1px solid #dbe4ee; background: #071a35; color: #fff; }
.footer-inner { width: min(1240px, calc(100% - 48px)); min-height: 160px; margin: 0 auto; display: grid; grid-template-columns: 210px 1fr 1.25fr; align-items: center; gap: 38px; }
.footer-inner img { width: 190px; padding: 8px; border-radius: 6px; background: #fff; }
.footer-inner strong, .footer-inner span { display: block; }
.footer-inner span { margin-top: 5px; color: #9db4d0; font-size: 12px; }
.footer-inner p { justify-self: end; max-width: 480px; color: #9db4d0; font-size: 12px; line-height: 1.7; }

@media (max-width: 1050px) {
  .header-inner { grid-template-columns: 210px auto; }
  .brand-line { display: none; }
  .site-header nav { justify-self: end; }
  .home-hero { min-height: 580px; padding: 56px 30px; grid-template-columns: minmax(0, 56%) 1fr; }
  .home-copy h1 { font-size: clamp(46px, 5vw, 54px); }
  .home-hero::after { background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 37%, rgba(255,255,255,.45) 55%, rgba(255,255,255,0) 75%); }
  .process-section { gap: 32px; }
  .form-app { grid-template-columns: 250px minmax(0, 1fr); }
  .form-sidebar { padding: 30px 20px; }
}

@media (max-width: 760px) {
  .header-inner { min-height: 68px; padding: 8px 14px; grid-template-columns: 180px 1fr auto; gap: 8px; }
  .brand { width: 170px; }
  .menu-toggle { display: block; grid-column: 3; }
  .site-header nav { display: none; position: absolute; left: 0; right: 0; top: 68px; height: auto; padding: 8px 14px 14px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 14px 30px rgba(8,38,80,.12); }
  .site-header nav.open { display: grid; }
  .site-header nav a { min-height: 48px; padding: 0 12px; border-bottom-width: 1px; }
  .section-shell, .hero-content, .footer-inner { width: min(100% - 28px, 1240px); }
  .home-hero { min-height: auto; padding: 48px 20px 0; grid-template-columns: 1fr; gap: 28px; background: linear-gradient(180deg, #fff 0 64%, #eaf6ff 100%); }
  .home-hero::after { display: none; }
  .home-copy h1 { font-size: 42px; }
  .home-copy p { font-size: 16px; }
  .home-actions { flex-direction: column; }
  .home-actions .button { width: 100%; }
  .trust-row { gap: 12px 18px; }
  .home-visual { position: relative; inset: auto; width: calc(100% + 40px); margin-left: -20px; aspect-ratio: 1.55; }
  .home-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
  .dual-entry { padding: 68px 0 74px; }
  .dual-grid { grid-template-columns: 1fr; }
  .entry-card { min-height: 300px; padding: 30px; }
  .entry-card a { left: 30px; bottom: 30px; }
  .partner-showcase { padding: 0 0 68px; }
  .partner-showcase h2 { margin-bottom: 20px; text-align: center; }
  .partner-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .partner-logo { min-height: 120px; padding: 16px 12px; }
  .partner-logo:last-child { grid-column: 1 / -1; width: calc(50% - 6px); justify-self: center; }
  .partner-logo img { max-height: 82px; }
  .global-theme { min-height: 330px; background-position: 68% center; }
  .global-theme h2 { max-width: 8em; font-size: 38px; }
  .global-theme p { max-width: 19em; font-size: 15px; }
  .business-hero { min-height: 630px; align-items: flex-end; background-position: 64% center; }
  .enterprise-hero::before { background: linear-gradient(0deg, rgba(1,35,83,.98) 0%, rgba(2,60,133,.9) 62%, rgba(2,60,133,.2) 100%); }
  .opc-hero { background-position: 67% center; }
  .opc-hero::before { background: linear-gradient(0deg, rgba(255,248,239,.99) 0%, rgba(255,244,229,.94) 62%, rgba(255,240,220,.18) 100%); }
  .hero-content { padding: 220px 0 34px; }
  .hero-content h1 { font-size: 42px; }
  .acc-desktop-break { display: none; }
  .hero-content > p { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-notes { gap: 10px 18px; }
  .services-section { padding: 68px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 0; }
  .process-section { padding: 68px 0 80px; grid-template-columns: 1fr; }
  .action-panel { padding: 28px; }
  .placeholder-page { padding: 38px 22px; }
  .placeholder-actions { flex-direction: column; }
  .placeholder-actions .button { width: 100%; }
  .form-app { display: block; min-height: auto; }
  .form-sidebar { position: static; min-height: auto; padding: 22px 18px; }
  .form-back { margin-bottom: 18px; }
  .form-sidebar h1 { margin-bottom: 16px; font-size: 22px; }
  .form-sidebar ol { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
  .form-sidebar li { flex: 0 0 auto; }
  .form-sidebar li::after { display: none; }
  .form-sidebar button { width: auto; grid-template-columns: 32px auto; padding-right: 12px; }
  .form-sidebar button b { width: 30px; height: 30px; }
  .form-progress { margin-top: 16px; padding-top: 14px; }
  .form-workspace { width: min(100% - 28px, 920px); padding: 30px 0 52px; }
  .form-header { align-items: start; }
  .contract-count { min-width: 128px; padding: 10px 12px; }
  .field-section { padding: 20px 17px; }
  .choice-grid { grid-template-columns: 1fr; }
  .state-control { grid-template-columns: 1fr; gap: 6px; }
  .draft-restore, .draft-toolbar { display: block; }
  .draft-restore > div:last-child, .draft-toolbar > div:last-child { margin-top: 12px; flex-wrap: wrap; }
  .form-actions { margin-left: 0; margin-right: 0; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: transparent; }
  .form-actions .button { min-width: 0; flex: 1; padding: 0 14px; }
  .submission-result-page { padding: 36px 14px; }
  .submission-result { padding: 30px 20px; }
  .submission-result h1 { font-size: 28px; }
  .submission-result dl > div { grid-template-columns: 1fr; gap: 4px; }
  .submission-result dd { margin-bottom: 9px; }
  .consult-dialog[open] { grid-template-columns: 1fr; max-height: calc(100vh - 24px); overflow: auto; }
  .dialog-copy { padding: 42px 26px 24px; }
  .dialog-copy h2 { font-size: 29px; }
  .qr-card { order: -1; padding: 34px 24px 24px; }
  .qr-card img { width: min(250px, 78vw); height: auto; }
  .consult-form { grid-template-columns: 1fr; }
  .consult-form > *, .consult-type { grid-column: 1; }
  .footer-inner { padding: 36px 0; grid-template-columns: 1fr; gap: 20px; }
  .footer-inner p { justify-self: start; margin: 0; }
}

@media (max-width: 390px) {
  .home-copy h1 { font-size: 36px; }
  .hero-content h1 { font-size: 38px; }
  .section-heading h2, .process-copy h2 { font-size: 32px; }
  .entry-card h3 { font-size: 36px; }
  .brand { width: 156px; }
  .header-inner { grid-template-columns: 160px 1fr auto; }
  .form-header { display: block; }
  .contract-count { margin-top: 14px; text-align: left; }
  .field-heading { display: block; }
  .field-heading code { display: inline-block; margin-top: 7px; }
}

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