/* NARVA landing system — navy / ivory / Georgia+Arial. Mobile-first. */

:root {
  --navy: #1A3A6B;
  --ivory: #F7F4ED;
  --ink: #111111;
  --grey: #666666;
  --white: #FFFFFF;
  --hairline: rgba(17, 17, 17, 0.14);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
  --pad: clamp(20px, 5vw, 48px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- type ---------- */

.kicker {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--grey);
}

.kicker--navy { color: var(--navy); }

h1 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--navy);
  font-size: clamp(34px, 8.5vw, 60px);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h2 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--navy);
  font-size: clamp(26px, 5vw, 38px);
  line-height: 1.2;
}

.sub {
  font-size: clamp(16px, 2.5vw, 19px);
  color: var(--ink);
  max-width: 34em;
}

.hairline {
  border: 0;
  border-top: 1px solid var(--hairline);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: var(--white);
  background: var(--navy);
  border: 1px solid var(--navy);
  padding: 17px 34px;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover { background: #142e56; }

.btn:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.btn--block { display: block; width: 100%; }

/* ---------- hero ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: clamp(56px, 10vh, 96px);
  padding-bottom: clamp(48px, 8vh, 96px);
}

.hero__grid {
  display: grid;
  gap: 40px;
  width: 100%;
}

.hero__copy > * + * { margin-top: 22px; }

.hero__brand {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 22px var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  z-index: 5;
}

.hero__brand .name {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.3em;
  color: var(--navy);
  text-decoration: none;
}

.hero__brand .tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey);
}

@media (max-width: 519px) {
  .hero__brand .tag { display: none; }
}

/* ---------- proof ledger ---------- */

.section {
  padding-top: clamp(64px, 12vw, 120px);
  padding-bottom: clamp(64px, 12vw, 120px);
}

.section__head { margin-bottom: clamp(40px, 8vw, 72px); }
.section__head .kicker { display: block; margin-bottom: 14px; }

.ledger { list-style: none; }

.ledger__row {
  padding: clamp(32px, 6vw, 56px) 0;
  border-top: 1px solid var(--hairline);
}

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

.ledger__num {
  font-family: var(--serif);
  color: var(--navy);
  font-size: clamp(44px, 10vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.ledger__label {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink);
  max-width: 30em;
}

.ledger__note {
  margin-top: 6px;
  font-size: 13px;
  color: var(--grey);
}

@media (min-width: 760px) {
  .ledger__row {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: baseline;
  }
  .ledger__label { margin-top: 0; font-size: 16px; }
}

/* ---------- pricing table ---------- */

.pricing { border-top: 1px solid var(--hairline); }

.pricing__row {
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
}

@media (min-width: 600px) {
  .pricing__row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 16px;
    align-items: baseline;
  }
}

.pricing__unit {
  font-family: var(--serif);
  color: var(--navy);
  font-size: clamp(18px, 3.4vw, 24px);
}

.pricing__bua {
  display: block;
  margin-top: 4px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--grey);
}

.pricing__price {
  font-family: var(--serif);
  color: var(--navy);
  font-size: clamp(19px, 3.6vw, 26px);
  margin-top: 10px;
}

@media (min-width: 600px) {
  .pricing__price {
    margin-top: 0;
    text-align: right;
    white-space: nowrap;
  }
}

.pricing__source {
  margin-top: 14px;
  font-size: 12px;
  color: var(--grey);
}

/* ---------- render ---------- */

.render {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #E8E3D8;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 760px) {
  .render { aspect-ratio: 21 / 9; }
}

.render span {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ---------- trust ---------- */

.trust__grid { display: grid; gap: 36px; }

.trust__photo {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: #E8E3D8;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.trust__photo span {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
}

.trust__line {
  font-family: var(--serif);
  color: var(--navy);
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1.25;
  max-width: 18em;
}

.trust__calm { margin-top: 18px; color: var(--grey); max-width: 34em; }

@media (min-width: 760px) {
  .trust__grid {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 56px;
  }
}

/* ---------- form card ---------- */

.form-card {
  background: var(--white);
  padding: clamp(28px, 6vw, 44px);
  box-shadow: 0 18px 50px -24px rgba(17, 17, 17, 0.28);
}

.form-card__title {
  font-family: var(--serif);
  color: var(--navy);
  font-size: clamp(22px, 4.6vw, 28px);
  line-height: 1.25;
}

.form-card__sub {
  margin-top: 8px;
  font-size: 14px;
  color: var(--grey);
}

.form-card form { margin-top: 26px; }

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 8px;
}

.field input,
.field select {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px; /* prevents iOS zoom */
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(17, 17, 17, 0.28);
  border-radius: 0;
  padding: 15px 14px;
  appearance: none;
  -webkit-appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111111' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.field input:focus,
.field select:focus {
  border-color: var(--navy);
}

.form-error {
  display: none;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid var(--navy);
  font-size: 14px;
  color: var(--navy);
}

.show-error .form-error { display: block; }

.form-card .fine {
  margin-top: 14px;
  font-size: 12px;
  color: var(--grey);
  line-height: 1.5;
}

/* honeypot */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- CTA band (desktop mid-page) ---------- */

.cta-band {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: clamp(40px, 8vw, 72px) 0;
}

.cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cta-band__line {
  font-family: var(--serif);
  color: var(--navy);
  font-size: clamp(22px, 4.6vw, 30px);
  line-height: 1.3;
}

@media (min-width: 760px) {
  .cta-band__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
  }
}

/* ---------- footer ---------- */

.footer {
  padding: clamp(40px, 8vw, 64px) 0 120px; /* clearance for sticky bar */
  color: var(--grey);
  font-size: 13px;
}

.footer .name {
  font-family: var(--serif);
  letter-spacing: 0.3em;
  color: var(--navy);
  font-size: 16px;
  margin-bottom: 14px;
}

.footer p + p { margin-top: 6px; }

@media (min-width: 1024px) {
  .footer { padding-bottom: clamp(40px, 8vw, 64px); }
}

/* ---------- sticky mobile bar ---------- */

.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: var(--ivory);
  border-top: 1px solid var(--hairline);
  padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom));
  transform: translateY(110%);
  transition: transform 0.3s ease;
}

.sticky-bar.visible { transform: translateY(0); }

@media (min-width: 1024px) {
  .sticky-bar { display: none; }
}

/* ---------- desktop hero split ---------- */

@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 72px;
  }
  .hero { min-height: 100vh; }
}

/* mobile: form section spacing */
.form-section { padding-top: 0; }

@media (min-width: 1024px) {
  /* form already in hero on desktop — hide duplicate section and its anchor button */
  .form-section { display: none; }
  .hero__copy .btn { display: none; }
  .footer { padding-bottom: 64px; }
}

@media (max-width: 1023px) {
  /* hero form card hidden on mobile — form lives in its own section */
  .hero__form { display: none; }
  .cta-band { display: none; }
}

/* ---------- scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .sticky-bar { transition: none; }
}
