/* ==========================================================================
   loop check — Loop Postos institutional site
   Design tokens: dark-first (product runs on dark operational dashboards),
   light theme provided for explicit opt-in / system light preference.
   ========================================================================== */

/* ---- Tokens: dark palette (default) ---- */
:root {
  --bg: #0A0E0C;
  --bg-elevated: #0F1512;
  --surface: #131A16;
  --surface-2: #182019;
  --border: rgba(230, 245, 238, 0.09);
  --border-strong: rgba(230, 245, 238, 0.16);

  --accent: #1FDE78;
  --accent-strong: #0BC85B;
  --accent-dim: #0E7A44;
  --accent-secondary: #6FCE9C;
  --accent-wash: rgba(31, 222, 120, 0.12);
  --on-accent: #06170D;

  --text: #F2F7F4;
  --text-muted: #97A69E;
  --text-faint: #5E6D66;

  --danger: #FF6555;
  --danger-wash: rgba(255, 101, 85, 0.14);
  --warning: #F5B84B;
  --warning-wash: rgba(245, 184, 75, 0.14);

  --shadow-lg: 0 30px 80px -24px rgba(0, 0, 0, 0.6), 0 8px 24px -12px rgba(0, 0, 0, 0.4);
  --shadow-sm: 0 2px 10px -4px rgba(0, 0, 0, 0.4);

  --font-display: "Nunito", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Consolas", monospace;

  --ease-fluid: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --r-lg: 1.75rem;
  --r-md: 1.25rem;
  --r-sm: 0.85rem;
  --shadow-bezel: 0 0 0 1px var(--border), 0 0 0 8px rgba(230, 245, 238, 0.035), var(--shadow-lg);
  --shadow-bezel-hover: 0 0 0 1px var(--border-strong), 0 0 0 8px rgba(230, 245, 238, 0.06), var(--shadow-lg);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #F5F8F6;
    --bg-elevated: #FFFFFF;
    --surface: #FFFFFF;
    --surface-2: #EEF3EF;
    --border: rgba(10, 25, 18, 0.10);
    --border-strong: rgba(10, 25, 18, 0.18);

    --accent: #0BAE57;
    --accent-strong: #099349;
    --accent-dim: #E3F5EA;
    --accent-secondary: #107A45;
    --accent-wash: rgba(11, 174, 87, 0.10);
    --on-accent: #06170D;

    --text: #0E1613;
    --text-muted: #4D5D56;
    --text-faint: #7C8A83;

    --danger: #D6392C;
    --danger-wash: rgba(214, 57, 44, 0.09);
    --warning: #A06B08;
    --warning-wash: rgba(160, 107, 8, 0.10);

    --shadow-lg: 0 24px 60px -24px rgba(20, 40, 30, 0.22);
    --shadow-sm: 0 2px 10px -6px rgba(20, 40, 30, 0.18);
    --shadow-bezel: 0 0 0 1px var(--border), 0 0 0 8px rgba(10, 25, 18, 0.035), var(--shadow-lg);
    --shadow-bezel-hover: 0 0 0 1px var(--border-strong), 0 0 0 8px rgba(10, 25, 18, 0.06), var(--shadow-lg);
  }
}

:root[data-theme="light"] {
  --bg: #F5F8F6;
  --bg-elevated: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #EEF3EF;
  --border: rgba(10, 25, 18, 0.10);
  --border-strong: rgba(10, 25, 18, 0.18);

  --accent: #0BAE57;
  --accent-strong: #099349;
  --accent-dim: #E3F5EA;
  --accent-secondary: #107A45;
  --accent-wash: rgba(11, 174, 87, 0.10);
  --on-accent: #06170D;

  --text: #0E1613;
  --text-muted: #4D5D56;
  --text-faint: #7C8A83;

  --danger: #D6392C;
  --danger-wash: rgba(214, 57, 44, 0.09);
  --warning: #A06B08;
  --warning-wash: rgba(160, 107, 8, 0.10);

  --shadow-lg: 0 24px 60px -24px rgba(20, 40, 30, 0.22);
  --shadow-sm: 0 2px 10px -6px rgba(20, 40, 30, 0.18);
  --shadow-bezel: 0 0 0 1px var(--border), 0 0 0 8px rgba(10, 25, 18, 0.035), var(--shadow-lg);
  --shadow-bezel-hover: 0 0 0 1px var(--border-strong), 0 0 0 8px rgba(10, 25, 18, 0.06), var(--shadow-lg);
}

/* ---- Reset ---- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  padding-top: 96px;
  background:
    radial-gradient(760px circle at 12% -8%, var(--accent-wash), transparent 60%),
    radial-gradient(620px circle at 108% 18%, rgba(111, 206, 156, 0.10), transparent 60%),
    var(--bg);
  background-attachment: fixed, fixed, fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.01em;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--on-accent);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 200;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

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

/* ---- Brand lockup ---- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  color: var(--text);
}
.brand-mark { flex-shrink: 0; display: block; }
.brand-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand-dot { color: var(--accent); }
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-left: 8px;
  margin-left: 2px;
  border-left: 1px solid var(--border-strong);
}

.product-name { font-family: var(--font-display); font-weight: 700; }
.p-loop { color: var(--accent); }
.p-check { color: var(--accent-secondary); }

.inline-product {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent);
}
.inline-product--footer {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}

/* ---- Header: fluid floating island ---- */
.site-header {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.header-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 62px;
  width: min(calc(100% - 32px), 1080px);
  margin: 0 auto;
  padding: 0 8px 0 20px;
  background: color-mix(in srgb, var(--surface) 74%, transparent);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid var(--border);
  border-radius: 9999px;
  box-shadow: var(--shadow-lg);
  transition: border-color 0.5s var(--ease-fluid), background 0.5s var(--ease-fluid);
}
.main-nav {
  display: flex;
  gap: 22px;
  font-size: 0.9rem;
  font-weight: 500;
}
.main-nav a {
  text-decoration: none;
  white-space: nowrap;
  color: var(--text-muted);
  transition: color 0.3s var(--ease-fluid);
}
.main-nav a:hover { color: var(--text); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 18px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s 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); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 8px 8px 22px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.5s var(--ease-spring), background 0.4s var(--ease-fluid), border-color 0.4s var(--ease-fluid);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, currentColor 14%, transparent);
  transition: transform 0.5s var(--ease-fluid);
}
.btn:hover .btn-icon { transform: translate(2px, -2px) scale(1.06); }
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 12px 28px -14px var(--accent-strong);
}
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
  padding: 12px 12px 12px 24px;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 10px 18px; font-size: 0.86rem; }
.btn-sm .btn-icon { display: none; }
.btn-block { width: 100%; justify-content: space-between; }

/* ---- Hero ---- */
.hero { padding: 64px 0 96px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 26px;
  padding: 7px 16px 7px 12px;
  border-radius: 9999px;
  border: 1px solid var(--border-strong);
  background: var(--accent-wash);
  width: fit-content;
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-wash);
  animation: pulse 1.8s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.7rem, 5.2vw, 4.3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-lead {
  font-size: 1.22rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 46ch;
  margin: 0 0 32px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-trust {
  list-style: none;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
}
.hero-trust li { padding-left: 24px; position: relative; }
.hero-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2.5px solid var(--accent);
}
.hero-trust strong { color: var(--accent); font-weight: 800; }

/* ---- Hero visual: photo ---- */
.hero-photo-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-bezel);
  aspect-ratio: 4 / 5;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 25%;
  display: block;
}
.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, 0.28) 100%);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-wash); }
  50% { box-shadow: 0 0 0 5px var(--accent-wash); }
}

/* ---- Sections ---- */
.section { padding: clamp(88px, 11vw, 140px) 0; }
.section--alt { background: color-mix(in srgb, var(--bg-elevated) 88%, transparent); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
  padding: 7px 16px;
  border-radius: 9999px;
  border: 1px solid var(--border-strong);
  background: var(--accent-wash);
  width: fit-content;
}
.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  max-width: 26ch;
  margin-bottom: 18px;
}
.section-lead {
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 62ch;
  margin: 0;
}
.section-lead .hint { color: var(--text-faint); font-size: 0.92rem; }

/* ---- Como funciona: flow ---- */
.flow {
  list-style: none;
  margin: 52px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  counter-reset: step;
  position: relative;
}
.flow-step {
  position: relative;
  padding: 0 28px 0 0;
  border-right: 1px solid var(--border);
}
.flow-step:last-child { border-right: none; padding-right: 0; }
.flow-step + .flow-step { padding-left: 28px; }

.flow-index {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-faint);
  margin-bottom: 18px;
}
.flow-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-wash);
  color: var(--accent);
  margin-bottom: 18px;
}
.flow-step h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 10px; }
.flow-step p { color: var(--text-muted); font-size: 0.98rem; line-height: 1.55; margin: 0; }

/* ---- Section intro (text + photo) ---- */
.section-intro {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  align-items: end;
}
.section-intro .section-title { margin-bottom: 0; }
.section-intro-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-bezel);
  aspect-ratio: 5 / 4;
}
.section-intro-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 32%; display: block; }

/* ---- Feature groups ---- */
.feature-groups {
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.feature-group-title { margin-bottom: 18px; }
.fg-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
}
.fg-tag--protect { color: var(--accent); border-color: var(--accent-dim); background: var(--accent-wash); }

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature-group:first-child .feature-cards { grid-template-columns: 1.5fr 1fr; }

.feature-card {
  --r: var(--r-md);
  position: relative;
  isolation: isolate;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 26px;
  transition: transform 0.6s var(--ease-fluid), border-color 0.5s var(--ease-fluid);
}
.feature-card::before {
  content: "";
  position: absolute;
  inset: -6px;
  z-index: -1;
  border-radius: calc(var(--r) + 6px);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--border);
  opacity: 0;
  transition: opacity 0.5s var(--ease-fluid);
}
.feature-card:hover { transform: translateY(-5px); border-color: var(--border-strong); }
.feature-card:hover::before { opacity: 1; }
.feature-card svg {
  color: var(--accent);
  background: var(--accent-wash);
  border-radius: 12px;
  box-sizing: content-box;
  width: 22px;
  height: 22px;
  padding: 11px;
  display: block;
  margin-bottom: 16px;
}
.feature-card--highlight svg { background: rgba(6, 23, 13, 0.35); }
.feature-card svg path, .flow-icon svg path, .contact-list svg path { stroke-width: 1.4; }
.feature-card--highlight {
  background: var(--accent-wash);
  border-color: var(--accent-dim);
}
.feature-card h4 { font-size: 1.08rem; font-weight: 800; margin-bottom: 9px; letter-spacing: -0.01em; }
.feature-card p { margin: 0; color: var(--text-muted); font-size: 0.96rem; line-height: 1.5; }


/* ---- Benefits ---- */
.benefits-wrap {
  display: grid;
  grid-template-columns: 0.78fr 1.35fr;
  gap: 48px;
  align-items: start;
}
.benefits-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-bezel);
  aspect-ratio: 3 / 4;
  position: sticky;
  top: 112px;
}
.benefits-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }

.benefit-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.benefit-card {
  background: var(--bg-elevated);
  padding: 32px 26px;
  transition: background 0.5s var(--ease-fluid), transform 0.5s var(--ease-fluid);
  position: relative;
  z-index: 0;
}
.benefit-card:hover { background: var(--surface-2); transform: translateY(-3px); z-index: 1; }
.benefit-num { display: block; font-family: var(--font-mono); color: var(--accent); font-size: 0.86rem; margin-bottom: 16px; }
.benefit-card h3 { font-size: 1.14rem; font-weight: 800; margin-bottom: 10px; letter-spacing: -0.01em; }
.benefit-card p { margin: 0; color: var(--text-muted); font-size: 0.96rem; line-height: 1.5; }

/* ---- About ---- */
.about-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.35fr;
  gap: 48px;
  align-items: start;
}
.about-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-bezel);
  aspect-ratio: 3 / 4;
  position: sticky;
  top: 112px;
}
.about-photo-img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.about-content { display: flex; flex-direction: column; gap: 40px; }
.section--about .section-lead { max-width: 58ch; margin-bottom: 16px; }
.about-facts { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.about-fact { background: var(--surface); padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.about-fact-num { font-family: var(--font-mono); font-weight: 700; color: var(--accent); font-size: 1.1rem; }
.about-fact-label { color: var(--text-muted); font-weight: 500; font-size: 0.94rem; line-height: 1.45; }

/* ---- Pricing teaser ---- */
.pricing-card {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr;
  gap: 44px;
  align-items: center;
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  padding: 48px;
  box-shadow: var(--shadow-bezel);
}
.pricing-card-info .section-title { margin-bottom: 14px; }
.pricing-card-info .section-lead { margin: 0; }
.pricing-card-price {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.pricing-price-label { font-family: var(--font-mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); }
.pricing-price-value { font-family: var(--font-display); font-weight: 900; font-size: 2.8rem; letter-spacing: -0.02em; color: var(--text); margin: 2px 0; }
.pricing-price-note { font-size: 0.82rem; color: var(--text-muted); line-height: 1.4; margin-bottom: 22px; }

/* ---- Contact ---- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-agent {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 14px 18px 14px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9999px;
  width: fit-content;
  box-shadow: var(--shadow-sm);
}
.contact-agent-photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.contact-agent-name { display: block; font-weight: 700; font-size: 0.92rem; color: var(--text); }
.contact-agent-role { display: block; font-size: 0.82rem; color: var(--text-muted); margin-top: 1px; }

.contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 12px; color: var(--text-muted); font-size: 0.94rem; }
.contact-list svg { color: var(--accent); flex-shrink: 0; }
.contact-list a { text-decoration: none; color: var(--text); font-weight: 500; }
.contact-list a:hover { color: var(--accent); }

.contact-form {
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-bezel);
}
.form-row { display: flex; flex-direction: column; gap: 7px; }
.form-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row--split > div { display: flex; flex-direction: column; gap: 7px; }
.form-row label { font-size: 0.86rem; font-weight: 500; color: var(--text-muted); }
.optional { color: var(--text-faint); font-weight: 400; }
.form-row input, .form-row textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  padding: 11px 13px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  resize: vertical;
}
.form-row input::placeholder, .form-row textarea::placeholder { color: var(--text-faint); }
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form-note { margin: 0; font-size: 0.86rem; color: var(--accent); min-height: 1.2em; }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 0; background: var(--bg-elevated); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-brand p { margin: 14px 0 0; color: var(--text-muted); font-weight: 500; font-size: 0.95rem; line-height: 1.5; max-width: 34ch; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; font-size: 0.9rem; }
.footer-nav-title { font-family: var(--font-mono); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); margin-bottom: 4px; }
.footer-nav a { text-decoration: none; color: var(--text-muted); }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0 28px;
  display: flex;
  justify-content: space-between;
  color: var(--text-faint);
  font-size: 0.84rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---- Reveal on scroll ---- */
.reveal { opacity: 1; }
.reveal.reveal-init { opacity: 0; transform: translateY(22px); filter: blur(6px); }
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: opacity 0.9s var(--ease-fluid), transform 0.9s var(--ease-fluid), filter 0.9s var(--ease-fluid);
}
.feature-cards .feature-card:nth-child(2),
.benefit-grid .benefit-card:nth-child(2),
.benefit-grid .benefit-card:nth-child(4) { transition-delay: 0.08s; }
.benefit-grid .benefit-card:nth-child(3) { transition-delay: 0.14s; }

/* ---- Staggered word reveal (headlines) ---- */
.word-reveal { visibility: visible; }
html.js .word-reveal[data-word-reveal]:not(.is-ready) { opacity: 0; }
.word-reveal__word {
  display: inline-block;
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--word-index) * 0.07s);
  will-change: opacity, transform;
}
.word-reveal.is-visible .word-reveal__word { opacity: 1; transform: translate3d(0, 0, 0); }

/* ---- Hero entrance cascade (on load, not scroll) ---- */
.hero-copy > *:not(h1) { opacity: 0; transform: translateY(18px); animation: hero-in 0.9s var(--ease-fluid) forwards; }
.hero-copy > .eyebrow { animation-delay: 0.05s; }
.hero-copy > .hero-lead { animation-delay: 1.65s; }
.hero-copy > .hero-actions { animation-delay: 1.8s; }
.hero-copy > .hero-trust { animation-delay: 1.95s; }
.hero-visual { opacity: 0; transform: translateY(24px) scale(0.98); animation: hero-in 1s var(--ease-fluid) forwards; animation-delay: 0.3s; }
@keyframes hero-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy > *:not(h1), .hero-visual { animation: none; opacity: 1; transform: none; }
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 64px; }
  .feature-group:first-child .feature-cards { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 32px; }
  .flow-step, .flow-step + .flow-step { border-right: none; padding: 0; }
  .benefit-grid { grid-template-columns: 1fr 1fr; }
  .about-wrap, .contact-wrap, .section-intro, .benefits-wrap, .pricing-card { grid-template-columns: 1fr; }
  .pricing-card { padding: 32px 26px; gap: 28px; }
  .about-photo, .benefits-photo { position: static; aspect-ratio: 16 / 10; }
  .section-intro { gap: 24px; }
  .section-intro-photo { order: -1; aspect-ratio: 16 / 10; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm { display: none; }
  body.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: color-mix(in srgb, var(--bg) 92%, transparent);
    backdrop-filter: blur(32px) saturate(150%);
    -webkit-backdrop-filter: blur(32px) saturate(150%);
    padding: 0;
  }
  body.nav-open .main-nav a {
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text);
    opacity: 0;
    transform: translateY(28px);
    animation: nav-link-in 0.7s var(--ease-fluid) forwards;
  }
  body.nav-open .main-nav a:nth-child(1) { animation-delay: 0.08s; }
  body.nav-open .main-nav a:nth-child(2) { animation-delay: 0.15s; }
  body.nav-open .main-nav a:nth-child(3) { animation-delay: 0.22s; }
  body.nav-open .main-nav a:nth-child(4) { animation-delay: 0.29s; }
  body.nav-open .main-nav a:nth-child(5) { animation-delay: 0.36s; }
  body.nav-open .header-actions .btn-sm { display: inline-flex; }
  @keyframes nav-link-in { to { opacity: 1; transform: translateY(0); } }
  .benefit-grid { grid-template-columns: 1fr; }
  .form-row--split { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
