/* Pikkola SVG Studio: a drafting desk. Cool paper, square corners, hairline
   rules and a grid that belongs to a drawing rather than to a website.
   Weights stay at 400, 500, 600 and 700. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/fonts/inter.woff2) format("woff2-variations");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/jetbrains-mono.woff2) format("woff2");
}

:root {
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1180px;
  --r: 4px;
  --radius: 4px;
}

html[lang="ko"] {
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  word-break: keep-all;
}
html[lang="ja"] {
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  word-break: normal;
}

html[data-theme="light"] {
  --bg: #eef1f4;
  --bg-2: #e7ecf1;
  --surface: #ffffff;
  --surface-2: #f3f6f9;
  --ink: #0d1b2a;
  --ink-2: #40566a;
  --ink-3: #6d8397;
  --line: #d3dde5;
  --line-2: #b7c7d3;
  --accent: #14526e;
  --accent-ink: #ffffff;
  --accent-soft: #e2edf3;
  --ok: #1a6b4f;
  --ok-soft: #e2f1ea;
  --bad: #a3342a;
  --bad-soft: #f8e7e4;
  --warn: #8a5a00;
  --shadow: 0 1px 0 rgba(13, 27, 42, .04), 0 20px 40px -34px rgba(13, 27, 42, .5);
  --grid-line: rgba(13, 27, 42, .09);
  --check-a: #ffffff;
  --check-b: #e6ebef;
}
html[data-theme="dark"] {
  --bg: #08131c;
  --bg-2: #0b1a25;
  --surface: #0e1e2a;
  --surface-2: #132836;
  --ink: #e6eef4;
  --ink-2: #a8bccb;
  --ink-3: #7b93a5;
  --line: #1d3546;
  --line-2: #2a475c;
  --accent: #7cc4de;
  --accent-ink: #08131c;
  --accent-soft: #16303f;
  --ok: #68d3ad;
  --ok-soft: #12291f;
  --bad: #ff9f97;
  --bad-soft: #2a1816;
  --warn: #e0b062;
  --shadow: 0 1px 0 rgba(0, 0, 0, .4), 0 24px 48px -34px rgba(0, 0, 0, .9);
  --grid-line: rgba(160, 200, 225, .10);
  --check-a: #0f2230;
  --check-b: #0a1824;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 96px 96px;
  background-position: -1px -1px;
}
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.14; }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 60; padding: 10px 16px; background: var(--ink); color: var(--bg); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------------- header ---------------- */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand-mark { width: 26px; height: 26px; color: var(--accent); }
.brand-name { font-weight: 600; letter-spacing: -0.01em; }
.brand-tool { padding-left: 9px; margin-left: 2px; border-left: 1px solid var(--line-2); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; color: var(--ink-3); }
.site-nav { display: flex; gap: 20px; margin-left: 8px; }
.site-nav a { color: var(--ink-2); font-size: 13.5px; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.header-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang-field { position: relative; display: inline-flex; align-items: center; }
.lang-globe { position: absolute; left: 9px; width: 15px; height: 15px; color: var(--ink-3); pointer-events: none; }
.lang-field select { appearance: none; padding: 7px 24px 7px 27px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); font-size: 12.5px; }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 34px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); }
.icon-btn svg { width: 17px; height: 17px; }
html[data-theme="dark"] .ico-moon, html[data-theme="light"] .ico-sun { display: none; }

/* ---------------- hero ---------------- */
.hero { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(30px, 5vw, 60px); padding: clamp(46px, 7vw, 86px) 0 clamp(34px, 6vw, 62px); align-items: start; }
.eyebrow { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); }
.hero h1 { margin-top: 14px; font-size: clamp(2.35rem, 4.9vw, 3.9rem); letter-spacing: -0.035em; }
.hero-lede { max-width: 44ch; margin-top: 18px; color: var(--ink-2); font-size: 16.5px; line-height: 1.62; }
.hero-actions { display: flex; align-items: center; gap: 18px; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 1px solid var(--accent); border-radius: 3px; background: var(--accent); color: var(--accent-ink); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.btn:hover { filter: brightness(1.12); }
.btn.small { padding: 8px 14px; font-size: 12.5px; }
.hero-note { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.facts { display: grid; grid-template-columns: repeat(4, auto); gap: 24px; margin: 32px 0 0; }
.facts dt { font-family: var(--mono); font-size: 19px; font-weight: 500; }
.facts dd { margin: 2px 0 0; font-size: 11.5px; letter-spacing: 0.03em; color: var(--ink-3); }

.sheet { margin: 0; }
.sheet-frame { border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow); position: relative; }
.sheet-frame::before, .sheet-frame::after {
  content: ""; position: absolute; width: 10px; height: 10px; border: 1px solid var(--ink-3); pointer-events: none;
}
.sheet-frame::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.sheet-frame::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.sheet-titlebar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.mono-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.small-label { font-size: 10px; color: var(--ink-3); }
.sheet-drawing { display: block; width: 100%; height: auto; color: var(--ink); background: var(--surface); padding: 12px; }
.sheet-drawing .dims { font-family: var(--mono); font-size: 9px; fill: currentColor; opacity: .62; letter-spacing: .04em; }
.sheet-strip { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--ink-2); flex-wrap: wrap; }
.sheet-arrow { color: var(--ink-3); }
.sheet-badge { margin-left: auto; padding: 2px 8px; background: var(--accent-soft); color: var(--accent); font-size: 11px; }
html[data-theme="dark"] .sheet-badge { color: var(--accent); }
.sheet figcaption { margin-top: 16px; font-size: 12.5px; color: var(--ink-3); max-width: 42ch; }

/* ---------------- section furniture ---------------- */
.section-head { max-width: 720px; margin-bottom: 24px; }
.section-head h2 { margin-top: 10px; font-size: clamp(1.55rem, 2.9vw, 2.2rem); }
.section-lede { margin-top: 11px; color: var(--ink-2); font-size: 15px; max-width: 64ch; }

.studio { padding: clamp(24px, 4vw, 40px) 0 20px; }
.bench { display: grid; grid-template-columns: 1.05fr .95fr; gap: 14px; }
.pane { border: 1px solid var(--line-2); background: var(--surface); display: flex; flex-direction: column; min-height: 420px; }
.pane-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); flex-wrap: wrap; }
.pane-head h3 { font-size: 13px; letter-spacing: 0.02em; }
.pane-tools, .code-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.link-btn { border: 0; background: none; padding: 1px 0; font-size: 12px; font-weight: 500; color: var(--ink-2); border-bottom: 1px solid var(--line-2); }
.link-btn:hover { color: var(--ink); border-bottom-color: var(--ink); }
.link-btn:disabled { opacity: .45; cursor: default; }
.drop-hint { display: none; padding: 10px 14px; background: var(--accent-soft); color: var(--accent); font-size: 12px; border-bottom: 1px solid var(--line); }
.pane.is-over .drop-hint { display: block; }
.code-input {
  flex: 1; width: 100%; min-height: 320px; resize: vertical; border: 0; outline: 0;
  padding: 14px; background: var(--surface); color: var(--ink);
  font-family: var(--mono); font-size: 12px; line-height: 1.6; tab-size: 2;
}
.code-input:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.pane-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 14px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--ink-3); }
.parse-ok { color: var(--ok); }
.parse-bad { color: var(--bad); }

.preview-pane { min-height: 420px; }
.preview-tools { display: flex; gap: 4px; }
.chip-btn { border: 1px solid var(--line-2); background: var(--surface); border-radius: 3px; padding: 5px 10px; font-size: 11.5px; color: var(--ink-2); }
.chip-btn:hover { border-color: var(--accent); }
.chip-btn.is-on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.preview-stage {
  flex: 1; display: grid; place-items: center; position: relative; overflow: hidden; min-height: 300px;
  background-color: var(--check-a);
  background-image:
    linear-gradient(45deg, var(--check-b) 25%, transparent 25%, transparent 75%, var(--check-b) 75%),
    linear-gradient(45deg, var(--check-b) 25%, transparent 25%, transparent 75%, var(--check-b) 75%);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
}
.preview-stage.checker-dark { --check-a: #22384a; --check-b: #1a2c3b; }
.preview-stage { overflow: auto; }
.preview-stage img { display: none; max-width: none; max-height: none; }
.preview-stage.has-image img { display: block; }
.preview-stage.has-image .preview-empty { display: none; }
.preview-empty { font-size: 12.5px; color: var(--ink-3); padding: 20px; text-align: center; }
.zoom-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-2); flex-wrap: wrap; }
.zoom-row input[type="range"] { flex: 1; min-width: 100px; }
.zoom-size { margin-left: auto; color: var(--ink-3); font-size: 11px; }
input[type="range"] { -webkit-appearance: none; appearance: none; height: 3px; border-radius: 999px; background: var(--line-2); outline-offset: 6px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; background: var(--surface); border: 2px solid var(--accent); border-radius: 50%; cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 13px; height: 13px; background: var(--surface); border: 2px solid var(--accent); border-radius: 50%; }

.options-bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line); background: var(--surface); }
.options-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.opt { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-2); }
.opt input { accent-color: var(--accent); width: 15px; height: 15px; }

/* ---------------- report ---------------- */
.report { padding: clamp(24px, 4vw, 40px) 0 clamp(20px, 3vw, 32px); }
.report-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 14px; align-items: stretch; }
.stats-card { border: 1px solid var(--line-2); background: var(--surface-2); padding: 20px 20px 18px; }
.stats-row { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 12px; margin: 14px 0 16px; }
.stat { display: grid; gap: 3px; padding-right: 10px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; padding-right: 0; }
.stat span { font-size: 11px; color: var(--ink-3); }
.stat b { font-size: 17px; font-weight: 500; }
.stat.big b { font-size: 24px; color: var(--accent); }
html[data-theme="dark"] .stat.big b { color: var(--accent); }
.report-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.report-list li { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }
.report-list li b { font-family: var(--mono); font-weight: 500; color: var(--ink); }
.report-note { margin-top: 12px; font-size: 11.5px; color: var(--ink-3); }
.code-card { border: 1px solid var(--line-2); background: var(--surface); display: flex; flex-direction: column; min-width: 0; }
.code-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); flex-wrap: wrap; }
.code-head h3 { font-size: 13px; }
.code-block { margin: 0; padding: 13px 14px; font-size: 11.8px; line-height: 1.65; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink-2); overflow-y: auto; }
.code-card .code-block { flex: 1; max-height: 420px; }
.code-block.small { max-height: 168px; font-size: 11px; background: var(--surface-2); border: 1px solid var(--line); padding: 10px 12px; }

/* ---------------- convert ---------------- */
.convert { padding: clamp(30px, 5vw, 56px) 0 clamp(20px, 3vw, 32px); border-top: 1px solid var(--line); }
.convert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.conv-card { border: 1px solid var(--line-2); background: var(--surface); padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.conv-card h3 { font-size: 14px; }
.conv-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.conv-sub { font-size: 12.5px; color: var(--ink-2); line-height: 1.55; }
.conv-meta { font-size: 11px; color: var(--ink-3); }
.scale-row { display: flex; gap: 5px; }
.hint { font-size: 11.5px; color: var(--ink-3); line-height: 1.55; }

/* ---------------- rules table ---------------- */
.table-section { padding: clamp(30px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.rules-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.rules-table th, .rules-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rules-table th { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; border-bottom-color: var(--line-2); }
.rules-table td:first-child { font-size: 11.5px; color: var(--ink); white-space: nowrap; }
.rules-table td:nth-child(2) { color: var(--ink-2); }
.rules-table td:nth-child(3) { color: var(--ink-3); }

/* ---------------- why, privacy, faq ---------------- */
.why { padding: clamp(30px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.why-card { border: 1px solid var(--line-2); background: var(--surface); padding: 20px 20px 22px; position: relative; }
.why-card::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 2px; background: var(--accent); }
.why-card h3 { font-size: 14.5px; }
.why-card p { margin-top: 8px; font-size: 13px; line-height: 1.65; color: var(--ink-2); }
.priv-strip { padding: 0 0 clamp(30px, 5vw, 52px); }
.priv-inner { display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: center; padding: 24px 26px; background: var(--ink); color: var(--bg); border: 1px solid var(--ink); }
.priv-inner h2 { font-size: clamp(1.25rem, 2.3vw, 1.6rem); }
.priv-inner p { margin-top: 7px; font-size: 13.5px; opacity: .82; max-width: 62ch; }
.text-link { font-size: 13px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 1px; white-space: nowrap; }
.priv-inner .text-link { color: inherit; border-color: currentColor; }
.faq { padding: 0 0 clamp(30px, 5vw, 52px); }
.faq-list { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line); padding: 14px 0; }
.qa summary { cursor: pointer; list-style: none; font-size: 14.5px; font-weight: 600; display: flex; align-items: baseline; gap: 10px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; margin-left: auto; font-family: var(--mono); font-weight: 400; color: var(--ink-3); }
.qa[open] summary::after { content: "–"; }
.qa p { margin-top: 9px; font-size: 13.5px; line-height: 1.7; color: var(--ink-2); max-width: 80ch; }

/* ---------------- footer ---------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 36px 0 40px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr .9fr .9fr auto; gap: 26px; align-items: start; }
.footer-brand .brand { margin-bottom: 9px; }
.footer-brand p { font-size: 12.5px; color: var(--ink-3); max-width: 30ch; }
.footer-links h3 { font-family: var(--mono); font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 9px; }
.footer-links ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, auto); gap: 5px 15px; }
.footer-links li a { font-size: 12.5px; color: var(--ink-2); text-decoration: none; }
.footer-links li a:hover { color: var(--ink); text-decoration: underline; }
.footer-note { font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 10px); z-index: 80; padding: 8px 15px; background: var(--ink); color: var(--bg); font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- responsive ---------------- */
@media (max-width: 1000px) {
  .site-nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .sheet { max-width: 540px; }
  .bench, .report-grid, .convert-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .rules-table td:nth-child(2), .rules-table th:nth-child(2) { display: none; }
}
@media (max-width: 680px) {
  .wrap { width: min(100% - 26px, var(--wrap)); }
  .header-inner { height: 58px; gap: 12px; }
  .brand-tool { display: none; }
  .facts { grid-template-columns: repeat(2, 1fr); gap: 16px 18px; }
  .pane { min-height: 340px; }
  .code-input { min-height: 260px; font-size: 11.5px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat.big { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 8px; }
  .priv-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links ul { grid-template-columns: repeat(3, auto); }
  .options-bar { gap: 10px 14px; }
  .rules-table td:first-child { white-space: normal; }
  .preview-stage { min-height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ---------------- document pages (about, privacy, terms, 404) ---------------- */
main.narrow { max-width: 780px; padding: clamp(36px, 6vw, 64px) 0 clamp(48px, 7vw, 80px); }
.doc h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); letter-spacing: -0.03em; }
.doc .updated { margin-top: 10px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.lede-doc { margin-top: 14px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.doc h2 { margin-top: 34px; font-size: 1.12rem; }
.doc p { margin-top: 10px; font-size: 15px; line-height: 1.72; color: var(--ink-2); }
.doc ul { margin: 10px 0 0; padding-left: 20px; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.doc li { margin-top: 4px; }
.doc code, .doc .mono { font-family: var(--mono); font-size: 0.92em; }
.doc a { color: inherit; }
.doc a:hover { color: var(--ink); }

/* Pikkola funnel: one book, one coffee, placed after the tool.
   Uses each site's own tokens with fallbacks so it inherits the local palette. */

.funnel {
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.funnel-head {
  margin: 0 0 1rem;
  font-family: var(--sans, var(--font, inherit));
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint, var(--muted, var(--ink-3, currentColor)));
}

.funnel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.funnel-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 22px 18px;
  border: 1px solid var(--border, var(--line, rgba(127, 127, 127, 0.25)));
  border-radius: var(--radius, var(--r, 10px));
  background: var(--surface, var(--panel, transparent));
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.funnel-card:hover,
.funnel-card:focus-visible {
  border-color: var(--accent, currentColor);
  background: var(--surface-2, var(--panel-2, var(--accent-soft, transparent)));
}

.funnel-card:focus-visible {
  outline: 2px solid var(--accent, currentColor);
  outline-offset: 2px;
}

.funnel-kicker {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted, var(--ink-3, currentColor));
}

html[lang="ko"] .funnel-head,
html[lang="ja"] .funnel-head,
html[lang="ko"] .funnel-kicker,
html[lang="ja"] .funnel-kicker {
  letter-spacing: 0.02em;
}

.funnel-title {
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.005em;
  word-break: keep-all;
}

.funnel-sub {
  max-width: 36ch;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted, var(--ink-3, currentColor));
  word-break: keep-all;
}

.funnel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
}

.funnel-price {
  flex: none;
  padding: 3px 9px;
  border: 1px solid var(--border, var(--line, rgba(127, 127, 127, 0.25)));
  border-radius: 999px;
  font-family: var(--mono, monospace);
  font-size: 11.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.funnel-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent, currentColor);
}

.funnel-card-coffee .funnel-cta {
  font-family: var(--mono, monospace);
  font-size: 11.5px;
  font-weight: 500;
  word-break: normal;
  overflow-wrap: anywhere;
}

.funnel-arrow {
  flex: none;
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s ease;
}

.funnel-card:hover .funnel-arrow {
  transform: translateX(2px);
}

@media (max-width: 760px) {
  .funnel-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .funnel-card,
  .funnel-arrow {
    transition: none;
  }
}
