:root {
  --ink: #1a1f16;
  --muted: #5a6354;
  --sage: #3e522d;
  --deep: #25331c;
  --gold: #c5a065;
  --cream: #fdfbf7;
  --line: #e9e4db;
  --paper: #fff;
  --max: 1180px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 145px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, "Noto Sans JP", "Noto Sans SC", "Noto Sans Arabic", "Noto Naskh Arabic", "Hiragino Sans", "Microsoft YaHei", sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 5px; }
a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
p, h1, h2, h3, figure { margin: 0; }
p + p { margin-top: 1rem; }
.wrap { width: min(var(--max), calc(100% - 64px)); margin: auto; }
.skip { position: absolute; inset-inline-start: 16px; top: -100px; background: #fff; padding: 12px; z-index: 99; }
.skip:focus { top: 10px; }
.header { background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: auto; }
.brand strong { font-size: 1rem; letter-spacing: .01em; }
.languages { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; }
.languages a { text-decoration: none; font-size: .875rem; padding: 8px 11px; border-radius: 3px; color: var(--muted); }
.languages [aria-current] { background: var(--cream); color: var(--sage); font-weight: 700; }
.hero { padding: 58px 0 48px; background: linear-gradient(110deg, #f7f4ee 0%, #fff 80%); }
.crumb { font-size: .875rem; color: var(--muted); margin-bottom: 30px; }
.crumb a { text-decoration: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.eyebrow { font-size: .875rem; letter-spacing: .09em; font-weight: 700; color: var(--sage); margin-bottom: 20px; }
.hero h1 {
  font-family: Georgia, "Noto Serif JP", "Noto Serif SC", "Noto Naskh Arabic", serif;
  font-size: clamp(2.4rem, 4.2vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.16;
}
.hero h1 span { display: block; }
.hero h1 span + span { color: var(--sage); }
.lead { font-size: 1.125rem; line-height: 1.85; color: var(--muted); margin-top: 24px; max-width: 37rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 13px 22px; border: 1px solid var(--sage);
  background: var(--sage); color: #fff; text-decoration: none;
  font-size: 1rem; font-weight: 700; line-height: 1.5; text-align: center; border-radius: 3px;
}
.button:hover { background: var(--deep); border-color: var(--deep); }
.button.secondary { color: var(--sage); background: transparent; }
.button.secondary:hover { background: var(--cream); }
.hero-note { font-size: .875rem; color: var(--muted); margin-top: 18px; }
.hero-photo { align-self: stretch; display: flex; flex-direction: column; min-width: 0; }
.hero-photo img { width: 100%; height: 440px; object-fit: cover; object-position: center 35%; border-radius: 3px; }
.hero-photo figcaption { border: 1px solid var(--line); border-top: 0; background: #fff; padding: 18px 22px; font-size: .875rem; line-height: 1.65; }
.hero-photo figcaption strong { display: block; font-size: 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips span { font-size: 12px; border: 1px solid var(--line); background: #fff; padding: 7px 12px; border-radius: 999px; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 42px; border-top: 1px solid var(--line); padding-top: 26px; gap: 30px; }
.facts div + div { border-left: 1px solid var(--line); padding-left: 30px; }
.facts strong { display: block; font-size: 1.125rem; }
.facts span { font-size: .875rem; color: var(--muted); }
.section-nav { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.section-nav .wrap { display: flex; justify-content: space-between; gap: 12px; }
.section-nav a { display: block; padding: 19px 12px; font-size: .9375rem; text-decoration: none; white-space: nowrap; }
.section-nav a:hover { color: var(--sage); text-decoration: underline; }
.section { padding: 88px 0; }
.section h2 { font-size: clamp(1.75rem, 2.8vw, 2.5rem); line-height: 1.45; font-weight: 500; letter-spacing: -.025em; }
.section h3 { font-size: 1.125rem; line-height: 1.65; }
.section p { color: var(--muted); }
.section .eyebrow { color: var(--sage); margin-bottom: 13px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 35px; }
.concern { border-top: 2px solid var(--sage); padding: 24px 0; }
.concern p { margin-top: 12px; }
.tinted { background: var(--cream); }
.two-col { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.prose p { font-size: 1.0625rem; }
.scope { margin-top: 28px; padding: 20px 22px; border-left: 3px solid var(--gold); background: #fff; }
.scope strong { display: block; color: var(--sage); margin-bottom: 6px; }
.compare { margin-top: 48px; }
.compare h3 { font-size: 1.375rem; }
.compare-row { display: grid; grid-template-columns: 260px 1fr; gap: 32px; border-bottom: 1px solid var(--line); padding: 22px 0; }
.compare-row:first-of-type { margin-top: 20px; border-top: 1px solid var(--line); }
.compare-row strong { font-size: 1.0625rem; }
.compare-note { margin-top: 20px; font-size: .9375rem; }
.cost-card { padding: 26px; border: 1px solid var(--line); background: #fff; }
.cost-card p { margin-top: 16px; }
.price-note { font-size: .9375rem; margin-top: 22px; }
.risk { display: grid; grid-template-columns: 240px 1fr; gap: 40px; background: #faf8f3; border-left: 3px solid var(--sage); padding: 30px; margin-top: 36px; }
.risk .urgent { color: var(--ink); font-size: .9375rem; }
.visit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; margin-top: 38px; }
.visit-photo img { width: 100%; height: 360px; object-fit: cover; object-position: 62% center; }
.visit-photo figcaption { padding: 24px 0; }
.visit-photo strong { display: block; margin-bottom: 9px; }
.text-link { display: inline-block; margin: 14px 20px 0 0; color: var(--sage); font-weight: 700; font-size: .9375rem; }
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 23px 0; border-top: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; border-top: 0; }
.step-number { font-family: Georgia, "Noto Naskh Arabic", serif; font-size: 1.75rem; color: var(--sage); line-height: 1.3; }
.steps p { margin-top: 8px; }
.faq-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 65px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
summary { cursor: pointer; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; list-style: none; font-size: 1.0625rem; font-weight: 700; line-height: 1.6; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--sage); flex: none; }
details[open] summary::after { content: "−"; }
details p { margin-top: 16px; padding-inline-end: 35px; }
.related { padding: 38px 0; border-top: 1px solid var(--line); }
.related h2 { font-size: 1.125rem; }
.related-links { display: flex; flex-wrap: wrap; gap: 12px 25px; margin-top: 18px; }
.related-links a { font-size: .9375rem; color: var(--sage); }
.cta { background: var(--deep); padding: 66px 0; color: #fff; }
.cta .wrap { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 60px; }
.cta h2 { font-family: Georgia, "Noto Serif JP", "Noto Serif SC", "Noto Naskh Arabic", serif; font-size: 2.25rem; line-height: 1.4; font-weight: 400; }
.cta p { margin-top: 18px; color: #e6e2d6; }
.cta .actions { margin-top: 0; }
.cta .button { background: #fff; color: var(--deep); border-color: #fff; }
.cta .button.secondary { background: transparent; color: #fff; }
.footer { padding: 36px 0 30px; }
.footer p { font-size: .875rem; color: var(--muted); margin-top: 10px; }
.footer a { font-size: .875rem; }
.footer-row { display: flex; justify-content: space-between; gap: 30px; align-items: start; }
.footer .references { margin-top: 22px; display: flex; gap: 22px; flex-wrap: wrap; }
.mobile-bar { display: none; }
html[lang="ja"] .hero h1,
html[lang="zh-CN"] .hero h1,
html[lang="ar"] .hero h1 { font-size: clamp(2rem, 3.2vw, 3.1rem); line-height: 1.55; letter-spacing: 0; }
html[lang="ja"] .section h2,
html[lang="zh-CN"] .section h2,
html[lang="ar"] .section h2 { line-height: 1.6; }
html[dir="rtl"] .facts div + div { border-left: 0; border-right: 1px solid var(--line); padding-left: 0; padding-right: 30px; }
html[dir="rtl"] .scope,
html[dir="rtl"] .risk { border-left: 0; border-right: 3px solid var(--sage); }
html[dir="rtl"] .scope { border-right-color: var(--gold); }
html[dir="rtl"] .concern { border-top-color: var(--sage); }
html[dir="rtl"] .text-link { margin: 14px 0 0 20px; }
html[lang="ar"] body { font-family: "Noto Sans Arabic", "Noto Naskh Arabic", Arial, sans-serif; }
html[lang="ar"] .hero h1,
html[lang="ar"] .cta h2,
html[lang="ar"] .step-number { font-family: "Noto Naskh Arabic", Georgia, serif; }
@media (max-width: 1000px) {
  .hero-grid { gap: 30px; }
  .hero-photo img { height: 390px; }
  .grid3 { gap: 16px; }
  .cost-card { padding: 20px; }
  .two-col, .visit-grid, .faq-grid { gap: 35px; }
  .two-col { grid-template-columns: 1fr 1.2fr; }
  .hero .actions { flex-direction: column; align-items: flex-start; }
  .hero .actions a { width: 100%; }
  .cta .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 80px; }
  .wrap { width: calc(100% - 36px); }
  .header-row { min-height: 76px; gap: 12px; flex-wrap: wrap; padding: 13px 0; }
  .brand strong { font-size: .9375rem; }
  .brand img { width: 32px; }
  .languages { gap: 0; }
  .languages a { padding: 8px 9px; }
  .hero { padding: 26px 0 30px; }
  .crumb { margin-bottom: 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 2.4rem; }
  .hero .lead { font-size: 1.0625rem; margin-top: 19px; }
  .hero .actions { flex-direction: row; margin-top: 24px; }
  .hero .actions a { width: auto; flex: 1; min-width: 140px; padding: 12px 14px; }
  .hero-photo img { height: auto; max-height: 440px; aspect-ratio: 1.3; object-position: center 32%; }
  .facts { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; padding-top: 22px; }
  .facts div { display: grid; grid-template-columns: 125px 1fr; gap: 15px; align-items: baseline; }
  .facts div + div { padding-left: 0; padding-right: 0; border-left: 0; border-right: 0; }
  .section-nav { overflow-x: auto; }
  .section-nav .wrap { width: max-content; min-width: 100%; gap: 0; justify-content: center; }
  .section-nav a { font-size: .875rem; padding: 16px 11px; white-space: nowrap; line-height: 1.5; display: flex; align-items: center; text-align: center; }
  .section { padding: 56px 0; }
  .grid3 { grid-template-columns: 1fr; margin-top: 28px; gap: 12px; }
  .two-col, .visit-grid, .faq-grid { grid-template-columns: 1fr; gap: 26px; }
  .section h2 { font-size: 1.8rem; }
  .compare-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .risk { grid-template-columns: 1fr; gap: 12px; padding: 24px; }
  .visit-photo img { height: 260px; }
  .cta { padding: 48px 0; }
  .cta h2 { font-size: 1.9rem; }
  .footer { padding-bottom: 112px; }
  .footer-row { flex-direction: column; gap: 20px; }
  .mobile-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 20;
    background: #fff; border-top: 1px solid var(--line);
    padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
    display: grid; grid-template-columns: 1fr 1fr; gap: 9px;
  }
  .mobile-bar a { min-height: 46px; padding: 10px; font-size: .9375rem; }
  html[lang="ja"] .hero h1, html[lang="zh-CN"] .hero h1, html[lang="ar"] .hero h1 { font-size: 1.9rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .header, .section-nav, .mobile-bar, .actions, .related, .cta { display: none; }
  .section { padding: 22px 0; }
  .wrap { width: 100%; }
  .hero { padding: 0; }
  details p { display: block !important; }
  .footer { padding-bottom: 0; }
}
