/* nexaya · VAPT campaign landing pages
   Standalone stylesheet (does NOT load /css/style.css) so these pages stay
   light on mobile 4G. Same brand tokens as nexaya.com. */

:root {
  --ink: #0c0f0d;
  --ink-2: #131815;
  --paper: #ffffff;
  --cream: #f6f7f7;
  --text: #111111;
  --muted: rgba(17, 17, 17, 0.68);
  --line: rgba(17, 17, 17, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);
  --green: #63b349;
  --green-d: #437a32;
  --green-dd: #2f5824;
  --danger: #b3261e;
  --radius: 14px;
  --radius-sm: 9px;
  --gutter: clamp(1.1rem, 4vw, 2.2rem);
  --maxw: 1140px;
  --font-display: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; } /* .btn / flex rules must never override the hidden attribute */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1rem; line-height: 1.65;
  color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.12; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font: 600 1rem/1 var(--font-body); padding: 1em 1.6em; border-radius: 999px; border: 0;
  cursor: pointer; text-decoration: none; transition: transform 0.2s ease, background 0.2s ease;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-d); transform: translateY(-1px); }
.btn-primary[disabled] { opacity: 0.65; cursor: progress; transform: none; }
.btn-outline { border: 1px solid var(--line-light); color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); }
.btn-sm { padding: 0.7em 1.2em; font-size: 0.86rem; }

/* ---------- header ---------- */
.lp-header { background: var(--ink); color: #fff; border-bottom: 1px solid var(--line-light); }
.lp-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.lp-brand img { width: 128px; height: auto; }
.lp-nav { display: none; gap: 1.6rem; font-size: 0.88rem; }
.lp-nav a { text-decoration: none; opacity: 0.82; }
.lp-nav a:hover { opacity: 1; }
.lp-header-cta { display: flex; align-items: center; gap: 1rem; }
.hdr-phone { display: none; font-weight: 600; font-size: 0.88rem; text-decoration: none; }
@media (min-width: 900px) { .lp-nav { display: flex; } .hdr-phone { display: inline; } }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(99, 179, 73, 0.16), transparent 60%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff; padding-block: clamp(1.6rem, 4vw, 3rem) 0;
}
.hero-grid { display: grid; gap: 2.2rem; align-items: start; }
.hero-copy { padding-bottom: 1rem; }
.eyebrow { font: 600 0.82rem/1.3 var(--font-body); letter-spacing: 0.02em; color: var(--green); margin-bottom: 1rem; }
.hero h1 { font-size: clamp(2.05rem, 6.2vw, 3.7rem); font-weight: 800; letter-spacing: -0.02em; }
.hero-sub { margin-top: 1.2rem; font-size: clamp(1rem, 2.4vw, 1.14rem); color: rgba(255, 255, 255, 0.82); max-width: 46ch; }
.engineer { display: flex; align-items: center; gap: 0.9rem; margin-top: 1.6rem; }
.engineer-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: rgba(99, 179, 73, 0.18); color: var(--green); border: 1px solid rgba(99, 179, 73, 0.4);
  font: 700 0.95rem var(--font-display); overflow: hidden;
}
.engineer-avatar img { width: 100%; height: 100%; object-fit: cover; }
.engineer-text { font-size: 0.9rem; color: rgba(255, 255, 255, 0.8); line-height: 1.45; }
.engineer-text strong { color: #fff; }
[data-scarcity] { margin-top: 1rem; font-size: 0.9rem; color: var(--green); font-weight: 600; }

.trust-row {
  margin-top: 2.4rem; border-top: 1px solid var(--line-light); padding-block: 1.1rem;
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.8rem; font-size: 0.86rem; color: rgba(255, 255, 255, 0.78);
}
.trust-row li { list-style: none; display: flex; align-items: center; gap: 0.5em; }
.trust-row { margin-block-end: 0; padding-inline: 0; }
.trust-row svg { width: 15px; height: 15px; color: var(--green); flex: none; }
ul.trust-row { margin-left: 0; }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 3.2rem; }
  .hero-copy { padding-top: 1rem; }
}

/* ---------- form card ---------- */
.form-card {
  background: #fff; color: var(--text); border-radius: 18px; padding: clamp(1.2rem, 3vw, 1.5rem);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}
.form-card h2 { font-size: 1.2rem; font-weight: 800; color: var(--green-dd); }
.form-card .form-lede { margin-top: 0.25rem; font-size: 0.85rem; color: var(--muted); line-height: 1.45; }
.lp-form { margin-top: 0.9rem; display: grid; gap: 0.65rem; }
.field { display: grid; gap: 0.2rem; min-width: 0; }
.field label, .field .lbl { font-size: 0.78rem; font-weight: 600; color: rgba(17, 17, 17, 0.8); }
.field .opt { font-weight: 400; color: var(--muted); }
.row2 { display: grid; gap: 0.65rem; }
@media (min-width: 520px) { .row2 { grid-template-columns: 1fr 1fr; } }
.lp-form input[type="text"], .lp-form input[type="email"], .lp-form input[type="tel"], .lp-form select {
  width: 100%; font: 400 1rem var(--font-body); color: var(--text); background: #fff;
  border: 1px solid rgba(17, 17, 17, 0.26); border-radius: var(--radius-sm); padding: 0 0.85em; height: 44px;
}
.lp-form select {
  appearance: none; -webkit-appearance: none; padding-right: 2.2em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9em center; background-size: 11px 7px;
}
.lp-form input:focus, .lp-form select:focus { outline: none; border-color: var(--green-d); box-shadow: 0 0 0 3px rgba(99, 179, 73, 0.28); }
.lp-form .invalid { border-color: var(--danger); }
.field-error { font-size: 0.78rem; color: var(--danger); min-height: 0; }
.field-error:empty { display: none; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: start; font-size: 0.76rem; color: rgba(17, 17, 17, 0.78); line-height: 1.5; }
.field label.consent { font-weight: 400; }
.consent input { width: 18px; height: 18px; margin: 0.15rem 0 0; accent-color: var(--green-d); }
.consent a { color: var(--green-d); }
.lp-form .btn-primary { width: 100%; margin-top: 0.1rem; padding-block: 0.95em; }
.fineprint { font-size: 0.72rem; color: var(--muted); line-height: 1.5; }
.form-error { font-size: 0.86rem; color: var(--danger); background: rgba(179, 38, 30, 0.08); border: 1px solid rgba(179, 38, 30, 0.28); border-radius: var(--radius-sm); padding: 0.7em 0.9em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- sections ---------- */
section { scroll-margin-top: 12px; }
.sec { padding-block: clamp(2.8rem, 7vw, 5rem); }
.sec-cream { background: var(--cream); }
.sec-dark { background: var(--ink); color: #fff; }
.sec h2 { font-size: clamp(1.6rem, 4.4vw, 2.35rem); font-weight: 800; max-width: 22ch; }
.sec .kicker { font: 600 0.8rem var(--font-body); color: var(--green-d); margin-bottom: 0.8rem; letter-spacing: 0.02em; }
.sec-dark .kicker { color: var(--green); }
.sec .lede { margin-top: 1rem; font-size: 1.04rem; color: var(--muted); max-width: 60ch; }
.sec-dark .lede { color: rgba(255, 255, 255, 0.78); }

.cards { margin-top: 2rem; display: grid; gap: 1rem; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.4rem 1.5rem; }
.card h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: 0.5rem; }
.card p { font-size: 0.95rem; color: var(--muted); }
.fine-note { margin-top: 1.4rem; font-size: 0.82rem; color: var(--muted); max-width: 70ch; }

.receive { margin-top: 2rem; display: grid; gap: 0; border-top: 1px solid var(--line); }
.receive li { list-style: none; display: grid; grid-template-columns: 2.6rem 1fr; gap: 0.4rem 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.receive .n { font: 700 0.95rem var(--font-display); color: var(--green-d); padding-top: 0.15rem; }
.receive h3 { font-size: 1.05rem; font-weight: 700; }
.receive p { grid-column: 2; font-size: 0.95rem; color: var(--muted); }
ul.receive { padding-left: 0; }

.steps { margin-top: 2rem; display: grid; gap: 1rem; counter-reset: step; padding-left: 0; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { list-style: none; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 1.4rem; }
.steps .n { font: 800 1.7rem var(--font-display); color: var(--green); display: block; margin-bottom: 0.5rem; }
.steps h3 { font-size: 1.05rem; margin-bottom: 0.45rem; }
.steps p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.76); }

.split { margin-top: 2rem; display: grid; gap: 1rem; }
@media (min-width: 800px) { .split { grid-template-columns: 1fr 1fr; } }
.split .box { border-radius: var(--radius); padding: 1.6rem; }
.box-is { background: rgba(99, 179, 73, 0.1); border: 1px solid rgba(99, 179, 73, 0.4); }
.box-not { background: #fff; border: 1px solid var(--line); }
.box h3 { font-size: 1.1rem; margin-bottom: 0.6rem; }
.box p { font-size: 0.97rem; color: rgba(17, 17, 17, 0.78); }

.boundary { background: #fff8e6; border-block: 1px solid #ecd9a3; }
.boundary .wrap { padding-block: 1.3rem; font-size: 1rem; }
.boundary strong { font-weight: 700; }

.trust-grid { margin-top: 2rem; display: grid; gap: 1rem; }
@media (min-width: 800px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
.trust-grid .card h3 { font-size: 1rem; }
.trust-grid address { font-style: normal; color: var(--muted); font-size: 0.95rem; }
.trust-grid a { color: var(--green-d); font-weight: 600; }

.faq { margin-top: 1.6rem; max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.05rem 2.2rem 1.05rem 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.3rem; top: 0.85rem; font-size: 1.4rem; color: var(--green-d); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 1.15rem; color: var(--muted); font-size: 0.97rem; max-width: 70ch; }

.final-cta { text-align: center; }
.final-cta h2 { margin-inline: auto; max-width: 20ch; }
.final-cta .btn { margin-top: 1.8rem; }

/* ---------- footer ---------- */
.lp-footer { background: var(--ink); color: rgba(255, 255, 255, 0.7); font-size: 0.82rem; padding-block: 2rem; }
.lp-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.lp-footer img { width: 110px; height: auto; opacity: 0.9; }
.lp-footer nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; }
.lp-footer a { text-decoration: none; }
.lp-footer a:hover { color: #fff; text-decoration: underline; }
.lp-footer button.linklike { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.lp-footer button.linklike:hover { color: #fff; text-decoration: underline; }

/* ---------- thank-you ---------- */
.thanks { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%); color: #fff; padding-block: clamp(3rem, 8vw, 6rem); }
.thanks h1 { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 800; max-width: 18ch; }
.thanks .hero-sub { max-width: 52ch; }
.thanks .btn { margin-top: 1.6rem; }
.thanks .steps { margin-top: 2.2rem; }
@media (min-width: 900px) { .thanks .steps { grid-template-columns: repeat(3, 1fr); } }
.thanks-back { margin-top: 1.6rem; font-size: 0.9rem; }
.thanks-back a { color: rgba(255, 255, 255, 0.82); }

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