/* SmarterSafe — landing page styles. Plain CSS, no build step, no external fonts. */

:root {
  --ink:      #0C0F14;
  --ink-2:    #151A22;
  --ink-3:    #222A35;
  --paper:    #FBF8F3;
  --paper-2:  #F1ECE3;
  --brass:    #E9A83C;
  --brass-lt: #FFC46B;
  --green:    #1E7F5C;
  --green-lt: #4ED09A;
  --text:     #14181F;
  --muted:    #5C6675;
  --muted-d:  #8A94A3;
  --line:     #E2DACE;
  --line-d:   rgba(255, 255, 255, .12);
  --radius:   14px;
  --wrap:     1140px;
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- type ---------- */
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { margin: 0 0 1em; }
.lede { font-size: clamp(1.05rem, 1.9vw, 1.28rem); color: var(--muted); max-width: 60ch; }
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brass); margin: 0 0 14px;
}
.section-head { max-width: 62ch; margin-bottom: 42px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 10px; font-weight: 700;
  text-decoration: none; font-size: 1rem; border: 2px solid transparent; cursor: pointer;
  transition: transform .12s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brass); color: #16120A; }
.btn-primary:hover { background: var(--brass-lt); }
.btn-ghost { border-color: rgba(255,255,255,.28); color: var(--paper); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--ink);
  border-bottom: 1px solid var(--line-d);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.nav img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  color: #C9D1DC; text-decoration: none; font-size: .95rem; font-weight: 600;
}
.nav-links a:hover { color: var(--brass); }
.nav .btn { padding: 10px 20px; font-size: .95rem; }
.nav-toggle {
  display: none; background: none; border: 0; color: var(--paper); font-size: 1.6rem;
  cursor: pointer; padding: 4px 8px; line-height: 1;
}

/* ---------- hero ---------- */
.hero { background: var(--ink); color: var(--paper); padding: 84px 0 96px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--paper); }
.hero h1 .hl { color: var(--brass); }
.hero .lede { color: #B9C2CF; }
.hero img { margin: 0 auto; max-height: 520px; width: auto; }
.hero-note { margin-top: 26px; font-size: .92rem; color: var(--muted-d); }

.trust {
  background: var(--ink-2); color: #C9D1DC; border-top: 1px solid var(--line-d);
  border-bottom: 1px solid var(--line-d); padding: 20px 0;
}
.trust ul {
  list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap;
  gap: 14px 40px; justify-content: center; font-size: .93rem; font-weight: 600;
}
.trust li::before { content: "✓"; color: var(--brass); font-weight: 800; margin-right: 9px; }

/* ---------- sections ---------- */
section { padding: 88px 0; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark .lede { color: #B9C2CF; }
.section-tint { background: var(--paper-2); }

/* ---------- cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px;
}
.section-dark .card { background: var(--ink-2); border-color: var(--line-d); }
.card .ico { font-size: 1.7rem; margin-bottom: 14px; display: block; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.section-dark .card p { color: #A9B3C1; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 20px; }
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--brass);
  color: #16120A; font-weight: 800; font-size: 1.1rem; margin-bottom: 16px;
}
.step p { color: var(--muted); }
.section-dark .step p { color: #A9B3C1; }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); }
.split.flip .split-text { order: 2; }

/* ---------- comparison table ---------- */
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
table.compare th, table.compare td { padding: 16px 20px; text-align: left; vertical-align: top; font-size: .97rem; }
table.compare thead th { background: var(--ink); color: var(--paper); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
table.compare thead th:last-child { background: #1A2129; color: var(--brass); }
table.compare tbody tr + tr { border-top: 1px solid var(--line); }
table.compare td:first-child { font-weight: 700; width: 26%; }
table.compare td:last-child { background: #FFFCF5; font-weight: 600; }
table.compare td .yes { color: var(--green); font-weight: 800; }
.table-note { font-size: .87rem; color: var(--muted); margin-top: 14px; }

/* ---------- question list ---------- */
.qlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 32px; }
.qlist li { padding-left: 34px; position: relative; color: #C4CDD9; }
.qlist li::before {
  content: "?"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--brass); color: #16120A;
  font-weight: 800; font-size: .82rem; display: grid; place-items: center;
}

/* ---------- faq ---------- */
.faq { max-width: 820px; }
details {
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  padding: 18px 22px; margin-bottom: 14px;
}
details[open] { border-color: var(--brass); }
summary { font-weight: 700; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--brass); font-weight: 800; font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 14px 0 0; color: var(--muted); }

/* ---------- cta / form ---------- */
.cta { background: var(--ink); color: var(--paper); }
.cta .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.form-card {
  background: var(--ink-2); border: 1px solid var(--line-d);
  border-radius: var(--radius); padding: 32px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 700; color: #C9D1DC; margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 9px; font: inherit; font-size: .97rem;
  background: #0C1016; border: 1px solid #333D4B; color: var(--paper);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--brass); outline-offset: 1px; border-color: transparent; }
.field textarea { min-height: 104px; resize: vertical; }
.form-card .btn { width: 100%; text-align: center; }
.form-note { font-size: .85rem; color: var(--muted-d); margin: 14px 0 0; }

/* ---------- footer ---------- */
.site-footer { background: #080B0F; color: #8A94A3; padding: 48px 0 40px; font-size: .92rem; }
.site-footer img { height: 36px; width: auto; margin-bottom: 18px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
.site-footer a { color: #C9D1DC; text-decoration: none; }
.site-footer a:hover { color: var(--brass); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.copyright { margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; }

/* ---------- product: spec bar ---------- */
.specbar { background: var(--ink-2); border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); }
.specbar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-top: 30px; padding-bottom: 30px; }
.specbar .n { font-size: 1.7rem; font-weight: 800; color: var(--paper); line-height: 1.2; }
.specbar .k { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); margin-top: 4px; }

/* ---------- product: labels ---------- */
.tag {
  display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
  background: rgba(233,168,60,.14); color: #A9761A; border: 1px solid rgba(233,168,60,.4);
  margin-bottom: 16px;
}
.section-dark .tag { background: rgba(233,168,60,.16); color: var(--brass-lt); }

/* ---------- product: feature list ---------- */
.featlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 15px; }
.featlist li { position: relative; padding-left: 32px; color: var(--muted); }
.featlist strong { color: var(--text); display: block; }
.section-dark .featlist li { color: #A9B3C1; }
.section-dark .featlist strong { color: var(--paper); }
.featlist li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 21px; height: 21px;
  border-radius: 50%; background: var(--brass); color: #16120A;
  font-size: .74rem; font-weight: 800; display: grid; place-items: center;
}

/* ---------- product: spec table ---------- */
.specs { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.specs .row { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 16px 24px; }
.specs .row + .row { border-top: 1px solid var(--line); }
.specs .row > div:first-child { font-weight: 700; }
.specs .row > div:last-child { color: var(--muted); }
.specs-note { font-size: .87rem; color: var(--muted); margin-top: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap, .split, .cta .wrap { grid-template-columns: 1fr; gap: 40px; }
  .split.flip .split-text { order: 0; }
  .hero img { max-height: 380px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .qlist { grid-template-columns: 1fr; }
  .specbar .wrap { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .specs .row { grid-template-columns: 1fr; gap: 4px; }
  section { padding: 64px 0; }
  .hero { padding: 60px 0 68px; }

  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    background: var(--ink-2); border-bottom: 1px solid var(--line-d);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 24px 22px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line-d); }
  .nav-links .btn { margin-top: 16px; text-align: center; border-bottom: 0; }
}
