:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-muted: #f8fafc;
  --ink: #0f172a;
  --ink-muted: #475569;
  --line: #dbe3f0;
  --line-strong: #c9d5e8;
  --brand: #1d4ed8;
  --brand-strong: #1e3a8a;
  --brand-soft: #e7efff;
  --warn: #f59e0b;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.1);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body.landing-page {
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -44px;
  background: var(--brand);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  z-index: 999;
}

.skip-link:focus {
  top: 12px;
}

.hero,
main,
.site-footer {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.hero {
  padding-top: 108px;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 72px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1100px;
  z-index: 120;
  overflow: visible;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
}

.brand-logo {
  width: 520px;
  height: 82px;
  object-fit: contain;
  object-position: 16px center;
  display: block;
  border: none;
  padding: 0;
  margin-left: 14px;
  background: transparent;
  box-shadow: none;
}

.top-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 14px;
  margin-left: auto;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #334155;
}

.nav-link {
  text-decoration: none;
  color: #334155;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 10px 2px;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--brand-strong);
}

.top-nav .btn {
  padding: 10px 14px;
}

.nav-cta {
  font-size: 0.92rem;
  line-height: 1.1;
  white-space: nowrap;
}

.top-nav a:focus-visible,
.top-nav button:focus-visible {
  outline: 3px solid rgba(29, 78, 216, 0.25);
  outline-offset: 2px;
}

.btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 10px;
  font-weight: 700;
  padding: 10px 16px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.btn-primary,
.btn-secondary,
.btn-nav {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 10px 16px;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-nav {
  background: #fff;
  border-color: var(--line);
  color: #1f2937;
}

.btn-nav:hover {
  border-color: #b8c8df;
  background: #f9fbff;
}

.btn-primary {
  color: #fff;
  background: var(--brand);
  border-color: var(--brand);
}

.btn-primary:hover {
  background: var(--brand-strong);
  border-color: var(--brand-strong);
}

.btn-secondary {
  color: var(--brand-strong);
  background: #f1f5ff;
  border-color: #d8e3fb;
}

.btn-secondary:hover {
  background: #e8efff;
  border-color: #c4d6fa;
}

.hero-copy {
  margin-top: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(20px, 3vw, 30px);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: center;
}

.hero-main {
  min-width: 0;
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  font-size: 0.79rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-strong);
  background: var(--brand-soft);
  border: 1px solid #d3e0fd;
  border-radius: 999px;
  padding: 5px 10px;
}

h1 {
  margin: 0;
  font-family: "Sora", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.95rem, 4.1vw, 3rem);
  line-height: 1.14;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.lead {
  margin: 18px 0 0;
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.68;
  max-width: 58ch;
}

.hero-cta {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-trust {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: #64748b;
}

.hero-benefits {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-benefit-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-muted);
  padding: 10px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  min-width: 0;
}

.hero-benefit-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1f4eb3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-benefit-icon svg {
  width: 13px;
  height: 13px;
  display: block;
}

.hero-benefit-content h3 {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.3;
  color: #0f172a;
}

.hero-benefit-content p {
  margin: 4px 0 0;
  font-size: 0.82rem;
  line-height: 1.46;
  color: var(--ink-muted);
}

.hero-preview {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(100%, 640px);
  justify-self: end;
}

.hero-preview-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-size: 0.84rem;
}

.preview-pill {
  display: inline-flex;
  align-items: center;
  background: #eff5ff;
  border: 1px solid #d5e3fe;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand-strong);
  font-weight: 700;
}

.hero-preview-screen {
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(241, 245, 249, 0.98) 100%);
  padding: 10px;
  overflow: hidden;
}

.hero-preview-screen img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}

.zoomable-image {
  cursor: zoom-in;
}

main {
  margin-top: 16px;
  padding-bottom: 34px;
}

.section {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 24px;
  margin-bottom: 14px;
}

.section-head h2 {
  margin: 0;
  font-family: "Sora", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.42rem, 2.3vw, 1.95rem);
  letter-spacing: -0.018em;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--ink-muted);
  line-height: 1.68;
}

.seo-copy {
  background: #0f172a;
  border-color: #0f172a;
}

.seo-copy .section-head h2 {
  color: #fff;
}

.seo-copy p {
  margin: 12px 0 0;
  color: #d7e2f5;
  line-height: 1.72;
}

.feature-grid,
.screenshot-grid,
.testimonial-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-muted);
  padding: 16px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.card p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.64;
}

.shot-card {
  margin: 0;
}

.shot-placeholder {
  min-height: 0;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.98) 0%, rgba(241, 245, 249, 0.98) 100%),
    linear-gradient(rgba(148, 163, 184, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.13) 1px, transparent 1px);
  background-size: auto, 16px 16px, 16px 16px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 14px;
  color: #3f5775;
  font-weight: 700;
  line-height: 1.45;
  overflow: hidden;
}

.shot-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.shot-card figcaption {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 280;
  display: grid;
  place-items: center;
  padding: 16px;
}

.image-lightbox[hidden] {
  display: none !important;
}

.image-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: blur(2px);
  cursor: zoom-out;
}

.image-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 96vw);
  max-height: 90vh;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
  padding: 14px;
  display: grid;
  gap: 8px;
}

.image-lightbox__dialog img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
  background: #f8fafc;
}

.image-lightbox__caption {
  margin: 0;
  color: #334155;
  font-size: 0.9rem;
  text-align: center;
}

.image-lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox__nav {
  position: absolute;
  top: 50%;
  width: 38px;
  height: 38px;
  margin-top: -19px;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.image-lightbox__nav--prev {
  left: 12px;
}

.image-lightbox__nav--next {
  right: 12px;
}

body.lightbox-open {
  overflow: hidden;
}

.workflow ol {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  counter-reset: step;
  position: relative;
  align-items: start;
}

.workflow ol::before {
  content: "";
  position: absolute;
  left: 13%;
  right: 13%;
  top: 22px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d7e5fb 0%, #c8dbfa 50%, #d7e5fb 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -1px 0 rgba(148, 163, 184, 0.22);
  z-index: 0;
}

.workflow ol::after {
  content: "";
  position: absolute;
  left: 15%;
  right: 15%;
  top: 30px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(71, 85, 105, 0.55) 0 12px, transparent 12px 20px);
  z-index: 0;
}

.workflow li {
  --step-offset: 0px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-muted);
  padding: 44px 12px 12px;
  min-height: 92px;
  text-align: center;
  color: var(--ink-muted);
  z-index: 1;
  font-size: 0.93rem;
  line-height: 1.45;
  transform: translateY(var(--step-offset));
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.workflow li:nth-child(2) {
  --step-offset: 12px;
}

.workflow li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 50%;
  top: 10px;
  margin-left: -14px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(29, 78, 216, 0.14);
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.workflow li:hover,
.workflow li:focus-within {
  transform: translateY(calc(var(--step-offset) - 4px));
  border-color: #b8cbee;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(29, 78, 216, 0.1);
}

.workflow li:hover::before,
.workflow li:focus-within::before {
  background: #1d4ed8;
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 8px 16px rgba(29, 78, 216, 0.28);
  animation: workflow-step-pop 300ms ease-out;
}

@keyframes workflow-step-pop {
  0% {
    transform: scale(1);
  }
  55% {
    transform: scale(1.14);
  }
  100% {
    transform: scale(1.08);
  }
}

.testimonial-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 16px;
}

.testimonial-card p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.64;
}

.testimonial-card .stars {
  color: var(--warn);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.testimonial-author {
  margin-top: 10px !important;
  color: #334155 !important;
  font-weight: 700;
  font-size: 0.92rem;
}

.lights-on {
  display: grid;
  grid-template-columns: 136px 1fr;
  gap: 20px;
  align-items: center;
  background: #0f172a;
  border-color: #0f172a;
}

.lights-icon {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 120px;
  transition: transform 180ms ease;
}

.lights-bulb {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 2px solid #f59e0b;
  background: #fcd34d;
  position: relative;
  z-index: 2;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.lights-bulb::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 46px;
  margin-left: -7px;
  width: 14px;
  height: 18px;
  border-radius: 4px;
  background: #94a3b8;
}

.lights-glow {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.3) 0%, rgba(250, 204, 21, 0.04) 70%, transparent 100%);
  opacity: 0.72;
  transform: scale(1);
  transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease;
}

.lights-on:hover .lights-icon,
.lights-on:focus-within .lights-icon {
  transform: translateY(-1px);
}

.lights-on:hover .lights-bulb,
.lights-on:focus-within .lights-bulb {
  background: #fde047;
  box-shadow:
    0 0 0 4px rgba(250, 204, 21, 0.14),
    0 0 26px rgba(250, 204, 21, 0.34);
  transform: scale(1.03);
}

.lights-on:hover .lights-glow,
.lights-on:focus-within .lights-glow {
  opacity: 1;
  transform: scale(1.16);
  filter: saturate(125%);
}

.lights-copy h2 {
  margin: 0;
  color: #fff;
  font-family: "Sora", "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.015em;
}

.lights-copy p {
  margin: 10px 0 16px;
  color: #d7e2f5;
  line-height: 1.7;
}

.faq article {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 12px;
}

.faq article:first-of-type {
  margin-top: 16px;
}

.faq h3 {
  margin: 0;
  font-size: 1.03rem;
}

.faq p {
  margin: 8px 0 0;
  color: var(--ink-muted);
  line-height: 1.68;
}

.site-footer {
  padding-bottom: 30px;
  color: var(--ink-muted);
  font-size: 0.94rem;
}

.site-footer nav {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

.site-footer nav a {
  text-decoration: none;
  color: var(--brand-strong);
}

.footer-cookie-btn {
  border: 1px solid #c8d6ee;
  background: #edf3ff;
  color: var(--brand-strong);
  border-radius: 9px;
  padding: 6px 10px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.footer-cookie-btn:hover {
  background: #e5eeff;
}

/* Cookie consent for landing */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line-strong);
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  z-index: 250;
}

.cookie-banner__content {
  flex: 1;
  min-width: 0;
}

.cookie-banner__title {
  margin-bottom: 4px;
  font-size: 0.95rem;
  font-weight: 700;
}

.cookie-banner__text {
  color: var(--ink-muted);
  font-size: 0.83rem;
  line-height: 1.42;
}

.cookie-banner__text a {
  color: var(--brand-strong);
}

.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-banner .btn-primary,
.cookie-banner .btn-secondary {
  padding: 8px 12px;
  font-size: 0.82rem;
  border-radius: 9px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 260;
}

.cookie-modal__card {
  width: min(660px, 92vw);
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 20px;
}

.cookie-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.cookie-modal__title {
  font-size: 1.02rem;
  font-weight: 700;
}

.cookie-modal__subtitle {
  margin-top: 4px;
  font-size: 0.83rem;
  color: #64748b;
}

.cookie-modal__close {
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #eef2f9;
  cursor: pointer;
}

.cookie-modal__body {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-muted);
  padding: 11px 12px;
}

.cookie-option__title {
  font-size: 0.9rem;
  font-weight: 700;
}

.cookie-option__text {
  font-size: 0.8rem;
  color: #64748b;
}

.cookie-modal__policy {
  margin-top: 4px;
  font-size: 0.82rem;
}

.cookie-modal__policy a {
  color: var(--brand-strong);
}

.cookie-modal__actions {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.cookie-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  display: inline-block;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle__slider {
  position: absolute;
  inset: 0;
  background: #cbd5e1;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.cookie-toggle__slider::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.16);
  transition: all 0.2s ease;
}

.cookie-toggle input:checked + .cookie-toggle__slider {
  background: var(--brand);
}

.cookie-toggle input:checked + .cookie-toggle__slider::after {
  transform: translateX(20px);
}

body.cookie-modal-open {
  overflow: hidden;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible {
  outline: 3px solid rgba(29, 78, 216, 0.25);
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-preview {
    max-width: 620px;
    width: 100%;
    justify-self: start;
  }

  .hero-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid,
  .screenshot-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 840px) {
  .hero {
    padding-top: 96px;
  }

  .top-nav {
    top: 8px;
    width: calc(100% - 16px);
    min-height: 64px;
    padding: 8px 10px;
    border-radius: 14px;
    gap: 8px;
  }

  .brand {
    max-width: calc(100% - 52px);
  }

  .brand-logo {
    width: min(62vw, 290px);
    height: 46px;
    margin-left: 0;
    object-position: left center;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
  }

  .top-actions {
    display: none;
    position: fixed;
    left: 8px;
    right: 8px;
    top: 78px;
    z-index: 140;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-left: 0;
    max-height: calc(100vh - 92px);
    overflow: auto;
  }

  .top-nav.is-open .top-actions {
    display: flex;
  }

  .nav-link {
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 10px 10px;
  }

  .nav-link:hover {
    background: #f8faff;
    border-color: var(--line);
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .lights-on {
    grid-template-columns: 1fr;
  }

  .hero-cta {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
  }

  .workflow ol {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .workflow ol::before {
    left: 19px;
    right: auto;
    top: 20px;
    bottom: 20px;
    width: 12px;
    border-radius: 999px;
    height: auto;
    background: linear-gradient(180deg, #d7e5fb 0%, #c8dbfa 50%, #d7e5fb 100%);
    box-shadow:
      inset 1px 0 0 rgba(255, 255, 255, 0.75),
      inset -1px 0 0 rgba(148, 163, 184, 0.22);
  }

  .workflow ol::after {
    left: 24px;
    right: auto;
    top: 26px;
    bottom: 26px;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, rgba(71, 85, 105, 0.55) 0 10px, transparent 10px 17px);
  }

  .workflow li {
    --step-offset: 0px;
    text-align: left;
    min-height: 0;
    padding: 10px 12px 10px 50px;
    transform: translateY(0);
  }

  .workflow li::before {
    left: 10px;
    top: 50%;
    margin-left: 0;
    margin-top: -14px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 88px;
  }

  .top-nav {
    top: 6px;
    width: calc(100% - 12px);
    min-height: 58px;
    padding: 7px 8px;
    border-radius: 12px;
  }

  .hero,
  main,
  .site-footer {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-copy,
  .section {
    padding: 18px 15px;
  }

  .hero-main {
    max-width: 100%;
  }

  .brand-logo {
    width: min(64vw, 220px);
    height: 40px;
  }

  .top-actions {
    left: 6px;
    right: 6px;
    top: 70px;
  }

  .feature-grid,
  .screenshot-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-banner__actions {
    width: 100%;
    justify-content: flex-start;
  }

  .cookie-modal__card {
    padding: 15px;
  }

  .cookie-modal__actions {
    justify-content: flex-start;
  }

  .image-lightbox__dialog {
    width: 96vw;
    padding: 10px;
  }

  .image-lightbox__dialog img {
    max-height: 72vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}
