/* ============================================================
   SafeGuard — rugged, high-contrast, green as punctuation
   ============================================================ */

:root {
  --ink:        #0a0c0e;   /* near-black */
  --slate:      #14181c;   /* deep slate surface */
  --slate-2:    #1c2127;   /* raised slate */
  --line:       #2a313a;   /* hairline on dark */
  --paper:      #f6f5f2;   /* off-white */
  --paper-2:    #eceae4;   /* off-white raised */
  --paper-line: #ddd9d0;   /* hairline on light */
  --fog:        #6b7280;   /* muted text */
  --fog-light:  #9aa3ad;   /* muted on dark */

  --green:      #10b981;
  --green-dk:   #047857;

  --maxw: 1180px;
  --rad: 6px;

  --f-body: "DM Sans", system-ui, sans-serif;
  --f-disp: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--f-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.section { padding-block: clamp(64px, 9vw, 128px); }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--f-disp); letter-spacing: -0.02em; line-height: 1.05; }

.eyebrow {
  display: inline-block;
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-dk);
  margin-bottom: 1.1rem;
}
.eyebrow-center { display: block; text-align: center; }
.eyebrow-on-dark { color: var(--green); }

.section-title {
  font-weight: 800;
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  max-width: 17ch;
}
.section-title-center { margin-inline: auto; text-align: center; max-width: 20ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-disp);
  font-weight: 700;
  letter-spacing: -0.01em;
  border: 2px solid transparent;
  border-radius: var(--rad);
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-sm  { padding: .55rem 1rem;  font-size: .9rem; }
.btn-lg  { padding: .95rem 1.6rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--green-dk);
  color: #fff;
  border-color: var(--green-dk);
}
.btn-primary:hover { background: var(--green); border-color: var(--green); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--paper-line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--green-dk); }
.brand-mark { flex: none; }
.brand-name {
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.brand-accent { color: var(--green-dk); }

.header-nav { display: flex; align-items: center; gap: 1.6rem; }
.header-nav > a:not(.btn) {
  font-family: var(--f-disp);
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
  opacity: .8;
}
.header-nav > a:not(.btn):hover { opacity: 1; color: var(--green-dk); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(48px, 7vw, 96px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 {
  font-weight: 900;
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  margin-bottom: 1.4rem;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  color: #33393f;
  max-width: 40ch;
  margin-bottom: 2rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.4rem; }
.hero-note {
  font-size: .92rem;
  font-weight: 600;
  color: var(--green-dk);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.hero-note::before {
  content: "";
  width: 18px; height: 2px;
  background: var(--green);
}
.hero-media {
  position: relative;
  border-radius: var(--rad);
  overflow: hidden;
  border: 1px solid var(--paper-line);
  box-shadow: 0 24px 60px -28px rgba(0,0,0,.5);
}
.hero-media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 5px;
  background: var(--green);
}

/* ---------- problem ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
  margin-top: clamp(36px, 5vw, 60px);
}
.problem .section-title { max-width: 22ch; }

.card {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: var(--rad);
  padding: clamp(24px, 2.6vw, 36px);
  border-top: 4px solid var(--ink);
}
.card-kicker {
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: .85rem;
  color: var(--green-dk);
  letter-spacing: .05em;
}
.card h3 { font-size: 1.32rem; font-weight: 800; margin: .6rem 0 .7rem; }
.card p { color: #41474d; font-size: 1rem; }

/* ---------- promises (dark) ---------- */
.promises {
  background: var(--ink);
  color: var(--paper);
}
.promises .section-title { color: var(--paper); }
.promises-grid { margin-top: clamp(40px, 5vw, 64px); }
.promise {
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: clamp(26px, 2.8vw, 38px);
  background: var(--slate);
}
.promise-icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: var(--rad);
  background: rgba(16,185,129,.12);
  color: var(--green);
  margin-bottom: 1.3rem;
}
.promise h3 { font-size: 1.28rem; font-weight: 800; color: var(--paper); margin-bottom: .7rem; }
.promise p { color: var(--fog-light); font-size: 1rem; }

/* ---------- image break ---------- */
.image-break { background: var(--ink); }
.image-break img {
  width: 100%;
  height: clamp(220px, 32vw, 440px);
  object-fit: cover;
  border-top: 5px solid var(--green);
  border-bottom: 5px solid var(--green);
}

/* ---------- features ---------- */
.features-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.features-lead { color: #41474d; margin-top: 1rem; max-width: 30ch; }
.feature-list { list-style: none; display: grid; gap: .3rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-family: var(--f-disp);
  font-weight: 600;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--ink);
  padding: 1rem 0;
  border-bottom: 1px solid var(--paper-line);
}
.feature-list li:first-child { border-top: 1px solid var(--paper-line); }
.check {
  flex: none;
  width: 26px; height: 26px;
  margin-top: 1px;
  border-radius: 5px;
  background: var(--green-dk);
  position: relative;
}
.check::after {
  content: "";
  position: absolute;
  left: 8px; top: 4px;
  width: 7px; height: 12px;
  border: solid #fff;
  border-width: 0 2.6px 2.6px 0;
  transform: rotate(42deg);
}

/* ---------- compare ---------- */
.compare { background: var(--paper-2); padding-block: clamp(48px, 6vw, 88px); }
.compare-lead {
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  text-align: center;
  letter-spacing: -.02em;
  margin-bottom: 2.4rem;
}
.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.compare-card {
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: var(--rad);
  padding: clamp(22px, 2.4vw, 32px);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.compare-name { font-family: var(--f-disp); font-weight: 800; font-size: 1.15rem; }
.compare-price { font-family: var(--f-disp); font-weight: 700; font-size: 1.5rem; color: var(--fog); }
.compare-price small { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--green-dk); }
.compare-note { font-size: .95rem; color: #41474d; margin-top: .3rem; }
.compare-card-us {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 18px 44px -22px rgba(0,0,0,.55);
}
.compare-card-us .compare-name { color: #fff; }
.compare-card-us .compare-price { color: var(--green); }
.compare-card-us .compare-note { color: var(--fog-light); }

/* ---------- offer (dark, green-forward) ---------- */
.offer { background: var(--slate); color: var(--paper); }
.offer-inner { text-align: center; max-width: 760px; margin-inline: auto; }
.offer-title {
  font-weight: 900;
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  margin-bottom: 1.4rem;
}
.offer-accent { color: var(--green); }
.offer-body { color: var(--fog-light); font-size: clamp(1rem, 1.5vw, 1.15rem); margin-bottom: 2.2rem; }

/* ---------- signup ---------- */
.signup { background: var(--ink); color: var(--paper); }
.signup-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.signup .section-title { color: var(--paper); }
.signup-copy > p { color: var(--fog-light); margin-top: 1rem; max-width: 36ch; }
.signup-direct {
  margin-top: 2rem !important;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-family: var(--f-disp);
  font-weight: 600;
}
.signup-direct a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

.signup-form {
  background: var(--slate);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: clamp(24px, 3vw, 40px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; margin-bottom: 16px; }
.field label {
  font-family: var(--f-disp);
  font-weight: 600;
  font-size: .86rem;
  margin-bottom: .45rem;
  color: var(--paper);
}
.optional { color: var(--fog-light); font-weight: 400; }
.field input,
.field select {
  font-family: var(--f-body);
  font-size: 1rem;
  padding: .8rem .9rem;
  background: var(--slate-2);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  color: var(--paper);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input::placeholder { color: var(--fog); }
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(16,185,129,.18);
}
.field select { appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239aa3ad' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center;
  padding-right: 2.4rem;
}
.signup-form .btn-block { margin-top: .4rem; }
.form-fineprint { font-size: .82rem; color: var(--fog-light); text-align: center; margin-top: 1rem; }

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about-media {
  border-radius: var(--rad);
  overflow: hidden;
  border: 1px solid var(--paper-line);
  border-left: 5px solid var(--green-dk);
}
.about-media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.about-copy p { color: #41474d; font-size: 1.06rem; margin-top: 1rem; max-width: 46ch; }
.about-sign { font-family: var(--f-disp); font-weight: 700; color: var(--ink) !important; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--fog-light); padding-block: 48px; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand-footer .brand-name { color: var(--paper); }
.footer-meta { font-size: .92rem; }
.footer-meta a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.footer-links { display: flex; align-items: center; gap: 1.4rem; font-size: .9rem; }
.footer-links a:hover { color: var(--green); }
.footer-copy { color: var(--fog); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .grid-3 { grid-template-columns: 1fr; }
  .features-inner { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .signup-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
}

@media (max-width: 560px) {
  .header-nav { gap: .9rem; }
  .header-nav > a:not(.btn) { display: none; }
  .hero-cta .btn { width: 100%; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
