/* =========================================================
   Cybrr — single page site
   Light editorial layout · Inter · accent #1F4BFF
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg:          #F7F7F5;
  --surface:     #FFFFFF;
  --tint:        #EFEFEA;
  --ink:         #0E1113;
  --ink-2:       #2B302B;
  --muted:       #5F655E;
  --line:        #E3E3DC;
  --line-strong: #D2D3CB;

  --accent:      #1F4BFF;
  --accent-hi:   #1739D6;
  --accent-soft: rgba(31, 75, 255, .08);
  --accent-ring: rgba(31, 75, 255, .16);

  --dark:        #0D0F0E;
  --dark-ink:    #F2F3EF;
  --dark-muted:  #A8AFA5;
  --dark-line:   rgba(255, 255, 255, .12);

  --radius:      18px;
  --radius-sm:   10px;
  --wrap:        1180px;
  --header-h:    72px;

  --ease:        cubic-bezier(.22, 1, .36, 1);
  --ease-soft:   cubic-bezier(.4, 0, .2, 1);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --shadow-sm: 0 1px 2px rgba(14, 17, 19, .05);
  --shadow-md: 0 1px 2px rgba(14, 17, 19, .04), 0 20px 40px -26px rgba(14, 17, 19, .25);
  --shadow-lg: 0 2px 4px rgba(14, 17, 19, .04), 0 32px 64px -28px rgba(14, 17, 19, .30);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked,
body.menu-open { overflow: hidden; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
svg { display: block; }
::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; }

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.section { padding: clamp(72px, 9vw, 124px) 0; }
.section-tint {
  background: var(--tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  transform: translateY(-150%);
  transition: transform .2s var(--ease-soft);
}
.skip-link:focus { transform: none; }

/* ---------- Type ---------- */
h1, h2, h3 { font-weight: 600; }

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  line-height: 1.06;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 0;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: currentColor;
}

.lede {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  line-height: 1.65;
}

.section-head {
  max-width: 800px;
  margin-bottom: clamp(40px, 5.5vw, 64px);
}
.section-head h2 { margin: 16px 0 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -.005em;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s var(--ease-soft),
              color .25s var(--ease-soft),
              border-color .25s var(--ease-soft),
              transform .25s var(--ease),
              box-shadow .25s var(--ease-soft);
}
.btn svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(31, 75, 255, .25);
}
.btn-primary:hover {
  background: var(--accent-hi);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -6px rgba(31, 75, 255, .5);
}
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--ink);
}

.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; border-radius: 8px; }
.btn-block { width: 100%; }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 220;
  height: 2px;
  pointer-events: none;
}
.progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease-soft),
              border-color .3s var(--ease-soft),
              backdrop-filter .3s var(--ease-soft);
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(247, 247, 245, .88);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -.045em;
  color: var(--ink);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
}
.brand-mark svg { width: 19px; height: 19px; }
.brand-mark circle { fill: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  position: relative;
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  transition: color .2s var(--ease-soft);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform .28s var(--ease);
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.6px;
  margin-left: -9px;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease-soft);
}
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.mobile-panel {
  position: fixed;
  inset: var(--header-h) 0 auto;
  z-index: 190;
  display: none;
  padding: 20px clamp(20px, 5vw, 48px) 32px;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -30px rgba(14, 17, 19, .4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .25s var(--ease-soft),
              transform .25s var(--ease),
              visibility .25s;
}
.mobile-panel.is-open { opacity: 1; visibility: visible; transform: none; }

.mobile-panel nav { display: grid; }
.mobile-panel nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -.01em;
}
.mobile-panel .btn { margin-top: 22px; }
.mobile-meta {
  display: grid;
  gap: 4px;
  margin-top: 24px;
  font-size: 13.5px;
  color: var(--muted);
}
.mobile-meta a { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 480px at 82% -12%, rgba(31, 75, 255, .10), transparent 68%),
    radial-gradient(700px 420px at 4% 4%, rgba(31, 75, 255, .05), transparent 70%);
}
.hero-inner {
  padding-top: clamp(126px, 17vh, 184px);
  padding-bottom: clamp(60px, 8vw, 100px);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}
.status-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #12A150;
  box-shadow: 0 0 0 3px rgba(18, 161, 80, .14);
}
.status-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(18, 161, 80, .5);
  animation: pulse 2.8s var(--ease-soft) infinite;
}
@keyframes pulse {
  0%   { transform: scale(.7); opacity: .8; }
  70%  { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

.hero h1 {
  max-width: 20ch;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: .96;
  letter-spacing: -.045em;
}
.hero h1 span { display: block; }
.hero h1 .dim { color: var(--muted); }

.hero-lower {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  align-items: end;
  gap: clamp(36px, 5vw, 64px);
  margin-top: clamp(40px, 6vw, 68px);
}
.hero-lede {
  max-width: 48ch;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.35vw, 1.1875rem);
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-facts {
  padding: 4px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .66);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.fact {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.fact:last-child { border-bottom: 0; }
.fact-label {
  font-size: 12.5px;
  color: var(--muted);
}
.fact-value {
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.fact-value span {
  margin-left: 1px;
  font-size: .72em;
  font-weight: 500;
  color: var(--muted);
}

/* ---------- Trust strip ---------- */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .45);
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 28px;
  padding: 18px 0;
}
.trust-inner span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--muted);
}
.trust-inner span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .35s var(--ease),
              box-shadow .35s var(--ease-soft),
              border-color .35s var(--ease-soft);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 {
  margin-top: 22px;
  font-size: 1.15rem;
  letter-spacing: -.02em;
}
.card-copy {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.62;
}
.card-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  list-style: none;
  font-size: 14px;
  color: var(--ink-2);
}
.card-list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.5;
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .66em;
  width: 7px;
  height: 1.5px;
  background: var(--accent);
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 26px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: color .2s var(--ease-soft);
}
.card-link svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.card-link:hover { color: var(--accent); }
.card-link:hover svg { transform: translateX(3px); }

/* ---------- Stats band ---------- */
.stats-band {
  padding: clamp(64px, 8vw, 104px) 0;
  background: var(--dark);
  color: var(--dark-ink);
}
.stats-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 24px 48px;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.stats-head h2 {
  max-width: 16ch;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  letter-spacing: -.03em;
}
.stats-head p {
  max-width: 44ch;
  color: var(--dark-muted);
  font-size: 15px;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.stat {
  padding: 0 clamp(16px, 2vw, 28px);
  border-left: 1px solid var(--dark-line);
}
.stat:first-child { padding-left: 0; border-left: 0; }
.stat-value {
  display: block;
  font-size: clamp(2.2rem, 3.6vw, 3.1rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.045em;
  font-variant-numeric: tabular-nums;
}
.stat-suffix {
  font-size: .55em;
  font-weight: 500;
  color: var(--dark-muted);
}
.stat-label {
  display: block;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8E968C;
}
.stat p {
  margin-top: 8px;
  max-width: 26ch;
  color: var(--dark-muted);
  font-size: 13.5px;
  line-height: 1.55;
}

/* ---------- Packages ---------- */
.pkg-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 28px;
}
.billing-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--tint);
  border: 1px solid var(--line);
}
.billing-toggle button {
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s var(--ease-soft), color .2s var(--ease-soft), box-shadow .2s var(--ease-soft);
}
.billing-toggle button span {
  margin-left: 3px;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
}
.billing-toggle button.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.pkg-note { font-size: 13px; color: var(--muted); }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.price-card.featured {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--dark-ink);
  box-shadow: var(--shadow-lg);
}
.badge {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--mono);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.price-head h3 { font-size: 1.15rem; letter-spacing: -.02em; }
.price-head p {
  margin-top: 6px;
  max-width: 26ch;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}
.price-card.featured .price-head p { color: var(--dark-muted); }

.price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin: 26px 0 4px;
  line-height: 1;
}
.currency {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--muted);
}
.amount {
  font-size: clamp(2.5rem, 3.2vw, 3rem);
  font-weight: 600;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
  transition: opacity .15s var(--ease-soft);
}
.period {
  margin-left: 3px;
  font-size: 13px;
  color: var(--muted);
}
.price-custom {
  font-size: clamp(2rem, 2.6vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -.04em;
}
.price-card.featured .currency,
.price-card.featured .period { color: var(--dark-muted); }

.price-note {
  margin-bottom: 22px;
  font-size: 12.5px;
  color: var(--muted);
}
.price-card.featured .price-note { color: var(--dark-muted); }

.price-list {
  display: grid;
  gap: 11px;
  margin-top: 24px;
  list-style: none;
  font-size: 14px;
  line-height: 1.5;
}
.price-list li {
  position: relative;
  padding-left: 24px;
}
.price-list li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: .42em;
  width: 12px;
  height: 7px;
  border-left: 1.6px solid var(--accent);
  border-bottom: 1.6px solid var(--accent);
  transform: rotate(-45deg);
}

.price-foot {
  margin-top: 32px;
  font-size: 14px;
  color: var(--muted);
}
.price-foot strong { color: var(--ink); font-weight: 600; }
.price-foot a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* ---------- Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  list-style: none;
}
.step {
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}
.step-num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--accent);
}
.step h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  letter-spacing: -.015em;
}
.step p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: start;
  gap: clamp(32px, 6vw, 80px);
}
.faq-intro {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}
.faq-intro h2 { margin: 16px 0 18px; }
.faq-intro .lede a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item h3 { margin: 0; font-size: inherit; font-weight: inherit; }
.acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 20px 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -.01em;
  text-align: left;
  cursor: pointer;
  transition: color .2s var(--ease-soft);
}
.acc-trigger:hover { color: var(--accent); }
.acc-icon {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  transition: transform .3s var(--ease);
}
.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 1.5px;
  margin-top: -.75px;
  background: currentColor;
}
.acc-icon::after { transform: rotate(90deg); }
.acc-trigger[aria-expanded="true"] .acc-icon { transform: rotate(45deg); }

.acc-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s var(--ease);
}
.acc-panel p {
  max-width: 60ch;
  padding: 0 0 22px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: start;
  gap: clamp(32px, 6vw, 72px);
}
.contact-copy h2 { margin: 16px 0 18px; }

.contact-details {
  margin-top: 40px;
  border-top: 1px solid var(--line-strong);
}
.contact-details > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.contact-details dt {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 2.1;
}
.contact-details dd { font-size: 14.5px; }
.contact-details dd a { transition: color .2s var(--ease-soft); }
.contact-details dd a:hover { color: var(--accent); }

.form-card {
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.form { display: grid; gap: 18px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: grid; gap: 7px; }
.field label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
}
.opt {
  margin-left: 4px;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: 14.5px;
  line-height: 1.5;
  transition: border-color .2s var(--ease-soft), box-shadow .2s var(--ease-soft);
}
.field input,
.field select { height: 46px; padding-top: 0; padding-bottom: 0; }
.field textarea { min-height: 132px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #9AA097; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-ring);
  outline: none;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%235F655E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  cursor: pointer;
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #C0392B; }
.field.has-error input:focus,
.field.has-error textarea:focus { box-shadow: 0 0 0 3px rgba(192, 57, 43, .13); }
.field-error {
  font-size: 12.5px;
  color: #B3261E;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 4px;
}
.form-note { font-size: 12.5px; color: var(--muted); }
.form-status {
  min-height: 0;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
}
.form-status:not(:empty) { min-height: 20px; }
.form-status.is-ok { color: #0F7B44; }
.form-status.is-bad { color: #B3261E; }
.form-status a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------- Footer ---------- */
.site-footer {
  padding: clamp(56px, 7vw, 80px) 0 28px;
  background: var(--dark);
  color: var(--dark-ink);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: clamp(40px, 5vw, 56px);
}
.footer-brand .brand { color: var(--dark-ink); }
.footer-brand .brand-mark { background: var(--dark-ink); color: var(--dark); }
.footer-brand .brand-mark circle { fill: var(--accent); }
.footer-brand > p {
  margin-top: 18px;
  max-width: 34ch;
  color: var(--dark-muted);
  font-size: 14px;
  line-height: 1.6;
}
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--dark-line);
  border-radius: 9px;
  color: var(--dark-muted);
  transition: color .2s var(--ease-soft), border-color .2s var(--ease-soft), background-color .2s var(--ease-soft);
}
.socials a svg { width: 16px; height: 16px; }
.socials a:hover {
  color: var(--dark-ink);
  border-color: rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .06);
}

.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-col h3 {
  margin-bottom: 6px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8E968C;
}
.footer-col a {
  font-size: 14px;
  color: #C9CEC6;
  transition: color .2s var(--ease-soft);
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--dark-line);
  color: #8E968C;
  font-size: 12.5px;
}
.footer-fine { color: #767D74; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 180;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s var(--ease-soft), transform .3s var(--ease), visibility .3s, background-color .2s;
}
.to-top svg { width: 15px; height: 15px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Legal dialog ---------- */
.legal-modal {
  width: min(680px, calc(100vw - 32px));
  max-height: min(80vh, 760px);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg);
  color: var(--ink);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .45);
}
.legal-modal::backdrop {
  background: rgba(13, 15, 14, .55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
.legal-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.legal-head h3 { font-size: 1.05rem; letter-spacing: -.01em; }
.legal-close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.legal-close svg { width: 14px; height: 14px; }
.legal-close:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.legal-body {
  max-height: calc(80vh - 72px);
  overflow-y: auto;
  padding: 24px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}
.legal-body h4 {
  margin: 22px 0 8px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
}
.legal-body h4:first-child { margin-top: 0; }
.legal-body p + p { margin-top: 10px; }
.legal-body ul { margin: 10px 0 0; padding-left: 18px; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-body .note {
  margin-bottom: 20px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--tint);
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- Motion ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.js .anim {
  opacity: 0;
  animation: rise .85s var(--ease) var(--d, 0s) both;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .7s var(--ease) var(--d, 0s),
    transform .7s var(--ease) var(--d, 0s);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-lower { grid-template-columns: minmax(0, 1fr) 300px; }
  .card { padding: 26px; }
  .price-card { padding: 26px; }
  .badge { top: 20px; right: 20px; }
}

@media (max-width: 980px) {
  .service-grid { grid-template-columns: 1fr; }
  .card { padding: 28px; }
  .price-grid { grid-template-columns: 1fr; max-width: 560px; }
  .badge { top: 26px; right: 26px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 28px; }
  .stat-grid { grid-template-columns: 1fr 1fr; gap: 36px 0; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-intro { position: static; max-width: 620px; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-card { max-width: 640px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero-lower { grid-template-columns: 1fr; align-items: start; }
  .hero-facts { max-width: 420px; }
  .stats-head { grid-template-columns: 1fr; align-items: start; }
  .stats-head h2 { max-width: 22ch; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-panel { display: block; }
}

@media (max-width: 520px) {
  .nav .btn-sm { display: none; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .hero-inner { padding-top: 118px; }
  .hero h1 { font-size: clamp(2.5rem, 10.5vw, 3.4rem); }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-facts { max-width: none; }
  .fact-value { font-size: 1.3rem; }
  .trust-inner { justify-content: flex-start; gap: 10px 22px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .stat-grid { grid-template-columns: 1fr; gap: 30px; }
  .stat,
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat { padding-bottom: 26px; border-bottom: 1px solid var(--dark-line); }
  .stat:last-child { padding-bottom: 0; border-bottom: 0; }
  .stat p { max-width: 40ch; }
  .field-row { grid-template-columns: 1fr; }
  .contact-details > div { grid-template-columns: 1fr; gap: 2px; }
  .contact-details dt { line-height: 1.5; }
  .form-foot { align-items: stretch; }
  .form-foot .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
  .pkg-toolbar { align-items: flex-start; }
  .price-card { padding: 24px; }
  .badge { top: 22px; right: 22px; }
  .legal-head { padding: 16px 18px; }
  .legal-body { padding: 18px; }
}

@media (max-width: 380px) {
  .billing-toggle button { padding: 8px 12px; }
  .badge { position: static; display: inline-block; margin-bottom: 14px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .anim { opacity: 1; animation: none; transform: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .status-dot::after { animation: none; }
  .card, .btn, .card-link svg, .to-top { transition: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .progress, .to-top, .mobile-panel, .form-card { display: none !important; }
  body { background: #fff; color: #000; }
  .hero-inner { padding-top: 0; }
  .section { padding: 24px 0; }
  .stats-band, .site-footer, .price-card.featured { background: #fff !important; color: #000 !important; }
}
