/* ==========================================================================
   EasyDate — in.easydate.tech
   Figma frames: 375 / 768 / 1440. Breakpoints: 640px (tablet), 1200px (desktop).
   Each frame is reproduced 1:1 (fixed content column + artboard backgrounds) and scaled proportionally
   with the viewport inside its range: html zoom is set by the inline script in <head>
   (mobile: w/375, tablet: w/768, desktop: w/1440). Viewport units are NOT zoom-adjusted — use % there.
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/roboto-400.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/roboto-500.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/roboto-700.woff2") format("woff2"); }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/roboto-900.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/inter-700.woff2") format("woff2"); }

/* ---------- Tokens (names 1:1 with Figma variables where they exist) ---------- */
:root {
  --primary-text: #1a191c;            /* Figma: Primary text */
  --main-color: #e85677;              /* Figma: Main color */
  --main-color-ink: #d6385d;          /* Main color darkened for white text (WCAG AA, 4.5:1) */
  --main-color-ink-hover: #c42f54;
  --brand-dark: #753846;              /* "Date" in the logo */
  --surface-dark: #200e1b;
  --surface-dark-line: #6a5163;
  --nav-text: #11111d;
  --burger: #1c1c32;
  --white: #fff;
  --text-70: rgb(26 25 28 / 0.7);
  --white-70: rgb(255 255 255 / 0.7);
  --glass: rgb(255 255 255 / 0.1);
  --glass-header: rgb(255 255 255 / 0.2);

  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-ui: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --radius-btn: 10px;
  --radius-card: 24px;
  --radius-panel: 16px;
  --heading-shadow: -10px 25px 33.4px rgb(91 85 241 / 0.2);

  --header-h: 60px;
  --section-y: 60px;
  --page-w: 327px;   /* content column of the mobile frame (375) */
  --fs-h1: 34px;
  --fs-h2: 32px;
  --fs-body: 16px;

  /* Figma "Ellipse 4": #E85677, blur 300 — measured falloff, normalised to the glow radius */
  --glow: rgb(232 86 119 / 0.082) 0, rgb(232 86 119 / 0.082) 10%, rgb(232 86 119 / 0.074) 20%, rgb(232 86 119 / 0.063) 30%,
          rgb(232 86 119 / 0.049) 40%, rgb(232 86 119 / 0.035) 50%, rgb(232 86 119 / 0.023) 60%, rgb(232 86 119 / 0.013) 70%,
          rgb(232 86 119 / 0.007) 80%, rgb(232 86 119 / 0.002) 90%, rgb(232 86 119 / 0) 100%;
  --glow-strong: rgb(232 86 119 / 0.137) 0, rgb(232 86 119 / 0.137) 10%, rgb(232 86 119 / 0.123) 20%, rgb(232 86 119 / 0.105) 30%,
          rgb(232 86 119 / 0.082) 40%, rgb(232 86 119 / 0.059) 50%, rgb(232 86 119 / 0.038) 60%, rgb(232 86 119 / 0.022) 70%,
          rgb(232 86 119 / 0.012) 80%, rgb(232 86 119 / 0.003) 90%, rgb(232 86 119 / 0) 100%;
}

/* Tablet frame 768 (640–1199px): single 704px column, artboards are 768 wide. */
@media (min-width: 640px) {
  :root {
    --header-h: 80px;
    --section-y: 80px;
    --page-w: 704px;   /* content column of the tablet frame (768) */
    --fs-h1: 54px;
    --fs-h2: 46px;
  }
}

/* Desktop frame 1440: the whole page is scaled proportionally (see the inline script in <head>),
   so the layout, decorations and text always keep the proportions of the Figma frame. */
@media (min-width: 1200px) {
  :root {
    --section-y: 100px;
    --page-w: 1240px;
    --fs-h1: 58px;
  }
}
html { zoom: var(--zoom, 1); }

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--surface-dark);
  color: var(--primary-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }

[id] { scroll-margin-top: var(--header-h); }

:focus-visible {
  outline: 3px solid var(--main-color);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

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

.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 200;
  padding: 12px 16px; background: #fff; color: var(--primary-text); border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.container {
  width: var(--page-w);
  max-width: calc(100% - 48px);
  margin-inline: auto;
}

.nowrap { white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; /* reduced-motion reset, intentional */
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* The form modal lives in form.css (loaded without blocking rendering); keep it hidden until that file arrives. */
.modal { position: fixed; inset: 0; z-index: 300; visibility: hidden; opacity: 0; pointer-events: none; }
.modal.is-open { pointer-events: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 54px;
  padding: 16px 24px;
  border: 0;
  border-radius: var(--radius-btn);
  background: var(--main-color-ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn:hover { background: var(--main-color-ink-hover); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline-color: var(--primary-text); }
.on-dark .btn:focus-visible, .site-footer .btn:focus-visible { outline-color: #fff; }

.btn__sep { width: 1px; height: 12px; background: #fff; flex: none; }
.btn__icon { width: 18px; height: 18px; flex: none; }
.btn--block { width: 100%; }
.btn--header { min-height: 48px; }

/* ---------- Logo ---------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 25px;
  line-height: normal;
  color: var(--main-color);
}
.logo__mark { width: 49px; height: 42px; flex: none; }
.logo__date { color: var(--brand-dark); }
.logo--sm { font-size: 21.41px; gap: 13.7px; }
.logo--sm .logo__mark { width: 41.96px; height: 35.97px; }
.site-footer .logo__date { color: #b25f78; } /* lightened from #753846 for AA contrast on the dark footer */

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--glass-header);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid #fff;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.site-header .logo { font-size: 25px; }
.site-header .logo__mark { width: 49px; height: 42px; }

.burger {
  position: relative;
  width: 44px; height: 44px;
  margin-right: -10px;
  border: 0; background: transparent; cursor: pointer;
}
.burger__bars,
.burger__bars::before,
.burger__bars::after {
  position: absolute;
  left: 10px; width: 24px; height: 3px;
  background: var(--burger);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.burger__bars { top: 20px; }
.burger__bars::before, .burger__bars::after { content: ""; left: 0; }
.burger__bars::before { top: -7px; }
.burger__bars::after { top: 7px; }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* mobile / tablet menu panel */
.nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  max-height: calc(100dvh / var(--zoom, 1) - var(--header-h));
  overflow-y: auto;
  padding: 16px calc((100% - min(var(--page-w), 100% - 48px)) / 2) 28px;
  background: rgb(255 255 255 / 0.96);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid #fff;
  box-shadow: 0 24px 40px rgb(32 14 27 / 0.15);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}
.nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}
.nav__list { display: flex; flex-direction: column; }
.nav__link {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-family: var(--font-ui);
  font-size: 18px;
  color: var(--nav-text);
  text-decoration: none;
  border-bottom: 1px solid rgb(17 17 29 / 0.08);
}
.nav__link:hover { color: var(--main-color-ink); }
.nav__cta { margin-top: 20px; }
.site-header__cta { display: none; }

@media (min-width: 1200px) {
  .burger { display: none; }
  .site-header__cta { display: inline-flex; }
  .site-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
  .site-header__cta { justify-self: end; }
  .nav {
    position: static;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border: 0;
    box-shadow: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .nav__list { flex-direction: row; gap: 26px; align-items: center; }
  .nav__link {
    min-height: 44px;
    font-size: 16px;
    border: 0;
    opacity: 0.7;
    transition: opacity 0.2s ease;
  }
  .nav__link:hover { opacity: 1; color: var(--nav-text); }
  .nav__cta { display: none; }
}


/* ---------- Artboard backgrounds (exported 1:1 from the Figma bg frames) ----------
   The artboard keeps its natural size and is centred; the edges beyond it are filled by stretching
   the image's own edge columns, so no decoration is ever scaled, cropped or moved relative to the content. */
.art {
  background-color: var(--art-fill, #fff);
  background-image: var(--art), var(--art), var(--art);
  background-repeat: no-repeat;
  background-size: var(--art-w) var(--art-h), calc(var(--art-w) * 40) var(--art-h), calc(var(--art-w) * 40) var(--art-h);
  background-position: center var(--art-pos, top), left var(--art-pos, top), right var(--art-pos, top);
}
.art--hero { --art: url("/assets/img/bg/hero-m.webp"); --art-w: 375px; --art-h: 924px; --art-pos: bottom; --art-fill: #fff; }
.art--chat { --art: url("/assets/img/bg/chat-m.webp"); --art-w: 375px; --art-h: 822px; --art-fill: #fef7f9; }
.art--faq  { --art: url("/assets/img/bg/faq-m.webp");  --art-w: 375px; --art-h: 626px; --art-fill: #fbe6ec; }
@media (min-width: 640px) {
  .art--hero { --art: url("/assets/img/bg/hero-t.webp"); --art-w: 768px; --art-h: 992px; }
  .art--chat { --art: url("/assets/img/bg/chat-t.webp"); --art-w: 768px; --art-h: 838px; --art-fill: #fef5f7; }
  .art--faq  { --art: url("/assets/img/bg/faq-t.webp");  --art-w: 768px; --art-h: 964px; --art-fill: #fcf0f3; }
}
@media (min-width: 1200px) {
  .art--hero { --art: url("/assets/img/bg/hero-d.webp"); --art-w: 1440px; --art-h: 800px; }
  .art--chat { --art: url("/assets/img/bg/chat-d.webp"); --art-w: 1440px; --art-h: 610px; --art-fill: #fcedf1; }
  .art--faq  { --art: url("/assets/img/bg/faq-d.webp");  --art-w: 1440px; --art-h: 1238px; --art-fill: #fdeff2; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 120px 0 60px;
}
.hero__inner { display: flex; flex-direction: column; gap: 32px; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.hero__heading { display: flex; flex-direction: column; gap: 16px; }
.hero__title {
  font-size: var(--fs-h1);
  font-weight: 500;
  line-height: normal;
  color: var(--primary-text);
}
.hero__text { font-size: 14px; color: var(--text-70); }
@media (min-width: 1200px) { .hero__text { max-width: 600px; } }
.hero .btn { width: 100%; }

.perks { display: flex; flex-direction: column; gap: 14px; }
.perk {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 21px; /* 16/24 in Figma, minus the 3px stroke drawn inside */
  border: 3px solid #fff;
  border-radius: var(--radius-panel);
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: var(--text-70);
  font-size: 16px;
  font-weight: 700;
}
.perk__icon { width: 32px; height: 32px; flex: none; }
.perk__text { min-width: 0; }
.perk__note { display: block; font-weight: 400; }
@media (min-width: 360px) { .perk--nowrap .perk__text { white-space: nowrap; } }

@media (min-width: 640px) {
  .hero { padding: 160px 0 120px; }
  .hero__inner { gap: 40px; }
  .hero__copy { gap: 40px; }
  .hero__text { font-size: 16px; }
  .hero .btn { width: auto; }
  .perk { font-size: 20px; }
}

@media (min-width: 1200px) {
  .hero {
    display: flex;
    align-items: center;
    min-height: 800px;
    padding: 0;
  }
  .hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 607px) minmax(0, 503px);
    justify-content: space-between;
    align-items: center;
    gap: 40px;
  }
  .perks { transform: translateY(-28px); }
}

/* ---------- Shared section bits ---------- */
.section-title {
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: normal;
  color: var(--primary-text);
}
.on-dark .section-title { color: #fff; text-shadow: var(--heading-shadow); }
.accent { color: var(--main-color); }
.section-lead { font-size: 16px; color: var(--text-70); }
.on-dark .section-lead { color: var(--white-70); }

/* ---------- About ---------- */
.about { background: var(--surface-dark); padding: var(--section-y) 0; color: #fff; }
.about__inner { display: flex; flex-direction: column; gap: 32px; }
.about__copy { display: flex; flex-direction: column; gap: 16px; }
.about__copy p + p { margin-top: 1.4em; }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 14px; }
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 190px;
  padding: 22px 14px;
  border: 2px dashed var(--main-color);
  border-radius: var(--radius-card);
  text-align: center;
}
.stat__num {
  font-size: 42px;
  font-weight: 900;
  line-height: normal;
  color: var(--main-color);
  text-shadow: var(--heading-shadow);
  white-space: nowrap;
}
.stat__label { font-weight: 700; line-height: normal; text-transform: uppercase; }

@media (min-width: 640px) {
  .about__inner { gap: 40px; }
  .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .stat { min-height: 200px; padding: 58px 12px; }
}

@media (min-width: 1200px) {
  .about__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .about__copy { flex: 0 1 503px; }
  .stats { flex: 0 1 712px; }
  .stat { min-height: 237px; padding: 76px 14px; }
}

/* ---------- Chat operators ---------- */
.operators {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--section-y) 0;
}
.operators__inner { display: flex; flex-direction: column; gap: 32px; }
.operators__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.operators__copy .section-lead { margin-top: 16px; }
.operators .btn { width: 100%; }

.panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 21px 13px; /* Figma 24/16 minus the 3px stroke */
  border: 3px solid #fff;
  border-radius: var(--radius-panel);
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
.panel__group { display: flex; flex-direction: column; gap: 18px; }
.panel__title {
  display: flex; align-items: center; gap: 16px;
  font-size: 20px; font-weight: 700; line-height: 1.4; color: var(--text-70);
}
.panel__title img { width: 32px; height: 32px; flex: none; }
.panel__rule { height: 3px; border: 0; margin: -1.5px 0; background: #fff; } /* Figma rule has zero layout height */
.checklist { display: flex; flex-direction: column; gap: 12px; padding-left: 24px; list-style: disc; }
.checklist li { font-weight: 500; line-height: 1.4; color: var(--text-70); }

@media (max-width: 639.98px) {
  .operators .section-lead { font-size: 14px; }
}

@media (min-width: 640px) {
  .panel { padding: 21px; }
  .operators__inner { gap: 60px; }
  .operators__copy { gap: 40px; }
  .operators .btn { width: auto; }
}

@media (min-width: 1200px) {
  .operators__inner {
    display: grid;
    grid-template-columns: minmax(0, 607px) minmax(0, 503px);
    justify-content: space-between;
    align-items: center;
    gap: 40px;
  }
}

/* ---------- Benefits ---------- */
.benefits {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--surface-dark);
  padding: var(--section-y) 0;
  color: #fff;
}
/* Soft pink glows of the dark sections (Figma "Ellipse 4": #E85677, blur 300), positioned in artboard coordinates */
.benefits::before, .reviews::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 0 auto 0 50%;
  width: var(--art-w);
  margin-left: calc(var(--art-w) / -2);
  background-repeat: no-repeat;
}
.benefits { --art-w: 375px; }
.reviews { --art-w: 375px; }
.benefits::before { background-image: radial-gradient(ellipse 868px 817px at 118px 43px, var(--glow)); }
.reviews::before { background-image: radial-gradient(ellipse 868px 817px at 442px 60px, var(--glow)); }
@media (min-width: 640px) {
  .benefits, .reviews { --art-w: 768px; }
  .benefits::before { background-image: radial-gradient(ellipse 868px 817px at 100px -13px, var(--glow)); }
  .reviews::before { background-image: none; }
}
@media (min-width: 1200px) {
  .benefits, .reviews { --art-w: 1440px; }
  .benefits::before { background-image: radial-gradient(ellipse 868px 817px at 83px -70px, var(--glow)); }
  .reviews::before {
    background-image:
      radial-gradient(ellipse 868px 817px at 83px 1194px, var(--glow-strong)),
      radial-gradient(ellipse 868px 817px at 1346px 616px, var(--glow));
  }
}
.benefits__inner { display: flex; flex-direction: column; gap: 32px; }
.benefits__head { display: flex; flex-direction: column; gap: 16px; }
.benefit-list { display: flex; flex-direction: column; gap: 16px; }
.benefit {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border: 2px dashed var(--main-color);
  border-radius: var(--radius-card);
}
.benefit__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--main-color);
}
.benefit__icon img { width: 24px; height: 24px; }
.benefit__title { font-size: 16px; font-weight: 500; line-height: normal; }
.benefit__text { font-size: 14px; line-height: 1.4; color: var(--white-70); }

@media (min-width: 640px) {
  .benefits__inner { gap: 40px; }
  .benefit-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .benefit { padding: 30px 22px; }
}

@media (min-width: 1200px) {
  .benefits__head { align-items: center; text-align: center; margin-inline: auto; max-width: 1029px; }
  .benefits__head .section-lead { max-width: 819px; }
  .benefit-list { gap: 24px; }
  .benefit { gap: 14px; min-height: 293px; padding: 37px 21px; border-width: 3px; }
  .benefit__icon { width: 80px; height: 80px; }
  .benefit__icon img { width: 40px; height: 40px; }
  .benefit__title { font-size: 24px; }
  .benefit__text { font-size: 16px; }
}

/* ---------- Reviews ---------- */
.reviews {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--surface-dark);
  border-top: 1px solid var(--surface-dark-line);
  padding: var(--section-y) 0;
  color: #fff;
}
.reviews__head { display: flex; flex-direction: column; gap: 16px; }
.reviews__inner { display: flex; flex-direction: column; align-items: stretch; gap: 32px; }

.reviews__track { display: flex; flex-direction: column; gap: 14px; }

.review {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 25px 13px;
  border: 3px dashed var(--main-color);
  border-radius: var(--radius-card);
}
.review__head { display: flex; align-items: center; gap: 16px; }
.review__avatar {
  position: relative;
  flex: none;
  width: 60px; height: 60px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--main-color);
}
/* The photo keeps the exact crop/offset of the Figma avatar (portrait box centred on the circle + offset) */
.review__avatar img {
  position: absolute;
  left: calc(50% + var(--dx) - var(--w) / 2);
  top: calc(50% + var(--cy) - var(--h) / 2);
  width: var(--w); height: var(--h);
  max-width: none;
  object-fit: cover;
}
.review__avatar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--main-color); }
.review__name { font-size: 20px; font-weight: 500; line-height: normal; }
.review__role { color: var(--white-70); }
.review__text { color: var(--white-70); }
.review__text p + p { margin-top: 10px; }

.reviews .btn { align-self: center; width: 100%; }

@media (min-width: 640px) {
  .reviews__inner { gap: 40px; }
  .reviews__track { gap: 16px; }
  .review { gap: 24px; padding: 37px 29px; }
  .review__avatar { width: 80px; height: 80px; }
  .review__name { font-size: 24px; }
  .reviews .btn { width: auto; }
}

@media (min-width: 1200px) {
  .reviews__track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .reviews__head { align-items: center; text-align: center; }
  .reviews__head .section-lead { max-width: 818px; }
}

/* ---------- FAQ ---------- */
.faq {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--section-y) 0;
}
.faq__inner { display: flex; flex-direction: column; gap: 32px; }
.faq .section-title { text-shadow: var(--heading-shadow); }
.faq__list { display: flex; flex-direction: column; gap: 10px; }

.faq__item {
  border: 2px solid #fff;
  border-radius: 12px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.faq__summary {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 44px;
  padding: 16px 14px;
  list-style: none;
  cursor: pointer;
}
.faq__summary::-webkit-details-marker { display: none; }
.faq__summary:focus-visible { outline-offset: -4px; }
.faq__icon { position: relative; flex: none; width: 16px; height: 16px; }
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 100%; height: 3px;
  margin-top: -1.5px;
  border-radius: 40px;
  background: var(--main-color);
  transition: transform 0.25s ease;
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__question {
  flex: 1; min-width: 0;
  font-size: 16px; font-weight: 500; line-height: 1.4;
  color: var(--text-70);
}
.faq__answer { padding: 0 14px 16px 44px; font-size: 14px; color: var(--text-70); }
.faq__item[open] .faq__summary { padding-bottom: 12px; min-height: 0; }
.faq__answer p + p { margin-top: 0; }

@media (min-width: 640px) {
  .faq__inner { gap: 40px; }
  .faq__list { gap: 16px; }
  .faq__item { border-width: 3px; border-radius: var(--radius-card); }
  .faq__summary { gap: 24px; padding: 29px; min-height: 90px; } /* + 2×3px border = 96px */
  .faq__icon { width: 32px; height: 28px; }
  .faq__icon::before, .faq__icon::after { height: 5px; margin-top: -2.5px; }
  .faq__question { font-size: 20px; }
  .faq__answer { padding: 0 29px 29px 85px; }
}

@media (min-width: 1200px) {
  .faq .section-title { text-align: center; }
  .faq__list { width: min(100%, 818px); margin-inline: auto; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--surface-dark); color: var(--white-70); }
.site-footer__top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 60px 0 60px;
  text-align: center;
}
.footer__nav { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.footer__links { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.footer__link {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin-block: -12.5px; /* 44px hit area, 19px visual line box */
  color: var(--white-70);
  text-decoration: none;
  line-height: normal;
  transition: color 0.2s ease;
}
.footer__link:hover { color: #fff; }
.footer__cta { display: flex; flex-direction: column; align-items: center; gap: 24px; width: 100%; }
.footer__tagline { font-family: var(--font-ui); line-height: 1.4; color: #fff; text-shadow: var(--heading-shadow); }
.footer__tagline .accent { color: var(--main-color); }
.site-footer .btn { width: 100%; }
.site-footer__bar {
  border-top: 1px solid rgb(255 255 255 / 0.1);
  padding: 10px 0;
  text-align: center;
  font-size: 12px;
  line-height: normal;
}

@media (min-width: 640px) {
  .site-footer__top {
    display: grid;
    grid-template-columns: minmax(0, 197fr) minmax(0, 266fr) minmax(0, 241fr);
    align-items: start;
    gap: 0;
    padding: 60px 0 56px;
    text-align: left;
  }
  .footer__nav { align-items: flex-start; gap: 24px; }
  .footer__links { align-items: flex-start; gap: 24px; }
  .footer__cta { align-items: stretch; gap: 44px; }
  .site-footer .btn { width: 100%; }
  .site-footer .logo { font-size: 21.41px; gap: 13.7px; }
  .site-footer .logo__mark { width: 41.96px; height: 35.97px; }
}

@media (min-width: 1200px) {
  .site-footer__top {
    grid-template-columns: 315px 315px 316px 292px;
    justify-content: space-between;
    padding: 80px 0 60px;
  }
  .footer__nav { display: contents; }
  .footer__cta { gap: 24px; }
  .footer__cta .btn { width: auto; justify-self: start; }
  .site-footer__bar { padding: 18px 0 17px; font-size: 16px; }
  .site-footer .logo { font-size: 25px; gap: 16px; }
  .site-footer .logo__mark { width: 49px; height: 42px; }
}


/* ---------- Privacy / 404 pages ---------- */
.page {
  position: relative;
  isolation: isolate;
  background: #fff;
  padding: calc(var(--header-h) + 48px) 0 var(--section-y);
}
.page__body { width: min(100%, 818px); margin-inline: auto; }
.page__body h1 { font-size: var(--fs-h2); font-weight: 500; line-height: normal; margin-bottom: 32px; }
.page__body h2 { font-size: 24px; font-weight: 500; line-height: 1.2; margin: 32px 0 12px; }
.page__body p { color: var(--primary-text); opacity: 0.85; }
.page__body p + p { margin-top: 12px; }
.page__body a { color: var(--main-color-ink); }

.notfound {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100svh / var(--zoom, 1));
  padding: calc(var(--header-h) + 40px) 0 120px;
  text-align: center;
}
.notfound__code {
  font-size: 120px;
  font-weight: 900;
  line-height: 1;
  color: var(--main-color);
  text-shadow: var(--heading-shadow);
}
.notfound__title { margin: 8px 0 32px; font-size: var(--fs-h2); font-weight: 500; line-height: normal; }

/* ---------- Header in a dark context (set by app.js while it overlaps a dark section) ---------- */
.site-header.is-dark {
  background: rgb(32 14 27 / 0.62);
  border-bottom-color: rgb(255 255 255 / 0.16);
}
.site-header .logo__date, .site-header .logo, .burger__bars, .burger__bars::before, .burger__bars::after { transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease, opacity 0.2s ease; }
.site-header.is-dark .logo__date { color: #c8758f; }
.site-header.is-dark .burger__bars,
.site-header.is-dark .burger__bars::before,
.site-header.is-dark .burger__bars::after { background: #fff; }
.site-header.is-dark .burger[aria-expanded="true"] .burger__bars { background: transparent; }
@media (min-width: 1200px) {
  .site-header.is-dark .nav__link { color: #fff; }
  .site-header.is-dark .nav__link:hover { color: #fff; }
}
/* menu panel stays light; keep the header readable above it */
.site-header.is-dark:has(.nav.is-open) { background: rgb(32 14 27 / 0.9); }


/* ---------- Motion: reveal on scroll, hero entrance, button hover ---------- */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--rd, 0s);
}
.js .reveal--left { transform: translate3d(-36px, 0, 0); }
.js .reveal--right { transform: translate3d(36px, 0, 0); }
.js .reveal--zoom { transform: scale(0.94); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.is-in { transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease; transition-delay: 0s; }
.js .btn.reveal.is-in:hover { transform: translateY(-2px); }

/* Hero copy: slides up immediately without touching opacity, so the LCP text is never hidden */
@keyframes rise { from { transform: translate3d(0, 22px, 0); } to { transform: none; } }
.hero__title, .hero__text, .hero__copy > .btn { animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero__text { animation-delay: 0.1s; }
.hero__copy > .btn { animation-delay: 0.2s; }

.btn { transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgb(214 56 93 / 0.28); }
.btn:active { transform: translateY(0); box-shadow: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal--left, .js .reveal--right, .js .reveal--zoom { opacity: 1; transform: none; transition: none; }
  .hero__title, .hero__text, .hero__copy > .btn { animation: none; }
}

/* DECO:START — decorative icons cut from the Figma backgrounds (see tools note in README); they sway gently. */
.deco { position: absolute; z-index: -1; inset: 0 auto 0 50%; width: var(--art-w); margin-left: calc(var(--art-w) / -2); pointer-events: none; }
/* Icons are loaded after the page is ready (html.deco-on, set in app.js) so they never compete with the LCP content. */
html { --deco-display: none; }
html.deco-on, html:not(.js) { --deco-display: block; }
.deco .d { position: absolute; display: none; background-repeat: no-repeat; background-size: 100% 100%;
  animation: sway var(--dur, 7s) ease-in-out var(--delay, 0s) infinite alternate, deco-in 0.9s ease both; will-change: transform; }
@keyframes deco-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes sway {
  from { transform: translate3d(calc(var(--dx, 5px) * -1), calc(var(--dy, 6px) * -1), 0) rotate(calc(var(--rot, 4deg) * -1)); }
  to   { transform: translate3d(var(--dx, 5px), var(--dy, 6px), 0) rotate(var(--rot, 4deg)); }
}
@media (prefers-reduced-motion: reduce) { .deco .d { animation: none; } }
.deco .d1 { --dx: 5px; --dy: 7px; --rot: 4.0deg; --dur: 7.2s; --delay: -1.0s; }
.deco .d2 { --dx: 6px; --dy: 5px; --rot: 3.0deg; --dur: 8.4s; --delay: -3.2s; }
.deco .d3 { --dx: 4px; --dy: 8px; --rot: 5.0deg; --dur: 6.4s; --delay: -0.4s; }
.deco .d4 { --dx: 7px; --dy: 6px; --rot: 2.5deg; --dur: 9.0s; --delay: -5.1s; }
.deco .d5 { --dx: 5px; --dy: 9px; --rot: 4.5deg; --dur: 7.8s; --delay: -2.2s; }
.deco .d6 { --dx: 6px; --dy: 6px; --rot: 3.5deg; --dur: 6.8s; --delay: -4.3s; }
.deco .d7 { --dx: 4px; --dy: 7px; --rot: 5.5deg; --dur: 8.0s; --delay: -6.0s; }
.deco--hero .d1 { display: none; }
.deco--hero .d2 { display: none; }
.deco--hero .d3 { display: none; }
.deco--hero .d4 { display: none; }
.deco--hero .d5 { display: none; }
.deco--hero .d6 { display: none; }
.deco--hero .d7 { display: none; }
.deco--hero .d1 { display: var(--deco-display); left: 45.5px; bottom: 772.5px; width: 112.0px; height: 108.5px; background-image: url("/assets/img/deco/hero-m-1.webp"); }
.deco--hero .d2 { display: var(--deco-display); left: 239.0px; bottom: 752.0px; width: 124.5px; height: 109.5px; background-image: url("/assets/img/deco/hero-m-2.webp"); }
.deco--hero .d3 { display: var(--deco-display); left: 68.0px; bottom: 409.0px; width: 91.5px; height: 82.0px; background-image: url("/assets/img/deco/hero-m-3.webp"); }
.deco--hero .d4 { display: var(--deco-display); left: 102.0px; bottom: 94.5px; width: 121.5px; height: 121.5px; background-image: url("/assets/img/deco/hero-m-4.webp"); }
.deco--chat .d1 { display: none; }
.deco--chat .d2 { display: none; }
.deco--chat .d3 { display: none; }
.deco--chat .d4 { display: none; }
.deco--chat .d5 { display: none; }
.deco--chat .d6 { display: none; }
.deco--chat .d7 { display: none; }
.deco--chat .d1 { display: var(--deco-display); left: 214.5px; top: 0.0px; width: 115.0px; height: 95.0px; background-image: url("/assets/img/deco/chat-m-1.webp"); }
.deco--chat .d2 { display: var(--deco-display); left: 239.0px; top: 439.5px; width: 90.0px; height: 82.0px; background-image: url("/assets/img/deco/chat-m-2.webp"); }
.deco--chat .d3 { display: var(--deco-display); left: 105.0px; top: 714.5px; width: 114.0px; height: 107.5px; background-image: url("/assets/img/deco/chat-m-3.webp"); }
.deco--faq .d1 { display: none; }
.deco--faq .d2 { display: none; }
.deco--faq .d3 { display: none; }
.deco--faq .d4 { display: none; }
.deco--faq .d5 { display: none; }
.deco--faq .d6 { display: none; }
.deco--faq .d7 { display: none; }
.deco--faq .d1 { display: var(--deco-display); left: 214.5px; top: 0.0px; width: 115.0px; height: 95.0px; background-image: url("/assets/img/deco/faq-m-1.webp"); }
@media (min-width: 640px) {
  .deco--hero .d1 { display: none; }
  .deco--hero .d2 { display: none; }
  .deco--hero .d3 { display: none; }
  .deco--hero .d4 { display: none; }
  .deco--hero .d5 { display: none; }
  .deco--hero .d6 { display: none; }
  .deco--hero .d7 { display: none; }
  .deco--hero .d1 { display: var(--deco-display); left: 95.5px; bottom: 904.0px; width: 112.5px; height: 88.0px; background-image: url("/assets/img/deco/hero-t-1.webp"); }
  .deco--hero .d2 { display: var(--deco-display); left: 566.5px; bottom: 569.5px; width: 162.0px; height: 134.5px; background-image: url("/assets/img/deco/hero-t-2.webp"); }
  .deco--hero .d3 { display: var(--deco-display); left: 124.5px; bottom: 385.0px; width: 110.5px; height: 109.0px; background-image: url("/assets/img/deco/hero-t-3.webp"); }
  .deco--chat .d1 { display: none; }
  .deco--chat .d2 { display: none; }
  .deco--chat .d3 { display: none; }
  .deco--chat .d4 { display: none; }
  .deco--chat .d5 { display: none; }
  .deco--chat .d6 { display: none; }
  .deco--chat .d7 { display: none; }
  .deco--chat .d1 { display: var(--deco-display); left: 348.5px; top: 0.0px; width: 114.5px; height: 98.0px; background-image: url("/assets/img/deco/chat-t-1.webp"); }
  .deco--chat .d2 { display: var(--deco-display); left: 428.5px; top: 254.5px; width: 131.0px; height: 131.0px; background-image: url("/assets/img/deco/chat-t-2.webp"); }
  .deco--faq .d1 { display: none; }
  .deco--faq .d2 { display: none; }
  .deco--faq .d3 { display: none; }
  .deco--faq .d4 { display: none; }
  .deco--faq .d5 { display: none; }
  .deco--faq .d6 { display: none; }
  .deco--faq .d7 { display: none; }
  .deco--faq .d1 { display: var(--deco-display); left: 348.5px; top: 0.0px; width: 114.5px; height: 98.0px; background-image: url("/assets/img/deco/faq-t-1.webp"); }
}
@media (min-width: 1200px) {
  .deco--hero .d1 { display: none; }
  .deco--hero .d2 { display: none; }
  .deco--hero .d3 { display: none; }
  .deco--hero .d4 { display: none; }
  .deco--hero .d5 { display: none; }
  .deco--hero .d6 { display: none; }
  .deco--hero .d7 { display: none; }
  .deco--hero .d1 { display: var(--deco-display); left: 120.5px; bottom: 582.5px; width: 109.0px; height: 107.0px; background-image: url("/assets/img/deco/hero-d-1.webp"); }
  .deco--hero .d2 { display: var(--deco-display); left: 654.0px; bottom: 552.0px; width: 148.5px; height: 137.0px; background-image: url("/assets/img/deco/hero-d-2.webp"); }
  .deco--hero .d3 { display: var(--deco-display); left: 1234.0px; bottom: 573.5px; width: 108.5px; height: 108.0px; background-image: url("/assets/img/deco/hero-d-3.webp"); }
  .deco--hero .d4 { display: var(--deco-display); left: 479.5px; bottom: 178.5px; width: 170.5px; height: 139.0px; background-image: url("/assets/img/deco/hero-d-4.webp"); }
  .deco--hero .d5 { display: var(--deco-display); left: 1183.5px; bottom: 116.5px; width: 169.0px; height: 170.5px; background-image: url("/assets/img/deco/hero-d-5.webp"); }
  .deco--hero .d6 { display: var(--deco-display); left: 119.5px; bottom: 105.0px; width: 120.5px; height: 117.0px; background-image: url("/assets/img/deco/hero-d-6.webp"); }
  .deco--hero .d7 { display: var(--deco-display); left: 859.0px; bottom: 102.5px; width: 116.0px; height: 117.0px; background-image: url("/assets/img/deco/hero-d-7.webp"); }
  .deco--chat .d1 { display: none; }
  .deco--chat .d2 { display: none; }
  .deco--chat .d3 { display: none; }
  .deco--chat .d4 { display: none; }
  .deco--chat .d5 { display: none; }
  .deco--chat .d6 { display: none; }
  .deco--chat .d7 { display: none; }
  .deco--chat .d1 { display: var(--deco-display); left: 1208.5px; top: 0.0px; width: 186.5px; height: 183.5px; background-image: url("/assets/img/deco/chat-d-1.webp"); }
  .deco--chat .d2 { display: var(--deco-display); left: 41.5px; top: 0.0px; width: 191.5px; height: 184.0px; background-image: url("/assets/img/deco/chat-d-2.webp"); }
  .deco--chat .d3 { display: var(--deco-display); left: 525.5px; top: 87.0px; width: 135.5px; height: 136.0px; background-image: url("/assets/img/deco/chat-d-3.webp"); }
  .deco--chat .d4 { display: var(--deco-display); left: 110.0px; top: 486.0px; width: 111.0px; height: 110.0px; background-image: url("/assets/img/deco/chat-d-4.webp"); }
  .deco--chat .d5 { display: var(--deco-display); left: 1119.0px; top: 510.0px; width: 180.5px; height: 100.0px; background-image: url("/assets/img/deco/chat-d-5.webp"); }
  .deco--chat .d6 { display: var(--deco-display); left: 506.0px; top: 548.5px; width: 122.5px; height: 61.5px; background-image: url("/assets/img/deco/chat-d-6.webp"); }
  .deco--faq .d1 { display: none; }
  .deco--faq .d2 { display: none; }
  .deco--faq .d3 { display: none; }
  .deco--faq .d4 { display: none; }
  .deco--faq .d5 { display: none; }
  .deco--faq .d6 { display: none; }
  .deco--faq .d7 { display: none; }
}
/* DECO:END */
