/* Cashbell: warm paper, brass and ink. Serif display type, quiet UI, generous space. */
:root {
  --paper: #f5efe4; --paper-2: #eee5d4; --card: #fffdf8; --ink: #1c1a16; --ink-2: #3f3a31; --muted: #776e60; --line: #e3d8c4;
  --brass: #b0812a; --brass-ink: #7d5a14; --brass-bg: #f4e7c8; --brass-soft: #d9b45a;
  --green: #2f6b4f; --green-ink: #22513b; --green-bg: #e2ede4;
  --red: #b2452e; --red-ink: #8c3322; --red-bg: #f7e2da;
  --blue: var(--ink); --blue-ink: var(--ink); --blue-bg: var(--brass-bg);
  --orange-ink: #8a4a10; --orange-bg: #fbead6;
  --serif: 'Fraunces', 'Noto Serif KR', 'Noto Serif JP', Georgia, serif;
  --sans: 'IBM Plex Sans KR', 'IBM Plex Sans JP', system-ui, -apple-system, sans-serif;
  --radius: 18px;
  --shadow: 0 1px 0 rgba(28, 26, 22, .04), 0 12px 32px -18px rgba(70, 48, 10, .28);
  font-family: var(--sans);
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); line-height: 1.6; font-size: 16px; }
#main { max-width: 1160px; margin: 0 auto; padding: 0 20px 72px; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--brass-ink); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { color: var(--ink); }
h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.12; margin: 0 0 14px; letter-spacing: -0.02em; }
h2 { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.3; margin: 0 0 10px; letter-spacing: -0.01em; }
h3 { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin: 18px 0 6px; color: var(--muted); }
p { margin: 0 0 10px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 6px; }

/* Header */
.top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 21px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.brand img { width: 28px; height: 28px; }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
@media (max-width: 640px) { .hide-sm { display: none; } .nav { gap: 14px; font-size: 14px; } }

/* Controls */
.lang, input, select, textarea { font: inherit; font-size: 15px; min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--ink); }
.lang { min-height: 38px; padding: 0 10px; }
input:focus, select:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(176, 129, 42, .18); }
button, .button { font: inherit; font-size: 15px; font-weight: 600; min-height: 46px; padding: 0 22px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; transition: background .15s, transform .15s, box-shadow .15s; }
button:disabled { opacity: 0.6; cursor: progress; }
.primary { background: var(--ink); color: #fbf6ea; border: 0; box-shadow: 0 8px 20px -10px rgba(28, 26, 22, .6); }
.primary:hover { background: #000; color: #fff; transform: translateY(-1px); }
.secondary { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.secondary:hover { border-color: var(--brass-soft); color: var(--ink); }
.button.light { background: #fbf6ea; color: var(--ink); border: 0; }
.button.light:hover { background: #fff; color: var(--ink); }
.link { background: none; border: 0; color: var(--muted); text-decoration: underline; padding: 0 8px; font-weight: 400; min-height: 36px; }
.big { min-height: 56px; font-size: 16px; padding: 0 28px; }

/* Generic blocks (report, account, legal pages) */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 20px; box-shadow: var(--shadow); }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.sub { font-size: 18px; color: var(--ink-2); line-height: 1.6; }
.error { color: var(--red-ink); min-height: 1.5em; font-size: 14px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-bottom: 20px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.grid2 .card { margin: 0; }
.narrow { max-width: 760px; margin: 8px auto 24px; }
.narrow .card h1 { font-size: clamp(26px, 3.4vw, 36px); }
.mt { margin-top: 20px; }
.warning { background: var(--orange-bg); color: var(--orange-ink); border-radius: 12px; padding: 12px 16px; }
.eyebrow { font-size: 12px; font-weight: 600; color: var(--brass-ink); letter-spacing: .08em; text-transform: uppercase; }
.evidence-note { background: transparent; border: 1px dashed var(--line); border-radius: 14px; padding: 14px 18px; font-size: 14px; color: var(--muted); max-width: 720px; margin: 28px auto 0; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.field input { font-weight: 400; max-width: 440px; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; }
.inline-form input { flex: 1 1 220px; }

/* Landing */
.landing .hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 28px 0 56px; }
.kicker { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brass-ink); margin-bottom: 18px; }
.display { font-family: var(--serif); font-weight: 500; letter-spacing: -0.025em; }
.landing .hero h1 { font-size: clamp(36px, 5.6vw, 66px); line-height: 1.06; margin-bottom: 20px; }
.accent { font-style: italic; color: var(--brass-ink); }
.landing .hero .sub { max-width: 520px; margin-bottom: 26px; }
.url-form { display: flex; gap: 6px; width: 100%; max-width: 560px; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
.url-form input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; min-height: 52px; font-size: 16px; padding: 0 18px; box-shadow: none; }
.url-form input:focus { box-shadow: none; }
.url-form:focus-within { border-color: var(--brass-soft); box-shadow: 0 0 0 4px rgba(176, 129, 42, .14), var(--shadow); }
.url-form.center { margin: 0 auto; }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }
@media (max-width: 520px) { .url-form { flex-direction: column; border-radius: 22px; } .url-form button { width: 100%; } }

.hero-art { position: relative; margin: 0; min-height: 420px; display: flex; align-items: center; justify-content: center; }
.hero-art::before { content: ''; position: absolute; inset: 6% 4%; border-radius: 50%; background: radial-gradient(closest-side, #fff8e6 0%, rgba(255, 248, 230, 0) 72%); }
.hero-art img { position: relative; width: min(100%, 420px); filter: drop-shadow(0 30px 40px rgba(90, 60, 10, .22)); animation: float 7s ease-in-out infinite; }
.hero-art figcaption { position: absolute; bottom: 0; right: 0; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hero-art img { animation: none; } html { scroll-behavior: auto; } }
.chip { position: absolute; display: flex; gap: 10px; align-items: flex-start; background: rgba(255, 253, 248, .92); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px 10px 10px; box-shadow: var(--shadow); font-size: 13px; line-height: 1.35; max-width: 230px; }
.chip strong { display: block; font-size: 12px; letter-spacing: .04em; color: var(--muted); font-weight: 600; }
.chip em { display: block; font-style: normal; color: var(--brass-ink); font-weight: 600; margin-top: 2px; }
.chip-mark { flex: none; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; background: var(--green); }
.chip.fix .chip-mark { background: var(--red); }
.chip-1 { top: 8%; left: -2%; }
.chip-2 { top: 44%; right: -4%; }
.chip-3 { bottom: 10%; left: 4%; }
@media (max-width: 900px) {
  .landing .hero { grid-template-columns: 1fr; gap: 12px; padding-top: 8px; }
  .hero-art { min-height: 360px; order: -1; }
  .hero-art img { width: min(70%, 300px); }
  .chip-1 { left: 0; } .chip-2 { right: 0; } .chip-3 { left: 2%; }
}
@media (max-width: 520px) { .chip { max-width: 190px; font-size: 12px; } .hero-art { min-height: 320px; } }

.strip { text-align: center; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; margin: 0 0 80px; letter-spacing: .01em; }
.section-title { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; text-align: center; max-width: 760px; margin: 0 auto 14px; }
.section-lead { text-align: center; color: var(--ink-2); font-size: 17px; max-width: 640px; margin: 0 auto 40px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 96px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px 26px 26px; box-shadow: var(--shadow); }
.feature img { display: block; height: 150px; width: auto; margin: 0 auto 18px; }
.feature h3 { font-family: var(--serif); text-transform: none; letter-spacing: -0.01em; font-size: 21px; font-weight: 500; color: var(--ink); margin: 0 0 8px; }
.feature p { color: var(--ink-2); font-size: 15px; margin: 0; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }

.how { margin-bottom: 96px; }
.how-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.how-list li { padding: 24px 26px 8px 0; }
.how-list li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.how-list .num { font-family: var(--serif); font-style: italic; font-size: 44px; line-height: 1; color: var(--brass); }
.how-list h3 { font-family: var(--serif); text-transform: none; letter-spacing: -0.01em; font-size: 22px; font-weight: 500; color: var(--ink); margin: 14px 0 8px; }
.how-list p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .how-list { grid-template-columns: 1fr; } .how-list li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

.proof { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 32px; background: var(--ink); color: #efe6d3; border-radius: 28px; padding: 56px 56px 48px; margin-bottom: 96px; overflow: hidden; position: relative; }
.proof::after { content: ''; position: absolute; right: -10%; top: -30%; width: 60%; height: 160%; background: radial-gradient(closest-side, rgba(217, 180, 90, .22), rgba(217, 180, 90, 0)); pointer-events: none; }
.proof h2 { color: #fbf6ea; font-size: clamp(30px, 3.8vw, 46px); line-height: 1.1; margin-bottom: 16px; }
.proof p { font-size: 17px; color: #d9cfbb; max-width: 520px; margin-bottom: 26px; }
.proof img { justify-self: center; width: min(100%, 260px); position: relative; z-index: 1; filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .35)); }
@media (max-width: 760px) { .proof { grid-template-columns: 1fr; padding: 36px 26px; } .proof img { width: 180px; } }

.cta { text-align: center; padding: 8px 0 24px; }
.cta h2 { font-size: clamp(30px, 4vw, 48px); margin-bottom: 10px; }
.cta .sub { margin-bottom: 26px; }
.site-foot { border-top: 1px solid var(--line); margin-top: 64px; padding-top: 8px; text-align: center; color: var(--muted); font-size: 13px; }
.site-foot p { margin-top: 10px; }
.legal-links { display: block; text-align: center; font-size: 13px; color: var(--muted); margin-top: 24px; }
.legal-links a { color: var(--muted); text-decoration: none; }
.legal-links a:hover { color: var(--ink); }

/* Progress */
.bar { height: 6px; background: var(--paper-2); border-radius: 3px; overflow: hidden; margin: 18px 0; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--brass), var(--brass-soft)); transition: width .5s; }
.steps, .step-list { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 12px; }
.steps li, .step-list li { display: flex; gap: 12px; align-items: center; }
.dot { flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; border: 1.5px solid var(--line); color: var(--muted); background: var(--card); }
.done .dot { background: var(--green); border-color: var(--green); color: #fff; }
.now .dot { background: var(--ink); border-color: var(--ink); color: #fbf6ea; }
.now { font-weight: 600; }
.later { color: var(--muted); }
.tip { background: var(--paper); border-radius: 12px; padding: 14px 16px; font-size: 14px; color: var(--ink-2); }

/* Report */
.summary { margin: 8px 0 24px; }
.summary h1 { font-size: clamp(32px, 4.6vw, 52px); }
.goal { text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; min-height: 156px; font-weight: 400; color: var(--ink); align-items: stretch; box-shadow: var(--shadow); }
.goal:hover { border-color: var(--brass-soft); }
.goal.selected { border: 1.5px solid var(--ink); }
.goal-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.goal-title { font-family: var(--serif); font-size: 21px; font-weight: 500; line-height: 1.3; }
.segs { display: flex; gap: 4px; }
.seg { flex: 1; height: 5px; border-radius: 3px; background: var(--paper-2); }
.seg.on { background: var(--brass); }
.seg.ok { background: var(--green); }
.badge { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.badge.blue { background: var(--brass-bg); color: var(--brass-ink); }
.badge.green { background: var(--green-bg); color: var(--green-ink); }
.badge.orange { background: var(--orange-bg); color: var(--orange-ink); }
.badge.grey { background: var(--paper-2); color: var(--ink-2); }
.goal-detail { display: flex; flex-wrap: wrap; gap: 32px; }
.goal-detail .step-list { flex: 1 1 240px; }
.next { flex: 2 1 460px; min-width: 0; border: 1px solid var(--line); background: var(--paper); border-radius: 16px; padding: 24px; }
.next h2 { font-size: 26px; }
.next-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 10px; }
.code-row { display: flex; gap: 8px; align-items: flex-start; flex-wrap: wrap; }
pre { flex: 1 1 320px; min-width: 0; overflow-x: auto; margin: 0; background: var(--ink); color: #efe6d3; padding: 14px 16px; border-radius: 12px; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 12px; line-height: 1.65; white-space: pre; }
.where { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 14px; }
.stuck { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-top: 12px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.ok-box { background: var(--green-bg); color: var(--green-ink); border-radius: 12px; padding: 12px 16px; font-weight: 600; }
.info-box { background: var(--brass-bg); color: var(--brass-ink); border-radius: 12px; padding: 12px 16px; font-weight: 600; }
.upsell { border: 1px solid var(--brass-soft); background: var(--brass-bg); border-radius: 14px; padding: 16px; margin-top: 12px; }
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 500; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
td.better { color: var(--green-ink); font-weight: 700; }
.info-list { margin: 0; padding-left: 20px; color: var(--ink-2); }

/* Pricing */
.plans { margin: 24px 0; }
.plan { display: flex; flex-direction: column; }
.plan h2 { font-size: 24px; }
.plan .price { font-family: var(--serif); font-size: 30px; font-weight: 500; margin: 2px 0 14px; letter-spacing: -0.01em; }
.plan ul { padding-left: 18px; margin: 0; color: var(--ink-2); flex: 1; }
.plan li { margin-bottom: 6px; }
@media (max-width: 600px) { .card { padding: 20px; } .goal-detail { gap: 18px; } .next { padding: 18px; } }

/* Korean and Japanese: break between words, and no fake italics (these fonts have none). */
:lang(ko) { word-break: keep-all; overflow-wrap: anywhere; }
:lang(ko) .accent, :lang(ja) .accent, :lang(ko) .how-list .num, :lang(ja) .how-list .num { font-style: normal; }
@media (max-width: 520px) {
  .chip-3 { display: none; }
  .chip-1 { top: 2%; left: 0; }
  .chip-2 { top: auto; bottom: 8%; right: 0; }
}

/* Pricing page */
.pricing-page { padding-top: 12px; }
.pricing-page > h1 { text-align: center; font-size: clamp(36px, 5vw, 56px); }
.pricing-page > .sub { text-align: center; max-width: 680px; margin: 0 auto 8px; }
.pricing-page .field { max-width: 440px; margin: 28px auto 0; }
.pricing-page .warning { max-width: 680px; margin: 16px auto 0; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; margin: 36px 0 20px; }
.plans .card { margin: 0; }
.plan.featured { background: var(--ink); color: #efe6d3; border-color: var(--ink); transform: translateY(-8px); }
.plan.featured h2, .plan.featured .price { color: #fbf6ea; }
.plan.featured ul { color: #d9cfbb; }
.plan.featured .primary { background: var(--brass-soft); color: var(--ink); }
.plan.featured .primary:hover { background: #e8c672; color: var(--ink); }
.plan .mt { margin-top: 22px; }
.plan .mt button, .plan .mt .button { width: 100%; }
.pricing-page > p.muted { text-align: center; max-width: 680px; margin: 0 auto; }
@media (max-width: 980px) { .plans { grid-template-columns: repeat(2, 1fr); } .plan.featured { transform: none; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

/* The bell sways when a check starts or when it is clicked. */
.hero-art .bell { cursor: pointer; transform-origin: 50% 85%; }
.hero-art .bell.ring { animation: ring 1.1s cubic-bezier(.3, .7, .4, 1); }
@keyframes ring { 0% { transform: rotate(0); } 12% { transform: rotate(-7deg); } 26% { transform: rotate(6deg); } 40% { transform: rotate(-4deg); } 54% { transform: rotate(3deg); } 70% { transform: rotate(-1.5deg); } 100% { transform: rotate(0); } }

/* Report: three areas at a glance, then one to-do list */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 4px 0 28px; }
.area { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); }
.area img { width: 56px; height: 56px; object-fit: contain; flex: none; }
.area strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 19px; line-height: 1.25; }
.area span { font-size: 14px; font-weight: 600; }
.area.ok span { color: var(--green-ink); }
.area.left span { color: var(--brass-ink); }
.area.grey span { color: var(--muted); }
@media (max-width: 760px) { .areas { grid-template-columns: 1fr; gap: 10px; } .area { padding: 10px 14px; } .area img { width: 44px; height: 44px; } }

.todo { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 12px; }
.todo-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.todo-item.open { border-color: var(--ink); }
.todo-head { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; text-align: left; background: none; border: 0; border-radius: 0; padding: 18px 22px; min-height: 64px; color: var(--ink); font-weight: 400; }
.todo-head:hover { background: var(--paper); transform: none; }
.todo-num { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; background: var(--paper-2); color: var(--ink-2); }
.todo-item.open .todo-num { background: var(--ink); color: #fbf6ea; }
.todo-title { font-family: var(--serif); font-size: 20px; font-weight: 500; line-height: 1.3; }
.todo-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.pill { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--brass-bg); color: var(--brass-ink); white-space: nowrap; }
.todo-body { padding: 0 22px 22px 70px; }
.todo-body .why { font-size: 16px; color: var(--ink-2); }
.evidence.official { color: var(--green-ink); }
@media (max-width: 640px) {
  .todo-head { grid-template-columns: auto 1fr; padding: 14px 16px; gap: 12px; }
  .todo-meta { grid-column: 2; align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .todo-title { font-size: 18px; }
  .todo-body { padding: 0 16px 18px; }
}
.passed { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0; margin-bottom: 20px; }
.passed summary { cursor: pointer; padding: 16px 22px; font-weight: 600; color: var(--ink-2); }
.passed ul { list-style: none; margin: 0; padding: 0 22px 18px; display: flex; flex-direction: column; gap: 8px; }
.passed .info-list { list-style: disc; padding-left: 40px; }
.passed .tick { display: inline-flex; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; align-items: center; justify-content: center; background: var(--green); color: #fff; font-size: 12px; font-weight: 700; }
.passed em { color: var(--green-ink); font-style: normal; font-weight: 600; }

/* ChatGPT recommendation card */
.ai-card { border-color: var(--line); }
.ai-card.zero { border-color: var(--red); border-width: 1.5px; }
.ai-card h2 { font-size: 24px; }
.ai-score { display: flex; gap: 20px; align-items: center; margin: 14px 0 6px; }
.ai-num { font-family: var(--serif); font-size: 56px; line-height: 1; font-weight: 500; color: var(--ink); }
.ai-card.zero .ai-num { color: var(--red-ink); }
.ai-score strong { display: block; font-size: 17px; }
.ai-score p { margin: 2px 0 0; color: var(--ink-2); }
.ai-row h3 { margin-top: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-tag { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 14px; }
.chip-tag b { color: var(--muted); font-weight: 600; }
.ai-questions { margin: 18px 0 10px; }
.ai-questions summary { cursor: pointer; font-weight: 600; }
.ai-questions ul { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-direction: column; gap: 12px; }
.ai-questions li { display: flex; gap: 12px; align-items: flex-start; }
.ai-questions li strong { display: block; font-weight: 500; }
.ai-questions .mark { flex: none; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; background: var(--red); }
.ai-questions .mark.yes { background: var(--green); }
@media (max-width: 600px) { .ai-num { font-size: 44px; } .ai-score { gap: 14px; } }

/* Agency dashboard */
.narrow.wide { max-width: 1040px; }
.mt-s { margin-top: 6px; }
.card td pre { white-space: pre-wrap; word-break: break-all; font-size: 11px; }

/* Landing: four features, price band */
.feature-grid.four { grid-template-columns: repeat(4, 1fr); }
.feature-grid.four .feature img { height: 130px; }
.price-band { margin-bottom: 72px; }
@media (max-width: 1000px) { .feature-grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .feature-grid.four { grid-template-columns: 1fr; } }
.section-title, .landing .hero h1, .proof h2, .cta h2 { text-wrap: balance; }
.naver-card .eyebrow { color: #03a94d; }
.naver-card .big-line { font-size: 18px; font-weight: 600; }

/* Site dashboard */
.glance ul { margin: 0; padding-left: 20px; }
.glance li { margin: 6px 0; font-size: 16px; }
.glance li.weak, .glance li.page { color: var(--brass-ink); }
.kpis4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0 0 20px; }
.kpi { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); }
.kpi b { display: block; font-family: var(--serif); font-size: 32px; font-weight: 500; line-height: 1.1; }
.kpi span { display: block; font-size: 13px; color: var(--ink-2); }
.kpi em { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 4px; }
.kpi em.up { color: var(--green-ink); }
.kpi em.down { color: var(--red-ink); }
@media (max-width: 760px) { .kpis4 { grid-template-columns: repeat(2, 1fr); } }
.chart { width: 100%; height: auto; display: block; }
.small-chart { width: auto; max-width: 100%; margin: 6px 0; }
.legend .lg { display: inline-block; width: 10px; height: 10px; margin: 0 4px 0 10px; vertical-align: -1px; }
.legend .lg.bar { background: #d9b45a; border-radius: 2px; margin-left: 0; }
.legend .lg.dot { background: #2f6b4f; border-radius: 50%; }
.installed summary { cursor: pointer; color: var(--green-ink); font-weight: 600; }
.big-line { font-size: 18px; font-weight: 600; }
.alert-card { border: 1px solid #b2452e; border-left: 6px solid #b2452e; }
.alert-card h2 { color: #b2452e; }
.engine-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.engine-chips span { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 14px; background: var(--card); }
.engine-chips span.yes { border-color: #2f6b4f; }
.engine-chips span.no { border-color: #b2452e; color: #b2452e; }
.ai-engines { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 12px 0; }
.ai-engines div { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; background: var(--card); }
.ai-engines b { display: block; font-family: var(--serif); font-size: 26px; font-weight: 500; }
.ai-engines div.zero b { color: #b2452e; }
.mark.some { background: #d9b45a; }

/* Dashboard, second pass */
.dash-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 0 0 16px; }
.dash-head h1 { margin: 0; }
.dash-head p { margin: 4px 0 0; }
.dash-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.period { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--card); }
.period a { padding: 7px 14px; font-size: 14px; text-decoration: none; color: var(--ink-2); }
.period a.on { background: var(--ink); color: var(--paper, #fbf6ea); font-weight: 600; }
.button.small { padding: 7px 14px; font-size: 14px; }
.hint { margin: -10px 0 18px; }
.chart-wrap { position: relative; padding-left: 34px; }
.chart-wrap .chart { height: 160px; width: 100%; }
.chart-wrap .y-top, .chart-wrap .y-mid { position: absolute; left: 0; font-size: 12px; color: var(--muted); }
.chart-wrap .y-top { top: 4px; }
.chart-wrap .y-mid { top: calc(4px + 74px); }
.x-labels { display: flex; justify-content: space-between; padding-left: 34px; font-size: 12px; color: var(--muted); margin-top: 4px; }
table.data th { white-space: nowrap; }
table.data .num { text-align: right; font-variant-numeric: tabular-nums; }
table.data td:first-child { position: relative; }
.src-name { position: relative; z-index: 1; }
.share { position: absolute; left: 8px; bottom: 3px; height: 4px; width: calc(100% - 16px); }
.share rect { fill: #d9b45a; opacity: .6; }
.q-row { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(200px, 2fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.q-row input[name=answer] { width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
@media (max-width: 760px) { .q-row { grid-template-columns: 1fr auto; } .q-row .q-text { grid-column: 1 / -1; } }
.ai-card textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; line-height: 1.6; background: #fff; }
.site-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.site-card { display: block; text-decoration: none; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.site-card:hover { border-color: var(--ink-2); }
.site-card.attention { border-left: 5px solid #b2452e; }
.site-card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
.site-card-head b { font-size: 17px; margin-right: 4px; }
.pill.red { background: #f6ddd6; color: #8e2a17; }
.site-nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.site-nums span { font-size: 12px; color: var(--ink-2); }
.site-nums b { display: block; font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--ink); }
.site-card p { margin: 10px 0 0; }
.site-card p.up { color: var(--green-ink); }
.site-card p.down { color: var(--red-ink); }
@media (max-width: 760px) { .chart-wrap .chart { height: 120px; } .chart-wrap .y-mid { top: calc(4px + 54px); } table.data th, table.data td { padding-left: 6px; padding-right: 6px; } }
.leads-card { border-left: 5px solid #2f6b4f; }
.leads-card td a { font-weight: 600; white-space: nowrap; }
.share-list { list-style: none; margin: 8px 0 0; padding: 0; }
.share-list li { display: grid; grid-template-columns: minmax(90px, 160px) 1fr 84px; gap: 10px; align-items: center; padding: 5px 0; font-size: 14px; }
.share-list .share-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-list .share-bar { width: 100%; height: 10px; display: block; }
.share-list .share-bar rect { fill: #c9b48a; }
.share-list .share-bar rect.bg { fill: #eee5d4; }
.share-list li.you { font-weight: 700; }
.share-list li.you .share-bar rect:not(.bg) { fill: #2f6b4f; }
.share-list .share-num { text-align: right; font-variant-numeric: tabular-nums; }
.share-list em { font-style: normal; font-size: 12px; }
.share-list em.up { color: var(--green-ink); }
.share-list em.down { color: var(--red-ink); }
.demo-card { background: #1c1a16; color: #fbf6ea; border-color: #1c1a16; }
.demo-card h2 { color: #f0d58c; margin-top: 0; }
.demo-card .button.secondary { background: transparent; color: #fbf6ea; border-color: #fbf6ea; }
.start-card { border-left: 5px solid #d9b45a; }
.start-steps { margin: 0; padding-left: 22px; }
.start-steps li { margin: 6px 0; }
.start-steps li.done { color: var(--muted); text-decoration: line-through; }
.start-steps li.done::marker { content: '✓  '; color: #2f6b4f; }
button[disabled], input[disabled], textarea[disabled] { opacity: .6; cursor: not-allowed; }
.survey-card { border-left: 5px solid #2f6b4f; }
.survey-options { display: flex; flex-wrap: wrap; gap: 16px; }
.survey-options label { display: inline-flex; align-items: center; gap: 6px; }
.survey-card textarea { width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
.kpis4.g3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .kpis4.g3 { grid-template-columns: repeat(3, 1fr); } }
.q-results td .mark { display: inline-block; width: 20px; height: 20px; line-height: 20px; border-radius: 50%; text-align: center; font-size: 12px; color: #fff; }
.q-results td .mark.yes { background: #2f6b4f; }
.q-results td .mark.no { background: #c9b48a; }
.q-results em { font-style: normal; }
.q-results em.up { color: var(--green-ink); }
.q-results em.down { color: var(--red-ink); }
#keywords td .mark { display: inline-block; width: 20px; height: 20px; line-height: 20px; border-radius: 50%; text-align: center; font-size: 12px; color: #fff; }
#keywords td .mark.yes { background: #2f6b4f; }
#keywords td .mark.no { background: #b2452e; }
.rank-grid { display: grid; grid-template-columns: repeat(3, 56px); gap: 6px; margin: 8px 0; }
.rank-grid span { display: flex; align-items: center; justify-content: center; height: 56px; border-radius: 12px; font-weight: 700; font-size: 18px; color: #fff; }
.rank-grid span.top { background: #2f6b4f; }
.rank-grid span.mid { background: #d9b45a; color: #1c1a16; }
.rank-grid span.out { background: #d9d2c5; color: #776e60; }
#ranks em.up { color: var(--green-ink); font-style: normal; font-size: 12px; }
#ranks em.down { color: var(--red-ink); font-style: normal; font-size: 12px; }
#ranks textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; }
