:root {
  color-scheme: light;
  --bg: #f6f8fa;
  --surface: #ffffff;
  --surface-2: #eef2f5;
  --ink: #1a2430;
  --muted: #5c6977;
  --line: #d9e0e6;
  --line-soft: #e8edf1;
  --accent: #245fa8;
  --accent-hover: #174d8d;
  --accent-soft: #e7eff8;
  --dark: #dfe7ee;
  --danger: #b42318;
  --danger-bg: #fff0ee;
  --focus: #2f6bff;
  --max: 1180px;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 14px;
  --radius-small: 8px;
  --shadow: 0 18px 44px rgba(31, 48, 65, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  min-width: 320px;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  text-wrap: pretty;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
button, input, textarea, select { font: inherit; }
::selection { color: var(--surface); background: var(--accent); }
input, textarea { caret-color: var(--accent); }
* { scrollbar-color: var(--line) var(--bg); scrollbar-width: thin; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap { min-height: 74px; display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand .mark { width: 49px; height: 49px; flex: none; color: var(--ink); }
.brand .name { font-size: 18px; font-weight: 760; line-height: 1; letter-spacing: -.035em; }
.logo-platter, .logo-arm { transform-box: view-box; }
.logo-platter { transform-origin: 36px 36px; }
.logo-arm { transform-origin: 59px 58px; }

nav.primary { display: flex; align-items: center; justify-content: flex-end; gap: 18px; white-space: nowrap; }
nav.primary a { position: relative; color: var(--muted); font-size: 14px; font-weight: 650; text-decoration: none; }
nav.primary a:hover, nav.primary a[aria-current="page"] { color: var(--ink); }
nav.primary a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: var(--accent); }
.media-nav { position: relative; }
.media-nav summary { position: relative; padding-right: 17px; color: var(--muted); font-size: 14px; font-weight: 650; cursor: pointer; list-style: none; }
.media-nav summary::-webkit-details-marker { display: none; }
.media-nav summary::after { content: ""; position: absolute; top: 6px; right: 1px; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .18s ease; }
.media-nav[open] summary::after { transform: translateY(3px) rotate(225deg); }
.media-nav.is-current summary, .media-nav summary:hover { color: var(--ink); }
.media-nav-menu { position: absolute; top: calc(100% + 20px); left: 50%; z-index: 30; width: 330px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 18px 44px rgba(31, 48, 65, .14); transform: translateX(-50%); }
.media-nav-menu a { min-width: 0; display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 9px; padding: 8px; border-radius: var(--radius-small); }
.media-nav-menu a:hover { color: var(--ink); background: var(--accent-soft); }
.media-nav-menu a::after { display: none; }
.media-nav-menu img { width: 40px; height: 32px; object-fit: cover; border-radius: 6px; background: var(--surface-2); }

.header-tools { display: flex; align-items: center; gap: 10px; }
.lang { display: flex; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-small); background: var(--surface); }
.lang a { padding: 6px 8px; color: var(--muted); font-size: 11px; font-weight: 750; text-decoration: none; }
.lang a[aria-current="true"] { background: var(--ink); color: #f7f9fb; }

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-small);
  font-size: 14px;
  font-weight: 730;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn-pine, .btn-ink { background: var(--accent); color: #f7f9fc; }
.btn-pine:hover, .btn-ink:hover { background: var(--accent-hover); color: #f7f9fc; }
.btn-ghost { color: var(--ink); border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); background: var(--surface); }
.menu-toggle { width: 44px; min-width: 44px; min-height: 44px; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius-small); color: var(--ink); background: var(--surface); }
.menu-toggle span { width: 17px; height: 2px; display: block; border-radius: 2px; background: currentColor; }

h1, h2, h3, h4 { margin: 0 0 16px; color: var(--ink); font-family: var(--sans); font-weight: 760; line-height: 1.07; letter-spacing: -.045em; text-wrap: balance; }
h1 { max-width: 14ch; font-size: clamp(40px, 4vw, 56px); }
h2 { max-width: 16ch; font-size: clamp(32px, 4vw, 48px); }
h3 { font-size: 23px; letter-spacing: -.032em; }
.kicker { display: none; }
.lede { max-width: 58ch; margin: 0 0 28px; color: var(--muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.5; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(440px, 1fr); align-items: center; gap: clamp(38px, 5vw, 64px); padding-block: 72px; }
.hero-copy { max-width: 590px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-visual { position: relative; margin: 0; }
.hero-visual::before { display: none; }
.hero-photo, .page-photo { width: 100%; display: block; object-fit: cover; border-radius: 14px; background: #eef2f7; box-shadow: var(--shadow); }
.hero-photo { aspect-ratio: 4 / 3; min-height: 430px; }
.page-photo { aspect-ratio: 16 / 7; }

.trust-strip { border-block: 1px solid var(--line); background: var(--surface); }
.hero-meta { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-meta > div { min-width: 0; padding: 22px 24px; border-left: 1px solid var(--line); }
.hero-meta > div:first-child { padding-left: 0; border-left: 0; }
.hero-meta b { display: block; margin-bottom: 4px; color: var(--ink); font-size: 13px; line-height: 1.35; }
.hero-meta span { display: block; color: var(--muted); font-size: 12px; line-height: 1.45; }

.panic { padding: 48px 0; color: var(--ink); background: var(--accent-soft); }
.panic .wrap { display: grid; grid-template-columns: minmax(220px, .7fr) 2fr; align-items: start; gap: 54px; }
.panic h2 { margin: 0; color: var(--ink); font-size: clamp(26px, 3vw, 36px); }
.panic ol { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; list-style: none; counter-reset: n; }
.panic li { position: relative; padding-top: 30px; color: #43566b; font-size: 14px; line-height: 1.55; counter-increment: n; }
.panic li::before { content: counter(n, decimal-leading-zero); position: absolute; top: 0; left: 0; color: var(--accent); font-size: 11px; font-weight: 780; letter-spacing: .09em; }

.section { padding: 78px 0; }
.section-alt, .section-cream { background: var(--surface-2); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head p { max-width: 62ch; margin: 0; color: var(--muted); }
section { scroll-margin-top: 88px; }

.media-index { display: grid; grid-template-columns: 1fr 1fr; column-gap: 42px; border-top: 1px solid var(--line); }
.media-index a { min-height: 138px; display: grid; grid-template-columns: 108px 1fr auto; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; transition: color .18s ease; }
.media-index a:hover { color: var(--accent); }
.media-index img { width: 120px; height: 96px; object-fit: cover; border-radius: 12px; background: #eef2f7; }
.media-index .kind { display: block; margin-bottom: 6px; font-size: 20px; font-weight: 760; letter-spacing: -.03em; }
.media-index p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.media-index .go { color: var(--accent); font-size: 0; font-weight: 760; }
.media-index .go::after { content: "↗"; font-size: 20px; }

.photo-band { width: min(var(--max), calc(100% - 48px)); margin: 0 auto clamp(28px, 4vw, 48px); }
.photo-band img { width: 100%; aspect-ratio: 16 / 8; max-height: 590px; object-fit: cover; border-radius: 14px; background: #eef2f7; }

.split { display: grid; grid-template-columns: .78fr 1.22fr; align-items: start; gap: clamp(44px, 8vw, 112px); }
.facts { display: grid; grid-template-columns: 1fr 1fr; column-gap: 34px; }
.facts div { min-height: 160px; padding: 24px 0; border-top: 1px solid var(--line); }
.facts div:nth-child(2), .facts div:nth-child(3) { background: transparent; }
.facts b { display: block; margin-bottom: 9px; font-size: 16px; }
.facts p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.steps article { min-height: 210px; padding: 24px 28px 0 0; border-right: 1px solid var(--line); }
.steps article:not(:first-child) { padding-left: 28px; }
.steps article:last-child { border-right: 0; }
.steps .num { margin-bottom: 24px; color: var(--accent); font-size: 12px; font-weight: 780; letter-spacing: .08em; }
.steps h3 { font-size: 20px; }
.steps p { margin: 0; color: var(--muted); font-size: 14px; }

.deliver { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.panel { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.panel-ico { width: 42px; height: 42px; margin-bottom: 22px; color: var(--accent); }
.panel-ico .ico { width: 42px; height: 42px; }
.panel p, .panel li { color: var(--muted); }
.panel ol { margin: 0; padding-left: 1.1em; }
.addr { margin-bottom: 18px; font-size: 18px; font-style: normal; font-weight: 680; line-height: 1.5; }

.out-of-scope { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 48px; }
.out-of-scope > div:first-child > p { max-width: 64ch; color: var(--muted); }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { padding: 7px 11px; border: 1px solid var(--line); border-radius: var(--radius-small); color: var(--muted); background: var(--surface); font-size: 12px; font-weight: 650; }
.note { padding: 28px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: var(--surface-2); }
.note p { margin: 0; }
.note a { color: var(--accent); font-weight: 720; }

.faq { width: 100%; margin-top: 30px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 22px 48px 22px 0; cursor: pointer; list-style: none; font-size: 16px; font-weight: 720; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: 19px; color: var(--accent); font-size: 24px; font-weight: 450; }
.faq details[open] summary::after { content: "−"; }
.faq details p { max-width: 72ch; margin: -6px 0 22px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: stretch; gap: 18px; }
.contact-card { padding: 38px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: var(--surface); }
.contact-card h2 { color: var(--ink); }
.contact-card a { color: var(--accent); }
.contact-card p { color: #43566b; }
.form { display: grid; gap: 16px; padding: 32px; border: 0; border-radius: var(--radius); background: var(--accent-soft); }
.form label { display: grid; gap: 8px; color: var(--ink); font-size: 14px; font-weight: 680; }
.form input, .form select, .form textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-small); color: var(--ink); background: var(--bg); box-shadow: none; }
.form input:focus, .form textarea:focus { border-color: var(--accent); outline: 3px solid color-mix(in srgb, var(--accent) 25%, transparent); outline-offset: 1px; }
.form textarea { min-height: 150px; resize: vertical; }
.form .btn { width: 100%; min-height: 52px; font-size: 15px; }
.form .btn:disabled { cursor: wait; opacity: .65; transform: none; }
.form > p { margin: 0; color: var(--muted); font-size: 12px; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.form-status:empty { display: none; }
.form-status { padding: 12px 14px; border-radius: var(--radius-small); font-size: 13px !important; font-weight: 650; }
.form-status.is-loading { color: var(--ink); background: var(--surface); }
.form-status.is-success { color: #185c3c; background: #e4f5ec; }
.form-status.is-error { color: var(--danger); background: var(--danger-bg); }

.page-hero { padding: 56px 0 24px; }
.page-hero > div { max-width: 820px; }
.page-hero h1 { max-width: 14ch; }
.media-hero { margin-top: 8px; }
.page-note { margin: 22px auto 10px; color: var(--muted); font-size: 14px; }
.crumbs { margin-bottom: 22px; color: var(--muted); font-size: 12px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.aside-cta p { margin: 12px 0 0; color: var(--muted); font-size: 14px; }

.prose { max-width: 850px; }
.prose p { margin: 0 0 1.15em; color: var(--muted); font-size: 1.06rem; line-height: 1.75; }
.prose h2, .prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; color: var(--muted); }
.prose li { margin: .4em 0; }
.service-prose-band { border-block: 1px solid var(--line-soft); background: var(--surface); }
.service-prose { max-width: none; }
.service-prose p, .service-prose ul, .service-prose ol { max-width: 74ch; }
.figure { width: min(var(--max), calc(100% - 48px)); margin: 0 auto 8px; }
.figure img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

.symptom-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.symptom-table th, .symptom-table td { padding: 15px 14px 15px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.symptom-table th { color: var(--muted); font-size: 11px; font-weight: 760; letter-spacing: .07em; text-transform: uppercase; }
.warning { margin: 18px 0 8px; padding: 18px 20px; border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent); border-radius: var(--radius-small); color: var(--ink); background: var(--danger-bg); }
.warning strong { color: var(--danger); }

.guide-section { background: var(--surface-2); }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.guide-card { min-height: 286px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); background: var(--surface); text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.guide-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); color: var(--ink); box-shadow: var(--shadow); }
.guide-label { margin-bottom: 42px; color: var(--accent); font-size: 11px; font-weight: 780; letter-spacing: .08em; text-transform: uppercase; }
.guide-card h3 { max-width: 15ch; margin-bottom: 12px; font-size: 25px; }
.guide-card p { margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.guide-link { margin-top: auto; color: var(--accent); font-size: 13px; font-weight: 740; }
.guide-cta { padding: 46px 0; color: var(--ink); background: var(--accent-soft); }
.guide-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.guide-cta h2 { margin-bottom: 10px; font-size: clamp(28px, 3vw, 38px); }
.guide-cta p { max-width: 62ch; margin: 0; color: #43566b; }
.guide-cta .btn { flex: none; }

footer.site { padding: 52px 0 28px; border-top: 1px solid var(--line); color: var(--muted); background: var(--surface-2); font-size: 13px; }
footer.site a { color: var(--ink); }
footer.site .wrap { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 38px; }
footer.site h2 { margin: 0 0 16px; color: var(--ink); font-size: 11px; font-weight: 760; letter-spacing: .09em; text-transform: uppercase; }
footer.site p { margin: 0 0 14px; }
footer.site ul { margin: 0; padding: 0; list-style: none; }
footer.site li { margin-bottom: 8px; }
.footer-media-link { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.footer-media-link img { width: 34px; height: 27px; flex: none; object-fit: cover; border-radius: 5px; background: var(--surface); }
.legal { width: min(var(--max), calc(100% - 48px)); margin: 36px auto 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

@media (prefers-reduced-motion: no-preference) {
  .logo-platter { animation: platter-spin 6s linear infinite; }
  .logo-arm { animation: arm-read 2.8s ease-in-out infinite alternate; }
  @keyframes platter-spin { to { transform: rotate(360deg); } }
  @keyframes arm-read { from { transform: rotate(-3deg); } to { transform: rotate(5deg); } }
}

@media (max-width: 1040px) {
  .site-header .wrap { grid-template-columns: 1fr auto; gap: 14px; }
  nav.primary { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: flex-start; gap: 0; padding: 12px 24px 22px; border-bottom: 1px solid var(--line); background: var(--surface); }
  nav.primary.open { display: flex; }
  nav.primary a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
  nav.primary a[aria-current="page"]::after { display: none; }
  .media-nav { width: 100%; border-bottom: 1px solid var(--line-soft); }
  .media-nav summary { width: 100%; padding: 12px 18px 12px 0; }
  .media-nav-menu { position: static; width: 100%; grid-template-columns: 1fr 1fr; padding: 2px 0 12px; border: 0; box-shadow: none; transform: none; }
  .media-nav-menu a { width: auto; padding: 7px; border: 0; }
  .menu-toggle { display: inline-flex; }
  .header-tools { justify-self: end; }
  .header-tools .btn { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr 1fr; gap: 34px; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .hero-meta > div:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .hero-meta > div:nth-child(4) { border-top: 1px solid var(--line); }
  .media-index { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .wrap, .photo-band, .figure, .legal { width: min(100% - 32px, var(--max)); }
  .site-header { position: relative; }
  .site-header .wrap { min-height: 68px; }
  .brand .mark { width: 44px; height: 44px; }
  .brand .name { font-size: 17px; }
  .lang { display: none; }
  h1 { max-width: 12ch; font-size: clamp(40px, 12vw, 56px); }
  h2 { font-size: clamp(30px, 9vw, 40px); }
  .hero { grid-template-columns: 1fr; gap: 38px; padding: 52px 0 46px; }
  .hero-copy { max-width: none; }
  .hero-photo { min-height: 0; }
  .hero-visual::before { inset: -9px 12px 10px -9px; }
  .hero-meta { grid-template-columns: 1fr; padding-block: 4px; }
  .hero-meta > div, .hero-meta > div:first-child, .hero-meta > div:nth-child(3) { padding: 15px 0; border-left: 0; border-top: 1px solid var(--line); }
  .hero-meta > div:first-child { border-top: 0; }
  .panic { padding: 40px 0; }
  .panic .wrap, .panic ol, .split, .facts, .steps, .deliver, .out-of-scope, .contact-grid, footer.site .wrap { grid-template-columns: 1fr; }
  .panic .wrap { gap: 26px; }
  .panic ol { gap: 20px; }
  .section { padding: 58px 0; }
  .section-head { margin-bottom: 34px; }
  .media-index a { grid-template-columns: 88px 1fr auto; gap: 14px; padding: 14px; }
  .media-index img { width: 88px; height: 76px; }
  .media-index p { display: none; }
  .photo-band img { aspect-ratio: 4 / 3; }
  .facts div { min-height: 0; }
  .steps { border-top: 0; }
  .steps article, .steps article:not(:first-child) { min-height: 0; padding: 24px 0; border-right: 0; border-top: 1px solid var(--line); }
  .steps .num { margin-bottom: 12px; }
  .deliver { margin-top: 26px; }
  .page-hero { padding: 44px 0 22px; }
  .page-photo { aspect-ratio: 4 / 3; }
  .symptom-table { display: block; overflow-x: auto; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-card { min-height: 0; }
  .guide-label { margin-bottom: 24px; }
  .guide-cta .wrap { display: grid; gap: 24px; }
  .guide-cta .btn { width: 100%; }
  footer.site { padding-top: 52px; }
}

@media (max-width: 420px) {
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .media-index a { grid-template-columns: 76px 1fr auto; }
  .media-index img { width: 76px; height: 68px; }
  .panel, .contact-card, .form { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
