/* ============================================================
   Rent Assistance — Landing Styles
   Light SaaS theme | tokens from CLAUDE.md
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }
a { color: inherit; text-decoration: none; }

/* ---------- Tokens ---------- */
:root {
  --bg:           #FFFFFF;
  --bg-soft:      #F7F8FB;
  --bg-card:      #FFFFFF;
  --border:       #E6E8EE;
  --border-soft:  #EEF0F4;
  --text:         #0E1116;
  --text-muted:   #5C6577;
  --text-faint:   #8A93A6;
  --primary:      #5B6CFF;
  --primary-600:  #4858E6;
  --primary-50:   #EEF0FF;
  --success:      #16A34A;
  --warning:      #F59E0B;
  --danger:       #EF4444;

  --gradient-hero: linear-gradient(135deg, #EEF0FF 0%, #F7F8FB 60%, #FFFFFF 100%);
  --shadow-sm:    0 1px 2px rgba(14, 17, 22, 0.04);
  --shadow-md:    0 1px 2px rgba(14, 17, 22, 0.04), 0 8px 24px rgba(14, 17, 22, 0.04);
  --shadow-lg:    0 4px 8px rgba(14, 17, 22, 0.04), 0 20px 60px rgba(14, 17, 22, 0.08);

  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    18px;
  --radius-xl:    24px;

  --container:    1200px;
  --pad-x:        24px;
}

/* ---------- Typography ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-semibold.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/inter-extrabold.woff2') format('woff2');
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--text);
  font-weight: 800;
}
h1 { font-size: clamp(2.5rem, 7vw, 5.25rem); letter-spacing: -0.045em; }
h2 { font-size: clamp(2rem, 5.5vw, 3.75rem); letter-spacing: -0.04em; }
h3 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); letter-spacing: -0.025em; font-weight: 700; }
h4 { font-size: 1.125rem; letter-spacing: -0.02em; font-weight: 700; }

p { color: var(--text-muted); }

.accent { color: var(--primary); }
.muted  { color: var(--text-muted); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
  will-change: transform, opacity;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
@media (max-width: 640px) {
  :root { --pad-x: 16px; }
}

.section {
  padding: 140px 0;
}
.section--soft { background: var(--bg-soft); }
.section--dark {
  background: #0E1116;
  color: #fff;
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #fff; }
.section--dark p { color: rgba(255,255,255,0.65); }

.section__head {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 80px;
}
.section__head p { margin-top: 20px; font-size: clamp(1.0625rem, 1.6vw, 1.375rem); line-height: 1.4; max-width: 640px; margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--primary);
  margin-bottom: 18px;
  text-transform: none;
}

@media (max-width: 900px) {
  .section { padding: 96px 0; }
  .section__head { margin-bottom: 56px; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .section__head { margin-bottom: 40px; }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border-soft);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.logo__mark {
  width: 28px; height: 28px;
  border-radius: 8px;
  background-image: url('/assets/img/brand/logo.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.logo__mark > * { display: none; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  background: var(--bg-soft);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
}
.lang-switch a {
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--text-muted);
  transition: color .15s ease, background .15s ease;
}
.lang-switch a.is-active {
  background: var(--bg);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.lang-switch a:not(.is-active):hover { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.01em;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 2px rgba(91,108,255,0.25), 0 4px 14px rgba(91,108,255,0.3);
}
.btn--primary:hover { background: var(--primary-600); }

.btn--ghost {
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--ghost:hover { background: #fff; border-color: var(--text-muted); }

.btn--lg { padding: 18px 32px; font-size: 17px; }

/* Store badges */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 18px;
  background: #0E1116;
  color: #fff;
  border-radius: 12px;
  transition: transform .15s ease, background .15s ease;
  flex: 1 1 220px;
  max-width: 260px;
}
.store-badge:hover { transform: translateY(-2px); background: #1a1f2b; }
.store-badge svg { width: 28px; height: 28px; flex-shrink: 0; }
.store-badge__text { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge__top  { font-size: 11px; opacity: 0.8; }
.store-badge__bot  { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.store-badge__soon {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  background: var(--primary);
  color: #fff;
  padding: 3px 7px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 120px;
  background: var(--gradient-hero);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -300px; right: -300px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(91,108,255,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -200px; left: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(91,108,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
}
.hero__content { max-width: 640px; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(91,108,255,0.08);
  color: var(--primary-600);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 32px;
  backdrop-filter: blur(8px);
}
.hero__eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(91,108,255,0.15);
}
.hero h1 {
  margin-bottom: 28px;
  font-size: clamp(2.75rem, 6.5vw, 5rem);
}
.hero__subtitle {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.4;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 400;
}
.hero__pains {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero__pain {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}
.hero__pain svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  color: var(--success);
  margin-top: 3px;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}
/* Pixel 8 mockup — punch-hole камера, 9:20 аспект, симметричные рамки */
.phone-frame {
  position: relative;
  width: 320px;
  aspect-ratio: 9 / 20;
  border-radius: 36px;
  background: linear-gradient(180deg, #1a1f2b 0%, #0e1116 100%);
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 30px 80px -20px rgba(14,17,22,0.45),
    0 8px 24px -4px rgba(91,108,255,0.18);
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.gallery__item:hover .phone-frame { transform: translateY(-8px) scale(1.05); }
.hero__visual .phone-frame:hover { transform: translateY(-6px) rotate(-1deg); }
.phone-frame::before {
  content: "";
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 11px; height: 11px;
  background: #000;
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
}
.phone-frame__screen {
  position: absolute;
  inset: 10px;
  border-radius: 28px;
  background: #0E1116;
  overflow: hidden;
}
.phone-frame__screen img,
.phone-frame__screen .placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.placeholder {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #5B6CFF 0%, #4858E6 100%);
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero__content { max-width: 100%; }
  .hero__pains { align-items: center; }
  .hero__pain { text-align: left; max-width: 420px; }
  .hero__eyebrow { margin: 0 auto 24px; }
  .store-badges { justify-content: center; }
}

/* ---------- AI features ---------- */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.ai-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), background .4s ease, border-color .4s ease;
  position: relative;
  overflow: hidden;
}
.ai-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(91,108,255,0.12), transparent 40%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.ai-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(91,108,255,0.3);
}
.ai-card:hover::before { opacity: 1; }
.ai-card__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 28px;
  box-shadow: 0 8px 24px -8px rgba(91,108,255,0.5);
}
.ai-card__icon svg { width: 28px; height: 28px; }
.ai-card h3 { margin-bottom: 12px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.ai-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--warning);
  color: #0E1116;
  white-space: nowrap;
}
.ai-card p  { font-size: 16px; line-height: 1.5; }
.section--dark .ai-card { color: #fff; }
.section--dark .ai-card p { color: rgba(255,255,255,0.65); }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px 20px;
  align-items: end;
}
.gallery__item { display: flex; flex-direction: column; align-items: center; gap: 20px; cursor: default; }
.gallery__item .phone-frame { width: 100%; max-width: 220px; }
.gallery__caption { text-align: center; font-size: 16px; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.gallery__caption span { display: block; font-weight: 400; color: var(--text-muted); margin-top: 4px; font-size: 13px; letter-spacing: 0; }
@media (max-width: 900px) {
  .gallery { grid-template-columns: 1fr; gap: 56px; }
  .gallery__item .phone-frame { max-width: 260px; }
  .gallery__caption { font-size: 17px; }
  .gallery__caption span { font-size: 14px; }
}

/* ---------- Features (key) ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature {
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease, border-color .4s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-50);
}
.feature__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--text);
  display: grid; place-items: center;
  margin-bottom: 24px;
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h4 { margin-bottom: 10px; font-size: 1.25rem; }
.feature p  { font-size: 15px; line-height: 1.55; }

/* ---------- Audience ---------- */
.audience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  text-align: center;
}
.audience__item {
  padding: 32px 16px;
}
.audience__num {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.05em;
}
.audience__label {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---------- Pricing ---------- */
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}
.plan {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  position: relative;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan--pro {
  border: 2px solid var(--primary);
  box-shadow: 0 24px 60px -16px rgba(91,108,255,0.25);
  background: linear-gradient(180deg, #fff 0%, #FAFBFF 100%);
}
.plan__badge {
  position: absolute;
  top: -12px; right: 24px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.plan__name { font-size: 1.25rem; font-weight: 800; margin-bottom: 6px; }
.plan__hint { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }
.plan__list { display: flex; flex-direction: column; gap: 10px; }
.plan__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}
.plan__list li svg {
  width: 18px; height: 18px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 4px;
}
.plan__price-note {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px dashed var(--border);
  font-size: 13px;
  color: var(--text-faint);
}

@media (max-width: 720px) {
  .pricing { grid-template-columns: 1fr; }
}

/* ---------- Roadmap ---------- */
.roadmap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.roadmap__item {
  padding: 20px;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
}
.roadmap__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: var(--primary-50);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.roadmap__item h4 { margin-bottom: 6px; }
.roadmap__item p { font-size: 14px; line-height: 1.5; }

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color .15s ease;
}
.faq__item[open] {
  border-color: var(--primary);
  background: var(--primary-50);
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex-shrink: 0;
  width: 20px; height: 20px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C6577' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") center/contain no-repeat;
  transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(180deg); }
.faq__item p {
  padding: 0 20px 18px;
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Waitlist ---------- */
.waitlist {
  background: linear-gradient(135deg, #0E1116 0%, #1a1f2b 100%);
  color: #fff;
  border-radius: 32px;
  padding: 96px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 1040px;
  margin: 0 auto;
}
.waitlist::before {
  content: "";
  position: absolute;
  top: -150px; left: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(91,108,255,0.45) 0%, transparent 60%);
  pointer-events: none;
}
.waitlist::after {
  content: "";
  position: absolute;
  bottom: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(91,108,255,0.2) 0%, transparent 60%);
  pointer-events: none;
}
.waitlist h2 { color: #fff; margin-bottom: 20px; position: relative; font-size: clamp(2rem, 4.5vw, 3.5rem); }
.waitlist p { color: rgba(255,255,255,0.7); margin-bottom: 40px; position: relative; font-size: clamp(1rem, 1.4vw, 1.25rem); }

.waitlist__form {
  display: flex;
  gap: 8px;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
}
.waitlist__input {
  flex: 1;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  transition: border-color .2s ease, background .2s ease;
}
.waitlist__input::placeholder { color: rgba(255,255,255,0.5); }
.waitlist__input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255,255,255,0.12);
}
.waitlist__hint {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  position: relative;
}
.waitlist__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 18px auto 0;
  max-width: 520px;
  position: relative;
  text-align: left;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
}
.waitlist__consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 1px;
  accent-color: var(--primary);
  cursor: pointer;
}
.waitlist__consent a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.waitlist__consent a:hover { color: var(--primary-50); }

@media (max-width: 600px) {
  .waitlist { padding: 48px 24px; }
  .waitlist__form { flex-direction: column; }
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 20px; left: 20px; right: 20px;
  max-width: 720px;
  margin: 0 auto;
  background: #0E1116;
  color: #fff;
  border-radius: 16px;
  padding: 20px 24px;
  display: none;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  z-index: 200;
  border: 1px solid rgba(255,255,255,0.08);
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner__text {
  flex: 1 1 280px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
}
.cookie-banner__text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-banner__btn {
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease;
}
.cookie-banner__btn--accept {
  background: var(--primary);
  color: #fff;
}
.cookie-banner__btn--accept:hover { background: var(--primary-600); }
.cookie-banner__btn--reject {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}
.cookie-banner__btn--reject:hover { border-color: rgba(255,255,255,0.4); }
@media (max-width: 600px) {
  .cookie-banner { bottom: 12px; left: 12px; right: 12px; padding: 16px 18px; gap: 14px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__btn { flex: 1; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--success);
  color: #fff;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 8px 32px rgba(22,163,74,0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 100;
}
.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border-soft);
  padding: 48px 0 32px;
  color: var(--text-muted);
  font-size: 14px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer__about p { margin-top: 12px; max-width: 360px; }
.footer__col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text); margin-bottom: 14px; }
.footer__col ul { display: flex; flex-direction: column; gap: 8px; }
.footer__col a { color: var(--text-muted); transition: color .15s ease; }
.footer__col a:hover { color: var(--primary); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  font-size: 13px;
}

@media (max-width: 720px) {
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}

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