/* ============================================================
   DEKUWEC — Android app download page
   Brand palette taken from the portal: deep forest green with
   emerald highlights.
   ============================================================ */

:root {
  --bg: #03160c;
  --bg-2: #052e16;
  --surface: rgba(6, 46, 24, 0.5);
  --surface-2: rgba(8, 58, 31, 0.72);
  --line: rgba(110, 231, 183, 0.14);
  --line-strong: rgba(110, 231, 183, 0.3);
  --text: #ecfdf5;
  --muted: #9fc2b0;
  --muted-2: #7aa48d;
  --primary: #16a34a;
  --primary-2: #22c55e;
  --accent: #4ade80;
  --teal: #2dd4bf;
  --amber: #fbbf24;
  --red: #f87171;
  --violet: #a78bfa;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 68px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* keep anchored sections clear of the sticky nav */
  scroll-padding-top: calc(var(--nav-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
code {
  font-family: ui-monospace, "SFMono-Regular", "Cascadia Code", Consolas, monospace;
  font-size: 0.86em;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1px 6px;
  color: var(--accent);
}
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; font-weight: 800; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 22px;
}

/* ───────────────────────── backdrop ───────────────────────── */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, #0a4a26 0%, transparent 60%),
    linear-gradient(180deg, #03160c 0%, #041d10 45%, #03160c 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  animation: drift 22s var(--ease) infinite alternate;
}
.blob-a { width: 46vw; height: 46vw; top: -14vw; left: -8vw; background: #15803d; }
.blob-b { width: 38vw; height: 38vw; top: 26vh; right: -12vw; background: #0f766e; animation-delay: -7s; }
.blob-c { width: 34vw; height: 34vw; bottom: -12vw; left: 24vw; background: #166534; animation-delay: -13s; }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(3vw, 4vh, 0) scale(1.12); }
}

.grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74, 222, 128, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 222, 128, 0.055) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(100% 60% at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(100% 60% at 50% 0%, #000 0%, transparent 75%);
}

main, .nav, .footer { position: relative; z-index: 1; }

/* ─────────────────────────── nav ──────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.nav.stuck {
  background: rgba(3, 22, 12, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}

.nav-inner { display: flex; align-items: center; gap: 18px; }

.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand img {
  width: 34px; height: 34px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--line-strong), 0 6px 18px rgba(0, 0, 0, 0.4);
}
.brand span { display: flex; flex-direction: column; line-height: 1.15; }
.brand strong { font-size: 15px; font-weight: 800; letter-spacing: 0.02em; }
.brand small { font-size: 10.5px; color: var(--muted-2); font-weight: 600; }

.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(74, 222, 128, 0.09); }

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.burger {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: rgba(74, 222, 128, 0.06);
  cursor: pointer;
  padding: 11px 10px;
  flex-direction: column;
  justify-content: space-between;
}
.burger span {
  display: block; height: 2px; width: 100%;
  background: var(--text); border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ───────────────────────── buttons ───────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 13px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s var(--ease), box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  color: #03160c;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(34, 197, 94, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(74, 222, 128, 0.05);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(74, 222, 128, 0.12); transform: translateY(-2px); }

.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 11px; }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn.full { width: 100%; margin-top: 6px; }

/* ───────────────────────── sections ───────────────────────── */

.section { padding: 92px 0 0; }

.section-head { max-width: 640px; margin-bottom: 40px; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 16.5px; max-width: 60ch; }

/* ─────────────────────────── hero ─────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
  padding-top: 62px;
  padding-bottom: 12px;
  min-height: calc(100vh - var(--nav-h) - 40px);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(74, 222, 128, 0.07);
  font-size: 13px;
  font-weight: 700;
  color: #c8f7dd;
  margin-bottom: 22px;
}
.pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.hero h1 {
  font-size: clamp(38px, 6vw, 62px);
  margin-bottom: 20px;
}
.grad {
  background: linear-gradient(100deg, var(--accent) 0%, var(--teal) 60%, #a7f3d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede { font-size: 17.5px; color: var(--muted); max-width: 52ch; margin-bottom: 30px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 26px; }

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: var(--muted-2);
  font-weight: 600;
}
.meta-row li { display: inline-flex; align-items: center; gap: 8px; }
.meta-row svg { width: 17px; height: 17px; color: var(--accent); }

/* ────────────────────── hero artwork / phone ────────────────────── */

.hero-art { position: relative; display: grid; place-items: center; min-height: 520px; }

.glow {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.4) 0%, transparent 66%);
  filter: blur(28px);
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: 0.75; }
  50%      { transform: scale(1.09); opacity: 1; }
}

.phone {
  position: relative;
  width: 290px;
  aspect-ratio: 9 / 18.5;
  border-radius: 40px;
  padding: 10px;
  background: linear-gradient(160deg, #123322, #05170d 60%);
  box-shadow:
    0 0 0 2px rgba(122, 216, 168, 0.2),
    0 40px 80px -20px rgba(0, 0, 0, 0.85);
  animation: float 8s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-1.1deg); }
  50%      { transform: translateY(-16px) rotate(1.1deg); }
}
.phone::after {
  content: "";
  position: absolute;
  top: 20px; left: 50%;
  transform: translateX(-50%);
  width: 78px; height: 5px;
  border-radius: 999px;
  background: rgba(190, 240, 214, 0.22);
}

.phone-screen {
  height: 100%;
  border-radius: 31px;
  overflow: hidden;
  background: #f6fbf8;
  color: #0b2b19;
  display: flex;
  flex-direction: column;
  font-size: 11px;
}

.app-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 16px 4px;
  font-size: 10px; font-weight: 700; color: #14532d;
}
.app-status-icons { display: inline-flex; align-items: center; gap: 3px; }
.app-status-icons .bar { width: 3px; height: 8px; background: #14532d; border-radius: 1px; }
.app-status-icons .bar:nth-child(2) { height: 11px; }
.app-status-icons .wifi {
  width: 11px; height: 8px; margin-left: 3px;
  border-radius: 8px 8px 0 0;
  border: 2px solid #14532d; border-bottom: 0;
}
.app-status-icons .battery {
  width: 16px; height: 9px; margin-left: 3px;
  border: 1.5px solid #14532d; border-radius: 3px;
  background: linear-gradient(90deg, #16a34a 68%, transparent 68%);
}

.app-head {
  display: flex; align-items: center; gap: 9px;
  padding: 10px 16px 14px;
  background: linear-gradient(135deg, #065f46, #14532d);
  color: #ecfdf5;
}
.app-head img { width: 30px; height: 30px; border-radius: 9px; }
.app-head div { display: flex; flex-direction: column; }
.app-head b { font-size: 12.5px; letter-spacing: 0.02em; }
.app-head em { font-size: 9.5px; font-style: normal; opacity: 0.72; }
.app-head .bell {
  margin-left: auto;
  width: 24px; height: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  position: relative;
}
.app-head .bell i {
  position: absolute; top: 6px; left: 8px;
  width: 8px; height: 9px;
  border-radius: 4px 4px 1px 1px;
  border: 1.6px solid #ecfdf5;
  border-bottom-width: 3px;
}

.app-hero {
  margin: -8px 12px 0;
  padding: 12px;
  border-radius: 15px;
  background: linear-gradient(150deg, #16a34a, #0f766e);
  color: #f0fdf4;
  box-shadow: 0 10px 22px -8px rgba(6, 78, 59, 0.6);
}
.app-hero-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.chip {
  font-size: 8.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}
.avatar {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.24);
  display: grid; place-items: center;
  font-size: 8.5px; font-weight: 800;
}
.app-hero p { font-size: 9.5px; opacity: 0.8; }
.app-hero h4 { font-size: 14px; margin: 1px 0 9px; }
.app-hero-bar {
  height: 5px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}
.app-hero-bar span {
  display: block; height: 100%; width: 64%;
  border-radius: 999px; background: #fff;
}
.app-hero-foot {
  display: flex; justify-content: space-between;
  font-size: 9px; opacity: 0.86; margin-top: 7px;
}

.app-tiles {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 7px; padding: 14px 12px 6px;
}
.tile {
  background: #fff;
  border: 1px solid #dff1e7;
  border-radius: 12px;
  padding: 9px 4px 7px;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  font-size: 8.5px; font-weight: 700; color: #14532d;
  box-shadow: 0 3px 8px rgba(6, 46, 24, 0.06);
}
.tile-ic { width: 20px; height: 20px; border-radius: 7px; display: block; }
.ic-a { background: linear-gradient(135deg, #22c55e, #15803d); }
.ic-b { background: linear-gradient(135deg, #2dd4bf, #0f766e); }
.ic-c { background: linear-gradient(135deg, #fbbf24, #d97706); }
.ic-d { background: linear-gradient(135deg, #34d399, #059669); }

.app-list { padding: 8px 12px; display: flex; flex-direction: column; gap: 7px; }
.row {
  display: flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid #e6f3ea;
  border-radius: 11px; padding: 8px 10px;
}
.row-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.row i { width: 34px; height: 6px; border-radius: 999px; background: #e2efe7; }
.row em { font-style: normal; font-size: 9px; font-weight: 700; color: #15803d; margin-left: auto; }

.app-tabbar {
  margin-top: auto;
  display: flex; justify-content: space-around; align-items: center;
  padding: 11px 0 14px;
  border-top: 1px solid #e6f3ea;
  background: #fff;
}
.app-tabbar span { width: 17px; height: 17px; border-radius: 6px; background: #dceee4; }
.app-tabbar span.on { background: #16a34a; }

.float-card {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 11px 15px 11px 12px;
  border-radius: 15px;
  background: rgba(6, 46, 24, 0.86);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  animation: float 9s ease-in-out infinite;
}
.float-card span { display: flex; flex-direction: column; line-height: 1.3; }
.float-card b { font-size: 12.5px; }
.float-card em { font-size: 10.5px; font-style: normal; color: var(--muted-2); }
.fc-ic {
  width: 32px; height: 32px; border-radius: 10px;
  display: grid; place-items: center; flex-shrink: 0;
}
.fc-ic svg { width: 17px; height: 17px; }
.fc-green  { background: rgba(34, 197, 94, 0.18);  color: #4ade80; }
.fc-emerald{ background: rgba(16, 185, 129, 0.18); color: #34d399; }
.fc-teal   { background: rgba(45, 212, 191, 0.18); color: #2dd4bf; }

.fc-1 { top: 6%;  left: -6%;  animation-delay: -2s; }
.fc-2 { top: 44%; right: -8%; animation-delay: -5s; }
.fc-3 { bottom: 6%; left: 0%; animation-delay: -7.5s; }

/* ─────────────────────────── cards ────────────────────────── */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: var(--surface-2);
}
.card:hover::before { opacity: 1; }
.card h3 { font-size: 17.5px; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 14.8px; }

.card-ic {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  margin-bottom: 17px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(45, 212, 191, 0.14));
  border: 1px solid var(--line-strong);
  color: var(--accent);
}
.card-ic svg { width: 22px; height: 22px; }

.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
}
.strip-item {
  background: rgba(4, 30, 16, 0.7);
  padding: 22px 18px;
  text-align: center;
}
.strip-item b { display: block; font-size: 22px; font-weight: 800; color: var(--accent); }
.strip-item span { font-size: 12.5px; color: var(--muted-2); font-weight: 600; }

/* ─────────────────────────── steps ────────────────────────── */

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.step {
  display: flex;
  gap: 20px;
  padding: 26px 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(8px);
  position: relative;
}
.step-n {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 13px;
  display: grid; place-items: center;
  font-weight: 800; font-size: 17px;
  color: #03160c;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.25);
}
.step-body { min-width: 0; }
.step-body h3 { font-size: 17.5px; margin-bottom: 8px; }
.step-body p { color: var(--muted); font-size: 15px; }
.step-body p + p { margin-top: 8px; }
.step-body em { color: #c8f7dd; font-style: italic; }
.tip {
  color: var(--accent) !important;
  font-size: 13.5px !important;
  padding-left: 14px;
  border-left: 2px solid rgba(74, 222, 128, 0.35);
}
.mini-cta {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  border-bottom: 1px solid rgba(74, 222, 128, 0.4);
}

/* ────────────────────────── alerts ────────────────────────── */

.alert {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 22px 24px;
  backdrop-filter: blur(8px);
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}
.alert:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.alert header { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 13px; }
.alert h3 { font-size: 16px; line-height: 1.35; }
.alert p { font-size: 14.5px; color: var(--muted); }
.alert p + p { margin-top: 8px; }
.alert b { color: #d8f7e6; }
.alert-ic {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 11px;
  display: grid; place-items: center;
}
.alert-ic svg { width: 19px; height: 19px; }
.amber  { background: rgba(251, 191, 36, 0.15);  color: var(--amber); }
.red    { background: rgba(248, 113, 113, 0.15); color: var(--red); }
.blue   { background: rgba(96, 165, 250, 0.15);  color: #60a5fa; }
.green  { background: rgba(74, 222, 128, 0.15);  color: var(--accent); }
.violet { background: rgba(167, 139, 250, 0.15); color: var(--violet); }
.slate  { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; }

/* ─────────────────────────── trust ────────────────────────── */

.trust {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(6, 60, 32, 0.72), rgba(4, 26, 14, 0.72));
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.trust h2 { font-size: clamp(24px, 3.2vw, 32px); margin-bottom: 12px; }
.trust p { color: var(--muted); font-size: 15.5px; }
.checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li {
  position: relative;
  padding-left: 30px;
  font-size: 14.5px;
  color: #d8f7e6;
  font-weight: 600;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.18);
  box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.5);
}
.checks li::after {
  content: "";
  position: absolute;
  left: 6px; top: 8.5px;
  width: 6px; height: 3.5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.trust-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(3, 22, 12, 0.7);
  padding: 20px;
}
.kv {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}
.kv:last-of-type { border-bottom: 0; }
.kv span { color: var(--muted-2); font-weight: 600; white-space: nowrap; }
.kv code {
  background: none; border: 0; padding: 0;
  color: #d8f7e6;
  text-align: right;
  overflow-wrap: anywhere;
}
.kv code.hash { font-size: 11px; }

/* ──────────────────────────── faq ─────────────────────────── */

.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.faq details[open] { border-color: var(--line-strong); background: var(--surface-2); }
.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 11px; height: 11px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq p {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 15px;
  animation: slideDown 0.3s var(--ease);
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────── final ────────────────────────── */

.final {
  text-align: center;
  padding: 54px 30px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, rgba(6, 78, 42, 0.6), rgba(3, 22, 12, 0.8));
  backdrop-filter: blur(10px);
  margin-top: 92px;
}
.final img {
  width: 76px; height: 76px;
  border-radius: 22px;
  margin: 0 auto 20px;
  box-shadow: 0 0 0 1px var(--line-strong), 0 18px 40px rgba(0, 0, 0, 0.5);
}
.final h2 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 10px; }
.final p { color: var(--muted); margin-bottom: 26px; font-size: 16px; }
.final .btn { margin-inline: auto; }
.final-note { display: block; margin-top: 16px; font-size: 13px; color: var(--muted-2); font-weight: 600; }

/* ─────────────────────────── footer ───────────────────────── */

.footer {
  margin-top: 96px;
  border-top: 1px solid var(--line);
  background: rgba(3, 18, 10, 0.72);
  backdrop-filter: blur(8px);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  padding-block: 30px;
}
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand img { border-radius: 9px; }
.footer-brand span { display: flex; flex-direction: column; line-height: 1.25; }
.footer-brand strong { font-size: 14.5px; }
.footer-brand em { font-size: 11.5px; font-style: normal; color: var(--muted-2); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links a { font-size: 13.5px; color: var(--muted); font-weight: 600; transition: color 0.2s ease; }
.footer-links a:hover { color: var(--accent); }
.footer-note {
  width: 100%;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted-2);
}

/* ────────────────────── scroll reveal ─────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease) var(--delay, 0ms), transform 0.7s var(--ease) var(--delay, 0ms);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; }

/* ─────────────────────── responsive ───────────────────────── */

@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 30px; min-height: 0; padding-top: 44px; }
  .hero-art { min-height: 480px; order: 2; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: 1fr; gap: 26px; padding: 30px; }
}

@media (max-width: 760px) {
  :root { --nav-h: 62px; }
  .section { padding-top: 68px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(2, 1fr); }

  .burger { display: flex; }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 14px 22px 20px;
    background: rgba(3, 22, 12, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-140%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.25s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 13px 12px; font-size: 16px; border-radius: 12px; }
  .nav-actions .btn { display: none; }

  .hero-art { min-height: 430px; }
  .phone { width: 244px; }
  .float-card { padding: 9px 12px 9px 10px; border-radius: 13px; }
  .float-card b { font-size: 11.5px; }
  .float-card em { font-size: 9.5px; }
  .fc-ic { width: 27px; height: 27px; }
  .fc-ic svg { width: 15px; height: 15px; }
  .fc-1 { left: -2%; }
  .fc-2 { right: -2%; }
  .fc-3 { left: -1%; }

  .step { flex-direction: column; gap: 14px; padding: 22px; }
  .trust { padding: 24px 20px; }
  .final { padding: 40px 22px; margin-top: 68px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .cta-row .btn { width: 100%; }
  .float-card.fc-2 { display: none; }
}

/* ─────────────────── accessibility preferences ─────────────────── */

@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;
  }
  .reveal { opacity: 1; transform: none; }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
