:root {
  --navy: #002857;
  --navy-deep: #00203f;
  --navy-frame: #001633;
  --navy-hover: #013a78;
  --cream: #EFDAB2;
  --cream-hover: #f6e6c6;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Archivo', sans-serif;
  background: var(--navy);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap { max-width: 1080px; margin: 0 auto; }

.dim { opacity: 0.55; }

/* ---------- Logo ---------- */
.logo {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  letter-spacing: 0.04em;
  font-size: 30px;
  line-height: 1;
  color: var(--cream);
  white-space: nowrap;
}
.logo__o {
  display: inline-block;
  font-size: 0.6em;
  transform: translateY(-0.52em);
}
.logo--lg { font-size: 42px; }
.logo--mini { font-size: 19px; letter-spacing: 0.02em; }

/* ---------- Headings ---------- */
h1, h2, h3 {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0;
}

/* ---------- Scatter texture ---------- */
.scatter {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.scatter span {
  position: absolute;
  font-family: 'Archivo Black', sans-serif;
  color: var(--cream);
  line-height: 1;
  user-select: none;
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 34px 6vw 88px;
}
.hero__header { position: relative; z-index: 2; }
.hero__body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  max-width: 1200px;
  padding-top: 40px;
  flex-wrap: wrap;
}
.hero__copy {
  flex: 1 1 460px;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__headline {
  font-size: clamp(46px, 8.6vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--cream);
  text-wrap: balance;
  max-width: 13ch;
}
.hero__headline span { display: block; }
.hero__subline {
  margin: 30px 0 0;
  font-weight: 400;
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.4;
  color: rgba(255,255,255,0.82);
  max-width: 620px;
}
.hero__fineprint {
  margin: 18px 0 0;
  font-size: 14px;
  color: rgba(239,218,178,0.6);
  letter-spacing: 0.02em;
}

/* ---------- Signup form ---------- */
.signup {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 540px;
  margin-top: 38px;
}
.signup__input {
  flex: 1;
  min-width: 230px;
  background: transparent;
  border: 2px solid rgba(239,218,178,0.45);
  color: var(--cream);
  padding: 17px 20px;
  font-family: inherit;
  font-size: 16px;
  outline: none;
  border-radius: 0;
  transition: border-color 0.18s ease;
}
.signup__input::placeholder { color: var(--cream); opacity: 0.55; }
.signup__input:focus { border-color: var(--cream); }
.signup__btn {
  background: var(--cream);
  color: var(--navy);
  border: none;
  padding: 17px 30px;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.18s ease;
}
.signup__btn:hover { background: var(--cream-hover); }
.signup__btn:disabled { opacity: 0.6; cursor: default; }
.signup__status {
  margin: 18px 0 0;
  font-weight: 600;
  font-size: 18px;
  color: var(--cream);
  max-width: 520px;
}
.signup__status.is-error { color: #ffb3a0; font-weight: 500; }

/* dark-on-cream variant (second CTA) */
.signup--dark { margin: 0 auto; justify-content: center; }
.signup--dark .signup__input {
  border-color: rgba(0,40,87,0.4);
  color: var(--navy);
}
.signup--dark .signup__input::placeholder { color: var(--navy); opacity: 0.55; }
.signup--dark .signup__input:focus { border-color: var(--navy); }
.signup--dark .signup__btn { background: var(--navy); color: var(--cream); }
.signup--dark .signup__btn:hover { background: var(--navy-hover); }
.signup__status--dark { color: var(--navy); text-align: center; margin-left: auto; margin-right: auto; }
.signup__status--dark.is-error { color: #a12a12; }

/* ---------- Phone mockup ---------- */
.phone {
  flex: 0 0 auto;
  position: relative;
  display: flex;
  justify-content: center;
  padding: 24px 30px 24px 18px;
}
.phone__frame {
  position: relative;
  width: 262px;
  padding: 11px;
  background: var(--navy-frame);
  border-radius: 42px;
  border: 1px solid rgba(239,218,178,0.22);
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
}
.phone__notch {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 62px;
  height: 7px;
  border-radius: 4px;
  background: rgba(239,218,178,0.25);
  z-index: 3;
}
.phone__screen {
  border-radius: 32px;
  aspect-ratio: 9 / 19;
  background: var(--navy-deep);
}
.phone__app {
  position: absolute;
  bottom: 6px;
  left: -2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 4;
}
.phone__icon {
  width: 78px;
  height: 78px;
  border-radius: 19px;
  background: var(--navy);
  border: 1px solid rgba(239,218,178,0.3);
  box-shadow: 0 18px 36px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone__label { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.85); }

/* ---------- Problem ---------- */
.problem {
  background: var(--cream);
  color: var(--navy);
  padding: clamp(90px, 14vw, 170px) 6vw;
}
.problem__lede {
  margin: 0;
  font-weight: 600;
  font-size: clamp(26px, 4.2vw, 54px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.problem__punch {
  margin: 0.5em 0 0;
  font-family: 'Archivo Black', sans-serif;
  text-transform: uppercase;
  font-size: clamp(30px, 5.4vw, 72px);
  line-height: 1;
  letter-spacing: -0.01em;
}

/* ---------- Pillars ---------- */
.pillars {
  background: var(--navy);
  padding: clamp(90px, 13vw, 150px) 6vw;
}
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(40px, 5vw, 72px);
}
.pillar { display: flex; flex-direction: column; gap: 18px; }
.pillar__icon { color: var(--cream); }
.pillar__title {
  font-size: 24px;
  letter-spacing: 0.04em;
  color: var(--cream);
}
.pillar__copy {
  margin: 0;
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
  max-width: 30ch;
}

/* ---------- Second CTA ---------- */
.cta {
  background: var(--cream);
  color: var(--navy);
  padding: clamp(90px, 13vw, 150px) 6vw;
  text-align: center;
}
.cta__title {
  margin: 0 0 34px;
  font-size: clamp(30px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.01em;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  background: var(--navy);
  padding: clamp(70px, 9vw, 100px) 6vw 64px;
  overflow: hidden;
  border-top: 1px solid rgba(239,218,178,0.14);
}
.footer__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 40px;
  align-items: center;
}
.footer__links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.footer__links a:hover { text-decoration: underline; }
.footer__tagline {
  margin: 0;
  font-size: 14px;
  color: rgba(239,218,178,0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
