/*
BAILAW site — restrained international editorial style (HY-aligned, 2026-07-01).
- Deep navy #0F2A44 + white + light gray, no vermilion / gold accents in body.
- Vermilion #B23A3A survives only on the brand logo image asset.
- Editorial serif for headings (Libre Baskerville + Noto Serif SC), IBM Plex Sans for body.
- No decorative backgrounds. Subtle borders and shadows only.
*/
:root {
  --primary: #0F2A44;
  --primary-2: #22364F;
  --heading: #0F172A;
  --text: #4B5563;
  --muted: #6B7280;
  --background: #FFFFFF;
  --surface: #F5F7FA;
  --card: #FFFFFF;
  --border: #E5E7EB;
  --accent: #EEF2F7;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(15, 42, 68, .04);
  --shadow-md: 0 6px 20px rgba(15, 42, 68, .06);
  --serif: "Libre Baskerville", "Noto Serif SC", "Source Han Serif SC", Georgia, ui-serif, serif;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--heading);
  background: var(--background);
  font-family: var(--sans);
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
button, input, textarea, select { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 1000; background: var(--primary); color: #fff; padding: .6rem 1rem; border-radius: 999px; }
.skip-link:focus { top: 1rem; }
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  min-height: 72px; display: flex; align-items: center; gap: 24px;
  padding: 0 max(16px, calc((100vw - 1120px) / 2));
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 18px rgba(15, 42, 68, .06); background: rgba(255, 255, 255, .96); }

.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border: 1px solid var(--primary); background: var(--primary); color: #fff;
  font-family: var(--serif); font-size: 22px; line-height: 1;
  border-radius: 6px;
}
.brand-mark-image {
  border: 0;
  background: transparent;
  color: inherit;
  overflow: visible;
}
.brand-mark-image img {
  display: block; width: 100%; height: 100%; object-fit: contain;
}
.brand strong { display: block; font-family: var(--serif); font-size: 18px; letter-spacing: .04em; color: var(--heading); }
.brand em { display: block; font-style: normal; font-size: 10px; letter-spacing: .28em; color: var(--muted); margin-top: -2px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 24px; font-size: 14px; color: var(--text); }
.nav a:hover { color: var(--primary); }

.header-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 18px;
  border: 1px solid var(--primary); color: #fff; background: var(--primary);
  font-size: 14px;
  border-radius: var(--radius);
  transition: background .2s ease, border-color .2s ease;
}
.header-cta:hover { background: var(--primary-2); border-color: var(--primary-2); color: #fff; }

.menu-toggle { display: none; margin-left: auto; border: 0; background: transparent; width: 42px; height: 42px; padding: 9px; border-radius: 6px; }
.menu-toggle span { display: block; height: 1px; background: var(--heading); margin: 8px 0; transform-origin: center; transition: transform .2s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* Language switcher — HY-style: compact CN/KR pill with hidden native select */
.lang-switch {
  position: relative; display: inline-flex; align-items: center;
  min-height: 32px; padding: 0 10px 0 12px; gap: 6px;
  border: 1px solid var(--border);
  background: var(--background);
  border-radius: var(--radius);
  color: var(--text);
  transition: background .2s ease;
  cursor: pointer;
}
.lang-switch:hover { background: var(--accent); }
.lang-switch .lang-label { font-size: 12px; letter-spacing: .04em; font-weight: 500; }
.lang-switch .lang-arrow { display: block; opacity: .45; }
.lang-switch .lang-select {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer; border: 0;
}

/* Hero */
.hero { position: relative; min-height: calc(100vh - 72px); display: flex; align-items: center; overflow: hidden; padding: 96px 0 76px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}
.eyebrow {
  margin: 0 0 20px;
  color: var(--muted);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
}

h1, h2, h3 { margin: 0; font-family: var(--serif); line-height: 1.2; font-weight: 700; color: var(--heading); }
h1 { font-size: clamp(42px, 6.4vw, 72px); letter-spacing: -.02em; max-width: 880px; line-height: 1.15; }
h2 { font-size: clamp(28px, 3.8vw, 44px); letter-spacing: -.015em; }
h3 { font-size: 20px; letter-spacing: -.005em; }

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--text);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.7;
}

.hero-actions, .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 22px;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  font-size: 14px; font-weight: 500;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-2); border-color: var(--primary-2); color: #fff; }
.btn-ghost { background: var(--background); color: var(--primary); border-color: var(--border); }
.btn-ghost:hover { color: var(--primary); border-color: var(--primary); background: var(--background); }

/* Hero side panel (right column card on homepage + /bailv first screen) */
.hero-panel, .price-slate {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: clamp(24px, 4vw, 40px);
  min-height: 400px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.panel-kicker { color: var(--muted); margin: 0 0 18px; letter-spacing: .04em; }
.hero-panel h2 { font-size: clamp(24px, 3vw, 36px); max-width: 360px; line-height: 1.25; }
.mini-list { margin: 32px 0 0; display: grid; gap: 14px; }
.mini-list div { display: grid; grid-template-columns: 64px 1fr; gap: 14px; border-top: 1px solid var(--border); padding-top: 14px; }
.mini-list dt { color: var(--primary); font-weight: 600; letter-spacing: .02em; }
.mini-list dd { margin: 0; color: var(--text); }

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section.muted { background: var(--surface); border-block: 1px solid var(--border); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.wide { max-width: 980px; }
.section-head p:not(.eyebrow) { color: var(--text); margin: 14px 0 0; font-size: 16px; }

/* Entry grid (homepage) */
.entry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.entry-card {
  position: relative; min-height: 260px; padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.entry-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.entry-card.dark { background: var(--primary); color: #fff; border-color: var(--primary); }
.entry-card.dark p { color: rgba(255, 255, 255, .78); }
.entry-card.dark strong { color: #fff; }
.entry-card.dark:hover { background: var(--primary-2); border-color: var(--primary-2); }
.card-number {
  position: absolute; top: 24px; right: 28px;
  font-family: var(--serif); font-size: 56px; color: rgba(15, 42, 68, .1);
  line-height: 1;
}
.entry-card.dark .card-number { color: rgba(255, 255, 255, .16); }
.entry-card p { max-width: 420px; color: var(--text); margin-top: 6px; }
.entry-card strong { color: var(--primary); font-weight: 600; margin-top: 20px; }

/* Four grid & risk grid & service card */
.four-grid, .risk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service-card, .risk-card, .fit-box {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}
.service-card span {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 38px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-family: var(--serif); font-size: 22px;
  border-radius: 6px;
}
.service-card p, .risk-card p, .fit-box li { color: var(--text); }

/* Workflow split layout */
.split-layout { display: grid; grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.sticky-head { position: sticky; top: 104px; }
.timeline { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; border-left: 1px solid var(--border); }
.timeline li { position: relative; padding: 0 0 42px 36px; }
.timeline li::before { content: ""; position: absolute; left: -6px; top: 6px; width: 11px; height: 11px; background: var(--primary); border-radius: 50%; }
.timeline span, .included-list span {
  display: inline-block; margin-bottom: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 13px; letter-spacing: .1em;
}
.timeline p { color: var(--text); margin: 6px 0 0; }

/* Counsel section — HY-style: white card, not deep navy block */
.counsel-card {
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--heading);
  padding: clamp(30px, 6vw, 56px);
  box-shadow: var(--shadow-sm);
}
.counsel-card .eyebrow { color: var(--muted); }
.counsel-copy p { margin: 0 0 14px; color: var(--text); }
.counsel-copy strong { color: var(--heading); font-family: var(--serif); font-size: 24px; font-weight: 700; }
.placeholder { display: inline-block; border: 1px solid var(--border); padding: .05rem .5rem; color: var(--muted); background: var(--surface); border-radius: 4px; font-size: 13px; }
.notice { border-top: 1px solid var(--border); padding-top: 16px; font-size: 14px; color: var(--muted); }

/* Footer — HY-style light footer */
.site-footer {
  background: #FCFDFD;
  color: #4D5562;
  border-top: 1px solid var(--border);
  padding: 58px 0 46px;
}
.footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h2 { font-family: var(--sans); font-size: 13px; color: var(--heading); letter-spacing: .12em; font-weight: 600; text-transform: uppercase; margin: 0 0 10px; }
.site-footer p { margin: 8px 0; font-size: 14px; color: var(--text); }
.site-footer a { color: var(--text); }
.site-footer a:hover { color: var(--primary); }
.footer-brand strong { color: var(--heading); }
.footer-brand em { color: var(--muted); }

/* /bailv-specific selling / included / boundary / sample layouts */
.selling-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.selling-points span {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 6px 12px; font-size: 13px;
  border-radius: 999px;
  color: var(--text);
}
.fineprint { margin: 18px 0 0; color: var(--muted); font-size: 13px; max-width: 680px; }

/* Price slate (hero side card on /bailv) — restrained, no navy block */
.price-slate {
  min-height: 440px;
  background: var(--card);
  color: var(--heading);
}
.price-slate p { margin: 0; color: var(--muted); letter-spacing: .16em; font-size: 12px; text-transform: uppercase; }
.price-slate strong {
  display: block; font-family: var(--serif);
  font-size: clamp(56px, 8vw, 96px); line-height: 1;
  margin: 18px 0 10px;
  color: var(--heading); font-weight: 700; letter-spacing: -.02em;
}
.price-slate span { color: var(--muted); font-size: 20px; font-family: var(--sans); font-weight: 500; }
.price-slate small { margin-top: 22px; color: var(--muted); font-size: 13px; }

/* Risk card */
.risk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.risk-card { min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; background: var(--card); }
.risk-card h3::before { content: ""; display: block; width: 40px; height: 1px; background: var(--primary); margin-bottom: 24px; }

.transition-line {
  margin: 34px 0 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2.6vw, 30px);
  color: var(--heading);
  max-width: 880px;
  line-height: 1.5;
}

.included-list { display: grid; gap: 14px; }
.included-list article, .boundary-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 26px;
}
.boundary-box { background: var(--surface); }
.boundary-box p { color: var(--text); }

.sample-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 18px; align-items: stretch; }
.report-card, .table-wrap {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 26px;
  overflow: auto;
}
.report-card ol { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.report-card li { border-top: 1px solid var(--border); padding-top: 16px; }
.report-card span { display: block; color: var(--text); margin-top: 4px; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
caption { text-align: left; font-weight: 700; margin-bottom: 14px; color: var(--heading); font-family: var(--serif); font-size: 18px; }
th, td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); padding: 14px 12px; }
th { font-family: var(--serif); font-size: 15px; background: var(--surface); font-weight: 700; color: var(--heading); }
td { color: var(--text); }

/* ===== /bailv price contrast section — TYPOGRAPHIC contrast, not color contrast ===== */
.price-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; align-items: stretch; }
.price-copy, .big-price {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(32px, 5vw, 60px);
  background: var(--card);
}
.price-copy p:not(.eyebrow) { color: var(--text); font-size: 17px; line-height: 1.75; }
/* big-price now uses white background + massive typographic contrast between the label and the emphasized number */
.big-price {
  background: var(--card);
  color: var(--heading);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: 8px;
}
.big-price span {
  color: var(--muted);
  font-size: 15px;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: .04em;
}
.big-price strong {
  font-family: var(--serif);
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1;
  margin-top: 20px;
  color: var(--heading);
  font-weight: 700;
  letter-spacing: -.025em;
}

/* Fit boxes */
.fit-box ul { padding-left: 1.2rem; margin-bottom: 0; }
.fit-box.no { background: var(--surface); }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.faq-list { display: grid; gap: 10px; }
details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}
summary {
  cursor: pointer; list-style: none;
  padding: 18px 22px; font-weight: 600;
  display: flex; justify-content: space-between; gap: 16px;
  color: var(--heading);
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--primary); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 0; padding: 0 22px 20px; color: var(--text); }

/* Final CTA */
.final-cta { padding-top: 0; }
.final-card {
  position: relative;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  background: var(--primary);
  color: #fff;
  padding: clamp(32px, 7vw, 68px);
  overflow: hidden;
}
.final-card .eyebrow { color: rgba(255, 255, 255, .68); }
.final-actions { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.action-card {
  text-align: left;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  color: #fff;
  padding: 20px; min-height: 120px; cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.action-card:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .38); color: #fff; }
.action-card strong, .action-card span { display: block; }
.action-card span { color: rgba(255, 255, 255, .68); margin-top: 8px; font-size: 13px; }
.qr-placeholder {
  position: relative; z-index: 1;
  margin-top: 26px; width: min(220px, 100%); padding: 16px;
  border: 1px dashed rgba(255, 255, 255, .38);
  color: rgba(255, 255, 255, .72);
  text-align: center;
  border-radius: var(--radius);
}
.qr-placeholder span {
  display: block; aspect-ratio: 1;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .14) 0 8px, transparent 8px 16px);
  margin-bottom: 10px;
}
.closing {
  position: relative; z-index: 1;
  margin: 26px 0 0;
  font-family: var(--serif); font-size: clamp(20px, 2.6vw, 30px);
}

/* Toast (copy feedback) */
.toast {
  position: fixed; left: 50%; bottom: 24px;
  transform: translate(-50%, 120%);
  background: var(--primary); color: #fff;
  border: 1px solid var(--primary-2);
  border-radius: var(--radius);
  padding: 10px 16px;
  opacity: 0; z-index: 200;
  transition: transform .25s ease, opacity .25s ease;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

/* Responsive breakpoints */
@media (max-width: 920px) {
  .site-header { padding: 0 16px; }
  .nav {
    position: fixed; top: 72px; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch;
    gap: 0; margin: 0;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid var(--border);
    padding: 8px 16px 18px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--border); }
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .hero-grid, .split-layout, .counsel-card, .sample-layout, .price-grid, .faq-layout { grid-template-columns: 1fr; }
  .sticky-head { position: static; }
  .four-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; padding: 76px 0 60px; }
  .price-slate, .hero-panel { min-height: 320px; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1120px); }
  .brand strong { font-size: 16px; }
  h1 { font-size: clamp(36px, 11vw, 52px); }
  h2 { font-size: clamp(26px, 8vw, 40px); }
  .entry-grid, .four-grid, .risk-grid, .final-actions, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions, .cta-row { flex-direction: column; }
  .btn { width: 100%; }
  .service-card span { margin-bottom: 24px; }
  .section { padding: 64px 0; }
  .counsel-card, .final-card { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== H5 / Android hardening (preserved) ===== */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  min-width: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  word-break: break-word;
  overflow-wrap: anywhere;
}
a, button, summary, .btn, .action-card {
  -webkit-tap-highlight-color: rgba(15, 42, 68, .1);
  touch-action: manipulation;
}
button, .btn, .action-card, .header-cta {
  min-height: 44px;
}
.lang-switch { min-height: 36px; }
img, svg, video, canvas { max-width: 100%; height: auto; }
body.menu-open { overflow: hidden; touch-action: none; }

/* Korean-page line-break tuning */
.page-ko { word-break: keep-all; overflow-wrap: anywhere; }
.page-ko h1, .page-ko h2, .page-ko h3 { letter-spacing: -.02em; word-break: keep-all; }
.page-ko .lead, .page-ko p, .page-ko li, .page-ko dd, .page-ko td, .page-ko summary {
  word-break: keep-all; overflow-wrap: anywhere;
}

.table-wrap { max-width: 100%; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.table-wrap::after { content: ""; display: block; width: 1px; height: 1px; }

@supports (height: 100svh) {
  .hero { min-height: calc(100svh - 72px); }
}
@media (max-width: 920px) {
  .site-header {
    min-height: 64px; gap: 10px;
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
  .brand { gap: 9px; }
  .brand-mark { width: 34px; height: 34px; font-size: 20px; }
  .nav {
    top: 64px;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    box-shadow: 0 20px 40px rgba(15, 42, 68, .08);
  }
  .nav a { min-height: 46px; display: flex; align-items: center; }
  .lang-switch { margin-left: auto; min-height: 32px; }
  .menu-toggle { flex: 0 0 auto; margin-left: 0; }
  .hero { padding: 56px 0 44px; }
  .page-ko h1 { font-size: clamp(32px, 9vw, 52px); line-height: 1.2; }
  .page-ko h2 { font-size: clamp(26px, 7.4vw, 40px); line-height: 1.22; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 22px, 1120px); }
  .site-header { min-height: 60px; }
  .nav { top: 60px; max-height: calc(100dvh - 60px); }
  .brand em { display: none; }
  .brand strong { font-size: 15px; }
  h1 { font-size: clamp(32px, 10.8vw, 46px); line-height: 1.16; letter-spacing: -.025em; }
  h2 { font-size: clamp(25px, 7.8vw, 36px); line-height: 1.2; }
  h3 { font-size: 19px; }
  .page-ko h1 { font-size: clamp(28px, 8.6vw, 40px); line-height: 1.22; }
  .page-ko h2 { font-size: clamp(24px, 7vw, 34px); line-height: 1.24; }
  .lead { font-size: 16px; line-height: 1.68; }
  .eyebrow { font-size: 11px; letter-spacing: .16em; }
  .hero-actions, .cta-row { gap: 10px; }
  .btn, .action-card { min-height: 48px; }
  .entry-card, .service-card, .risk-card, .fit-box, .report-card, .table-wrap, .included-list article, .boundary-box {
    padding: 22px;
  }
  .risk-card { min-height: 180px; }
  .price-slate, .hero-panel { min-height: 260px; }
  .price-slate strong { font-size: clamp(48px, 15vw, 74px); }
  .price-slate span { font-size: 18px; }
  .big-price strong { font-size: clamp(42px, 12vw, 68px); }
  summary { padding: 16px 18px; min-height: 54px; align-items: center; }
  details p { padding: 0 18px 18px; }
  table { min-width: 600px; }
  th, td { padding: 12px 10px; }
  .toast {
    width: calc(100% - 32px); max-width: 420px;
    bottom: max(18px, env(safe-area-inset-bottom));
    text-align: center;
  }
}
@media (max-width: 380px) {
  .site-header { gap: 8px; }
  .brand-mark { width: 32px; height: 32px; font-size: 18px; }
  .brand strong { font-size: 14px; letter-spacing: .03em; }
  .menu-toggle { width: 38px; height: 38px; padding: 8px; }
  h1 { font-size: clamp(28px, 10.4vw, 40px); }
  .page-ko h1 { font-size: clamp(26px, 8.4vw, 36px); }
}

/* ===== Three-tier pricing (hero slate mini list + price-section cards) ===== */
/* Hero slate: compact stacked tiers */
.tier-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; width: 100%; }
.tier-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border); padding-top: 12px; }
.tier-list li:first-child { border-top: 0; padding-top: 0; }
.tier-list .tier-name { color: var(--text); font-size: 14px; font-weight: 500; }
.tier-list .tier-num { font-family: var(--serif); font-weight: 700; color: var(--heading); font-size: clamp(24px, 3.4vw, 32px); line-height: 1; letter-spacing: -.01em; }
.tier-list .tier-num em { font-style: normal; font-family: var(--sans); font-weight: 500; font-size: 13px; color: var(--muted); margin-left: 5px; }
.tier-list .tier-best .tier-name { color: var(--primary); font-weight: 600; }

/* Price section: three prominent cards */
.price-head { max-width: 760px; margin-bottom: 34px; }
.price-head p:not(.eyebrow) { color: var(--text); margin: 14px 0 0; font-size: 17px; line-height: 1.75; }
.price-tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tier-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  padding: 34px 28px;
  display: flex; flex-direction: column; gap: 4px;
}
.tier-card .tier-name { color: var(--muted); font-size: 14px; letter-spacing: .04em; }
.tier-card strong {
  font-family: var(--serif); font-weight: 700; color: var(--heading);
  font-size: clamp(40px, 6vw, 58px); line-height: 1; letter-spacing: -.02em;
  margin: 8px 0 2px;
}
.tier-card strong em { font-style: normal; font-family: var(--sans); font-weight: 500; font-size: 15px; color: var(--muted); margin-left: 6px; }
.tier-card .tier-sub { color: var(--primary); font-size: 13px; font-weight: 600; }
.tier-card.tier-best { border-color: var(--primary); box-shadow: var(--shadow-md); }
.tier-badge {
  position: absolute; top: -1px; right: -1px;
  background: var(--primary); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
  padding: 4px 12px; border-radius: 0 var(--radius) 0 var(--radius);
}
.price-note { margin: 22px 0 0; color: var(--muted); font-size: 14px; max-width: 860px; line-height: 1.7; }
.price-grid-fit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }

/* ===== Sample-request modal ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(15, 42, 68, .45);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.modal-overlay[hidden] { display: none; }
.modal {
  position: relative;
  width: min(440px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(15, 42, 68, .24);
  padding: clamp(24px, 5vw, 36px);
}
.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border: 0; background: transparent;
  font-size: 24px; line-height: 1; color: var(--muted); cursor: pointer;
  border-radius: 8px;
}
.modal-close:hover { background: var(--surface); color: var(--heading); }
.modal h3 { font-size: 22px; }
.modal-sub { margin: 10px 0 20px; color: var(--text); font-size: 14px; }
.modal form { display: grid; gap: 14px; }
.modal label { display: grid; gap: 6px; font-size: 13px; color: var(--text); font-weight: 500; }
.modal .req { color: #B23A3A; }
.modal input, .modal select {
  width: 100%; min-height: 46px;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0 12px; background: var(--background); color: var(--heading);
  font-size: 16px; /* ≥16px 防 iOS 聚焦缩放 */
}
.modal input:focus, .modal select:focus { outline: none; border-color: var(--primary); }
.modal-submit { width: 100%; margin-top: 4px; }
.modal-submit[disabled] { opacity: .6; pointer-events: none; }
.modal-fineprint { margin: 2px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.modal-success { display: grid; gap: 16px; }
.modal-success-msg { margin: 0; color: var(--heading); font-size: 15px; line-height: 1.7; }
body.modal-open { overflow: hidden; touch-action: none; }

@media (max-width: 920px) {
  .price-tiers { grid-template-columns: 1fr; }
  .price-grid-fit { grid-template-columns: 1fr; }
}
