/* Pikkola CSS Studio: a studio with a bench.
   Warm ivory, large radii, one rust accent, and previews that are allowed to be
   the loudest thing on the page. 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: 1160px;
  --r: 18px;
  --r-sm: 10px;
  --radius: 18px;
}

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: #f6f4f0;
  --bg-2: #efece6;
  --surface: #fffefb;
  --surface-2: #faf8f4;
  --ink: #1c1a17;
  --ink-2: #4a453d;
  --ink-3: #7c756b;
  --line: #e4dfd6;
  --line-2: #d2cabd;
  --accent: #a4472b;
  --accent-ink: #fff8f4;
  --accent-soft: #f6e7e1;
  --ok: #2f6b4f;
  --bad: #a3301f;
  --stage-a: #f1ede6;
  --stage-b: #e5dfd3;
  --card: #ffffff;
  --code-bg: #faf8f4;
  --shadow-soft: 0 1px 2px rgba(28, 26, 23, .04), 0 30px 60px -46px rgba(28, 26, 23, .55);
  --dot: rgba(28, 26, 23, .09);
}

html[data-theme="dark"] {
  --bg: #121110;
  --bg-2: #171614;
  --surface: #1b1a18;
  --surface-2: #201f1c;
  --ink: #f0ece5;
  --ink-2: #c2bbb0;
  --ink-3: #8d857a;
  --line: #2a2825;
  --line-2: #3a3733;
  --accent: #e59a76;
  --accent-ink: #1a120e;
  --accent-soft: #2b1f19;
  --ok: #7fd0a6;
  --bad: #ff9c8c;
  --stage-a: #1d1b19;
  --stage-b: #141312;
  --card: #24221f;
  --code-bg: #171614;
  --shadow-soft: 0 1px 0 rgba(0, 0, 0, .4), 0 34px 64px -46px rgba(0, 0, 0, .95);
  --dot: rgba(240, 236, 229, .08);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 45% at 78% 6%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%),
    radial-gradient(50% 40% at 6% 18%, color-mix(in srgb, var(--ink) 5%, transparent), transparent 70%);
  pointer-events: none;
}
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.028em; line-height: 1.1; }
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; border-radius: 0 0 var(--r-sm) 0; background: var(--ink); color: var(--bg); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 0; }
: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) 88%, transparent); backdrop-filter: saturate(150%) blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent); }
.header-inner { display: flex; align-items: center; gap: 22px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand-mark { width: 26px; height: 26px; color: var(--accent); flex: none; }
.brand-name { font-weight: 600; letter-spacing: -0.015em; }
.brand-tool { padding-left: 9px; margin-left: 2px; border-left: 1px solid var(--line-2); font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--ink-3); }
.site-nav { display: flex; gap: 18px; margin-left: 6px; }
.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: 8px; margin-left: auto; }
.lang-field { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 0 8px; height: 32px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.lang-globe { width: 14px; height: 14px; color: var(--ink-3); flex: none; }
.lang-field select { appearance: none; border: 0; background: transparent; padding: 0 2px; font-size: 12.5px; font-family: var(--mono); color: var(--ink-2); cursor: pointer; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); }
.icon-btn:hover { color: var(--ink); border-color: var(--line-2); }
.icon-btn svg { width: 16px; height: 16px; }
.ico-sun { display: none; }
html[data-theme="dark"] .ico-sun { display: block; }
html[data-theme="dark"] .ico-moon { display: none; }

/* ------------------------------------------------------------------ hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 60px); align-items: center; padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.6rem, 5vw, 4.4rem); }
.eyebrow { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
html[lang="ko"] .eyebrow, html[lang="ja"] .eyebrow { letter-spacing: 0.06em; }
.hero h1 { margin-top: 16px; font-size: clamp(2.2rem, 5.2vw, 3.6rem); letter-spacing: -0.038em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lede { margin-top: 20px; max-width: 46ch; font-size: 16.5px; color: var(--ink-2); }
.hero-actions { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border: 1px solid var(--accent); border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.btn:hover { filter: brightness(1.06); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.small { padding: 8px 14px; font-size: 13px; }
.hero-note { font-size: 11.5px; color: var(--ink-3); letter-spacing: 0.04em; }
.facts { display: flex; gap: 28px; margin: 34px 0 0; padding: 0; }
.facts dt { font-family: var(--mono); font-size: 19px; font-weight: 600; }
.facts dd { margin: 2px 0 0; font-size: 11.5px; color: var(--ink-3); }

/* hero specimen */
.specimen { position: relative; border-radius: 26px; background: linear-gradient(155deg, #7d6a61 0%, #b98a72 48%, #e8cbb0 100%); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-soft); overflow: hidden; }
.specimen::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--dot) 1px, transparent 1px); background-size: 22px 22px; opacity: .5; pointer-events: none; }
.specimen-card { position: relative; z-index: 1; border-radius: 16px; background: var(--card); padding: 22px; box-shadow: 0 1px 2px rgba(28, 26, 23, .05), 0 6px 10px -4px rgba(28, 26, 23, .05), 0 18px 26px -12px rgba(28, 26, 23, .09), 0 34px 48px -28px rgba(28, 26, 23, .14); }
.specimen-card h3 { font-size: 14px; letter-spacing: -0.01em; }
.specimen-lines { margin-top: 12px; display: grid; gap: 7px; }
.specimen-lines span { display: block; height: 7px; border-radius: 4px; background: color-mix(in srgb, var(--ink) 12%, transparent); }
.specimen-lines span:nth-child(2) { width: 84%; }
.specimen-lines span:nth-child(3) { width: 62%; }
.specimen-row { margin-top: 16px; display: flex; gap: 8px; }
.specimen-pill { padding: 6px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 11.5px; font-weight: 600; }
.specimen-pill.ghost { background: transparent; color: var(--ink-3); border: 1px solid var(--line-2); }
.specimen-glass { position: relative; z-index: 2; margin: -14px 10px 0; padding: 16px 18px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .48); background: rgba(255, 255, 255, .18); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 20px 34px -20px rgba(40, 26, 16, .5); color: #38251a; }
.specimen-glass b { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.02em; }
.specimen-glass span { color: rgba(56, 37, 26, .78); }
.specimen-glass span { font-size: 11px; opacity: .75; }

/* --------------------------------------------------------------- sections */
section { padding-block: clamp(2.6rem, 6vw, 4.6rem); }
.section-head { max-width: 62ch; }
.section-head h2 { margin-top: 12px; font-size: clamp(1.65rem, 3.1vw, 2.35rem); }
.section-lede { margin-top: 12px; font-size: 15.5px; color: var(--ink-2); max-width: 62ch; }
.bench { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 22px; align-items: start; }

.panel { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: 0 1px 2px rgba(28, 26, 23, .03); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 18px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-3); }
.panel-body { padding: 16px 18px 18px; }

.controls { display: grid; gap: 15px; }
.control { display: grid; gap: 7px; }
.control-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.control-top label { font-size: 13px; font-weight: 500; color: var(--ink-2); }
.control-top output { font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
input[type="range"] { width: 100%; height: 22px; margin: 0; appearance: none; background: transparent; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: var(--line-2); }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 16px; height: 16px; margin-top: -6.5px; border-radius: 50%; border: 2px solid var(--surface); background: var(--accent); box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
input[type="range"]::-moz-range-track { height: 3px; border-radius: 2px; background: var(--line-2); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--surface); background: var(--accent); }
.control-row { display: flex; flex-wrap: wrap; gap: 7px; }
.swatch { width: 26px; height: 26px; padding: 0; border-radius: 50%; border: 2px solid var(--line); }
.swatch.is-on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--surface) inset; }
.chip-btn { padding: 5px 11px; border: 1px solid var(--line-2); border-radius: 999px; background: transparent; font-size: 12px; color: var(--ink-2); }
.chip-btn:hover { border-color: var(--accent); color: var(--accent); }
.chip-btn.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.control-sep { height: 1px; background: var(--line); margin: 2px 0; }

.stack { display: grid; gap: 16px; }
.mini-row { display: flex; gap: 12px; margin-top: 18px; }
.mini-row .mini-card { flex: 1; }

.brand-tool { text-transform: uppercase; }

/* preview stage */
.stage-wrap { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.stage { position: relative; display: grid; place-items: center; min-height: 320px; padding: 44px 28px; background: linear-gradient(165deg, var(--stage-a), var(--stage-b)); }
.stage::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--dot) 1px, transparent 1px); background-size: 24px 24px; opacity: .55; }
.stage-inner { position: relative; width: min(100%, 380px); }
.preview-card { border-radius: 16px; background: var(--card); padding: 22px; transition: box-shadow .12s linear, border-radius .12s linear; }
.preview-card h3 { font-size: 15px; }
.preview-card p { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); line-height: 1.55; }
.preview-card .row { margin-top: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.mini-card { border-radius: 12px; background: var(--card); padding: 12px 14px; display: flex; align-items: center; gap: 10px; font-size: 11.5px; color: var(--ink-2); }
.mini-card i { display: block; width: 22px; height: 22px; border-radius: 7px; background: var(--accent-soft); flex: none; }
.mini-bar { display: block; height: 6px; flex: 1; border-radius: 3px; background: color-mix(in srgb, var(--ink) 14%, transparent); }
.mini-bar.short { max-width: 58%; }
.stage-caption { padding: 11px 18px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); display: flex; justify-content: space-between; gap: 12px; }

/* glass scene */
.scene { min-height: 340px; padding: 40px 28px; }
.scene::before { opacity: .35; }
.scene-dusk { background: linear-gradient(150deg, #6c5b7b, #c06c84 45%, #f8b195); }
.scene-moss { background: linear-gradient(150deg, #1e3a2f, #3f6c52 55%, #a8c686); }
.scene-clay { background: linear-gradient(150deg, #8b4a2f, #c97b4a 50%, #f0d2a8); }
.scene-midnight { background: linear-gradient(150deg, #0f1a2b, #26385a 55%, #5d7fa3); }
.glass-card { position: relative; width: min(100%, 340px); border-radius: 20px; padding: 22px; color: #fff; transition: all .12s linear; }
.glass-card .kicker { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; opacity: .7; }
.glass-card h3 { margin-top: 8px; font-size: 18px; color: #fff; }
.glass-card p { margin-top: 8px; font-size: 12.5px; line-height: 1.55; opacity: .82; }
.glass-card .glass-row { margin-top: 18px; display: flex; gap: 8px; }
.glass-card .glass-row span { padding: 6px 12px; border-radius: 999px; font-size: 11px; background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .3); }

/* code */
.code-wrap { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.code-tabs { display: flex; align-items: center; gap: 4px; padding: 8px 10px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.code-tabs .copy-btn { margin-left: auto; }
.code-tabs button { border: 0; border-radius: 999px; background: transparent; padding: 6px 12px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.code-tabs button.is-on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.code-body { position: relative; }
.code-block::-webkit-scrollbar { height: 8px; }
.code-block::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 4px; }
.code-block { margin: 0; padding: 18px 18px 20px; overflow: auto; font-family: var(--mono); font-size: 12px; line-height: 1.7; color: var(--ink); background: var(--code-bg); white-space: pre; tab-size: 2; min-height: 148px; }

.copy-btn { border: 1px solid var(--line-2); border-radius: 999px; background: var(--surface); padding: 5px 11px; font-family: var(--mono); font-size: 10.5px; color: var(--ink-2); }
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }

/* why */
.why-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.why-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.why-card h3 { font-size: 15.5px; }
.why-card p { margin-top: 9px; font-size: 13.5px; color: var(--ink-2); }

/* reference */
.rules-table { width: 100%; margin-top: 24px; border-collapse: collapse; font-size: 13.5px; }
.rules-table th, .rules-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.rules-table thead th { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.rules-table td.tok { font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--accent); white-space: nowrap; }

.priv-strip { padding-block: clamp(2rem, 4vw, 3rem); }
.priv-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.priv-inner h2 { font-size: 17px; }
.priv-inner p { margin-top: 6px; font-size: 13.5px; color: var(--ink-2); max-width: 60ch; }
.text-link { font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); white-space: nowrap; }

.faq-list { margin-top: 22px; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { padding: 15px 2px; font-size: 14.5px; font-weight: 600; cursor: pointer; list-style: none; display: flex; gap: 10px; align-items: baseline; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: "+"; font-family: var(--mono); font-size: 13px; color: var(--accent); flex: none; }
.qa[open] summary::before { content: "–"; }
.qa p { padding: 0 2px 17px 22px; font-size: 13.5px; color: var(--ink-2); max-width: 76ch; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 44px 0 28px; margin-top: 20px; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 28px; }
.footer-brand p { margin-top: 10px; font-size: 13px; color: var(--ink-3); max-width: 34ch; }
.footer-links h3 { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.footer-links ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.footer-links a { font-size: 13px; color: var(--ink-2); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
.footer-note { grid-column: 1 / -1; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--ink-3); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 14px); padding: 10px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 12.5px; opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; z-index: 70; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* document pages */
.doc { padding-block: clamp(2.4rem, 6vw, 4rem); max-width: 76ch; }
.doc h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.doc .updated { margin-top: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.doc .lede-doc { margin-top: 20px; font-size: 17px; color: var(--ink-2); }
.doc h2 { margin-top: 32px; font-size: 18px; }
.doc p { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); }
.doc ul { margin: 12px 0 0; padding-left: 20px; font-size: 14.5px; color: var(--ink-2); }
.doc li { margin-top: 6px; }
.doc a { color: var(--accent); }
.narrow { max-width: 860px; }

/* responsive */
@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .bench { grid-template-columns: minmax(0, 1fr); }
  .why-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .site-nav { display: none; }
  .facts { gap: 18px; }
  .stage { min-height: 260px; padding: 30px 18px; }
  .scene { min-height: 280px; padding: 26px 16px; }
  .rules-table thead { display: none; }
  .rules-table tr { display: grid; grid-template-columns: 92px minmax(0, 1fr); }
  .rules-table td { padding: 8px 10px; border-bottom: 0; }
  .rules-table tbody tr { border-bottom: 1px solid var(--line); }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .toast { transition: none; }
  .preview-card, .glass-card { transition: none; }
}

/* 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;
  }
}
