@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;600;700&family=Shippori+Mincho:wght@500;600;700&display=swap');

:root {
  --ink: #173d36;
  --ink-deep: #0c2c27;
  --cream: #f7f3ea;
  --paper: #fffdf8;
  --mint: #cfe8dd;
  --mint-light: #e9f2ec;
  --coral: #e56f52;
  --coral-deep: #cf593e;
  --gold: #dcae55;
  --blue: #b6d6dc;
  --line: #dfe3dc;
  --muted: #66766f;
  --shadow: 0 24px 70px rgba(16, 54, 47, .12);
  --radius: 22px;
  --sans: "DM Sans", "Noto Sans JP", sans-serif;
  --serif: "Shippori Mincho", "Yu Mincho", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.75; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 112px 0; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 1000; background: white; padding: 10px 18px; border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; }

.notice-bar { background: var(--ink-deep); color: rgba(255,255,255,.8); font-size: 11px; letter-spacing: .02em; }
.notice-inner { min-height: 34px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.notice-inner span { border: 1px solid rgba(255,255,255,.4); padding: 0 6px; border-radius: 3px; line-height: 18px; }
.notice-inner p { margin: 0; }
.notice-inner a { color: white; text-decoration: underline; text-underline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,253,248,.92); border-bottom: 1px solid rgba(23,61,54,.1); backdrop-filter: blur(14px); }
.header-inner { height: 74px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; line-height: 1; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; }
.brand-mark svg { width: 20px; height: 20px; }
.brand b { display: block; font-family: var(--serif); font-size: 16px; letter-spacing: .04em; }
.brand small { display: block; margin-top: 7px; color: var(--muted); font-family: var(--sans); font-size: 8px; font-weight: 700; letter-spacing: .18em; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 600; }
.main-nav a { transition: color .2s; }
.main-nav a:not(.nav-cta):hover { color: var(--coral); }
.nav-cta { color: white; background: var(--coral); padding: 10px 20px; border-radius: 999px; box-shadow: 0 8px 20px rgba(229,111,82,.2); }
.nav-cta:hover { background: var(--coral-deep); }
.menu-button { display: none; padding: 6px; color: var(--ink); background: none; border: 0; cursor: pointer; }
.menu-button svg { width: 27px; height: 27px; }

.hero { position: relative; overflow: hidden; background: var(--cream); min-height: 690px; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(rgba(23,61,54,.1) .7px, transparent .7px); background-size: 14px 14px; mask-image: linear-gradient(90deg, black, transparent 55%); }
.hero-grid { min-height: 690px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 60px; padding-block: 62px 68px; position: relative; z-index: 2; }
.hero-copy { max-width: 600px; }
.eyebrow { margin: 0 0 18px; display: flex; align-items: center; gap: 10px; color: var(--coral); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 28px; height: 1px; background: currentColor; }
.eyebrow.light { color: #9ecabc; }
.hero h1 { margin: 0; color: var(--ink-deep); font-family: var(--serif); font-size: clamp(43px, 5vw, 68px); font-weight: 600; line-height: 1.35; letter-spacing: -.03em; }
.hero h1 em { color: var(--coral); font-style: normal; background: linear-gradient(transparent 75%, rgba(229,111,82,.16) 75%); }
.hero-lead { max-width: 545px; margin: 25px 0 0; color: #536862; font-size: 16px; line-height: 2; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 26px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 24px; border: 0; border-radius: 999px; font-size: 13px; font-weight: 700; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.button svg { width: 17px; height: 17px; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--coral); box-shadow: 0 10px 28px rgba(229,111,82,.24); }
.button-primary:hover { background: var(--coral-deep); box-shadow: 0 14px 34px rgba(229,111,82,.3); }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { background: var(--ink-deep); }
.text-link { display: inline-flex; align-items: center; gap: 9px; padding-bottom: 4px; border-bottom: 1px solid var(--ink); font-size: 13px; font-weight: 700; }
.text-link svg { width: 16px; transition: transform .2s; }
.text-link:hover svg { transform: translateX(4px); }
.hero-points { margin: 32px 0 0; padding: 0; display: flex; gap: 18px; list-style: none; color: var(--muted); font-size: 11px; font-weight: 600; }
.hero-points li { display: flex; align-items: center; gap: 5px; }
.hero-points svg { color: var(--coral); width: 14px; height: 14px; stroke-width: 2.5; }

.hero-visual { position: relative; min-height: 500px; display: grid; place-items: center; }
.visual-card { position: relative; z-index: 3; width: min(420px, 86%); min-height: 465px; padding: 34px 36px; color: white; border: 1px solid rgba(255,255,255,.12); border-radius: 32px; background: linear-gradient(145deg, #234e45, #0f302b); box-shadow: 0 38px 80px rgba(16,54,47,.28); transform: rotate(-2deg); }
.visual-card::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(255,255,255,.07); border-radius: 25px; pointer-events: none; }
.visual-card-top { display: flex; align-items: center; justify-content: space-between; font-size: 9px; letter-spacing: .15em; opacity: .8; }
.tiny-moon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); background: var(--mint); }
.tiny-moon svg { width: 17px; height: 17px; }
.visual-kicker { margin: 50px 0 5px; color: #9ecabd; font-size: 11px; font-weight: 700; }
.visual-card h2 { margin: 0 0 38px; font-family: var(--serif); font-size: 28px; font-weight: 500; line-height: 1.55; }
.profile-row { display: grid; grid-template-columns: 72px 1fr 26px; align-items: center; gap: 10px; margin: 15px 0; font-size: 11px; }
.profile-row b { font-size: 12px; }
.meter { height: 5px; overflow: hidden; border-radius: 9px; background: rgba(255,255,255,.15); }
.meter i { display: block; height: 100%; border-radius: inherit; background: var(--coral); }
.visual-footer { margin-top: 38px; padding-top: 22px; display: flex; align-items: center; gap: 12px; border-top: 1px solid rgba(255,255,255,.12); }
.visual-footer p { margin: 0; color: rgba(255,255,255,.7); font-size: 10px; }
.visual-footer b { color: white; }
.avatar-stack { display: flex; }
.avatar-stack i { width: 25px; height: 25px; border: 2px solid var(--ink); border-radius: 50%; background: var(--mint); }
.avatar-stack i:nth-child(2) { margin-left: -8px; background: var(--gold); }
.avatar-stack i:nth-child(3) { margin-left: -8px; background: var(--blue); }
.floating-note { position: absolute; z-index: 5; display: flex; align-items: center; gap: 12px; background: white; border-radius: 17px; box-shadow: var(--shadow); }
.floating-note span { font-family: var(--serif); color: var(--coral); font-size: 32px; font-weight: 700; line-height: 1; }
.floating-note small { color: var(--muted); font-size: 9px; font-weight: 700; line-height: 1.5; }
.note-one { top: 32px; right: 0; padding: 17px 21px; transform: rotate(3deg); }
.note-two { bottom: 20px; left: 4px; padding: 17px 20px; transform: rotate(-3deg); }
.note-two svg { width: 28px; height: 28px; color: var(--coral); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.hero-orb-one { width: 420px; height: 420px; right: -80px; top: 60px; background: var(--mint); opacity: .55; }
.hero-orb-two { width: 180px; height: 180px; left: 45%; bottom: -60px; background: #f1caba; opacity: .4; }
.sleep-lines { position: absolute; z-index: 1; inset: 0; }
.sleep-lines i { position: absolute; width: 80%; height: 1px; right: 0; top: 50%; background: rgba(23,61,54,.12); transform: rotate(-18deg); }
.sleep-lines i:nth-child(2) { top: 57%; right: 5%; width: 65%; }
.sleep-lines i:nth-child(3) { top: 64%; right: 15%; width: 50%; }

.trust-strip { color: white; background: var(--ink); }
.trust-grid { min-height: 105px; display: grid; grid-template-columns: 150px 150px 210px 1fr; align-items: center; }
.trust-grid > div { display: flex; align-items: baseline; gap: 9px; }
.trust-grid strong { color: var(--mint); font-family: var(--serif); font-size: 28px; }
.trust-grid span { color: rgba(255,255,255,.7); font-size: 10px; letter-spacing: .05em; }
.trust-grid p { margin: 0; padding-left: 36px; border-left: 1px solid rgba(255,255,255,.17); color: rgba(255,255,255,.55); font-size: 10px; line-height: 1.8; }

.section-heading h2, .guide-intro h2, .method-panel h2, .editorial-note h2 { margin: 0; font-family: var(--serif); font-size: clamp(34px, 4vw, 48px); font-weight: 600; line-height: 1.45; letter-spacing: -.02em; }
.section-heading > p:last-child { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.section-heading.centered { text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.finder-section { background: #fdfbf6; }
.finder-card { max-width: 1010px; margin: 52px auto 0; padding: 38px; border: 1px solid var(--line); border-radius: 28px; background: white; box-shadow: 0 18px 60px rgba(23,61,54,.07); }
.question-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; }
.question-grid fieldset { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.question-grid legend { grid-column: 1 / -1; width: 100%; margin-bottom: 16px; font-family: var(--serif); font-size: 18px; font-weight: 600; }
.question-grid legend span { margin-right: 8px; color: var(--coral); font-family: var(--sans); font-size: 10px; }
.choice-card { position: relative; min-height: 145px; padding: 18px 12px 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; text-align: center; border: 1px solid var(--line); border-radius: 16px; cursor: pointer; transition: border .2s, background .2s, transform .2s; }
.choice-card:hover { transform: translateY(-2px); border-color: #a8c6ba; }
.choice-card:has(input:checked) { border: 2px solid var(--ink); background: var(--mint-light); }
.choice-card input { position: absolute; opacity: 0; pointer-events: none; }
.choice-card b { font-size: 12px; }
.choice-card small { color: var(--muted); font-size: 9px; line-height: 1.45; }
.choice-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); }
.choice-icon svg { width: 21px; height: 21px; color: var(--coral); }
.choice-icon i { width: 23px; height: 10px; display: block; border-radius: 60% 50% 40% 50%; background: var(--coral); transform: rotate(-10deg); }
.posture-back i { transform: rotate(0); }
.posture-mixed i { width: 20px; transform: rotate(32deg); }
.finder-submit { width: 250px; margin: 30px auto 0; }
.finder-result { min-height: 300px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 50px; padding: 32px 48px; border-radius: 22px; color: white; background: var(--ink); }
.finder-result[hidden] { display: none; }
.finder-result .eyebrow { color: #a4cfc1; }
.match-label { display: inline-block; padding: 4px 10px; border-radius: 99px; color: var(--ink); background: var(--mint); font-size: 9px; font-weight: 700; }
.finder-result h3 { margin: 10px 0 12px; font-family: var(--serif); font-size: 32px; }
.finder-result p:not(.eyebrow) { max-width: 560px; margin: 0; color: rgba(255,255,255,.7); font-size: 13px; }
.result-actions { margin-top: 24px; display: flex; align-items: center; gap: 20px; }
.reset-link { padding: 5px; color: rgba(255,255,255,.75); background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.35); font-size: 11px; cursor: pointer; }
.result-score { width: 154px; height: 154px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.result-score span { font-size: 9px; letter-spacing: .16em; }
.result-score strong { font-family: var(--serif); color: var(--mint); font-size: 50px; line-height: 1.2; }
.result-score small { color: rgba(255,255,255,.5); font-size: 9px; }

.ranking-section { color: white; background: var(--ink-deep); }
.split-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 90px; }
.split-heading > p { max-width: 480px; padding-bottom: 10px; color: rgba(255,255,255,.6) !important; line-height: 1.9; }
.filter-toolbar { margin: 52px 0 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip { padding: 9px 16px; color: rgba(255,255,255,.65); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: transparent; font-size: 11px; cursor: pointer; transition: .2s; }
.filter-chip:hover, .filter-chip.active { color: var(--ink); border-color: white; background: white; }
.sort-control { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.5); font-size: 10px; white-space: nowrap; }
.sort-control select { min-width: 150px; padding: 8px 32px 8px 12px; color: white; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; background: #173d36; font-size: 11px; }
.product-list { display: grid; gap: 20px; }
.product-card { position: relative; display: grid; grid-template-columns: 88px 280px 1fr 175px; align-items: center; min-height: 248px; overflow: hidden; color: var(--ink); border-radius: var(--radius); background: var(--paper); box-shadow: 0 18px 50px rgba(0,0,0,.12); transition: transform .25s; }
.product-card:hover { transform: translateY(-3px); }
.product-rank { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; background: var(--coral); }
.product-card:nth-child(n+2) .product-rank { background: #315a52; }
.product-card:nth-child(n+3) .product-rank { background: #52736c; }
.product-rank small { font-size: 8px; letter-spacing: .15em; }
.product-rank strong { margin-top: 3px; font-family: var(--serif); font-size: 37px; line-height: 1; }
.product-art { align-self: stretch; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--product-bg, #e7efe9); }
.product-art::before { content: ""; position: absolute; width: 210px; height: 210px; border: 1px solid rgba(23,61,54,.12); border-radius: 50%; }
.product-art::after { content: ""; position: absolute; width: 165px; height: 165px; border: 1px solid rgba(23,61,54,.1); border-radius: 50%; }
.mattress-shape { position: relative; z-index: 2; width: 155px; height: 73px; border: 1px solid rgba(23,61,54,.18); border-radius: 9px 9px 14px 14px; background: linear-gradient(#fff 0 28%, var(--product-accent, #bcdacf) 28% 42%, #f8f5ed 42%); box-shadow: 0 16px 22px rgba(23,61,54,.12); transform: perspective(320px) rotateX(52deg) rotateZ(-7deg); }
.mattress-shape::after { content: ""; position: absolute; inset: 8px 10px auto; height: 16px; border: 1px dashed rgba(23,61,54,.15); border-radius: 6px; }
.art-monogram { position: relative; z-index: 3; margin-top: 24px; color: rgba(23,61,54,.65); font-family: var(--serif); font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.product-main { padding: 28px 34px; }
.product-award { display: inline-block; margin-bottom: 9px; color: var(--coral); font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.product-main h3 { margin: 0; font-family: var(--serif); font-size: 23px; line-height: 1.35; }
.product-summary { margin: 8px 0 16px; color: var(--muted); font-size: 11px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-list span { padding: 4px 9px; border-radius: 999px; color: #355b53; background: var(--mint-light); font-size: 9px; font-weight: 600; }
.product-facts { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.product-facts small { display: block; color: #89928e; font-size: 8px; }
.product-facts b { font-size: 11px; }
.product-side { height: calc(100% - 36px); padding: 25px 26px; display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--line); }
.score-line { display: flex; align-items: baseline; justify-content: space-between; }
.score-line span { color: var(--muted); font-size: 9px; }
.score-line strong { font-family: var(--serif); color: var(--coral); font-size: 30px; }
.score-line small { color: var(--muted); font-size: 8px; }
.price-line { margin: 12px 0; }
.price-line small { display: block; color: var(--muted); font-size: 8px; }
.price-line b { font-size: 20px; }
.price-line span { font-size: 9px; }
.product-side .button { width: 100%; min-height: 43px; padding: 0 12px; font-size: 11px; }
.compare-check { margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: 9px; cursor: pointer; }
.compare-check input { accent-color: var(--coral); }
.empty-products { padding: 60px; text-align: center; border: 1px dashed rgba(255,255,255,.2); border-radius: var(--radius); color: rgba(255,255,255,.6); }
.source-note { margin: 24px 0 0; color: rgba(255,255,255,.45); font-size: 9px; line-height: 1.8; }

.compare-section { background: var(--cream); }
.table-wrap { margin-top: 48px; overflow-x: auto; border: 1px solid #d9ded7; border-radius: var(--radius); background: white; box-shadow: 0 16px 50px rgba(23,61,54,.07); }
.comparison-table { width: 100%; min-width: 960px; border-collapse: collapse; table-layout: fixed; }
.comparison-table th, .comparison-table td { padding: 20px 18px; text-align: center; border-right: 1px solid #e9ebe7; border-bottom: 1px solid #e9ebe7; vertical-align: middle; }
.comparison-table th:first-child, .comparison-table td:first-child { width: 145px; text-align: left; color: var(--muted); background: #fbfaf6; font-size: 10px; }
.comparison-table th { padding-block: 26px; background: white; }
.comparison-table th:not(:first-child) { font-family: var(--serif); font-size: 14px; }
.comparison-table td { font-size: 11px; }
.comparison-table tr:last-child td { border-bottom: 0; }
.comparison-table th:last-child, .comparison-table td:last-child { border-right: 0; }
.table-rank { width: 23px; height: 23px; margin: 0 auto 8px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--coral); font-family: var(--sans); font-size: 9px; }
.table-price { font-weight: 700; }
.table-pill { display: inline-block; padding: 3px 8px; border-radius: 99px; background: var(--mint-light); font-size: 9px; }
.table-link { color: var(--coral); border-bottom: 1px solid currentColor; font-weight: 700; }

.guide-section { background: #fffdf9; }
.guide-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 100px; }
.guide-intro { position: sticky; top: 120px; align-self: start; }
.guide-intro > p:not(.eyebrow) { margin: 20px 0 28px; color: var(--muted); font-size: 13px; }
.guide-steps { border-top: 1px solid var(--line); }
.guide-steps article { display: grid; grid-template-columns: 70px 1fr; gap: 30px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.step-number { color: var(--coral); font-size: 10px; font-weight: 700; }
.guide-steps h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 22px; }
.guide-steps p { margin: 0; color: var(--muted); font-size: 13px; }

.method-section { background: #dcebe4; }
.method-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }
.method-panel { padding: 45px; border-radius: var(--radius); color: white; background: var(--ink); }
.method-panel p:not(.eyebrow) { margin: 20px 0 35px; color: rgba(255,255,255,.65); font-size: 12px; }
.method-date { padding-top: 22px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.15); }
.method-date span { color: rgba(255,255,255,.5); font-size: 9px; }
.method-date b { font-size: 12px; letter-spacing: .08em; }
.score-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: center; }
.score-item { min-height: 92px; padding: 19px; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px; border: 1px solid rgba(23,61,54,.11); border-radius: 14px; background: rgba(255,255,255,.55); }
.score-item > span { color: var(--coral); font-size: 9px; font-weight: 700; }
.score-item h3 { margin: 0 0 8px; font-size: 11px; }
.score-item > b { font-family: var(--serif); font-size: 18px; }
.weight-bar { height: 3px; border-radius: 4px; background: rgba(23,61,54,.1); }
.weight-bar i { display: block; height: 100%; min-width: 20%; border-radius: inherit; background: var(--coral); transform: scaleX(4); transform-origin: left; }

.faq-section { background: white; }
.faq-grid { display: grid; grid-template-columns: .6fr 1.4fr; gap: 90px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 25px 45px 25px 0; list-style: none; font-family: var(--serif); font-size: 16px; font-weight: 600; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span::before, .faq-list summary span::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 1px; background: var(--ink); transition: transform .2s; }
.faq-list summary span::after { transform: rotate(90deg); }
.faq-list details[open] summary span::after { transform: rotate(0); }
.faq-list details p { margin: -5px 45px 25px 0; color: var(--muted); font-size: 12px; }

.editorial-note { padding: 70px 0; background: var(--cream); }
.note-grid { display: grid; grid-template-columns: 70px .8fr 1.2fr; align-items: center; gap: 35px; }
.note-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; color: var(--coral); background: white; }
.note-icon svg { width: 27px; height: 27px; }
.editorial-note h2 { font-size: 25px; }
.note-grid > p { margin: 0; color: var(--muted); font-size: 11px; }

.contact-section { padding: 42px 0; background: var(--cream); }
.contact-card { padding: 36px 42px; display: flex; align-items: center; justify-content: space-between; gap: 40px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 16px 45px rgba(23,61,54,.06); }
.contact-card h2 { margin: 7px 0 9px; font-family: var(--serif); font-size: 27px; }
.contact-card p:not(.eyebrow) { max-width: 650px; margin: 0; color: var(--muted); font-size: 12px; }
.contact-card .button { flex: 0 0 auto; }

.site-footer { padding: 70px 0 25px; color: white; background: var(--ink-deep); }
.footer-grid { display: grid; grid-template-columns: 1.5fr .6fr .7fr; gap: 70px; }
.brand-footer .brand-mark { color: var(--ink); background: var(--mint); }
.brand-footer small { color: rgba(255,255,255,.45); }
.footer-grid > div > p { color: rgba(255,255,255,.45); font-size: 10px; }
.footer-grid nav { display: grid; align-content: start; gap: 12px; font-size: 11px; }
.footer-grid nav a { color: rgba(255,255,255,.65); }
.footer-grid nav a:hover { color: white; }
.footer-bottom { margin-top: 55px; padding-top: 20px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.35); font-size: 9px; }

.compare-tray { position: fixed; z-index: 60; left: 50%; bottom: 18px; width: min(760px, calc(100% - 32px)); padding: 12px 13px 12px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: white; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: rgba(12,44,39,.95); box-shadow: 0 18px 45px rgba(0,0,0,.28); backdrop-filter: blur(12px); transform: translateX(-50%); }
.compare-tray[hidden] { display: none; }
.compare-tray > div { display: flex; align-items: center; gap: 13px; }
.compare-tray > div > span { color: rgba(255,255,255,.6); font-size: 9px; }
#tray-items { display: flex; gap: 6px; }
.tray-item { padding: 5px 9px; border-radius: 99px; color: var(--ink); background: var(--mint); font-size: 9px; font-weight: 700; }
.compare-tray .button { min-height: 43px; font-size: 10px; }
#tray-count { min-width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color: var(--coral); background: white; }
.compare-modal { width: min(900px, calc(100% - 32px)); max-height: 88vh; padding: 0; overflow: hidden; border: 0; border-radius: 24px; color: var(--ink); background: white; box-shadow: 0 30px 100px rgba(0,0,0,.35); }
.compare-modal::backdrop { background: rgba(7,28,25,.72); backdrop-filter: blur(4px); }
.modal-head { padding: 28px 32px 22px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.modal-head .eyebrow { margin-bottom: 6px; }
.modal-head h2 { margin: 0; font-family: var(--serif); font-size: 28px; }
.modal-close { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: white; cursor: pointer; }
.modal-close svg { width: 18px; height: 18px; }
.modal-table-wrap { max-height: calc(88vh - 115px); padding: 25px 32px 32px; overflow: auto; }
.modal-compare-table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 11px; }
.modal-compare-table th, .modal-compare-table td { padding: 15px 12px; text-align: center; border-bottom: 1px solid var(--line); }
.modal-compare-table th:first-child, .modal-compare-table td:first-child { width: 120px; color: var(--muted); text-align: left; }
.modal-compare-table th:not(:first-child) { font-family: var(--serif); font-size: 14px; }
.toast { position: fixed; z-index: 100; left: 50%; bottom: 105px; padding: 10px 18px; opacity: 0; pointer-events: none; border-radius: 99px; color: white; background: var(--ink); box-shadow: var(--shadow); font-size: 10px; transform: translate(-50%, 10px); transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.legal-page { background: var(--cream); }
.legal-back { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 11px; font-weight: 700; }
.legal-back svg { width: 15px; height: 15px; }
.legal-hero { padding: 90px 0 75px; color: white; background: var(--ink-deep); }
.legal-hero-inner { max-width: 820px; }
.legal-hero h1 { margin: 12px 0 20px; font-family: var(--serif); font-size: clamp(38px, 6vw, 65px); letter-spacing: -.03em; }
.legal-hero-inner > p:not(.eyebrow) { max-width: 680px; margin: 0; color: rgba(255,255,255,.68); font-size: 13px; line-height: 2; }
.legal-date { width: fit-content; margin-top: 28px; padding: 10px 15px; display: flex; gap: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 9px; font-size: 10px; }
.legal-date span { color: rgba(255,255,255,.5); }
.legal-content { padding: 85px 0 110px; }
.legal-layout { display: grid; grid-template-columns: 210px minmax(0, 760px); justify-content: center; gap: 90px; }
.legal-toc { position: sticky; top: 105px; align-self: start; display: grid; gap: 11px; }
.legal-toc p { margin: 0 0 7px; color: var(--coral); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.legal-toc a { padding: 3px 0; color: var(--muted); font-size: 10px; }
.legal-toc a:hover { color: var(--coral); }
.legal-article { padding: 8px 48px 55px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 18px 55px rgba(23,61,54,.06); }
.legal-article section { position: relative; padding: 45px 0; scroll-margin-top: 95px; border-bottom: 1px solid var(--line); }
.legal-article section:last-child { padding-bottom: 0; border-bottom: 0; }
.legal-number { display: block; margin-bottom: 10px; color: var(--coral); font-size: 9px; font-weight: 800; letter-spacing: .14em; }
.legal-article h2 { margin: 0 0 18px; font-family: var(--serif); font-size: 24px; }
.legal-article p { margin: 0 0 14px; color: var(--muted); font-size: 12px; line-height: 2; }
.legal-article p:last-child { margin-bottom: 0; }
.legal-article ul { margin: 15px 0 0; padding-left: 1.4em; color: var(--muted); font-size: 12px; line-height: 2; }
.legal-contact-box { margin-top: 25px; padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border-radius: 14px; background: var(--mint-light); }
.legal-contact-box p { margin: 0; display: grid; gap: 4px; }
.legal-contact-box p b { color: var(--muted); font-size: 9px; }
.legal-contact-box p span { color: var(--ink); font-size: 13px; font-weight: 700; }
.legal-contact-box .button { flex: 0 0 auto; }
.legal-footer { padding-top: 5px; }
.legal-footer .footer-bottom { margin-top: 0; }
.legal-footer a { color: rgba(255,255,255,.6); }
.operator-hero { background: linear-gradient(135deg, var(--ink-deep), #1d5047); }
.operator-layout { grid-template-columns: 210px minmax(0, 790px); }
.operator-facts { margin: 5px 0 0; border-top: 1px solid var(--line); }
.operator-facts div { padding: 16px 0; display: grid; grid-template-columns: 125px 1fr; gap: 20px; border-bottom: 1px solid var(--line); }
.operator-facts dt { color: var(--muted); font-size: 10px; }
.operator-facts dd { margin: 0; color: var(--ink); font-size: 12px; font-weight: 700; overflow-wrap: anywhere; }
.operator-facts a, .inline-link { color: var(--coral); border-bottom: 1px solid currentColor; }

@media (max-width: 980px) {
  .container { width: min(100% - 36px, 900px); }
  .main-nav { gap: 18px; }
  .hero-grid { grid-template-columns: 1fr .85fr; gap: 20px; }
  .visual-card { width: 92%; padding: 30px; }
  .note-one { right: -10px; }
  .product-card { grid-template-columns: 70px 220px 1fr 155px; }
  .product-main { padding: 25px 22px; }
  .product-facts { grid-template-columns: 1fr 1fr; }
  .guide-grid, .method-grid { gap: 50px; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 28px); }
  .section { padding: 78px 0; }
  .notice-inner { justify-content: flex-start; padding-block: 6px; }
  .notice-inner p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .notice-inner a { display: none; }
  .header-inner { height: 66px; }
  .menu-button { display: block; }
  .main-nav { position: absolute; top: 66px; left: 0; right: 0; padding: 22px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(23,61,54,.09); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
  .main-nav .nav-cta { margin-top: 8px; text-align: center; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding-block: 58px 55px; }
  .hero h1 { font-size: 43px; }
  .hero-lead { font-size: 14px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .hero-actions .button { width: 100%; }
  .hero-actions .text-link { align-self: center; }
  .hero-points { justify-content: center; gap: 11px; }
  .hero-points li { font-size: 9px; }
  .hero-visual { min-height: 440px; margin-top: 15px; }
  .visual-card { min-height: 410px; padding: 26px; }
  .visual-kicker { margin-top: 36px; }
  .visual-card h2 { font-size: 24px; margin-bottom: 28px; }
  .note-one { top: 0; right: -4px; }
  .note-two { bottom: -2px; left: 0; }
  .trust-grid { padding: 22px 0; grid-template-columns: repeat(3, 1fr); gap: 15px; }
  .trust-grid > div { flex-direction: column; gap: 0; }
  .trust-grid p { grid-column: 1 / -1; padding: 15px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.15); }
  .question-grid { grid-template-columns: 1fr; gap: 34px; }
  .finder-card { padding: 20px; }
  .choice-card { min-height: 130px; }
  .finder-submit { width: 100%; }
  .finder-result { padding: 30px 24px; grid-template-columns: 1fr; text-align: center; }
  .finder-result .eyebrow { justify-content: center; }
  .result-actions { flex-direction: column; }
  .result-score { grid-row: 1; width: 130px; height: 130px; margin-inline: auto; }
  .split-heading { grid-template-columns: 1fr; gap: 20px; }
  .filter-toolbar { align-items: stretch; flex-direction: column; }
  .sort-control { justify-content: flex-end; }
  .product-card { grid-template-columns: 52px 1fr; }
  .product-rank { grid-row: 1 / 3; }
  .product-art { min-height: 190px; }
  .product-main { padding: 25px; }
  .product-side { grid-column: 2; height: auto; padding: 20px 25px 25px; border-left: 0; border-top: 1px solid var(--line); }
  .product-side .button { width: 180px; }
  .compare-check { justify-content: flex-start; }
  .guide-grid, .method-grid, .faq-grid { grid-template-columns: 1fr; gap: 45px; }
  .guide-intro { position: static; }
  .score-grid { grid-template-columns: 1fr; }
  .method-panel { padding: 32px; }
  .note-grid { grid-template-columns: 55px 1fr; gap: 20px; }
  .note-icon { width: 52px; height: 52px; }
  .note-grid > p { grid-column: 1 / -1; }
  .contact-card { padding: 30px 25px; align-items: stretch; flex-direction: column; gap: 24px; }
  .contact-card .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-grid > div { grid-column: 1 / -1; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 4px; }
  .footer-bottom p { margin: 0; }
  .compare-tray { align-items: stretch; flex-direction: column; gap: 8px; }
  .compare-tray > div { justify-content: center; }
  .compare-tray .button { width: 100%; }
  .legal-hero { padding: 65px 0 55px; }
  .legal-hero h1 { font-size: 34px; }
  .legal-layout { grid-template-columns: 1fr; gap: 25px; }
  .legal-toc { position: static; padding: 20px; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 14px; background: white; }
  .legal-toc p { grid-column: 1 / -1; }
  .legal-article { padding: 0 25px 40px; }
  .legal-contact-box { align-items: stretch; flex-direction: column; }
  .legal-contact-box .button { width: 100%; }
  .operator-facts div { grid-template-columns: 95px 1fr; gap: 14px; }
}

@media (max-width: 430px) {
  .hero h1 { font-size: 37px; }
  .hero-visual { min-height: 420px; }
  .visual-card { width: 95%; padding: 24px 22px; }
  .floating-note { display: none; }
  .question-grid fieldset { grid-template-columns: 1fr; }
  .choice-card { min-height: 86px; padding: 12px 16px; display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; text-align: left; column-gap: 12px; }
  .choice-icon { grid-row: 1 / 3; }
  .choice-card b { align-self: end; }
  .choice-card small { align-self: start; }
  .product-card { grid-template-columns: 44px 1fr; }
  .product-art { min-height: 170px; }
  .product-main, .product-side { padding-inline: 18px; }
  .product-main h3 { font-size: 20px; }
  .product-facts { grid-template-columns: 1fr 1fr; }
  .guide-steps article { grid-template-columns: 38px 1fr; gap: 14px; }
  .score-item { grid-template-columns: 24px 1fr auto; }
  #tray-items { display: none; }
}

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