/* Heardit — one stylesheet, token-driven, light and dark. */

/* Storybook palette: cream paper, sage watercolor, warm brown ink. */
:root {
  --ground: #FBF8F1;
  --surface: #FFFFFF;
  --sunk: #F3EFE4;
  --ink: #3F3A30;
  --ink-soft: #6B6355;
  --ink-mute: #8F877A;
  --rule: #E8E2D3;
  --rule-strong: #D6CDB8;
  --accent: #7FA36F;
  --accent-hover: #6C9260;
  --accent-soft: #E6EFDF;
  --accent-ink: #FFFFFF;
  --wash: #CFE0C3;            /* the watercolor blotch colour */
  --wash-deep: #B9D1AA;
  --live: #D28C78;
  --live-soft: #F8E7E0;
  --ok: #5F8A52;
  --ok-soft: #E6EFDF;
  --warn: #B88A3A;
  --warn-soft: #F7EEDB;
  --bad: #B85C4A;
  --bad-soft: #F8E6E1;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(63, 58, 48, .04), 0 12px 30px -22px rgba(63, 58, 48, .28);
  --shadow-lg: 0 2px 6px rgba(63, 58, 48, .05), 0 26px 60px -30px rgba(63, 58, 48, .32);
}

/* A warm charcoal night version of the same book. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #1F1D18;
    --surface: #27251F;
    --sunk: #302D26;
    --ink: #F1ECE0;
    --ink-soft: #C9C1B0;
    --ink-mute: #9B9383;
    --rule: #3B372E;
    --rule-strong: #4C473C;
    --accent: #9DBE8D;
    --accent-hover: #AECB9F;
    --accent-soft: #2E3A29;
    --accent-ink: #1C2318;
    --wash: #34412F;
    --wash-deep: #3E4D37;
    --live: #E2A08C;
    --live-soft: #3A2A24;
    --ok: #9DBE8D;
    --ok-soft: #2E3A29;
    --warn: #D9B06A;
    --warn-soft: #3A3121;
    --bad: #E08A78;
    --bad-soft: #3B2822;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 30px -22px rgba(0, 0, 0, .8);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, .5), 0 26px 60px -30px rgba(0, 0, 0, .9);
  }
}

[data-theme="dark"] {
  --ground: #1F1D18;
  --surface: #27251F;
  --sunk: #302D26;
  --ink: #F1ECE0;
  --ink-soft: #C9C1B0;
  --ink-mute: #9B9383;
  --rule: #3B372E;
  --rule-strong: #4C473C;
  --accent: #9DBE8D;
  --accent-hover: #AECB9F;
  --accent-soft: #2E3A29;
  --accent-ink: #1C2318;
  --wash: #34412F;
  --wash-deep: #3E4D37;
  --live: #E2A08C;
  --live-soft: #3A2A24;
  --ok: #9DBE8D;
  --ok-soft: #2E3A29;
  --warn: #D9B06A;
  --warn-soft: #3A3121;
  --bad: #E08A78;
  --bad-soft: #3B2822;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 30px -22px rgba(0, 0, 0, .8);
  --shadow-lg: 0 2px 6px rgba(0, 0, 0, .5), 0 26px 60px -30px rgba(0, 0, 0, .9);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Gowun Dodum", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  font-size: 15.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}

h1, h2, h3, h4 {
  margin: 0; letter-spacing: -.01em; text-wrap: balance;
  font-family: "Gowun Batang", "Apple SD Gothic Neo", Georgia, serif;
}
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ------------------------------------------------------------------ shell */

.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 20px;
  padding: 0 28px; height: 64px;
  background: color-mix(in srgb, var(--ground) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.brand {
  display: flex; align-items: center; gap: 10px; font-size: 18px; color: var(--ink);
  font-family: "Gowun Batang", Georgia, serif; font-weight: 700;
}
.brand:hover { text-decoration: none; }
.brand-dot {
  width: 22px; height: 22px; border-radius: 45% 55% 50% 50% / 55% 45% 55% 45%;
  background: var(--wash-deep); flex: none; position: relative;
}
.brand-dot::after {
  content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--accent);
}
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-link {
  padding: 6px 12px; border-radius: 7px; color: var(--ink-soft);
  font-size: 14.5px; font-weight: 500;
}
.nav-link:hover { background: var(--sunk); color: var(--ink); text-decoration: none; }
.nav-link.is-active { color: var(--ink); background: var(--sunk); }

.page { max-width: 1080px; margin: 0 auto; padding: 40px 24px 80px; }
.page-narrow { max-width: 760px; }

.page-head { margin-bottom: 32px; }
.page-head h1 { font-size: 30px; font-weight: 680; margin-bottom: 7px; }
.page-head p { color: var(--ink-mute); font-size: 16px; max-width: 60ch; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 100px; border: 1px solid transparent;
  font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer;
  transition: background .14s ease, border-color .14s ease, opacity .14s ease, transform .14s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--rule-strong); }
.btn-ghost:hover { background: var(--sunk); }
.btn-quiet { background: transparent; color: var(--ink-mute); }
.btn-quiet:hover { background: var(--sunk); color: var(--ink); }
.btn-live { background: var(--live); color: #fff; }
.btn-live:hover { filter: brightness(1.06); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-lg { padding: 13px 24px; font-size: 15.5px; }
.btn-sm { padding: 7px 13px; font-size: 13.5px; }

/* ------------------------------------------------------------------ cards */

.card {
  background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.card-pad { padding: 24px 26px; }

.section-label {
  font-size: 13px; letter-spacing: .02em; color: var(--accent); margin-bottom: 12px;
  font-family: "Gowun Batang", Georgia, serif; font-weight: 700;
}

/* ------------------------------------------------------------ mode picker */

.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 720px) { .modes { grid-template-columns: 1fr; } }

.mode {
  position: relative; text-align: left; cursor: pointer;
  background: var(--surface); border: 1.5px solid var(--rule);
  border-radius: var(--radius); padding: 20px 20px 22px;
  transition: border-color .14s ease, background .14s ease, transform .14s ease;
  font: inherit; color: inherit; display: block; width: 100%;
}
.mode:hover { border-color: var(--wash-deep); transform: translateY(-1px); }
.mode[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.mode-icon { display: block; margin-bottom: 13px; color: var(--accent); }
.mode-art { width: 64px; height: 64px; object-fit: contain; display: block; margin-bottom: 10px; }
.mode-name { font-size: 16.5px; font-weight: 620; margin-bottom: 5px; }
.mode-desc { font-size: 13.5px; line-height: 1.6; color: var(--ink-mute); }

/* ------------------------------------------------------------------ forms */

.field { display: grid; gap: 7px; }
.field-label { font-size: 13.5px; font-weight: 550; color: var(--ink-soft); }
.input, .textarea, .select {
  width: 100%; padding: 10px 13px; font: inherit; font-size: 15px;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--rule-strong); border-radius: 9px;
}
.input:focus, .textarea:focus, .select:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.textarea { resize: vertical; min-height: 90px; line-height: 1.6; }
.hint { font-size: 13px; color: var(--ink-mute); line-height: 1.55; }

.seg { display: inline-flex; background: var(--sunk); border-radius: 9px; padding: 3px; gap: 3px; }
.seg-btn {
  padding: 6px 14px; border-radius: 7px; border: none; background: transparent;
  font: inherit; font-size: 13.5px; font-weight: 550; color: var(--ink-mute); cursor: pointer;
}
.seg-btn[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }

/* --------------------------------------------------------------- dropzone */

.dropzone {
  border: 1.5px dashed var(--rule-strong); border-radius: var(--radius);
  padding: 34px 24px; text-align: center; background: var(--surface);
  transition: border-color .14s ease, background .14s ease;
}
.dropzone.is-over { border-color: var(--accent); background: var(--accent-soft); }
.dropzone-title { font-size: 15.5px; font-weight: 570; margin-bottom: 5px; }
.dropzone-hint { font-size: 13.5px; color: var(--ink-mute); }

/* ------------------------------------------------------------ session view */

.session-head {
  display: flex; align-items: flex-start; gap: 16px; flex-wrap: wrap;
  padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--rule);
}
.session-title {
  font-size: 25px; font-weight: 660; border: none; background: transparent;
  color: var(--ink); font-family: inherit; padding: 2px 6px; margin-left: -6px;
  border-radius: 6px; width: 100%; max-width: 30ch; letter-spacing: -.02em;
}
.session-title:hover { background: var(--sunk); }
.session-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.session-actions { margin-left: auto; display: flex; gap: 9px; align-items: center; flex-wrap: wrap; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 560; padding: 3px 10px; border-radius: 100px;
  background: var(--sunk); color: var(--ink-mute);
}
.tag-live { background: var(--live-soft); color: var(--live); }
.tag-ok { background: var(--ok-soft); color: var(--ok); }
.tag-accent { background: var(--accent-soft); color: var(--accent); }

.dot-live {
  width: 7px; height: 7px; border-radius: 50%; background: currentColor;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .28; } }

.grid-session { display: grid; grid-template-columns: 1fr 380px; gap: 20px; align-items: start; }
@media (max-width: 940px) { .grid-session { grid-template-columns: 1fr; } }

.stack { display: grid; gap: 20px; }

/* --------------------------------------------------------------- capture */

.capture { padding: 20px 22px 22px; }
.capture-row { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.waveform { width: 100%; height: 54px; display: block; margin-top: 16px; border-radius: 8px; background: var(--sunk); }
.capture-status { font-size: 13.5px; color: var(--ink-mute); }

/* ------------------------------------------------------------- transcript */

.transcript {
  max-height: 380px; overflow-y: auto; padding: 4px 2px;
  display: grid; gap: 11px; scroll-behavior: smooth;
}
.seg-line { display: grid; grid-template-columns: 52px 1fr; gap: 13px; align-items: baseline; }
.seg-time {
  font-size: 11.5px; color: var(--ink-mute); font-variant-numeric: tabular-nums;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; padding-top: 3px;
}
.seg-text { font-size: 15.5px; line-height: 1.7; color: var(--ink); }
.seg-line.is-new .seg-text { animation: fadein .4s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }

.empty { text-align: center; padding: 34px 20px; color: var(--ink-mute); font-size: 14.5px; }

/* ---------------------------------------------------------------- summary */

.summary-body { font-size: 15.5px; line-height: 1.75; }
.summary-body h1, .summary-body h2, .summary-body h3 {
  font-size: 16px; font-weight: 640; margin: 20px 0 8px; color: var(--ink);
}
.summary-body h1:first-child, .summary-body h2:first-child, .summary-body h3:first-child { margin-top: 0; }
.summary-body ul, .summary-body ol { margin: 0 0 12px; padding-left: 20px; }
.summary-body li { margin-bottom: 5px; color: var(--ink-soft); }
.summary-body p { margin-bottom: 12px; color: var(--ink-soft); }
.summary-body strong { color: var(--ink); font-weight: 600; }

.keywords { display: flex; flex-wrap: wrap; gap: 7px; }
.kw {
  padding: 6px 13px; border-radius: 100px; border: 1px solid var(--rule-strong);
  background: var(--surface); color: var(--ink); font: inherit; font-size: 13.5px;
  font-weight: 520; cursor: pointer; transition: background .14s ease, border-color .14s ease;
}
.kw:hover { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.kw[aria-expanded="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.kw-panel {
  margin-top: 13px; padding: 16px 18px; border-radius: var(--radius-sm);
  background: var(--sunk); border: 1px solid var(--rule);
  font-size: 14.5px; line-height: 1.7; color: var(--ink-soft);
}
.kw-panel strong { color: var(--ink); }

/* ------------------------------------------------------------------- chat */

.chat { display: grid; grid-template-rows: 1fr auto; height: 100%; min-height: 320px; }
.chat-log {
  overflow-y: auto; max-height: 420px; padding: 4px 2px 14px;
  display: grid; gap: 13px; align-content: start;
}
.msg { display: grid; gap: 4px; }
.msg-role {
  font-size: 11px; font-weight: 620; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-mute);
}
.msg-body {
  font-size: 14.5px; line-height: 1.7; padding: 11px 14px; border-radius: 10px;
  background: var(--sunk); color: var(--ink-soft); white-space: pre-wrap;
}
.msg-user .msg-body { background: var(--accent-soft); color: var(--ink); }
.msg-user .msg-role { color: var(--accent); }

.chat-form { display: flex; gap: 9px; padding-top: 14px; border-top: 1px solid var(--rule); }
.chat-form .input { flex: 1; }

/* ----------------------------------------------------------------- review */

.session-list { display: grid; gap: 11px; }
.session-card {
  display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center;
  padding: 18px 22px; background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--radius); box-shadow: var(--shadow);
  transition: border-color .14s ease;
}
.session-card:hover { border-color: var(--rule-strong); }
.session-card h3 { font-size: 17px; font-weight: 620; margin-bottom: 5px; }
.session-card h3 a { color: var(--ink); }
.session-card-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--ink-mute); }
.session-card-excerpt { font-size: 14px; color: var(--ink-mute); margin-top: 8px; max-width: 70ch; }

/* --------------------------------------------------------------- progress */

.progress-shell { height: 5px; background: var(--sunk); border-radius: 100px; overflow: hidden; margin-top: 14px; }
.progress-bar { height: 100%; background: var(--accent); border-radius: 100px; width: 0; transition: width .4s ease; }

.spinner {
  width: 15px; height: 15px; border: 2px solid var(--rule-strong);
  border-top-color: var(--accent); border-radius: 50%;
  animation: spin .7s linear infinite; flex: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------- toasts */

.toasts { position: fixed; bottom: 22px; right: 22px; display: grid; gap: 9px; z-index: 90; }
.toast {
  padding: 12px 17px; border-radius: 10px; background: var(--surface);
  border: 1px solid var(--rule-strong); box-shadow: var(--shadow-lg);
  font-size: 14px; max-width: 380px; animation: rise .25s ease;
}
.toast-bad { border-color: var(--bad); color: var(--bad); background: var(--bad-soft); }
.toast-ok { border-color: var(--ok); color: var(--ok); background: var(--ok-soft); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- landing */

.hero { padding: 76px 0 56px; text-align: center; }
.hero h1 { font-size: clamp(38px, 6vw, 60px); font-weight: 700; line-height: 1.08; margin-bottom: 20px; }
.hero .accent { color: var(--accent); }
.hero p { font-size: 18.5px; color: var(--ink-mute); max-width: 54ch; margin: 0 auto 30px; }
.hero-actions { display: flex; gap: 11px; justify-content: center; flex-wrap: wrap; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 64px; }
@media (max-width: 800px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 24px; }
.feature-icon { color: var(--accent); margin-bottom: 14px; display: block; }
.feature h3 { font-size: 16.5px; font-weight: 620; margin-bottom: 7px; }
.feature p { font-size: 14.5px; color: var(--ink-mute); line-height: 1.65; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------- speaker timeline */

.speakers{display:grid;gap:14px;}
.speaker{display:grid;grid-template-columns:1fr auto;gap:10px 14px;align-items:center;}
.speaker-id{display:flex;align-items:center;gap:9px;min-width:0;}
.speaker-chip{
  width:26px;height:26px;border-radius:50%;flex:none;
  display:grid;place-items:center;font-size:11.5px;font-weight:650;color:#fff;
}
.speaker-name{
  font-size:14.5px;font-weight:550;color:var(--ink);
  border:none;background:transparent;font-family:inherit;padding:3px 6px;
  margin-left:-6px;border-radius:6px;min-width:0;max-width:22ch;
}
.speaker-name:hover{background:var(--sunk);}
.speaker-share{
  font-size:13.5px;color:var(--ink-mute);font-variant-numeric:tabular-nums;
  font-family:ui-monospace,"SF Mono",Menlo,monospace;
}
.speaker-track{
  grid-column:1 / -1;height:7px;border-radius:100px;background:var(--sunk);
  position:relative;overflow:hidden;
}
.speaker-bar{position:absolute;top:0;height:100%;border-radius:100px;}

/* colour per speaker, assigned by index */
.sp-0{background:#6B4BE8;} .sp-1{background:#C62F5A;}
.sp-2{background:#1B8A6B;} .sp-3{background:#C77800;}
.sp-4{background:#2B6CB0;} .sp-5{background:#8B3AAE;}

/* speaker-tagged transcript lines */
.seg-line.has-speaker{grid-template-columns:52px 26px 1fr;}
.seg-body { display: flex; flex-direction: column; gap: 3px; }
.seg-trans { font-size: 14px; line-height: 1.55; color: var(--ink-mute); }
.seg-trans.is-loading { opacity: .5; }
.seg-line.has-audio { cursor: pointer; border-radius: 10px; margin: 0 -8px; padding: 2px 8px; transition: background .15s; }
.seg-line.has-audio:hover { background: var(--accent-soft); }
.seg-line.is-playing { background: var(--accent-soft); }
.seg-line.is-playing .seg-time { color: var(--accent); font-weight: 700; }
.transcript-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.translate-pick { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-mute); }
.translate-pick select { font: inherit; font-size: 13px; color: var(--ink); background: transparent; border: 1px solid var(--rule); border-radius: 999px; padding: 4px 10px; }
.player[hidden] { display: none; }
.player { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 8px 12px; border-radius: 999px; background: var(--accent-soft); }
.player-btn { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.player-time { font-size: 12.5px; font-variant-numeric: tabular-nums; color: var(--ink-mute); min-width: 36px; text-align: center; }
.player-seek { flex: 1; accent-color: var(--accent); min-width: 60px; }
.seg-speaker{
  width:22px;height:22px;border-radius:50%;display:grid;place-items:center;
  font-size:10.5px;font-weight:650;color:#fff;margin-top:2px;
}

.notice{
  display:flex;gap:11px;align-items:flex-start;
  padding:14px 17px;border-radius:var(--radius-sm);
  background:var(--sunk);border:1px solid var(--rule);
  font-size:14px;line-height:1.6;color:var(--ink-soft);
}
.notice strong{color:var(--ink);}
.notice-icon{color:var(--ink-mute);flex:none;margin-top:2px;}

/* ============================================================== landing */

.lp { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.lp-section { padding: 92px 0; }
.lp-section + .lp-section { border-top: 1px solid var(--rule); }

.lp-eyebrow {
  font-size: 12px; font-weight: 620; letter-spacing: .13em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.lp-h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 700; line-height: 1.2; margin-bottom: 14px; }
.lp-lede { font-size: 17.5px; color: var(--ink-mute); max-width: 56ch; line-height: 1.7; }
.lp-center { text-align: center; }
.lp-center .lp-lede { margin-inline: auto; }

/* hero */
.lp-hero { padding: 84px 0 76px; display: grid; gap: 56px; align-items: center; }
.lp-hero h1 {
  font-size: clamp(38px, 5.4vw, 62px); font-weight: 750; line-height: 1.08;
  letter-spacing: -.03em; margin-bottom: 22px;
}
.lp-hero .accent { color: var(--accent); }
.lp-hero-sub { font-size: 19.5px; line-height: 1.65; color: var(--ink-soft); max-width: 46ch; margin-bottom: 30px; }
.lp-cta { display: flex; gap: 11px; flex-wrap: wrap; align-items: center; }
.lp-cta-note { font-size: 13.5px; color: var(--ink-mute); margin-top: 16px; }
@media (min-width: 940px) { .lp-hero { grid-template-columns: 1fr 1fr; } }

/* the product mock that carries the pitch */
.mock {
  background: var(--surface); border: 1px solid var(--rule); border-radius: 14px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar {
  display: flex; align-items: center; gap: 7px; padding: 11px 15px;
  border-bottom: 1px solid var(--rule); background: var(--sunk);
}
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--rule-strong); }
.mock-title { font-size: 12.5px; color: var(--ink-mute); margin-left: 7px; }
.mock-body { padding: 18px; display: grid; gap: 13px; }
.mock-msg { display: grid; gap: 5px; }
.mock-role {
  font-size: 10.5px; font-weight: 620; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-mute);
}
.mock-bubble {
  font-size: 14.5px; line-height: 1.65; padding: 11px 14px; border-radius: 10px;
  background: var(--sunk); color: var(--ink-soft);
}
.mock-user .mock-bubble { background: var(--accent-soft); color: var(--ink); }
.mock-user .mock-role { color: var(--accent); }
.mock-refuse .mock-bubble {
  background: var(--bad-soft); color: var(--bad); font-weight: 500;
  border: 1px solid color-mix(in srgb, var(--bad) 25%, transparent);
}
.mock-cite {
  font-size: 13px; color: var(--ink-mute); padding-left: 11px;
  border-left: 2px solid var(--accent); margin-top: 7px; line-height: 1.55;
}

/* feature grid */
.lp-grid { display: grid; gap: 16px; margin-top: 44px; }
.lp-grid-3 { grid-template-columns: repeat(3, 1fr); }
.lp-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .lp-grid-3 { grid-template-columns: 1fr; } .lp-grid-2 { grid-template-columns: 1fr; } }

.lp-card {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 26px 26px 28px; box-shadow: var(--shadow);
}
.lp-card-icon { color: var(--accent); margin-bottom: 15px; display: block; }
.lp-card h3 { font-size: 17.5px; font-weight: 640; margin-bottom: 8px; }
.lp-card p { font-size: 14.5px; line-height: 1.68; color: var(--ink-mute); }

/* capture modes strip */
.lp-modes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius);
  overflow: hidden; margin-top: 40px; }
.lp-mode { background: var(--surface); padding: 22px 18px 24px; }
.lp-mode-tag {
  font-size: 10.5px; font-weight: 620; letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent); display: block; margin-bottom: 10px;
}
.lp-mode h4 { font-size: 15.5px; font-weight: 620; margin-bottom: 6px; }
.lp-mode p { font-size: 13px; line-height: 1.6; color: var(--ink-mute); }
@media (max-width: 1000px) { .lp-modes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .lp-modes { grid-template-columns: 1fr; } }

/* steps */
.lp-steps { display: grid; gap: 18px; margin-top: 44px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .lp-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .lp-steps { grid-template-columns: 1fr; } }
.lp-step { padding-top: 18px; border-top: 2px solid var(--accent); }
.lp-step-n {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12px; font-weight: 600; color: var(--accent); display: block; margin-bottom: 9px;
}
.lp-step h4 { font-size: 16.5px; font-weight: 640; margin-bottom: 7px; }
.lp-step p { font-size: 14px; line-height: 1.65; color: var(--ink-mute); }

/* speaker demo */
.lp-speakers { display: grid; gap: 13px; }
.lp-sp { display: grid; grid-template-columns: 1fr auto; gap: 8px 14px; align-items: center; }
.lp-sp-id { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 550; }
.lp-sp-track { grid-column: 1 / -1; height: 7px; border-radius: 100px; background: var(--sunk); overflow: hidden; }
.lp-sp-bar { height: 100%; border-radius: 100px; }
.lp-sp-share { font-size: 13.5px; color: var(--ink-mute); font-variant-numeric: tabular-nums;
  font-family: ui-monospace, Menlo, monospace; }

/* pricing */
.lp-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
@media (max-width: 900px) { .lp-prices { grid-template-columns: 1fr; } }
.lp-price {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 28px 26px 30px; box-shadow: var(--shadow); display: grid; align-content: start; gap: 6px;
}
.lp-price.is-featured { border-color: var(--accent); border-width: 1.5px; position: relative; }
.lp-price-flag {
  position: absolute; top: -11px; left: 26px; background: var(--accent); color: var(--accent-ink);
  font-size: 11px; font-weight: 620; letter-spacing: .07em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 100px;
}
.lp-price h3 { font-size: 17px; font-weight: 640; }
.lp-price-amount { font-size: 34px; font-weight: 720; letter-spacing: -.03em; margin: 8px 0 2px; }
.lp-price-amount small { font-size: 15px; font-weight: 500; color: var(--ink-mute); letter-spacing: 0; }
.lp-price-hours { font-size: 14px; color: var(--ink-mute); margin-bottom: 18px; }
.lp-price ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; }
.lp-price li { font-size: 14px; color: var(--ink-soft); padding-left: 23px; position: relative; line-height: 1.55; }
.lp-price li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 13px; height: 8px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* closing band */
.lp-close { text-align: center; padding: 96px 0 104px; }
.lp-close h2 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 730; line-height: 1.16; margin-bottom: 18px; }
.lp-close p { font-size: 18px; color: var(--ink-mute); max-width: 46ch; margin: 0 auto 30px; }

.lp-foot {
  border-top: 1px solid var(--rule); padding: 30px 0 46px;
  font-size: 13.5px; color: var(--ink-mute);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* -------------------------------------------------------------- sign in */

.auth-wrap { min-height: calc(100vh - 58px); display: grid; place-items: center; padding: 40px 24px 80px; }
.auth-card {
  width: 100%; max-width: 420px; background: var(--surface);
  border: 1px solid var(--rule); border-radius: 14px; padding: 38px 34px 34px;
  box-shadow: var(--shadow-lg);
}
.auth-mark { display: flex; align-items: center; gap: 9px; margin-bottom: 22px; }
.auth-card h1 { font-size: 24px; font-weight: 680; margin-bottom: 8px; }
.auth-card > p { font-size: 15px; color: var(--ink-mute); line-height: 1.65; margin-bottom: 26px; }

.btn-google {
  width: 100%; background: var(--surface); color: var(--ink);
  border: 1px solid var(--rule-strong); padding: 12px 18px; font-size: 15px; font-weight: 550;
}
.btn-google:hover { background: var(--sunk); }
.g-logo { width: 18px; height: 18px; flex: none; }

.auth-note { font-size: 12.5px; color: var(--ink-mute); line-height: 1.6; margin-top: 20px; text-align: center; }
.auth-error {
  padding: 12px 15px; border-radius: 9px; margin-bottom: 20px; font-size: 14px;
  background: var(--bad-soft); color: var(--bad);
  border: 1px solid color-mix(in srgb, var(--bad) 28%, transparent);
}

.setup { display: grid; gap: 14px; }
.setup ol { margin: 0; padding-left: 20px; display: grid; gap: 9px; }
.setup li { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.setup code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12.5px;
  background: var(--sunk); border: 1px solid var(--rule); border-radius: 4px;
  padding: 1px 5px; word-break: break-all;
}
.setup-divider {
  display: flex; align-items: center; gap: 12px; margin: 6px 0;
  font-size: 12px; color: var(--ink-mute);
}
.setup-divider::before, .setup-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--rule);
}

/* who is signed in, in the nav */
.nav-user { display: flex; align-items: center; gap: 9px; margin-left: 8px; }
.nav-avatar {
  width: 27px; height: 27px; border-radius: 50%; background: var(--accent-soft);
  color: var(--accent); display: grid; place-items: center;
  font-size: 12px; font-weight: 650; overflow: hidden; flex: none;
}
.nav-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* smaller keyword chips on the review list */
.kw-mini { padding: 4px 10px; font-size: 12.5px; }
.kw-mini:hover { text-decoration: none; }

/* ---------------------------------------------------------- usage / plans */

.usage-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 5px 11px 5px 9px; border-radius: 100px;
  background: var(--sunk); color: var(--ink-soft);
  font-size: 12.5px; font-weight: 550; white-space: nowrap;
}
.usage-pill:hover { text-decoration: none; color: var(--ink); }
.usage-pill.is-low { background: var(--warn-soft); color: var(--warn); }
.usage-track { width: 52px; height: 5px; border-radius: 100px; background: var(--rule-strong); overflow: hidden; }
.usage-fill { display: block; height: 100%; background: var(--accent); border-radius: 100px; }
.usage-pill.is-low .usage-fill { background: var(--warn); }
@media (max-width: 720px) { .usage-pill span:last-child { display: none; } }

.usage-big { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.usage-big-num { font-size: 30px; font-weight: 680; letter-spacing: -.02em; line-height: 1.1; }
.usage-big-num small { font-size: 15px; font-weight: 500; color: var(--ink-mute); letter-spacing: 0; }
.progress-bar.is-low { background: var(--warn); }

.notice-block { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 30%, transparent); color: var(--ink); }
.notice-block a { color: var(--warn); font-weight: 600; }

/* ---------------------------------------------------------------- folders */

.folder-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.folder-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 100px; font-size: 13.5px; font-weight: 550;
  background: var(--surface); border: 1px solid var(--rule-strong); color: var(--ink-soft);
}
.folder-chip:hover { background: var(--sunk); text-decoration: none; color: var(--ink); }
.folder-chip.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.folder-chip .count { font-size: 11.5px; opacity: .7; font-variant-numeric: tabular-nums; }
.folder-chip-new { border-style: dashed; color: var(--ink-mute); cursor: pointer; font: inherit; }

.folder-pick {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink-mute); font-size: 12.5px;
}
.folder-pick select {
  font: inherit; font-size: 12.5px; color: var(--ink-soft);
  background: var(--sunk); border: 1px solid var(--rule); border-radius: 7px;
  padding: 3px 8px; max-width: 18ch;
}
.folder-pick select:focus { outline: 2px solid var(--accent); outline-offset: -1px; }

/* every price card anchors its own flag, not just the featured one */
.lp-price { position: relative; }

/* ============================================================ storybook */

/* Soft watercolor blotches painted behind content. Pure CSS so they follow
   the theme tokens; the generated wash PNG is layered on the landing hero. */
.wash {
  position: relative; isolation: isolate;
}
.wash::before {
  content: ""; position: absolute; inset: -6% -4%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 55% at 22% 40%, var(--wash) 0%, transparent 70%),
    radial-gradient(38% 48% at 70% 55%, var(--wash) 0%, transparent 72%),
    radial-gradient(28% 40% at 48% 80%, var(--wash-deep) 0%, transparent 70%);
  opacity: .75; filter: blur(2px);
}
.wash-soft::before { opacity: .45; }

/* Illustrations sit on the paper directly — no boxes around them. */
.story-img { display: block; max-width: 100%; height: auto; }
.spot { width: 88px; height: 88px; object-fit: contain; display: block; }
.spot-sm { width: 56px; height: 56px; }
.hero-art { width: 100%; max-width: 420px; margin-inline: auto; }

/* Feature rows on the landing: illustration left, words right. */
.feat-row { display: grid; grid-template-columns: 88px 1fr; gap: 18px; align-items: start; }
.feat-row h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.feat-row p { font-size: 14.5px; color: var(--ink-mute); line-height: 1.7; }

/* Category circles, as in the reference. */
.circles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
@media (max-width: 800px) { .circles { grid-template-columns: repeat(2, 1fr); } }
.circle {
  width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--sunk); display: grid; place-items: center; overflow: hidden;
  border: 6px solid var(--surface); box-shadow: var(--shadow);
}
.circle img { width: 82%; height: 82%; object-fit: contain; }
.circle-label { font-size: 12px; color: var(--ink-mute); margin-bottom: 4px; }
.circle-title { font-family: "Gowun Batang", Georgia, serif; font-size: 16.5px; font-weight: 700; }

/* Quote band in a watercolor blotch. */
.quote-band {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
  padding: 40px 12px;
}
@media (max-width: 800px) { .quote-band { grid-template-columns: 1fr; text-align: center; } }
.quote-band blockquote {
  margin: 0; font-family: "Gowun Batang", Georgia, serif; font-size: clamp(20px, 2.6vw, 27px);
  line-height: 1.5; color: var(--ink);
}

/* Empty states get a small drawing rather than a grey box. */
.empty-art { width: 180px; margin: 0 auto 12px; display: block; opacity: .95; }

/* Login mascot */
.auth-art { width: 120px; margin: -10px auto 14px; display: block; }

/* Hand-drawn feel for the page-head rule. */
.page-head h1 { font-size: 34px; font-weight: 700; }
.page-head::after {
  content: ""; display: block; width: 72px; height: 6px; margin-top: 14px;
  border-radius: 100px; background: var(--wash-deep);
}

/* --------------------------------------------------- landing, storybook */

.lp-eyebrow {
  font-family: "Gowun Batang", Georgia, serif; font-size: 14px; font-weight: 700;
  letter-spacing: .02em; text-transform: none; color: var(--accent); margin-bottom: 14px;
}
.lp-h2 { font-weight: 700; }
.lp-hero .accent { color: var(--accent); }

/* Hero: words on the left, the child on a soft watercolor blotch on the right. */
.lp-hero-story { padding: 56px 0 40px; }
.wash-img { position: relative; isolation: isolate; }
.wash-img::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: -8%; top: -6%; width: 62%; height: 112%;
  background: url("/static/images/story/wash.png") center / contain no-repeat;
  opacity: .9; mix-blend-mode: multiply;
}
@media (max-width: 939px) {
  .wash-img::before { right: -20%; left: -20%; width: auto; top: 30%; height: 70%; }
}
[data-theme="dark"] .wash-img::before,
:root:not([data-theme="light"]) .wash-img::before { mix-blend-mode: screen; opacity: .18; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .wash-img::before { mix-blend-mode: multiply; opacity: .9; } }

/* A row of little drawings, like the toy shelf in the reference. */
.spot-strip {
  display: flex; justify-content: center; align-items: center; gap: clamp(10px, 3vw, 44px);
  padding: 8px 0 20px; border-bottom: 1px solid var(--rule);
}
.spot-strip img { width: clamp(64px, 9vw, 112px); height: auto; object-fit: contain; }

/* Storybook mock: softer corners, cream chrome. */
.mock-story { border-radius: var(--radius); max-width: 640px; margin-inline: auto; }
.mock-story .mock-bar { background: var(--sunk); }
.mock-story .mock-bubble { border-radius: 14px; }
.mock-story .mock-dot { background: var(--wash-deep); }

/* Category circles are links. */
.circle-item { color: inherit; display: block; }
.circle-item:hover { text-decoration: none; }
.circle-item:hover .circle { transform: translateY(-3px); border-color: var(--accent-soft); }
.circle { transition: transform .16s ease, border-color .16s ease; background: var(--surface); }
.circle-desc { font-size: 13px; color: var(--ink-mute); margin-top: 3px; }

/* Steps: Korean counters in serif instead of 01/02. */
.lp-step { border-top: 2px solid var(--wash-deep); }
.lp-step-n { font-family: "Gowun Batang", Georgia, serif; font-size: 13px; color: var(--accent); }

/* Pricing cards a touch rounder, featured one tinted with the wash. */
.lp-price { position: relative; border-radius: var(--radius); }
.lp-price.is-featured { background: color-mix(in srgb, var(--accent-soft) 55%, var(--surface)); }
.lp-price-flag { border-radius: 100px; }

/* Closing band sits on a blotch, centred. */
.lp-close.wash::before { inset: 0 10%; opacity: .6; }
.lp-close h2 { font-weight: 700; }

.lp-foot { align-items: center; }

/* Chat panels get their little owl. */
.chat-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }

/* Speaker chips keep their hues but soften to match the palette. */
.sp-0{background:#7FA36F;} .sp-1{background:#D28C78;}
.sp-2{background:#8DA7B9;} .sp-3{background:#C9A86A;}
.sp-4{background:#A08BB5;} .sp-5{background:#B9836C;}

/* Illustration <img>s carry width/height attributes for layout stability;
   let CSS own the rendered size so a fixed attribute height never wins. */
.auth-art, .empty-art, .hero-art, .spot, .spot-sm, .mode-art, .story-img { height: auto; }
.spot, .spot-sm, .mode-art { aspect-ratio: 1 / 1; }
.auth-art { width: 132px; }

/* Decorative watercolor pseudo-elements bleed past the viewport on purpose;
   clip the horizontal overflow so they never create a sideways scrollbar. */
html, body { overflow-x: clip; }

/* Nav labels stay on one line; on narrow screens tighten instead of wrapping. */
.nav-link { white-space: nowrap; }
@media (max-width: 640px) {
  .nav { padding: 0 14px; height: 58px; gap: 10px; }
  .brand { font-size: 16px; }
  .nav-links { gap: 0; }
  .nav-link { padding: 6px 8px; font-size: 13.5px; }
  .usage-pill { padding: 4px 8px; }
  .usage-track { width: 36px; }
}

/* Narrow screens: the avatar is the account link, text links step aside. */
.nav-avatar { text-decoration: none; }
.nav-avatar:hover { text-decoration: none; filter: brightness(.96); }
@media (max-width: 640px) {
  .nav-user .nav-link { display: none; }
  .nav-user { margin-left: 2px; }
}

/* Language switch and transparent-illustration tweaks */
.lang-switch {
  margin-left: 6px; padding: 5px 10px; border-radius: 100px; font-size: 12.5px; font-weight: 600;
  color: var(--ink-soft); border: 1px solid var(--rule-strong); background: var(--surface);
}
.lang-switch:hover { background: var(--sunk); color: var(--ink); text-decoration: none; }
/* The wash is a real transparent PNG now — no blend trick needed. */
.wash-img::before { background-image: url("/static/images/story/wash.png"); mix-blend-mode: normal; opacity: .9; }
:root:not([data-theme="light"]) .wash-img::before { mix-blend-mode: normal; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .wash-img::before { opacity: .35; } }

/* Language switch: full word on desktop, two-letter code on phones. The usage
   pill steps aside on phones too — it lives on the account page anyway. */
.lang-short { display: none; }
@media (max-width: 640px) {
  .lang-long { display: none; }
  .lang-short { display: inline; }
  .lang-switch { padding: 4px 8px; margin-left: 2px; }
  .usage-pill { display: none; }
  .nav-links { gap: 2px; }
}

/* ---- pricing & billing */
.topups { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 22px; padding: 18px 22px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--surface); }
.topup-list { display: flex; gap: 10px; flex-wrap: wrap; }
.topup { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 999px; background: var(--sunk); font-size: 14px; }
.topup-price { color: var(--ink-mute); }
.lp-compare { max-width: 760px; margin: 56px auto 0; }
.lp-compare h3 { font-size: 20px; margin-bottom: 16px; text-align: center; }
.lp-compare ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.lp-compare li { font-size: 15px; line-height: 1.65; color: var(--ink-soft); padding-left: 22px; position: relative; }
.lp-compare li::before { content: ""; position: absolute; left: 0; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.modal { position: fixed; inset: 0; background: rgba(63,58,48,.38); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 50; }
.modal[hidden] { display: none; }
.modal-card { width: 100%; max-width: 420px; background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-lg); }
.quote { display: grid; gap: 6px; font-size: 14.5px; }
.quote-row { display: flex; justify-content: space-between; }
.quote-row.is-discount { color: var(--ok); }
.quote-row.is-total { border-top: 1px solid var(--rule); padding-top: 8px; margin-top: 4px; font-weight: 700; font-size: 16px; }
.orders { width: 100%; border-collapse: collapse; font-size: 14px; }
.orders th, .orders td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.orders th { font-weight: 600; color: var(--ink-mute); font-size: 12.5px; }
/* ---- slides panel */
.grid-session.has-slides { grid-template-columns: minmax(300px, 1fr) minmax(300px, 1fr) 340px; }
@media (max-width: 1200px) { .grid-session.has-slides { grid-template-columns: 1fr 1fr; } .grid-session.has-slides > aside:last-child { grid-column: 1 / -1; } }
@media (max-width: 940px) { .grid-session.has-slides { grid-template-columns: 1fr; } }
.slides-panel { display: flex; flex-direction: column; min-height: 70vh; position: sticky; top: 76px; overflow: hidden; }
.slides-panel[hidden] { display: none; }
.slides-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
#slides-frame { flex: 1; width: 100%; border: 0; min-height: 60vh; background: #fff; }

.is-locked { opacity: .7; text-decoration: none; }
.notes-textarea { width: 100%; min-height: 240px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13.5px; line-height: 1.6; resize: vertical; }
.compare { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 44px; }
.compare th, .compare td { padding: 11px 12px; border-bottom: 1px solid var(--rule); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--ink-soft); }
.compare th { font-weight: 640; font-size: 14px; }
.compare th.is-featured { color: var(--accent); }
.compare .yes { color: var(--accent); font-weight: 700; }
.compare .no { color: var(--ink-mute); }
.kw-panel-review { margin-top: 10px; }
.kw-panel-review[hidden] { display: none; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.admin-table td, .admin-table th { font-size: 13px; }
.admin-table .input { padding: 4px 8px; font-size: 12.5px; }
.currency-switch { display: flex; justify-content: center; gap: 0; margin-top: 28px; }
.currency-switch .seg-btn { text-decoration: none; }
