/* ==========================================================================
   Kovik Digital Solutions — dark SaaS design system
   Deep ink surfaces, mint-teal signal, warm clay accent, hairline depth
   ========================================================================== */

:root {
  /* surfaces */
  --paper: #060a09;          /* page */
  --paper-2: #0d1614;        /* panel */
  --paper-3: #131f1c;        /* raised */
  --ink: #040807;            /* deepest */
  --ink-2: #0b1311;
  --ink-3: #111b18;
  --surface: #0b1311;
  --surface-2: #101a17;
  --surface-3: #16221e;

  /* text */
  --text: #eaf1ee;
  --muted: #97a8a3;
  --muted-2: #6d807a;

  /* accents */
  --teal: #2fbfa4;
  --teal-600: #25a68d;
  --teal-300: #7fe3cd;
  --teal-soft: rgba(47, 191, 164, 0.13);
  --clay: #e07a52;
  --clay-soft: rgba(224, 122, 82, 0.15);

  /* lines */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --line-dark: rgba(255, 255, 255, 0.1);

  --font-display: "Bricolage Grotesque", "Georgia", serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 20px;
  --radius-xl: 28px;

  --shadow-s: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.9);
  --shadow-l: 0 60px 120px -60px rgba(0, 0, 0, 1);

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* ambient light behind everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(47, 191, 164, 0.13), transparent 62%),
    radial-gradient(700px 420px at 8% 4%, rgba(224, 122, 82, 0.07), transparent 60%);
}

main, .site-footer, .strip { position: relative; z-index: 1; }

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--teal); color: #04231f; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 0.5em;
  color: #fff;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; }
h4 { font-size: 1.1rem; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.section--paper2 {
  background: linear-gradient(180deg, rgba(255,255,255,0.018), rgba(255,255,255,0));
  border-block: 1px solid var(--line);
}
.section--dark {
  background:
    radial-gradient(700px 340px at 50% 0%, rgba(47, 191, 164, 0.09), transparent 70%),
    var(--ink-2);
  border-block: 1px solid var(--line);
  color: #eef2ef;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--teal); color: #04231f; padding: 12px 18px; border-radius: 0 0 10px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--teal-300); font-weight: 500;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.5;
}
.section--dark .eyebrow { color: var(--teal-300); }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.26rem); color: var(--muted); max-width: 62ch; line-height: 1.6; }
.section--dark .lede { color: rgba(238, 242, 239, 0.7); }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.mono { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.04em; }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ---------- buttons ---------- */
.btn {
  --btn-bg: rgba(255, 255, 255, 0.06);
  --btn-fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 100px; border: 1px solid var(--line-strong);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em;
  transition: transform 0.4s var(--ease), background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.4s var(--ease);
  will-change: transform;
  backdrop-filter: blur(8px);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; flex: none; }

.btn--primary {
  --btn-bg: linear-gradient(180deg, #35cbaf, #22a48c);
  --btn-fg: #03231d;
  border-color: rgba(127, 227, 205, 0.45);
  box-shadow: 0 10px 30px -14px rgba(47, 191, 164, 0.7), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn--primary:hover { box-shadow: 0 18px 44px -16px rgba(47, 191, 164, 0.85), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn--ghost { --btn-bg: rgba(255,255,255,0.03); --btn-fg: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { --btn-bg: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.28); }
.btn--light { --btn-bg: #f2f7f4; --btn-fg: #06100d; border-color: transparent; }
.btn--light:hover { --btn-bg: #fff; }
.btn--onDark { --btn-bg: rgba(255,255,255,0.05); --btn-fg: #fff; border-color: var(--line-strong); }
.btn--onDark:hover { --btn-bg: rgba(255,255,255,0.1); }
.btn--sm { padding: 11px 18px; font-size: 0.86rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.94rem;
  color: var(--teal-300); border-bottom: 1px solid transparent; padding-bottom: 2px;
  transition: gap 0.3s var(--ease), border-color 0.3s ease, color 0.3s ease;
}
.link-arrow:hover { gap: 14px; border-color: currentColor; color: #fff; }
.section--dark .link-arrow { color: var(--teal-300); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: 16px;
  transition: padding 0.35s var(--ease), background 0.35s ease, box-shadow 0.35s ease;
}
.site-header::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(6, 10, 9, 0.72);
  backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid transparent;
  opacity: 0; transition: opacity 0.35s ease, border-color 0.35s ease;
}
.site-header.is-stuck { padding-block: 9px; }
.site-header.is-stuck::after { opacity: 1; border-bottom-color: var(--line); }

.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; letter-spacing: -0.03em; color: #fff; }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__mark .m1 { fill: var(--teal); }
.brand__mark .m2 { fill: var(--clay); }
.brand small { display: block; font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.18em; color: var(--muted-2); text-transform: uppercase; margin-top: 2px; font-weight: 500; }

.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a {
  position: relative; padding: 9px 14px; border-radius: 100px; font-size: 0.92rem; font-weight: 500;
  color: var(--muted); transition: color 0.25s ease, background 0.25s ease;
}
.nav__links a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.nav__links a[aria-current="page"] { color: #fff; }
.nav__links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--teal), var(--teal-300));
}
.nav__cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.04); align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: #fff; transition: transform 0.3s var(--ease), opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav__cta .btn { display: none; }
  .site-header { padding-block: 12px; }
  .site-header::after { opacity: 1; border-bottom-color: var(--line); }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--paper);
  padding: 96px var(--gutter) 40px; display: flex; flex-direction: column; gap: 6px;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, transform 0.4s var(--ease), visibility 0.3s;
}
.mobile-menu.is-open { opacity: 1; transform: none; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display); font-size: 1.7rem; padding: 12px 0; border-bottom: 1px solid var(--line);
  letter-spacing: -0.02em; color: #fff;
}
.mobile-menu .btn { margin-top: 24px; }
@media (min-width: 1081px) { .mobile-menu { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative; padding-top: clamp(130px, 16vw, 200px); padding-bottom: clamp(60px, 8vw, 110px);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 70% at 60% 15%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 60% 15%, #000 20%, transparent 78%);
  opacity: 0.6;
}
.hero__wash {
  position: absolute; width: 900px; height: 900px; right: -260px; top: -420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 191, 164, 0.18), rgba(47, 191, 164, 0) 62%);
  filter: blur(14px);
}
.hero__wash--2 {
  left: -340px; right: auto; top: 200px; width: 640px; height: 640px;
  background: radial-gradient(circle, rgba(224, 122, 82, 0.12), rgba(224, 122, 82, 0) 62%);
}
.hero .wrap { position: relative; z-index: 1; }

.hero__badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 7px 15px 7px 9px;
  border: 1px solid var(--line-strong); border-radius: 100px; background: rgba(255,255,255,0.045);
  font-size: 0.8rem; color: var(--muted); margin-bottom: 26px; backdrop-filter: blur(10px);
}
.hero__badge b { font-weight: 600; color: #fff; }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(47,191,164,0.18); }

.hero h1 { max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--teal-300); }
.hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 54ch; margin-top: 26px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero__meta div { min-width: 120px; }
.hero__meta b { display: block; font-family: var(--font-display); font-size: 1.55rem; letter-spacing: -0.03em; color: #fff; }
.hero__meta span { font-size: 0.82rem; color: var(--muted-2); }

/* hero panel — glass console */
.hero__panel {
  position: relative; margin-top: 64px; border-radius: var(--radius-xl); overflow: hidden;
  background: linear-gradient(180deg, rgba(22, 34, 30, 0.9), rgba(8, 14, 12, 0.95));
  color: #e9efec; border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-l), inset 0 1px 0 rgba(255,255,255,0.06);
}
.hero__panel::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(127,227,205,0.6), transparent);
}
.hero__panel-top {
  display: flex; align-items: center; gap: 10px; padding: 14px 20px;
  border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2);
}
.hero__panel-top .dot-live { background: var(--teal-300); box-shadow: 0 0 0 4px rgba(127,227,205,0.15); }
.hero__panel-body { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; }
@media (max-width: 860px) { .hero__panel-body { grid-template-columns: 1fr; } }
.hero__console { padding: 26px; font-family: var(--font-mono); font-size: 0.83rem; line-height: 2; color: rgba(255,255,255,0.6); border-right: 1px solid var(--line); }
.hero__console .k { color: var(--teal-300); }
.hero__console .ok { color: #5eead4; }
.hero__console .warn { color: #f0b67f; }
.hero__console .ln { display: block; opacity: 0; transform: translateY(6px); animation: lineIn 0.5s var(--ease) forwards; }
.hero__console .ln:nth-child(1) { animation-delay: 0.35s; }
.hero__console .ln:nth-child(2) { animation-delay: 0.55s; }
.hero__console .ln:nth-child(3) { animation-delay: 0.75s; }
.hero__console .ln:nth-child(4) { animation-delay: 0.95s; }
.hero__console .ln:nth-child(5) { animation-delay: 1.15s; }
.hero__console .ln:nth-child(6) { animation-delay: 1.35s; }
.hero__console .ln:nth-child(7) { animation-delay: 1.55s; }
@keyframes lineIn { to { opacity: 1; transform: none; } }

.hero__score { padding: 26px; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.score-ring { display: flex; align-items: center; gap: 18px; }
.score-ring svg { width: 96px; height: 96px; transform: rotate(-90deg); }
.score-ring circle { fill: none; stroke-width: 7; }
.score-ring .track { stroke: rgba(255,255,255,0.08); }
.score-ring .bar { stroke: var(--teal-300); stroke-linecap: round; stroke-dasharray: 264; stroke-dashoffset: 264; animation: ring 1.6s var(--ease) 0.6s forwards; }
@keyframes ring { to { stroke-dashoffset: 52; } }
.score-ring b { font-family: var(--font-display); font-size: 2.4rem; letter-spacing: -0.04em; display: block; line-height: 1; color: #fff; }
.score-ring span { font-size: 0.78rem; color: var(--muted-2); }
.score-bars { display: grid; gap: 9px; }
.score-bars div { display: grid; grid-template-columns: 1fr 46px; align-items: center; gap: 12px; font-size: 0.76rem; color: var(--muted); font-family: var(--font-mono); }
.score-bars i { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,0.1); overflow: hidden; }
.score-bars i::after { content: ""; display: block; height: 100%; width: var(--w, 60%); background: linear-gradient(90deg, var(--teal), var(--teal-300)); transform-origin: left; animation: growBar 1.1s var(--ease) 0.8s backwards; }
@keyframes growBar { from { transform: scaleX(0); } }

/* ---------- logo strip ---------- */
.strip { border-block: 1px solid var(--line); padding-block: 22px; background: var(--ink); overflow: hidden; }
.strip__label { text-align: center; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.marquee { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: 1.05rem; color: var(--muted); white-space: nowrap; opacity: 0.8; }
@keyframes marquee { to { transform: translateX(-50%); } }
.strip:hover .marquee { animation-play-state: paused; }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 18px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative; padding: 28px; border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s ease, background 0.4s ease;
  overflow: hidden;
  backdrop-filter: blur(6px);
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  opacity: 0; transition: opacity 0.4s ease;
}
.card:hover {
  transform: translateY(-4px); border-color: rgba(47,191,164,0.35);
  box-shadow: 0 30px 60px -40px rgba(0,0,0,1), 0 0 0 1px rgba(47,191,164,0.08);
  background: linear-gradient(180deg, rgba(47,191,164,0.07), rgba(255,255,255,0.012));
}
.card:hover::before { opacity: 1; }
.card__num { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--muted-2); margin-bottom: 18px; display: block; }
.card h3 { margin-bottom: 10px; color: #fff; }
.card p { color: var(--muted); font-size: 0.96rem; margin: 0; }
.card ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.card ul li { position: relative; padding-left: 18px; font-size: 0.92rem; color: var(--muted); }
.card ul li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); opacity: 0.8; }

.card--dark { background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.015)); border-color: var(--line); }
.card--dark p, .card--dark ul li { color: rgba(234,240,237,0.66); }
.card--flat { background: transparent; border-color: var(--line); }
.card--flat:hover { background: rgba(255,255,255,0.03); }
.card--accent { background: var(--teal-soft); border-color: rgba(47,191,164,0.25); }

.card__icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal-300); margin-bottom: 20px;
  border: 1px solid rgba(47,191,164,0.22);
}
.card__icon svg { width: 22px; height: 22px; }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.stat-row > div { background: var(--surface); padding: 24px 22px; }
.stat-row b { display: block; font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -0.035em; line-height: 1; color: #fff; }
.stat-row span { font-size: 0.82rem; color: var(--muted); display: block; margin-top: 8px; }
@media (max-width: 640px) { .stat-row { grid-template-columns: 1fr; } }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .process { grid-template-columns: 1fr; } }
.process__step { padding: 34px 28px 34px 0; border-right: 1px solid var(--line); position: relative; }
.process__step:last-child { border-right: 0; }
@media (max-width: 860px) { .process__step { border-right: 0; border-bottom: 1px solid var(--line); padding-inline: 0; } }
.process__step::before {
  content: ""; position: absolute; top: -4px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-300);
  box-shadow: 0 0 0 6px rgba(127,179,166,0.14);
}
.process__step b { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; color: var(--teal-300); display: block; margin-bottom: 16px; }
.process__step h3 { color: #fff; font-size: 1.35rem; }
.process__step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- feature list ---------- */
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 0.97rem; color: var(--muted); align-items: start; }
.checks svg { width: 18px; height: 18px; color: var(--teal-300); margin-top: 3px; }

/* ---------- pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 8px 15px; border-radius: 100px; border: 1px solid var(--line-strong); font-size: 0.84rem; color: var(--muted); background: rgba(255,255,255,0.03); transition: all 0.25s ease; }
.pill:hover, .pill.is-active { background: var(--teal); color: #04231f; border-color: var(--teal); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative;
  font-family: var(--font-display); font-size: clamp(1.05rem, 1.6vw, 1.28rem); font-weight: 500; letter-spacing: -0.015em;
  color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px;
  border-right: 1.5px solid var(--teal-300); border-bottom: 1.5px solid var(--teal-300);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq__body { padding: 0 60px 26px 0; color: var(--muted); max-width: 78ch; }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  background:
    radial-gradient(600px 300px at 85% -20%, rgba(47,191,164,0.22), transparent 65%),
    linear-gradient(180deg, #0f1a17, #070d0b);
  border: 1px solid var(--line-strong);
  color: #fff; padding: clamp(38px, 6vw, 72px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  box-shadow: var(--shadow-l), inset 0 1px 0 rgba(255,255,255,0.06);
}
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: var(--muted); max-width: 46ch; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: grid; gap: 7px; }
.field label { font-size: 0.84rem; font-weight: 600; color: var(--text); letter-spacing: -0.005em; }
.field label span { color: var(--clay); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-s);
  border: 1px solid var(--line-strong); background: rgba(255,255,255,0.04); color: var(--text);
  font: inherit; font-size: 0.95rem; transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--surface-2); color: var(--text); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); background-color: rgba(47,191,164,0.06);
  box-shadow: 0 0 0 3px rgba(47,191,164,0.15);
}
.field .hint { font-size: 0.78rem; color: var(--muted-2); }
.form-status { margin-top: 14px; font-size: 0.9rem; border-radius: var(--radius-s); padding: 12px 14px; display: none; }
.form-status.is-ok { display: block; background: var(--teal-soft); color: var(--teal-300); border: 1px solid rgba(47,191,164,0.3); }
.form-status.is-err { display: block; background: var(--clay-soft); color: #f2b193; border: 1px solid rgba(224,122,82,0.3); }

.form-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid var(--line-strong); border-radius: var(--radius-l);
  padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow);
}

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--muted); padding-block: clamp(56px, 7vw, 88px) 32px; border-top: 1px solid var(--line); }
.site-footer a { color: var(--muted); transition: color 0.2s ease; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { color: #fff; }
.footer-brand .brand small { color: var(--muted-2); }
.footer-brand p { margin-top: 18px; font-size: 0.92rem; max-width: 34ch; color: var(--muted); }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; font-weight: 500; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.92rem; }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 0.82rem; color: var(--muted-2);
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- blog index ---------- */
.blog-hero { padding-top: clamp(120px, 15vw, 180px); padding-bottom: 40px; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }

.post-card {
  display: flex; flex-direction: column; border-radius: var(--radius-l); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012));
  border: 1px solid var(--line); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px #000; border-color: rgba(47,191,164,0.35); }
.post-card__art { display: block; aspect-ratio: 16 / 10; position: relative; overflow: hidden; background: var(--ink-2); }
.post-card__art svg { width: 100%; height: 100%; }
.post-card__art img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.post-card:hover .post-card__art img { transform: scale(1.045); }
.article-cover { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-l); }
.post-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__meta { display: flex; gap: 12px; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.post-card h3 { font-size: 1.18rem; margin: 0; color: #fff; }
.post-card p { font-size: 0.9rem; color: var(--muted); margin: 0; }
.post-card .link-arrow { margin-top: auto; font-size: 0.86rem; }

/* ---------- article ---------- */
.article-hero { padding-top: clamp(120px, 14vw, 170px); padding-bottom: 36px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.78rem; color: var(--muted-2); margin-bottom: 22px; font-family: var(--font-mono); letter-spacing: 0.04em; }
.breadcrumbs a:hover { color: var(--teal-300); }
.article-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 20ch; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; font-size: 0.85rem; color: var(--muted); }
.article-meta .avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: #04231f; display: grid; place-items: center; font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; }
.article-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); }

.progress-bar { position: fixed; top: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--teal), var(--teal-300)); width: 0; z-index: 101; transition: width 0.1s linear; }

.article-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-bottom: clamp(60px, 8vw, 110px); }
@media (max-width: 980px) { .article-layout { grid-template-columns: 1fr; } }

.toc { position: sticky; top: 100px; font-size: 0.86rem; }
.toc h4 { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; font-weight: 500; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.toc a { color: var(--muted); display: block; padding-left: 14px; border-left: 1px solid var(--line); line-height: 1.4; transition: color 0.2s ease, border-color 0.2s ease; }
.toc a:hover, .toc a.is-active { color: var(--teal-300); border-color: var(--teal); }
@media (max-width: 980px) { .toc { position: static; margin-bottom: 32px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.02); } }

.prose { max-width: 74ch; font-size: 1.055rem; line-height: 1.78; color: #c7d3ce; }
.prose > p:first-of-type { font-size: 1.18rem; color: #dde6e2; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 2.2em; margin-bottom: 0.5em; scroll-margin-top: 100px; }
.prose h3 { font-size: 1.28rem; margin-top: 1.9em; margin-bottom: 0.45em; scroll-margin-top: 100px; color: #fff; }
.prose p { margin-bottom: 1.35em; }
.prose ul, .prose ol { padding-left: 1.15em; margin-bottom: 1.35em; display: grid; gap: 0.5em; }
.prose li::marker { color: var(--teal); }
.prose strong { color: #fff; font-weight: 650; }
.prose a { color: var(--teal-300); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose blockquote {
  margin: 2em 0; padding: 24px 28px; border-left: 3px solid var(--teal); background: rgba(255,255,255,0.035);
  border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-display); font-size: 1.22rem; line-height: 1.5; color: #fff;
}
.prose blockquote p { margin: 0; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: 0.82rem; color: var(--muted-2); margin-top: 10px; }
.prose .callout {
  margin: 2em 0; padding: 22px 24px; border-radius: var(--radius); background: rgba(47,191,164,0.08);
  border: 1px solid rgba(47,191,164,0.22); font-size: 0.98rem; color: #d7e4df;
}
.prose .callout b { display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-300); margin-bottom: 8px; }
.prose .callout p:last-child { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 2em 0; font-size: 0.94rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,0.04); }
.prose td { color: #c7d3ce; }
.prose code { font-family: var(--font-mono); font-size: 0.86em; background: rgba(255,255,255,0.07); padding: 2px 6px; border-radius: 4px; color: #e6efeb; }

.author-box {
  display: flex; gap: 18px; align-items: flex-start; margin-top: 48px; padding: 24px;
  border: 1px solid var(--line); border-radius: var(--radius-l);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012));
}
.author-box .avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--teal); color: #04231f; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; flex: none; }
.author-box h4 { margin: 0 0 4px; color: #fff; }
.author-box p { font-size: 0.9rem; color: var(--muted); margin: 0; }

.share-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; align-items: center; }
.share-row span { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-right: 6px; }

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal][data-delay="1"] { transition-delay: 0.07s; }
.js [data-reveal][data-delay="2"] { transition-delay: 0.14s; }
.js [data-reveal][data-delay="3"] { transition-delay: 0.21s; }
.js [data-reveal][data-delay="4"] { transition-delay: 0.28s; }
.js [data-reveal][data-delay="5"] { transition-delay: 0.35s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- misc ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.flex { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.divider { height: 1px; background: var(--line); margin-block: 48px; }

.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.info-list li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; font-size: 0.95rem; color: var(--muted); }
.info-list svg { width: 18px; height: 18px; color: var(--teal-300); margin-top: 3px; }
.info-list b { display: block; font-size: 0.74rem; font-family: var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 3px; font-weight: 500; }

.tag { display: inline-block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 10px; border-radius: 100px; background: var(--teal-soft); color: var(--teal-300); border: 1px solid rgba(47,191,164,0.25); }
.tag--clay { background: var(--clay-soft); color: #f2b193; border-color: rgba(224,122,82,0.25); }

/* 404 */
.err-code { font-family: var(--font-display); font-size: clamp(6rem, 20vw, 14rem); line-height: 0.85; letter-spacing: -0.05em; color: rgba(47,191,164,0.14); margin: 0; }

/* ---------- social icons ---------- */
.social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--muted); background: rgba(255, 255, 255, 0.03);
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.35s var(--ease);
}
.social-btn svg { width: 20px; height: 20px; }
.social-btn:hover { color: #04231f; background: var(--teal); border-color: var(--teal); transform: translateY(-2px); }
.footer-social {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line);
}
.footer-social__label {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted-2);
}

/* ---------- floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 95;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 14px 34px -12px rgba(37, 211, 102, 0.75), 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; position: relative; z-index: 1; }
.wa-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 20px 44px -14px rgba(37, 211, 102, 0.85); }
.wa-float__ring {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(37, 211, 102, 0.55);
  animation: waPulse 2.8s ease-out infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.75; } 70% { transform: scale(1.55); opacity: 0; } 100% { opacity: 0; } }
.wa-float__label {
  position: absolute; right: 72px; white-space: nowrap;
  background: var(--surface-2); color: var(--text); font-size: 0.8rem; font-weight: 500;
  padding: 8px 13px; border-radius: 9px; border: 1px solid var(--line-strong);
  opacity: 0; transform: translateX(6px); pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease);
}
.wa-float:hover .wa-float__label { opacity: 1; transform: none; }
@media (max-width: 640px) {
  .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .wa-float svg { width: 26px; height: 26px; }
  .wa-float__label { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wa-float__ring { animation: none; opacity: 0; } }

/* ---------- docs page ---------- */
.docs-hero { padding-top: clamp(120px, 14vw, 170px); padding-bottom: 30px; }
.docs-layout { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; padding-bottom: clamp(60px, 8vw, 100px); }
@media (max-width: 940px) { .docs-layout { grid-template-columns: 1fr; } }
.docs-nav { position: sticky; top: 96px; }
.docs-nav h4 { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; font-weight: 500; }
.docs-nav ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; }
.docs-nav a { color: var(--muted); font-size: 0.88rem; display: block; padding-left: 13px; border-left: 1px solid var(--line); line-height: 1.45; transition: color 0.2s ease, border-color 0.2s ease; }
.docs-nav a:hover { color: var(--teal-300); border-color: var(--teal); }
@media (max-width: 940px) { .docs-nav { position: static; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.02); } }

.docs-body { max-width: 76ch; color: #c7d3ce; font-size: 1.02rem; line-height: 1.75; }
.docs-body h2 { font-size: clamp(1.5rem, 2.4vw, 1.95rem); margin-top: 2.3em; scroll-margin-top: 100px; }
.docs-body h3 { font-size: 1.16rem; margin-top: 1.8em; scroll-margin-top: 100px; }
.docs-body p { margin-bottom: 1.2em; }
.docs-body ul, .docs-body ol { padding-left: 1.2em; margin-bottom: 1.2em; display: grid; gap: 0.45em; }
.docs-body li::marker { color: var(--teal); }
.docs-body strong { color: #fff; }
.docs-body a { color: var(--teal-300); text-decoration: underline; text-underline-offset: 3px; }
.docs-body code { font-family: var(--font-mono); font-size: 0.86em; background: rgba(255,255,255,0.07); padding: 2px 6px; border-radius: 4px; color: #e6efeb; }

.code-block {
  position: relative; margin: 20px 0 26px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line-strong); background: #050a09;
}
.code-block__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 16px; border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted-2); background: rgba(255,255,255,0.025);
}
.code-block pre {
  margin: 0; padding: 16px 18px; overflow-x: auto;
  font-family: var(--font-mono); font-size: 0.855rem; line-height: 1.75; color: #d6e6e0;
}
.code-block pre .cm { color: var(--muted-2); }
.code-block pre .ok { color: #5eead4; }
.copy-btn {
  border: 1px solid var(--line-strong); background: transparent; color: var(--muted);
  font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 6px; transition: color 0.2s ease, border-color 0.2s ease;
}
.copy-btn:hover { color: var(--teal-300); border-color: var(--teal); }
.copy-btn.is-done { color: var(--teal-300); border-color: var(--teal); }

.docs-callout { margin: 24px 0; padding: 18px 20px; border-radius: 12px; background: rgba(47,191,164,0.07); border: 1px solid rgba(47,191,164,0.22); font-size: 0.96rem; color: #d7e4df; }
.docs-callout b { display: block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-300); margin-bottom: 8px; }
.docs-table { width: 100%; border-collapse: collapse; margin: 20px 0 26px; font-size: 0.92rem; }
.docs-table th, .docs-table td { text-align: left; padding: 11px 13px; border-bottom: 1px solid var(--line); vertical-align: top; }
.docs-table th { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: rgba(255,255,255,0.04); }
.docs-table td:first-child { font-family: var(--font-mono); font-size: 0.82rem; color: var(--teal-300); white-space: nowrap; }

/* ---------- announcement bar ---------- */
.notice {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110;
  background: linear-gradient(90deg, #0f5a4d, #123b34 55%, #0f2a25);
  border-bottom: 1px solid rgba(127, 227, 205, 0.28);
  transform: translateY(-100%);
  transition: transform 0.45s var(--ease);
}
.notice.is-open { transform: none; }
.notice__inner { display: flex; align-items: center; gap: 18px; min-height: 46px; padding-block: 8px; }
.notice__text { margin: 0; font-size: 0.82rem; line-height: 1.35; color: #d5e9e3; flex: 1; }
.notice__text b { color: #fff; font-weight: 700; }
.notice__cta { font-size: 0.8rem; font-weight: 600; color: #9ff0dc; white-space: nowrap; border-bottom: 1px solid transparent; }
.notice__cta:hover { border-color: currentColor; }
.notice__close {
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent; color: #cfe9e2; font-size: 15px; line-height: 1; flex: none;
  display: grid; place-items: center; transition: background 0.2s ease, color 0.2s ease;
}
.notice__close:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
body.has-notice { padding-top: 46px; }
body.has-notice .site-header { top: 46px; }
@media (max-width: 760px) {
  .notice__inner { gap: 12px; }
  .notice__text { font-size: 0.76rem; }
  .notice__text .notice__more { display: none; }
  .notice__cta { font-size: 0.74rem; }
}

/* ---------- language switch ---------- */
.lang-switch { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 100px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03);
  color: var(--muted); font-size: 0.8rem; font-weight: 600;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.lang-btn svg { width: 15px; height: 15px; }
.lang-btn:hover { color: #fff; border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.07); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 158px; z-index: 120;
  background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 6px; display: none; box-shadow: 0 24px 50px -24px #000;
}
.lang-switch.is-open .lang-menu { display: block; }
.lang-menu button {
  display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px;
  background: none; border: 0; color: var(--muted); font-size: 0.88rem;
}
.lang-menu button:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.gt-hidden { position: absolute; width: 0; height: 0; overflow: hidden; opacity: 0; }
body > .skiptranslate, .goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }

/* ---------- cookie bar ---------- */
.cookie-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 96;
  background: rgba(8, 14, 13, 0.97); border-top: 1px solid var(--line-strong);
  backdrop-filter: blur(16px);
  transform: translateY(110%); transition: transform 0.5s var(--ease);
}
.cookie-bar.is-open { transform: none; }
.cookie-bar__inner { display: flex; align-items: center; gap: 24px; padding-block: 16px; flex-wrap: wrap; }
.cookie-bar__text { margin: 0; font-size: 0.82rem; line-height: 1.5; color: var(--muted); max-width: 84ch; }
.cookie-bar__text a { color: var(--teal-300); text-decoration: underline; text-underline-offset: 2px; }
.cookie-bar__actions { display: flex; gap: 10px; margin-left: auto; }
body.has-cookie .wa-float { bottom: 108px; }
@media (max-width: 720px) {
  .cookie-bar__actions { margin-left: 0; width: 100%; }
  .cookie-bar__actions .btn { flex: 1; }
  body.has-cookie .wa-float { bottom: 150px; }
}
