/* 같이살래 코랄·피치 가이드를 따르는 영어 사이트. 흰 바탕 한 가지 테마. */
:root {
  --bg: #FFFFFF; --fill: #FAF5F2; --ink: #221A1A; --sub: #706666; --faint: #A39A98; --line: #EFE7E3;
  --accent: #CF4356; --accent-tint: #FDECEC; --warm: #F2A97E; --warm-tint: #FEF0E4;
  --good: #117A52; --good-tint: #E8F6EF; --caution: #B45309; --danger: #B42318;
  --f: "IBM Plex Sans", -apple-system, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
a { color: var(--accent); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, dl, dd { margin: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 760px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

.top { border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; white-space: nowrap; font-weight: 700; font-size: 18px; color: var(--ink); text-decoration: none; letter-spacing: -0.02em; }
.brand svg { width: 26px; height: 26px; }
.top nav { display: flex; gap: 16px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.top nav a { color: var(--sub); text-decoration: none; }
.top nav a:hover { color: var(--accent); }

.hero { text-align: center; padding-top: clamp(40px, 10vh, 96px); padding-bottom: 48px; display: grid; gap: 16px; justify-items: center; }
.hero h1 { display: flex; align-items: center; gap: 12px; font-size: clamp(36px, 8vw, 50px); letter-spacing: -0.04em; line-height: 1.1; }
.hero h1 svg { width: 1em; height: 1em; }
.hero > p { color: var(--sub); max-width: 34em; text-wrap: balance; }
.hero form { display: flex; gap: 8px; width: 100%; max-width: 580px; background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: 7px 7px 7px 16px; box-shadow: 0 8px 24px rgba(34,26,26,.06); margin-top: 8px; }
.hero form:focus-within { border-color: var(--accent); box-shadow: 0 8px 24px rgba(207,67,86,.14); }
.hero input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; background: none; }
.hero button { border: 0; background: var(--accent); color: #fff; font: 600 15px var(--f); border-radius: 10px; padding: 0 18px; min-height: 42px; cursor: pointer; }
.hero .none { color: var(--sub); font-size: 15px; }
#guides { padding-bottom: 40px; }
#guides h2 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 16px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.card { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); height: 100%; }
.card:hover { border-color: var(--accent); }
.card img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; background: var(--warm-tint); }
.card > span { display: grid; gap: 3px; justify-items: start; min-width: 0; }
.card b { font-size: 17px; letter-spacing: -0.01em; }
.card small { font-size: 13px; color: var(--sub); line-height: 1.4; }

.grade { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; border-radius: 7px; padding: 3px 8px; white-space: nowrap; }
.grade i { display: inline-flex; gap: 2px; }
.grade i span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .22; }
.grade i span.f { opacity: 1; }
.g-strong { background: var(--good-tint); color: var(--good); }
.g-medium { background: var(--warm-tint); color: var(--caution); }
.g-weak { background: var(--fill); color: var(--sub); }

.article { padding-top: 16px; padding-bottom: 64px; }
.crumb { font-size: 14px; color: var(--sub); margin-bottom: 12px; }
.head { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 20px; align-items: center; }
.head img { width: 120px; height: 120px; object-fit: cover; border-radius: 20px; background: var(--warm-tint); }
.article h1 { font-size: clamp(28px, 6vw, 38px); line-height: 1.18; letter-spacing: -0.03em; text-wrap: balance; }
.updated { font-size: 14px; color: var(--sub); margin-top: 10px; }
.answer { background: var(--fill); border-radius: 18px; padding: 20px; margin-top: 22px; }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--accent); margin-bottom: 6px; }
.lead { font-size: 18px; line-height: 1.55; font-weight: 500; }
.answer dl { display: grid; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.answer dl div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 10px; font-size: 15px; }
.answer dt { color: var(--sub); }
.effects { display: grid; margin-top: 8px; border-top: 1px solid var(--line); }
.effect { padding: 18px 0; border-bottom: 1px solid var(--line); }
.e-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 6px; }
.effect h3 { font-size: 19px; line-height: 1.3; letter-spacing: -0.015em; }
.effect p { margin: 0 0 6px !important; }
.e-time { font-size: 15px; color: var(--sub); }
.size { font-size: 13px; font-weight: 600; border-radius: 7px; padding: 3px 8px; white-space: nowrap; background: var(--fill); color: var(--sub); }
.size-clear { background: var(--good-tint); color: var(--good); }
.size-some { background: var(--warm-tint); color: var(--caution); }
.size-side, .size-risk { background: var(--accent-tint); color: var(--danger); }
details.more { border: 0; padding: 0; margin-top: 8px; }
details.more > summary { font-size: 14px; font-weight: 600; color: var(--accent); min-height: 32px; display: flex; align-items: center; gap: 6px; list-style: none; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: "+"; font-size: 16px; line-height: 1; }
details.more[open] > summary::after { content: "\2212"; }
details.more > div { font-size: 15px; color: var(--sub); border-left: 2px solid var(--line); padding-left: 12px; margin-top: 4px; }
details.more > div p { margin: 0 0 8px !important; }
.qa { padding: 14px 0; border-bottom: 1px solid var(--line); }
.qa h3 { font-size: 17px; line-height: 1.35; margin-bottom: 4px; }
.qa > p { margin: 0 !important; }
.e-time b { color: var(--ink); font-weight: 600; }
.article section { margin-top: 44px; }
.article h2 { font-size: 25px; line-height: 1.25; letter-spacing: -0.025em; margin-bottom: 10px; scroll-margin-top: 16px; }
.article section p { margin-bottom: 12px; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 6px; }
sup a { text-decoration: none; font-weight: 600; font-size: 12px; padding: 0 1px; }
.hint { color: var(--sub); }
.note { font-size: 14px; color: var(--sub); margin-top: 12px; }
.products { list-style: none; padding: 0 !important; margin: 14px 0 0; display: grid; gap: 12px; }
.product { margin: 0 !important; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 4px 12px; border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.product.first { border-color: var(--accent); box-shadow: 0 8px 22px rgba(207,67,86,.1); }
.rank { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--fill); color: var(--sub); font-weight: 700; font-size: 14px; }
.first .rank { background: var(--accent); color: #fff; }
.product h3 { font-size: 16px; line-height: 1.4; font-weight: 600; }
.p-amount { display: inline-block; background: var(--warm-tint); border-radius: 7px; padding: 3px 9px; font-size: 14px; font-weight: 600; margin: 8px 0 !important; }
.p-why { font-size: 15px; margin-bottom: 8px !important; }
.p-meta { font-size: 13px; color: var(--sub); margin: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.fit { font-weight: 600; border-radius: 6px; padding: 2px 7px; background: var(--fill); color: var(--sub); }
.fit-yes { background: var(--good-tint); color: var(--good); }
.fit-close { background: var(--warm-tint); color: var(--caution); }
.p-buy { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-top: 10px; }
.price { font-size: 20px; line-height: 1.3; font-weight: 700; margin: 0 !important; }
.price span { font-size: 14px; font-weight: 500; color: var(--sub); }
.cheap { display: inline-block; font-size: 12px; font-weight: 600; border-radius: 6px; padding: 2px 7px; margin-left: 2px; vertical-align: 2px; background: var(--good-tint); color: var(--good); }
.cost-sub { font-size: 13px; line-height: 1.45; color: var(--sub); margin: 2px 0 0 !important; }
.basis { font-size: 15px; font-weight: 500; margin-bottom: 0 !important; }
.t-wrap { overflow-x: auto; margin-top: 14px; border: 1px solid var(--line); border-radius: 14px; }
.cost-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.4; }
.cost-table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--sub); background: var(--fill); padding: 8px 10px; white-space: nowrap; }
.cost-table td { padding: 10px; border-top: 1px solid var(--line); vertical-align: top; font-variant-numeric: tabular-nums; }
.cost-table td + td, .cost-table th + th { white-space: nowrap; }
.cost-table td a { color: var(--ink); text-underline-offset: 2px; }
.cost-table small { display: block; font-size: 12px; color: var(--sub); margin-top: 2px; }
.cost-table .low { color: var(--good); font-weight: 600; }
.related { list-style: none; padding: 0 !important; }
#goals { padding-bottom: 64px; }
#goals h2 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 12px; }
.goals { display: grid; gap: 0; border-top: 1px solid var(--line); }
.goals div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.goals dt { color: var(--sub); }
.btn { display: inline-flex; align-items: center; min-height: 42px; padding: 0 15px; border-radius: 12px; background: var(--fill); color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; }
.first .btn { background: var(--accent); color: #fff; }
details { border-bottom: 1px solid var(--line); padding: 12px 0; }
summary { font-weight: 600; cursor: pointer; }
details p { margin: 8px 0 0 !important; }
.warn { list-style: none; padding: 0 !important; }
.warn li { padding-left: 16px; position: relative; }
.warn li::before { content: ""; position: absolute; left: 0; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--danger); }
.refs { padding-left: 24px !important; }
.refs li { padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; scroll-margin-top: 16px; }
.refs li:target { background: var(--warm-tint); }
.kind { font-size: 12px; font-weight: 600; color: var(--sub); }
.found { font-size: 15.5px; margin: 2px 0 4px !important; }
.cite { font-size: 13px; color: var(--sub); line-height: 1.5; margin: 0 !important; }
.prose h2 { margin-top: 34px; }
.prose p { margin-bottom: 12px; }
.prose .lead { margin-top: 12px; }
.foot { background: var(--fill); padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--sub); }
.foot p { margin-bottom: 8px; }
@media (max-width: 560px) {
  .top nav a:first-child { display: none; }
  .head { grid-template-columns: minmax(0, 1fr) 84px; gap: 12px; }
  .head img { width: 84px; height: 84px; border-radius: 14px; }
  .answer dl div { grid-template-columns: 1fr; gap: 2px; }
  .e-top { flex-direction: column; gap: 6px; }
}
