/* ============ tokens ============ */
:root {
  --bg: #FAF7F0;
  --bg-2: #F5EFE3;
  --ink: #1A1A1A;
  --ink-2: #2C2C2C;
  --muted: #6B6B6B;
  --muted-2: #9A948A;
  --line: #E8E0CE;
  --line-2: #D8CFB9;
  --coral: #E07856;
  --coral-ink: #C25A3A;
  --coral-soft: #FBEAE2;
  --teal: #2C7A7B;
  --teal-ink: #1E5A5B;
  --teal-soft: #E2EEEE;
  --danger: #C84B3B;
  --surface: #FFFFFF;
  --surface-2: #FFFBF3;

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 28px;

  --sh-1: 0 2px 10px rgba(26,26,26,0.04);
  --sh-2: 0 4px 24px rgba(26,26,26,0.06);
  --sh-3: 0 10px 40px rgba(26,26,26,0.08);
  --sh-coral: 0 10px 30px rgba(224,120,86,0.25);

  --font-display: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --max: 1240px;
  --gutter: 32px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.08;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral-ink);
}
.section { padding: 120px 0; position: relative; }
.section-tight { padding: 88px 0; }
@media (max-width: 820px) {
  .section { padding: 72px 0; }
  .section-tight { padding: 56px 0; }
  :root { --gutter: 20px; }
}

/* ============ buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; min-width: 44px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--coral); color: #fff; box-shadow: var(--sh-coral); }
.btn-primary:hover { transform: translateY(-1px); background: var(--coral-ink); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-1px); background: #000; }
.btn-tg { background: #27A7E7; color: #fff; }
.btn-tg:hover { background: #1F96D2; transform: translateY(-1px); }
.btn-lg { height: 60px; padding: 0 30px; font-size: 16px; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 13.5px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--ink);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color .18s ease, border-color .18s ease;
}
.link-arrow:hover { color: var(--coral-ink); border-color: var(--coral-ink); }

.chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 32px; padding: 0 12px;
  border-radius: 999px;
  font-size: 13px; font-weight: 500;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink-2);
}
.chip .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 0 rgba(224,120,86,0.45);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(224,120,86,0.45); }
  70% { box-shadow: 0 0 0 8px rgba(224,120,86,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,120,86,0); }
}

/* ============ nav ============ */
.nav-wrap {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav-wrap.scrolled { border-color: var(--line); background: color-mix(in srgb, var(--bg) 94%, transparent); }
.nav {
  max-width: var(--max); margin: 0 auto;
  height: 72px; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -0.02em;
}
.nav-logo-mark {
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--ink); color: var(--bg);
  display: grid; place-items: center;
  font-weight: 800; font-size: 15px; font-family: var(--font-display);
  position: relative;
}
.nav-logo-mark::after {
  content: ""; position: absolute; right: -2px; top: -2px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--coral);
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: color .18s ease;
}
.nav-links a:hover { color: var(--coral-ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-mobile { display: none; }
.hamburger {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; border: 1px solid var(--line);
  background: var(--surface);
}

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .nav-mobile { display: flex; align-items: center; gap: 10px; }
}

.nav-drawer {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg);
  transform: translateY(-100%);
  transition: transform .32s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column;
}
.nav-drawer.open { transform: translateY(0); }
.nav-drawer-head {
  height: 72px; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.nav-drawer-body { padding: 24px var(--gutter); display: flex; flex-direction: column; gap: 4px; }
.nav-drawer-body a {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 600; padding: 14px 0;
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.01em;
}
.nav-drawer-foot { margin-top: auto; padding: 24px var(--gutter) 40px; display: flex; flex-direction: column; gap: 12px; }

/* ============ hero ============ */
.hero {
  padding: 56px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(224,120,86,0.10), transparent 60%),
    radial-gradient(900px 500px at -5% 30%, rgba(44,122,123,0.08), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 72px; align-items: center; position: relative;
}
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
.hero h1 {
  font-size: clamp(40px, 5.6vw, 72px);
  letter-spacing: -0.035em;
  font-weight: 700;
  line-height: 1.02;
  margin: 24px 0 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--coral-ink);
  position: relative;
}
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.08em;
  height: 0.22em; background: rgba(224,120,86,0.18); z-index: -1;
  border-radius: 2px;
}
.hero-lede {
  font-size: 19px; color: var(--muted); max-width: 560px;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 48px; }
.hero-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 8px;
  max-width: 620px;
  box-shadow: var(--sh-1);
}
.metric { padding: 20px 18px; border-radius: 14px; position: relative; }
.metric + .metric { border-left: 1px dashed var(--line); }
.metric .val {
  font-family: var(--font-display);
  font-size: 38px; font-weight: 700; letter-spacing: -0.03em;
  color: var(--ink); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.metric .val .unit { color: var(--coral-ink); }
.metric .lbl { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.3; }
.metric .tag {
  position: absolute; top: 10px; right: 10px;
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 3px 6px; border-radius: 4px;
  background: var(--bg-2);
}
@media (max-width: 560px) {
  .hero-metrics { grid-template-columns: 1fr; }
  .metric + .metric { border-left: none; border-top: 1px dashed var(--line); }
}

.hero-stage {
  position: relative; display: flex; justify-content: center; align-items: center;
  min-height: 640px;
}
.hero-stage-deco {
  position: absolute; inset: -10% -5% -5% -5%;
  background:
    radial-gradient(500px 500px at 50% 55%, rgba(255,255,255,0.9), transparent 60%);
  z-index: 0;
}
.hero-stage .phone-frame { position: relative; z-index: 2; }

.hero-video-card {
  position: absolute; left: -40px; bottom: 20px;
  width: 320px; background: var(--ink); color: #fff;
  border-radius: 18px; overflow: hidden;
  box-shadow: var(--sh-3);
  z-index: 3;
  transform: rotate(-3deg);
}
.hero-video-card .ratio {
  position: relative; aspect-ratio: 16/10;
  background:
    radial-gradient(circle at 30% 30%, rgba(224,120,86,0.35), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(44,122,123,0.35), transparent 50%),
    linear-gradient(135deg, #1f1f1f, #0f0f0f);
}
.hero-video-card .play {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.hero-video-card .play-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.95); color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: transform .18s ease;
}
.hero-video-card:hover .play-btn { transform: scale(1.08); }
.hero-video-card .meta {
  padding: 12px 14px; display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,0.7);
}
.hero-video-card .meta strong { color: #fff; font-weight: 600; font-size: 13px; }
.hero-video-card .dur { font-family: var(--font-mono); }

@media (max-width: 1100px) {
  .hero-stage { min-height: auto; }
  .hero-video-card { position: relative; left: 0; bottom: 0; margin-top: 24px; transform: none; width: 100%; max-width: 440px; }
}

/* ============ phone mockup ============ */
.phone-frame {
  width: 320px;
  height: 650px;
  border-radius: 46px;
  background: #0A0A0C;
  padding: 10px;
  box-shadow:
    0 0 0 1.5px #2a2a30,
    0 30px 60px rgba(26,26,26,0.18),
    0 8px 24px rgba(26,26,26,0.10);
  position: relative;
}
.phone-frame::before {
  content: ""; position: absolute; left: 50%; top: 18px; transform: translateX(-50%);
  width: 105px; height: 28px; background: #0A0A0C; border-radius: 999px; z-index: 5;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 38px; overflow: hidden;
  background: #0E1621;
  position: relative;
  display: flex; flex-direction: column;
}
/* tg */
.tg-status {
  height: 44px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 22px;
  color: #fff; font-size: 14px; font-weight: 600;
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
}
.tg-status .icons { display: flex; gap: 5px; align-items: center; opacity: 0.95; }
.tg-header {
  background: #17212B;
  padding: 10px 14px 12px;
  padding-top: 24px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.tg-header .avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #E07856, #C25A3A);
  display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 15px;
  font-family: var(--font-display);
}
.tg-header .name {
  color: #fff; font-size: 14px; font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.tg-header .status-line { color: #5EBA7D; font-size: 11.5px; margin-top: 1px; }
.tg-header .right { margin-left: auto; display: flex; gap: 14px; opacity: 0.7; }
.tg-verified {
  width: 14px; height: 14px; border-radius: 50%;
  background: #3B9EDA; color: #fff;
  display: grid; place-items: center; font-size: 9px;
}

.tg-body {
  flex: 1; overflow: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(224,120,86,0.08), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(44,122,123,0.08), transparent 40%),
    #0E1621;
  padding: 12px 10px 8px;
  display: flex; flex-direction: column; gap: 8px;
}
.tg-date {
  align-self: center;
  background: rgba(0,0,0,0.25);
  color: rgba(255,255,255,0.7);
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px;
}
.tg-msg {
  max-width: 82%;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.4;
  color: #fff;
  position: relative;
  animation: msgIn .5s cubic-bezier(.2,.8,.2,1) backwards;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.tg-msg.in {
  align-self: flex-start;
  background: #182533;
  border-bottom-left-radius: 6px;
}
.tg-msg.out {
  align-self: flex-end;
  background: #2B5278;
  border-bottom-right-radius: 6px;
}
.tg-msg .time {
  font-size: 10px; color: rgba(255,255,255,0.55);
  margin-left: 6px;
  font-variant-numeric: tabular-nums;
}
.tg-msg .time.out { color: rgba(180,230,255,0.75); }
.tg-quick {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 2px;
}
.tg-quick button {
  background: rgba(59,158,218,0.14); color: #6AB8E8;
  font-size: 11.5px; font-weight: 500;
  padding: 6px 10px; border-radius: 10px;
  border: 1px solid rgba(59,158,218,0.2);
}
.tg-input-bar {
  background: #17212B;
  padding: 8px 10px; padding-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.tg-input-bar .inp {
  flex: 1; height: 32px; background: #242F3D;
  border-radius: 16px; padding: 0 14px;
  color: rgba(255,255,255,0.5); font-size: 13px;
  display: flex; align-items: center;
}
.tg-icon-btn { color: rgba(255,255,255,0.5); }

.phone-typing {
  display: inline-flex; gap: 3px; align-items: center;
}
.phone-typing span {
  width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.55);
  animation: dot 1.3s infinite;
}
.phone-typing span:nth-child(2) { animation-delay: .18s; }
.phone-typing span:nth-child(3) { animation-delay: .36s; }
@keyframes dot { 0%,60%,100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }

/* ============ problem ============ */
.problem-head {
  display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
  gap: 48px; align-items: end;
  margin-bottom: 56px;
}
@media (max-width: 900px) { .problem-head { grid-template-columns: 1fr; gap: 20px; } }
.problem-head h2 {
  font-size: clamp(36px, 4.8vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.problem-head h2 .hl {
  background: linear-gradient(180deg, transparent 62%, rgba(224,120,86,0.22) 62%);
  padding: 0 4px;
}
.problem-head p { color: var(--muted); font-size: 17px; max-width: 440px; }

.quote-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }
.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 20px;
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
}
.quote-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.quote-card .q-mark {
  font-family: var(--font-display); font-size: 56px; font-weight: 700;
  color: var(--coral); line-height: 0.5; opacity: 0.35;
  margin-bottom: -18px;
}
.quote-card p {
  font-size: 17.5px; line-height: 1.45;
  font-family: var(--font-display); font-weight: 500;
  color: var(--ink-2); letter-spacing: -0.015em;
}
.quote-card .who {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line);
}
.quote-card .ava {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #E0B6A1, #E07856);
  color: #fff; display: grid; place-items: center;
  font-weight: 600; font-size: 13px;
  font-family: var(--font-display);
}
.quote-card .who-text { line-height: 1.3; }
.quote-card .who-text .nm { font-size: 13.5px; font-weight: 600; }
.quote-card .who-text .sub { font-size: 12px; color: var(--muted); }
.quote-card .ch-name { font-size: 11px; color: var(--muted-2); letter-spacing: 0.04em; text-transform: uppercase; }

.leak-bar {
  margin-top: 40px;
  background: linear-gradient(100deg, #C84B3B, #A2372A);
  border-radius: var(--r-lg);
  padding: 26px 32px;
  display: flex; align-items: center; gap: 20px; justify-content: space-between;
  color: #fff;
  box-shadow: 0 10px 30px rgba(200,75,59,0.22);
  position: relative; overflow: hidden;
}
.leak-bar::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(255,255,255,0.06) 14px 15px);
  pointer-events: none;
}
.leak-bar .lb-l { display: flex; align-items: center; gap: 18px; position: relative; }
.leak-bar .lb-icon {
  width: 48px; height: 48px; min-width: 48px; border-radius: 14px;
  background: rgba(255,255,255,0.15); display: grid; place-items: center;
}
.leak-bar h3 {
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 4px;
}
.leak-bar p { font-size: 14px; color: rgba(255,255,255,0.8); }
.leak-bar .lb-stat {
  font-family: var(--font-display); font-size: 34px; font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .leak-bar { flex-direction: column; align-items: flex-start; padding: 22px; }
  .leak-bar .lb-stat { font-size: 26px; }
}

/* ============ directions ============ */
.dir-head {
  display: flex; align-items: end; justify-content: space-between; gap: 24px;
  margin-bottom: 40px;
}
.dir-head h2 {
  font-size: clamp(36px, 4.6vw, 56px);
  max-width: 720px;
  letter-spacing: -0.025em;
}
.dir-head .dir-note {
  font-size: 14px; color: var(--muted); max-width: 320px; text-align: right;
}
@media (max-width: 800px) {
  .dir-head { flex-direction: column; align-items: flex-start; }
  .dir-head .dir-note { text-align: left; }
}
.dir-tabs {
  display: flex; gap: 6px; flex-wrap: wrap;
  padding: 8px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 18px; margin-bottom: 36px;
}
.dir-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 12px;
  font-size: 14.5px; font-weight: 500; color: var(--muted);
  transition: color .18s ease, background .18s ease;
  min-height: 44px;
}
.dir-tab:hover { color: var(--ink); background: var(--bg-2); }
.dir-tab.active {
  background: var(--ink); color: #fff;
}
.dir-tab .live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #70CC8A;
}
.dir-tab-soon {
  font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--bg-2); color: var(--muted-2);
  padding: 2px 6px; border-radius: 4px;
  margin-left: 2px;
}
.dir-tab.active .dir-tab-soon { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.7); }

.dir-select { display: none; }
@media (max-width: 800px) {
  .dir-tabs { display: none; }
  .dir-select {
    display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px;
  }
  .dir-select-btn {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 56px; padding: 14px 18px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: 14px;
    font-size: 15px; font-weight: 500;
  }
  .dir-select-list {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: 14px; overflow: hidden;
  }
  .dir-select-list button {
    width: 100%; text-align: left;
    min-height: 52px; padding: 12px 18px;
    font-size: 15px; font-weight: 500;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid var(--line);
  }
  .dir-select-list button:last-child { border-bottom: none; }
  .dir-select-list button.active { background: var(--bg-2); }
}

.dir-panel {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px; align-items: stretch;
}
@media (max-width: 960px) { .dir-panel { grid-template-columns: 1fr; } }
.dir-copy {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 40px;
  display: flex; flex-direction: column; gap: 28px;
  position: relative; overflow: hidden;
}
.dir-copy .dir-badge {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  background: rgba(44,122,123,0.1); color: var(--teal-ink);
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.02em;
}
.dir-copy h3 {
  font-size: 34px; letter-spacing: -0.02em; line-height: 1.05;
}
.dir-copy .dir-desc { color: var(--muted); font-size: 16px; }
.dir-feat {
  display: grid; gap: 14px;
}
.dir-feat li {
  list-style: none; display: flex; gap: 12px; align-items: flex-start;
  font-size: 14.5px; color: var(--ink-2);
}
.dir-feat li svg { color: var(--teal); margin-top: 2px; flex-shrink: 0; }
.dir-side {
  background: linear-gradient(160deg, var(--coral-soft), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
  position: relative; overflow: hidden;
}
.dir-side::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 12px, rgba(224,120,86,0.05) 12px 13px);
  pointer-events: none;
}
.dir-side h4 {
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--coral-ink);
}
.dir-scen {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 10px;
}
.dir-scen .bub {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px; line-height: 1.4;
}
.dir-scen .bub.in { background: var(--surface); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.dir-scen .bub.out { background: var(--coral); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.dir-scen .label { font-size: 10px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 3px; opacity: 0.6; }

/* ============ case study (MEDIBOR) ============ */
.case {
  background: var(--ink); color: #fff;
  position: relative; overflow: hidden;
  border-radius: 40px; margin: 0 var(--gutter);
  max-width: calc(var(--max) - (var(--gutter) * 0));
}
@media (min-width: 1304px) { .case { margin: 0 auto; } }
.case-inner {
  padding: 88px 72px;
  display: grid; grid-template-columns: 60% 40%; gap: 72px; align-items: center;
  position: relative;
}
@media (max-width: 960px) {
  .case { border-radius: 28px; margin: 0 var(--gutter); }
  .case-inner { padding: 56px 32px; grid-template-columns: 1fr; gap: 48px; }
}
.case::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 80% 110%, rgba(224,120,86,0.25), transparent 60%),
    radial-gradient(600px 300px at 10% -10%, rgba(44,122,123,0.18), transparent 60%);
  pointer-events: none;
}
.case-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 28px;
}
.case-brand::before {
  content: ""; width: 28px; height: 1.5px; background: var(--coral);
}
.case-quote {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 16px;
}
.case-quote-note {
  font-size: 11px; color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 6px 10px; background: rgba(255,255,255,0.06); border-radius: 6px;
  display: inline-block;
  margin-bottom: 40px;
  border: 1px dashed rgba(255,255,255,0.15);
}
.case-attr {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 48px;
}
.case-attr .ava {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, #E07856, #B44728);
  color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700;
}
.case-attr .t { font-weight: 600; font-size: 15px; }
.case-attr .s { font-size: 13px; color: rgba(255,255,255,0.55); }
.case-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 560px) { .case-stats { grid-template-columns: 1fr 1fr; } .case-stats > :last-child { grid-column: 1 / -1; } }
.case-stat .num {
  font-family: var(--font-display);
  font-size: 52px; font-weight: 700;
  letter-spacing: -0.03em; line-height: 1;
  color: var(--coral);
  font-variant-numeric: tabular-nums;
}
.case-stat .num sup { font-size: 28px; font-weight: 600; vertical-align: top; line-height: 1; top: 0.15em; }
.case-stat .lbl { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 10px; }

.case-visual {
  position: relative; height: 540px;
}
@media (max-width: 960px) { .case-visual { height: 460px; } }
.case-visual .phone-frame {
  position: absolute; right: 30px; top: 20px;
  width: 260px; height: 540px;
  transform: rotate(4deg);
  z-index: 2;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.case-visual .phone-frame .phone-screen { border-radius: 34px; }
.case-pdf {
  position: absolute; left: 0; bottom: 0;
  width: 280px; height: 360px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transform: rotate(-6deg);
  padding: 24px 22px;
  z-index: 1;
  color: var(--ink);
  display: flex; flex-direction: column; gap: 8px;
  overflow: hidden;
}
.case-pdf::before {
  content: "MEDIBOR · ANALYTICS"; position: absolute; top: 10px; right: 10px;
  font-size: 8px; letter-spacing: 0.15em; font-family: var(--font-mono); color: var(--muted-2);
}
.case-pdf .pdf-ttl {
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  margin-bottom: 6px; letter-spacing: -0.01em;
}
.case-pdf .pdf-sub { font-size: 10px; color: var(--muted); margin-bottom: 14px; }
.case-pdf .bar-row { display: flex; align-items: flex-end; gap: 6px; height: 90px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.case-pdf .bar {
  flex: 1; background: linear-gradient(180deg, var(--coral), var(--coral-ink));
  border-radius: 3px 3px 0 0;
}
.case-pdf .bar.low { background: var(--line-2); }
.case-pdf .pdf-line { display: flex; justify-content: space-between; font-size: 10px; padding: 5px 0; border-bottom: 1px solid var(--line); }
.case-pdf .pdf-line strong { color: var(--teal-ink); }
@media (max-width: 960px) {
  .case-visual .phone-frame { right: 10px; width: 230px; height: 480px; }
  .case-pdf { left: 10px; width: 240px; height: 320px; }
}
@media (max-width: 560px) {
  .case-visual { height: 380px; }
  .case-visual .phone-frame { width: 180px; height: 370px; top: 0; right: 0; }
  .case-pdf { width: 200px; height: 250px; padding: 18px; }
}

/* ============ calculator ============ */
.calc-wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px; align-items: stretch;
}
@media (max-width: 960px) { .calc-wrap { grid-template-columns: 1fr; gap: 24px; } }
.calc-intro h2 {
  font-size: clamp(36px, 4.6vw, 56px); letter-spacing: -0.025em; line-height: 1.05;
  margin-bottom: 20px;
}
.calc-intro p { color: var(--muted); font-size: 16.5px; margin-bottom: 28px; max-width: 440px; }
.calc-intro ul { padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.calc-intro li { list-style: none; display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--ink-2); }
.calc-intro li svg { color: var(--teal); flex-shrink: 0; }

.calc-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
  display: flex; flex-direction: column; gap: 28px;
  box-shadow: var(--sh-2);
  position: relative;
}
@media (max-width: 600px) { .calc-card { padding: 24px; } }

.slider-row { display: flex; flex-direction: column; gap: 12px; }
.slider-head { display: flex; justify-content: space-between; align-items: baseline; }
.slider-head .lbl { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.slider-head .val {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.slider-head .val .unit { color: var(--muted); font-weight: 500; font-size: 14px; margin-left: 4px; }

input[type="range"].slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 999px;
  background: var(--line);
  outline: none;
}
input[type="range"].slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--coral);
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(224,120,86,0.5);
  cursor: pointer;
  transition: transform .15s ease;
}
input[type="range"].slider::-webkit-slider-thumb:hover { transform: scale(1.1); }
input[type="range"].slider::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--coral); border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(224,120,86,0.5);
  cursor: pointer;
}

.calc-results {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  padding-top: 8px;
}
@media (max-width: 500px) { .calc-results { grid-template-columns: 1fr; } }
.calc-res {
  padding: 22px; border-radius: 16px;
  background: linear-gradient(160deg, rgba(44,122,123,0.08), rgba(44,122,123,0.02));
  border: 1px solid rgba(44,122,123,0.18);
}
.calc-res .label { font-size: 13px; color: var(--teal-ink); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }
.calc-res .num {
  font-family: var(--font-display);
  font-size: 40px; font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--teal-ink);
  font-variant-numeric: tabular-nums;
  margin-top: 6px;
  line-height: 1;
  transition: transform .2s ease;
}
.calc-res .num .currency { font-size: 22px; font-weight: 600; opacity: 0.8; margin-right: 2px; vertical-align: 2px; }
.calc-res .sub { font-size: 12px; color: var(--muted); margin-top: 4px; }

.calc-payback {
  background: var(--ink); color: #fff;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  flex-wrap: wrap;
}
.calc-payback .pb-l { display: flex; align-items: center; gap: 14px; }
.calc-payback .pb-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,0.08); display: grid; place-items: center;
  color: var(--coral);
}
.calc-payback .pb-txt .t { font-weight: 600; font-size: 15px; }
.calc-payback .pb-txt .s { font-size: 12px; color: rgba(255,255,255,0.6); }
.calc-payback .pb-num {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  color: var(--coral);
  letter-spacing: -0.01em;
}

/* ============ pricing ============ */
.pricing-head {
  display: flex; align-items: end; justify-content: space-between; gap: 24px;
  margin-bottom: 48px; flex-wrap: wrap;
}
.pricing-head h2 { font-size: clamp(36px, 4.6vw, 56px); letter-spacing: -0.025em; }
.currency-toggle {
  display: flex; gap: 2px; padding: 4px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
}
.currency-toggle button {
  min-height: 36px; padding: 0 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  min-width: 44px;
  transition: color .18s, background .18s;
}
.currency-toggle button.active { background: var(--ink); color: #fff; }

.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 960px) { .pricing-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 24px;
  position: relative;
  transition: transform .22s ease, box-shadow .22s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.price-card.featured {
  border: 2px solid var(--coral);
  box-shadow: 0 20px 50px rgba(224,120,86,0.15);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
}
.price-card.featured::before {
  content: "Популярный"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--coral); color: #fff;
  font-size: 12px; font-weight: 600; letter-spacing: 0.03em;
  padding: 6px 14px; border-radius: 999px;
  box-shadow: var(--sh-coral);
}
.price-tier { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.price-name { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }
.price-val {
  font-family: var(--font-display);
  font-size: 52px; font-weight: 700;
  letter-spacing: -0.03em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price-val .cur { font-size: 28px; vertical-align: 16px; color: var(--muted); margin-right: 2px; }
.price-val .per { font-family: var(--font-body); font-size: 14px; color: var(--muted); font-weight: 500; margin-left: 6px; }
.price-desc { font-size: 14px; color: var(--muted); min-height: 42px; }
.price-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.price-features li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.price-features li svg { color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.price-features li.muted { color: var(--muted-2); }
.price-features li.muted svg { color: var(--muted-2); }
.price-card .btn { width: 100%; margin-top: auto; }

.ppu-note {
  margin-top: 24px;
  background: var(--surface); border: 1px dashed var(--line-2);
  border-radius: var(--r-md);
  padding: 20px 24px;
  display: flex; align-items: center; gap: 16px; justify-content: space-between;
  flex-wrap: wrap;
}
.ppu-note .ppu-l { display: flex; align-items: center; gap: 14px; }
.ppu-note .ppu-ic { width: 40px; height: 40px; border-radius: 10px; background: var(--teal-soft); color: var(--teal-ink); display: grid; place-items: center; }
.ppu-note .ppu-t { font-weight: 600; font-size: 14.5px; }
.ppu-note .ppu-s { font-size: 13px; color: var(--muted); }

/* ============ comparison ============ */
.cmp-head { text-align: center; margin-bottom: 48px; }
.cmp-head h2 { font-size: clamp(36px, 4.6vw, 56px); letter-spacing: -0.025em; }
.cmp-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }

.cmp-table-wrap {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-1);
}
.cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.cmp-table th, .cmp-table td {
  padding: 20px 24px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}
.cmp-table tr:last-child td { border-bottom: none; }
.cmp-table thead th {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--ink);
  background: var(--bg-2);
}
.cmp-table thead th:first-child { font-family: var(--font-body); color: var(--muted); font-weight: 500; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.cmp-table thead th.hb {
  background: var(--coral-soft);
  color: var(--coral-ink);
  position: relative;
}
.cmp-table thead th.hb::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--coral);
}
.cmp-table td.row-lbl {
  font-weight: 600; color: var(--ink);
  min-width: 180px;
}
.cmp-table td.hb-cell { background: var(--coral-soft); color: var(--coral-ink); font-weight: 600; }
.cmp-table .val-good { color: var(--teal-ink); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.cmp-table .val-bad { color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.cmp-table .val-meh { color: var(--muted); }
.cmp-table .dot-g { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.cmp-table .dot-r { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-2); }

@media (max-width: 760px) {
  .cmp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cmp-table { min-width: 640px; }
}

/* ============ faq ============ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 60px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } }
.faq-grid h2 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.025em; }
.faq-grid .faq-sub { color: var(--muted); margin-top: 16px; font-size: 16px; }
.faq-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left;
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--font-display);
  font-size: 18.5px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.015em;
  min-height: 44px;
}
.faq-q .ic {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-q .ic { background: var(--coral); color: #fff; border-color: var(--coral); transform: rotate(45deg); }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.faq-a-inner p { padding-bottom: 24px; max-width: 680px; }

/* ============ CTA block ============ */
.cta-wrap {
  border-radius: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 72px 64px;
  position: relative; overflow: hidden;
  box-shadow: var(--sh-1);
}
.cta-wrap::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 20px, rgba(224,120,86,0.055) 20px 21px),
    repeating-linear-gradient(-45deg, transparent 0 20px, rgba(44,122,123,0.04) 20px 21px);
  pointer-events: none;
}
.cta-wrap > * { position: relative; }
.cta-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.cta-head h2 {
  font-size: clamp(38px, 5vw, 60px);
  letter-spacing: -0.03em;
  line-height: 1.04;
}
.cta-head p { color: var(--muted); margin-top: 18px; font-size: 17.5px; }

.cta-cols {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 32px; align-items: stretch;
}
@media (max-width: 900px) {
  .cta-wrap { padding: 48px 28px; border-radius: 24px; }
  .cta-cols { grid-template-columns: 1fr; gap: 20px; }
}

.cta-form, .cta-tg {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
  display: flex; flex-direction: column; gap: 18px;
}
.cta-form h3, .cta-tg h3 {
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  letter-spacing: -0.015em;
}
.cta-form .form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
@media (max-width: 500px) { .cta-form .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 12.5px; font-weight: 500; color: var(--muted); letter-spacing: 0.02em; }
.field input, .field select {
  height: 52px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface);
  font-size: 15px;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 4px rgba(224,120,86,0.12);
}
.cta-form .btn { width: 100%; margin-top: 8px; }
.cta-form .consent { font-size: 12px; color: var(--muted); line-height: 1.5; }
.cta-form .consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.cta-tg { background: linear-gradient(160deg, rgba(39,167,231,0.06), var(--bg)); }
.cta-tg .tg-logo {
  width: 56px; height: 56px; border-radius: 16px;
  background: #27A7E7; color: #fff; display: grid; place-items: center;
  margin-bottom: 4px;
}
.cta-tg p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.cta-tg .cta-tg-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  font-size: 13.5px;
}
.cta-tg .cta-tg-card .ava {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #E07856, #C25A3A);
  color: #fff; display: grid; place-items: center;
  font-weight: 700; font-size: 13px; font-family: var(--font-display);
}
.cta-tg .cta-tg-card .nm { font-weight: 600; }
.cta-tg .cta-tg-card .st { font-size: 11.5px; color: var(--muted); }
.cta-tg .tg-action { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }

/* ============ footer ============ */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--line);
  margin-top: 24px;
}
.footer-main {
  display: grid; grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 960px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 500px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; }
}
.footer-brand { max-width: 320px; }
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--surface); border: 1px solid var(--line);
  padding: 6px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 500; color: var(--ink-2);
}
.footer-col h5 {
  font-family: var(--font-display); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 18px;
  color: var(--ink);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--muted); transition: color .18s ease; }
.footer-col a:hover { color: var(--coral-ink); }
.footer-bot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 32px; flex-wrap: wrap;
}
.footer-bot .cpy { font-size: 13px; color: var(--muted); }
.footer-lang {
  position: relative;
}
.footer-lang-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px; min-width: 44px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
}
.footer-lang-menu {
  position: absolute; bottom: calc(100% + 8px); right: 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--sh-2);
  padding: 6px; min-width: 140px;
  display: none;
}
.footer-lang.open .footer-lang-menu { display: block; }
.footer-lang-menu button {
  width: 100%; text-align: left;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  font-size: 14px;
  transition: background .15s ease;
}
.footer-lang-menu button:hover { background: var(--bg-2); }
.footer-lang-menu button.active { background: var(--coral-soft); color: var(--coral-ink); }

/* utility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.mono { font-family: var(--font-mono); }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
