:root {
  color-scheme: light;
  --ink: #172229;
  --muted: #66737b;
  --line: #e2e7e9;
  --soft: #f5f7f7;
  --accent: #24556a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font-family: "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #4d8aa2; outline-offset: 3px; }
button { font: inherit; }
[hidden] { display: none !important; }
.site-shell { width: min(100% - 40px, 960px); margin-inline: auto; }

.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 17px; font-weight: 750; letter-spacing: -.04em; }
.brand-symbol { width: 35px; height: 35px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--ink); border-radius: 50%; font-size: 12px; font-weight: 800; letter-spacing: -.09em; flex: none; }
.brand-symbol span, .profile-avatar span { color: #75838a; padding: 0 1px; font-weight: 400; }
.header-note { color: var(--muted); font-size: 12px; }

.home-main { padding-top: 52px; padding-bottom: 76px; }
.profile { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 27px; max-width: 760px; padding-bottom: 45px; }
.profile-avatar { width: 92px; height: 92px; border: 1.5px solid var(--ink); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 29px; font-weight: 800; letter-spacing: -.1em; }
.profile-copy h1 { max-width: 650px; margin: 0 0 11px; font-size: clamp(29px, 4vw, 42px); line-height: 1.12; font-weight: 720; letter-spacing: -.055em; }
.profile-copy p { max-width: 570px; margin: 0; color: #4e5a62; font-size: 15px; line-height: 1.55; }
.feed-section { border-top: 1px solid var(--line); padding-top: 27px; }
.feed-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 18px; }
.feed-heading h2, .section-heading h2 { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 720; letter-spacing: -.04em; }
.feed-heading p, .section-heading p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.filters { display: flex; gap: 8px; margin: 0 0 22px; overflow-x: auto; padding-bottom: 2px; }
.filter-button { cursor: pointer; flex: none; border: 1px solid var(--line); border-radius: 6px; padding: 9px 14px; background: #fff; color: #46545c; font-size: 13px; font-weight: 600; }
.filter-button:hover { border-color: #aab7bd; }
.filter-button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 16px; }
.post-card { display: block; min-width: 0; text-decoration: none; }
.post-art { position: relative; overflow: hidden; aspect-ratio: 1 / 1; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; background: var(--cover-paper); border: 1px solid rgba(23,34,41,.07); color: var(--ink); }
.post-art::after { content: ""; position: absolute; width: 38%; aspect-ratio: 1; right: -16%; bottom: -22%; border: 22px solid var(--cover-accent); border-radius: 50%; opacity: .16; pointer-events: none; }
.post-art-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; font-size: 11px; font-weight: 650; color: #52636c; }
.post-art-mark { font-size: 11px; font-weight: 800; letter-spacing: -.07em; color: var(--cover-accent); }
.post-art-names { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; max-width: 90%; gap: 5px; }
.post-art-names strong { display: block; font-size: clamp(18px, 2.8vw, 29px); line-height: 1.04; letter-spacing: -.055em; font-weight: 760; overflow-wrap: anywhere; }
.post-art-names > span { display: block; color: var(--cover-accent); font-size: 14px; font-weight: 650; }
.post-art-bottom { position: relative; z-index: 1; font-size: 11px; color: #52636c; }
.post-card:hover .post-art { outline: 2px solid var(--cover-accent); outline-offset: -2px; }
.post-caption { display: flex; flex-direction: column; gap: 4px; padding-top: 11px; }
.post-caption strong { font-size: 13px; line-height: 1.35; letter-spacing: -.015em; font-weight: 660; }
.post-caption span { color: var(--muted); font-size: 11px; line-height: 1.3; }
.feed-empty { padding: 32px 0; color: var(--muted); font-size: 14px; }

.comparison-main { padding-top: 32px; padding-bottom: 80px; }
.back-link { display: inline-flex; gap: 7px; align-items: center; color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600; }
.back-link:hover { color: var(--ink); }
.comparison-intro { max-width: 700px; padding-top: 34px; padding-bottom: 28px; }
.topic-label { display: inline-block; color: var(--accent); font-size: 12px; font-weight: 650; margin-bottom: 12px; }
.comparison-intro h1 { margin: 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.08; font-weight: 740; letter-spacing: -.06em; }
.comparison-intro p { margin: 14px 0 0; font-size: 16px; color: #52616a; line-height: 1.5; }
.product-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.product-summary { position: relative; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.product-letter { position: absolute; top: 23px; left: 23px; z-index: 1; width: 24px; height: 24px; display: grid; place-content: center; border: 1px solid #d1d9dd; border-radius: 50%; background: #fff; color: #4d5960; font-size: 11px; font-weight: 700; }
.product-image { aspect-ratio: 16 / 10; display: grid; place-content: center; overflow: hidden; background: #edf1f2; border-radius: 4px; color: #73818a; font-size: clamp(25px, 5vw, 48px); font-weight: 730; letter-spacing: -.06em; }
.product-image.has-photo { background: #e9eff1; }
.product-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-summary h2 { margin: 12px 3px 3px; font-size: 16px; font-weight: 670; letter-spacing: -.025em; }
.breakdown, .decision, .offers { padding-top: 50px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 18px; }
.score-pill { flex: none; border: 1px solid var(--line); padding: 8px 10px; border-radius: 4px; color: #50616a; font-size: 12px; }
.round-list { border-top: 1px solid var(--line); }
.round-card { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(270px, 1.2fr); gap: 8px 28px; border-bottom: 1px solid var(--line); padding: 21px 0 24px; }
.round-heading { display: flex; align-items: flex-start; gap: 14px; }
.round-number { color: #8b999f; font-size: 12px; font-weight: 650; padding-top: 3px; }
.round-heading h3 { margin: 0; font-size: 16px; line-height: 1.3; letter-spacing: -.02em; }
.round-heading p { margin: 5px 0 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.round-values { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.round-values > div { min-width: 0; border: 1px solid var(--line); border-radius: 5px; padding: 10px 12px; }
.round-values span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 11px; }
.round-values strong { display: block; margin-top: 4px; font-size: 18px; font-weight: 690; letter-spacing: -.035em; }
.round-commentary, .round-note { grid-column: 2; margin: 0; font-size: 12px; line-height: 1.45; color: #52616a; }
.round-note { color: #7d6947; }
.decision-grid, .offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.decision-card { border: 1px solid var(--line); border-radius: 7px; padding: 19px; background: var(--soft); }
.decision-card span { color: var(--accent); font-size: 12px; font-weight: 650; }
.decision-card p { margin: 8px 0 0; font-size: 16px; line-height: 1.35; font-weight: 630; letter-spacing: -.02em; }
.offer-card { border: 1px solid var(--line); border-radius: 7px; padding: 18px; }
.offer-card h3 { margin: 0 0 15px; font-size: 16px; font-weight: 680; }
.offer-actions { display: grid; gap: 8px; }
.offer-button { min-height: 43px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-radius: 4px; padding: 10px 12px; text-decoration: none; font-size: 12px; font-weight: 640; }
.offer-button.primary { background: var(--ink); color: #fff; }
.offer-button.primary:hover { background: #344d5a; }
.offer-button.secondary { border: 1px solid #cfd8dc; background: #fff; color: var(--ink); }
.offer-button.secondary:hover { border-color: var(--accent); }
.offer-disclosure { margin: 12px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }

.site-footer { border-top: 1px solid var(--line); padding-top: 23px; padding-bottom: 34px; }
.footer-top { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.footer-brand { font-size: 13px; font-weight: 700; letter-spacing: -.025em; }
.footer-top a { color: var(--accent); font-size: 12px; text-decoration: none; }
.site-footer p { max-width: 620px; margin: 13px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }

@media (max-width: 650px) {
  .site-shell { width: min(100% - 28px, 960px); }
  .header-inner { min-height: 60px; }
  .header-note { display: none; }
  .home-main { padding-top: 31px; padding-bottom: 50px; }
  .profile { grid-template-columns: 64px minmax(0, 1fr); gap: 17px; padding-bottom: 31px; align-items: start; }
  .profile-avatar { width: 64px; height: 64px; font-size: 21px; }
  .profile-copy h1 { font-size: clamp(24px, 6vw, 31px); }
  .profile-copy p { font-size: 13px; }
  .feed-section { padding-top: 23px; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 9px; }
  .post-art { padding: 10px; }
  .post-art::after { border-width: 12px; }
  .post-art-top, .post-art-bottom, .post-art-mark { font-size: 8px; }
  .post-art-names { gap: 2px; max-width: 96%; }
  .post-art-names strong { font-size: clamp(14px, 4vw, 19px); line-height: 1.06; letter-spacing: -.04em; }
  .post-art-names > span { font-size: 10px; }
  .post-caption { gap: 3px; padding-top: 7px; }
  .post-caption strong { font-size: 11px; line-height: 1.25; }
  .post-caption span { font-size: 10px; }
  .comparison-main { padding-top: 20px; padding-bottom: 52px; }
  .comparison-intro { padding-top: 25px; }
  .comparison-intro h1 { font-size: clamp(31px, 8vw, 42px); }
  .comparison-intro p { font-size: 14px; }
  .product-pair { gap: 8px; }
  .product-summary { padding: 7px; }
  .product-letter { top: 15px; left: 15px; }
  .product-image { aspect-ratio: 4 / 3; font-size: 22px; }
  .product-summary h2 { font-size: 12px; margin: 9px 2px 3px; }
  .breakdown, .decision, .offers { padding-top: 39px; }
  .section-heading { display: block; }
  .score-pill { display: inline-block; margin-top: 11px; }
  .round-card { grid-template-columns: 1fr; gap: 11px; }
  .round-commentary, .round-note { grid-column: 1; }
  .round-values strong { font-size: 16px; }
  .decision-grid, .offer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .post-art { padding: 8px; }
  .post-art-names strong { font-size: 13px; }
  .post-art-top, .post-art-bottom, .post-art-mark { font-size: 7px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
