:root {
  --ink: #0f172a;
  --muted: #475569;
  --paper: #f1f5f9;
  --paper-deep: #e2e8f0;
  --surface: rgba(255, 255, 255, 0.62);
  --line: rgba(15, 23, 42, 0.12);
  --accent: #2563eb;
  --accent-deep: #1e3a8a;
  --warm: #0284c7;
  --glow-a: rgba(37, 99, 235, 0.18);
  --glow-b: rgba(14, 165, 233, 0.14);
  --header-bg: rgba(248, 250, 252, 0.9);
  --page-base: #f8fafc;
  --page-mid: #eef2ff;
  --btn-text: #f8fafc;
  --radius: 4px;
  --max: 1120px;
  --font-display: "Syne", sans-serif;
  --font-body: "Sora", sans-serif;
  --shadow-soft: 0 18px 50px rgba(15, 23, 42, 0.08);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --header-offset: calc(4.25rem + var(--safe-top));
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e2e8f0;
    --muted: #94a3b8;
    --paper: #0f172a;
    --paper-deep: #1e293b;
    --surface: rgba(30, 41, 59, 0.78);
    --line: rgba(226, 232, 240, 0.12);
    --accent: #60a5fa;
    --accent-deep: #3b82f6;
    --warm: #38bdf8;
    --glow-a: rgba(59, 130, 246, 0.18);
    --glow-b: rgba(14, 165, 233, 0.12);
    --header-bg: rgba(15, 23, 42, 0.92);
    --page-base: #020617;
    --page-mid: #0f172a;
    --btn-text: #f8fafc;
    --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.35);
  }
}

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

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

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  background:
    radial-gradient(900px 520px at 12% -10%, var(--glow-a), transparent 60%),
    radial-gradient(700px 480px at 92% 8%, var(--glow-b), transparent 55%),
    linear-gradient(165deg, var(--page-base) 0%, var(--paper) 45%, var(--page-mid) 100%);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: clip;
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
  padding-bottom: var(--safe-bottom);
  -webkit-tap-highlight-color: transparent;
}

img,
svg,
video,
canvas {
  max-width: 100%;
  display: block;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 100%;
  height: 3px;
  padding-top: var(--safe-top);
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, #1e3a8a, #2563eb, #38bdf8);
  background-clip: content-box;
  pointer-events: none;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: var(--accent-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--warm);
}

.site-header {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: calc(0.85rem + var(--safe-top)) 0 0.85rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: 0.75rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 25;
  background: rgba(15, 23, 42, 0.45);
  border: 0;
  padding: 0;
  margin: 0;
}

.nav-backdrop[hidden] {
  display: none;
}

.nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin-left: auto;
}

.header-cta {
  min-height: 44px;
}

.nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav a:hover,
.nav a[aria-current="page"],
.nav a.is-active {
  color: var(--ink);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--accent-deep);
  background: var(--accent-deep);
  color: var(--btn-text);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
  touch-action: manipulation;
}

.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

.btn-magnetic {
  will-change: transform;
  transition: transform 120ms ease, background 180ms ease, color 180ms ease,
    border-color 180ms ease;
}

.btn-magnetic:hover {
  transform: none;
}

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

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

.btn-small {
  padding: 0.55rem 0.9rem;
  font-size: 0.88rem;
}

.hero {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  min-height: calc(100vh - 5.5rem);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
  padding: 1rem 0 2rem;
}

.trust-strip {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto 1.5rem;
  padding: 0.95rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.trust-strip span {
  position: relative;
}

.trust-strip span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.75rem;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.split-text {
  display: flex;
  flex-wrap: wrap;
}

.split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.55em);
  animation: char-in 560ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes char-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-visual {
  position: relative;
  min-height: min(68vh, 560px);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(37, 99, 235, 0.24), transparent 45%),
    linear-gradient(320deg, rgba(14, 165, 233, 0.16), transparent 40%),
    linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: rgba(241, 245, 249, 0.45);
  box-shadow: var(--shadow-soft);
  animation: fade-in 900ms ease both;
  perspective: 800px;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-spotlight {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity 220ms ease;
  background: radial-gradient(
    320px circle at var(--x, 50%) var(--y, 50%),
    rgba(96, 165, 250, 0.28),
    transparent 55%
  );
  pointer-events: none;
}

.hero-spotlight.is-active {
  opacity: 1;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0.18;
  background-image: radial-gradient(rgba(241, 245, 249, 0.35) 0.6px, transparent 0.6px);
  background-size: 3px 3px;
  pointer-events: none;
}

.mesh {
  position: absolute;
  inset: 8% 4% auto;
  width: 92%;
  height: auto;
  opacity: 0.85;
  z-index: 4;
  pointer-events: none;
}

.orbit {
  position: absolute;
  inset: 18% 16%;
  z-index: 5;
  border: 1px solid rgba(241, 245, 249, 0.18);
  border-radius: 50%;
  animation: spin 28s linear infinite;
  transform-style: preserve-3d;
  transition: transform 180ms ease-out;
}

.brand-mark {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--ink);
}

.hero h1,
.contact-intro h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  max-width: 16ch;
}

.lede {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 38ch;
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.orbit::before,
.orbit::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(241, 245, 249, 0.12);
  border-radius: 50%;
}

.orbit::after {
  inset: 28%;
}

.core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4.5rem;
  height: 4.5rem;
  margin: -2.25rem 0 0 -2.25rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #93c5fd, #2563eb 55%, #1e3a8a 100%);
  animation: pulse 3.2s ease-in-out infinite;
}

.node {
  position: absolute;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  background: #7dd3fc;
}

.node-a {
  top: 8%;
  left: 48%;
}

.node-b {
  bottom: 22%;
  right: 10%;
  background: #93c5fd;
}

.node-c {
  bottom: 18%;
  left: 18%;
}

.section {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 4.5rem 0;
  scroll-margin-top: calc(5.5rem + var(--safe-top));
}

.section-alt {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-head h2,
.cta-band h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-head p,
.cta-band p {
  margin: 0;
  color: var(--muted);
}

.service-list {
  display: grid;
  gap: 0;
}

.service {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.service:last-child {
  border-bottom: 1px solid var(--line);
}

.service-index {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
}

.service h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.service p {
  margin: 0;
  color: var(--muted);
  max-width: 54ch;
}

.service-points {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
  max-width: 48ch;
}

.service-points li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.service-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 1px;
  background: var(--accent);
}

.audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 52rem;
}

.audience p {
  margin: 0;
  color: var(--muted);
}

.audience strong {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.pricing-list {
  display: grid;
  gap: 0;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.price-row:last-of-type {
  border-bottom: 1px solid var(--line);
}

.price-row h3 {
  margin: 0 0 0.3rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.price-row p {
  margin: 0;
  color: var(--muted);
  max-width: 42ch;
}

.price {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  letter-spacing: -0.03em;
  white-space: nowrap;
  color: var(--ink);
}

.price span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0;
}

.pricing-note {
  margin: 1.5rem 0 0;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 0;
  max-width: 44rem;
}

.faq-item {
  border-top: 1px solid var(--line);
  padding: 0.35rem 0;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.75rem 1rem 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-weight: 700;
  font-size: 1.25rem;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item .service-points {
  margin: 0.75rem 0 1rem;
}

.faq-item p + .service-points {
  margin-top: 0.65rem;
}

.contact-direct {
  margin: 0;
  line-height: 1.8;
}

.contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  touch-action: manipulation;
}

.contact-chip:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 550ms ease, transform 550ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.steps li {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 1rem;
  border-top: 3px solid var(--accent);
}

.steps strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.steps span {
  color: var(--muted);
}

.cta-band {
  text-align: center;
  padding-bottom: 5rem;
}

.cta-band h2 {
  max-width: none;
}

.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 36ch;
}

.cta-band .btn {
  margin-top: 0.25rem;
}

.site-footer {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2rem 0 2.75rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.45rem;
}

.site-footer .logo {
  margin: 0;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent-deep);
}

.fine {
  font-size: 0.85rem !important;
}

.contact-page {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: start;
  min-height: calc(100vh - 10rem);
}

.contact-intro {
  animation: rise 700ms ease both;
}

.contact-intro .brand-mark {
  font-size: clamp(2rem, 5vw, 3rem);
}

.contact-intro h1 {
  max-width: 14ch;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  animation: fade-in 800ms ease both;
  position: relative;
}

.contact-form label,
.contact-form fieldset {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
}

.contact-form legend {
  margin-bottom: 0.35rem;
  padding: 0;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--page-base);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  max-width: 100%;
}

.contact-form textarea::placeholder {
  color: var(--muted);
  opacity: 0.85;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(37, 99, 235, 0.35);
  outline-offset: 1px;
  border-color: var(--accent);
}

.check {
  display: flex !important;
  align-items: center;
  gap: 0.55rem;
  font-weight: 400;
  color: var(--muted);
}

.check input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--accent-deep);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 400;
}

.privacy-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
}

.form-fields {
  display: grid;
  gap: 1rem;
}

.form-success {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem 0.25rem;
  text-align: center;
}

.form-success[hidden] {
  display: none;
}

.form-success-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent-deep);
}

.form-success-text {
  margin: 0 auto 0.5rem;
  max-width: 28ch;
  color: var(--muted);
}

.contact-form.is-sent {
  border-color: rgba(37, 99, 235, 0.35);
}

.field-error {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #9a3412;
}

.field-error[hidden] {
  display: none;
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
  border-color: #c2410c;
  background: rgba(154, 52, 18, 0.04);
}

.form-status {
  margin: 0;
  min-height: 1.4em;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
}

.form-status--success {
  color: var(--accent-deep);
}

.form-status--error {
  color: #9a3412;
}

.botcheck {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.contact-form .btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.contact-form label.is-focused {
  color: var(--accent-deep);
}

.contact-form.is-shake {
  animation: shake 420ms ease;
}

.contact-form.is-success-pop {
  animation: success-pop 650ms ease;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-6px);
  }
  40% {
    transform: translateX(6px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(4px);
  }
}

@keyframes success-pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.015);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(147, 197, 253, 0.35);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 18px rgba(147, 197, 253, 0);
  }
}

@media (max-width: 860px) {
  .site-header {
    width: 100%;
    max-width: none;
    padding-left: max(1rem, var(--safe-left));
    padding-right: max(1rem, var(--safe-right));
    flex-wrap: nowrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions {
    margin-left: auto;
  }

  .nav {
    margin-left: 0;
  }

  .header-cta {
    display: none;
  }

  .nav {
    position: fixed;
    top: var(--header-offset);
    right: max(1rem, var(--safe-right));
    left: auto;
    width: min(18rem, calc(100vw - 2rem - var(--safe-left) - var(--safe-right)));
    margin: 0;
    padding: 0.75rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    background: var(--header-bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 35;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border-radius: var(--radius);
  }

  .nav a::after {
    display: none;
  }

  .nav a:hover,
  .nav a[aria-current="page"],
  .nav a.is-active {
    background: var(--surface);
  }

  .trust-strip span:not(:last-child)::after {
    display: none;
  }

  .hero,
  .contact-page,
  .section,
  .site-footer,
  .trust-strip {
    width: min(var(--max), calc(100% - 2rem));
  }

  .hero,
  .contact-page {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero {
    padding-top: 1rem;
    gap: 1.25rem;
  }

  .hero h1,
  .contact-intro h1 {
    max-width: 18ch;
  }

  .hero-visual {
    min-height: min(52vw, 280px);
    order: -1;
  }

  .cta-row {
    flex-direction: column;
  }

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

  .steps {
    grid-template-columns: 1fr;
  }

  .audience,
  .price-row {
    grid-template-columns: 1fr;
  }

  .price {
    justify-self: start;
    white-space: normal;
  }

  .service {
    grid-template-columns: 3rem 1fr;
    gap: 0.85rem;
  }

  .check {
    min-height: 44px;
  }

  .contact-form {
    padding: 1.15rem;
  }

  .faq-item summary {
    padding-right: 2rem;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 1rem;
  }

  .brand-mark {
    font-size: clamp(2rem, 11vw, 2.6rem);
  }

  .hero-visual {
    min-height: 220px;
  }

  .header-actions .header-cta {
    display: none;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 200px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .btn:hover {
    transform: none;
  }

  .hero-spotlight {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal,
  .split-char {
    opacity: 1;
    transform: none;
  }

  .scroll-progress {
    display: none;
  }
}
