:root {
  --ink: #0f1720;
  --muted: #5b6675;
  --accent: #0e7c7b;
  --accent-dark: #0a5f5e;
  --navy: #14324a;
  --bg: #eef2f7;
  --surface: #ffffff;
  --border: #e3e8ef;
  --red: #b3432f;
  --red-bg: #fbe9e5;
  --yellow: #92700f;
  --yellow-bg: #fbf1d8;
  --green: #29714f;
  --green-bg: #e4f3ea;
  --radius: 16px;
  --shadow: 0 18px 40px rgba(15, 23, 32, 0.07);
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Outfit, system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 10% -10%, rgba(14, 124, 123, 0.14), transparent 55%),
    linear-gradient(180deg, #eef2f7, #e6edf5);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.serif, h1, h2, h3.serif {
  font-family: Fraunces, Georgia, serif;
  font-weight: 600;
}

a { color: inherit; }

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(238, 242, 247, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0.9rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand-link { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.mark {
  width: 38px; height: 38px; border-radius: 12px; flex: 0 0 auto;
  background: linear-gradient(145deg, var(--navy), var(--accent));
  color: #fff; display: grid; place-items: center;
  font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 0.95rem;
}
.brand-name { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 1.15rem; color: var(--navy); }
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.95rem;
  padding: 0.3rem 0; border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.on { color: var(--navy); border-color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 0.75rem; }
.nav-toggle {
  display: none; border: none; background: none; cursor: pointer; padding: 0.4rem;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px;
}

@media (max-width: 860px) {
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; background: var(--surface);
    flex-direction: column; align-items: flex-start; gap: 0; padding: 0.5rem 1.5rem 1rem;
    border-bottom: 1px solid var(--border); display: none; }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: block; }
  .nav-cta .btn.ghost { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem; text-decoration: none;
  border-radius: 999px; padding: 0.75rem 1.35rem; font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer; font-family: Outfit, system-ui, sans-serif;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(14, 124, 123, 0.28); }
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(14, 124, 123, 0.34); }
.btn.ghost { color: var(--navy); border: 1px solid #cfd7e2; background: rgba(255, 255, 255, 0.75); }
.btn.ghost:hover { border-color: var(--accent); }
.btn.small { padding: 0.55rem 1rem; font-size: 0.85rem; }
.btn.block { width: 100%; justify-content: center; }
.cta-row { display: inline-flex; gap: 0.75rem; flex-wrap: wrap; }

/* ---------- Hero ---------- */
.hero { padding: 4.5rem 0 3rem; }
.kicker {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem;
  font-weight: 600; color: var(--accent-dark); margin: 0 0 0.9rem;
}
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.4rem); letter-spacing: -0.03em; line-height: 1.06;
  margin: 0 0 1.1rem; color: var(--navy); max-width: 18ch;
}
.hero .lead { font-size: 1.18rem; color: var(--muted); line-height: 1.6; max-width: 46ch; margin: 0 0 1.75rem; }
.hero-foot { margin-top: 1.5rem; font-size: 0.85rem; color: var(--muted); display: flex; align-items: center; gap: 0.5rem; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: 0 0 auto; }

.page-hero { padding: 3.5rem 0 2.5rem; max-width: 62ch; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.7rem); color: var(--navy); letter-spacing: -0.02em; margin: 0 0 1rem; }
.page-hero .lead { font-size: 1.08rem; color: var(--muted); line-height: 1.6; }

/* ---------- App mockup (fake product screenshot) ---------- */
.mockup-shell {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: 0 30px 70px rgba(15, 23, 32, 0.14); overflow: hidden; margin: 2.5rem 0;
}
.mockup-chrome {
  display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1rem;
  background: #f4f6f9; border-bottom: 1px solid var(--border);
}
.mockup-chrome .dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-chrome .dot.r { background: #f0857a; }
.mockup-chrome .dot.y { background: #f3c463; }
.mockup-chrome .dot.g { background: #7fcf9e; }
.mockup-chrome .addr {
  margin-left: 0.75rem; font-size: 0.78rem; color: var(--muted);
  background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 0.25rem 0.9rem;
}
.mockup-body { padding: 1.5rem; background: linear-gradient(180deg, #fbfcfe, #f4f7fb); }

.mock-mast {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; flex-wrap: wrap; gap: 0.75rem;
}
.mock-brand { display: flex; align-items: center; gap: 0.6rem; }
.mock-brand .seal {
  width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(145deg, var(--navy), var(--accent));
  color: #fff; display: grid; place-items: center; font-family: Fraunces, serif; font-weight: 600; font-size: 0.8rem;
}
.mock-brand strong { font-family: Fraunces, serif; font-size: 1rem; color: var(--navy); display: block; }
.mock-brand span { font-size: 0.72rem; color: var(--muted); }
.mock-search {
  flex: 1; min-width: 180px; max-width: 320px; background: #fff; border: 1px solid var(--border);
  border-radius: 999px; padding: 0.5rem 0.9rem; font-size: 0.82rem; color: var(--muted);
}
.mock-newbtn {
  background: #d9b25b; color: #3a2a06; font-weight: 600; font-size: 0.78rem;
  border-radius: 999px; padding: 0.5rem 0.9rem;
}

.mock-card {
  background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 1rem 1.1rem; margin-bottom: 0.9rem;
}
.mock-card .mock-kicker { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.65rem; font-weight: 700; color: var(--accent-dark); margin: 0 0 0.3rem; }
.mock-card h4 { font-family: Fraunces, serif; font-size: 1rem; color: var(--navy); margin: 0 0 0.4rem; }
.mock-card p { margin: 0; font-size: 0.82rem; color: var(--muted); line-height: 1.5; }

.case-tile-mock {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.7rem 0.85rem; border-radius: 10px; background: #fbfcfe; border: 1px solid var(--border); margin-bottom: 0.5rem;
}
.case-tile-mock strong { display: block; font-size: 0.88rem; color: var(--ink); }
.case-tile-mock span { font-size: 0.75rem; color: var(--muted); }
.case-tile-mock .count {
  width: 26px; height: 26px; border-radius: 50%; background: #eef2f7; color: var(--navy);
  display: grid; place-items: center; font-size: 0.72rem; font-weight: 700; flex: 0 0 auto;
}

.risk-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.risk-chip {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.7rem; border-radius: 999px;
  font-size: 0.76rem; font-weight: 700;
}
.risk-chip.red { background: var(--red-bg); color: var(--red); }
.risk-chip.yellow { background: var(--yellow-bg); color: var(--yellow); }
.risk-chip.green { background: var(--green-bg); color: var(--green); }
.risk-chip .n { font-weight: 800; }

.mock-tabs { display: flex; gap: 1.1rem; border-bottom: 1px solid var(--border); margin-bottom: 0.9rem; padding-bottom: 0; }
.mock-tabs span {
  font-size: 0.82rem; font-weight: 600; color: var(--muted); padding-bottom: 0.6rem; border-bottom: 2px solid transparent;
}
.mock-tabs span.on { color: var(--navy); border-color: var(--accent); }

.finding-row {
  display: flex; align-items: flex-start; gap: 0.7rem; padding: 0.65rem 0; border-bottom: 1px solid var(--border);
}
.finding-row:last-child { border-bottom: none; }
.finding-row .badge {
  flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; margin-top: 0.4rem;
}
.finding-row .badge.red { background: var(--red); }
.finding-row .badge.yellow { background: #d7a92a; }
.finding-row .badge.green { background: var(--green); }
.finding-row strong { display: block; font-size: 0.84rem; color: var(--ink); }
.finding-row span { font-size: 0.76rem; color: var(--muted); }

.gotcha-mock {
  border-left: 3px solid #d7a92a; background: #fffaf0; border-radius: 10px; padding: 0.8rem 0.9rem; margin-bottom: 0.6rem;
}
.gotcha-mock h5 { margin: 0 0 0.3rem; font-size: 0.86rem; color: var(--navy); font-family: Fraunces, serif; }
.gotcha-mock p { margin: 0.2rem 0 0; font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
.gotcha-mock .quote { font-style: italic; color: #6b5a1f; }

/* ---------- Sections ---------- */
section.block { padding: 2.75rem 0; }
.section-head { max-width: 60ch; margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--navy); letter-spacing: -0.02em; margin: 0 0 0.6rem; }
.section-head p { color: var(--muted); font-size: 1.03rem; line-height: 1.6; margin: 0; }

.grid {
  display: grid; gap: 1.1rem;
}
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) {
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
}

.card {
  background: rgba(255, 255, 255, 0.9); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem 1.6rem; box-shadow: var(--shadow);
}
.card h3 { font-size: 1.05rem; color: var(--navy); margin: 0 0 0.5rem; font-family: Fraunces, serif; }
.card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 0.95rem; }
.card .num {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 10px; background: linear-gradient(145deg, var(--navy), var(--accent)); color: #fff;
  font-family: Fraunces, serif; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.9rem;
}

.strip {
  background: var(--navy); color: #fff; border-radius: 20px; padding: 2.25rem 2rem; margin: 3rem 0;
}
.strip h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 0.6rem; }
.strip p { color: rgba(255, 255, 255, 0.78); max-width: 56ch; line-height: 1.6; margin: 0 0 1.5rem; font-size: 1.02rem; }

table.compare {
  width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}
table.compare th, table.compare td {
  padding: 0.85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.92rem;
}
table.compare th { background: #f6f9fc; color: var(--navy); font-weight: 600; }
table.compare tr:last-child td { border-bottom: none; }
table.compare td.module { font-weight: 600; color: var(--ink); white-space: nowrap; }

/* ---------- Pricing ---------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; } }
.plan {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem 1.6rem; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.plan.featured { border: 2px solid var(--accent); position: relative; }
.plan .flag {
  position: absolute; top: -13px; left: 1.4rem; background: var(--accent); color: #fff;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.25rem 0.7rem; border-radius: 999px;
}
.plan h3 { font-family: Fraunces, serif; font-size: 1.2rem; color: var(--navy); margin: 0 0 0.3rem; }
.plan .price { font-family: Fraunces, serif; font-size: 2.2rem; color: var(--ink); margin: 0.4rem 0 0.1rem; }
.plan .price small { font-family: Outfit, sans-serif; font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.plan .plan-note { font-size: 0.83rem; color: var(--muted); margin-bottom: 1.2rem; }
.plan ul { list-style: none; margin: 0 0 1.5rem; padding: 0; flex: 1; }
.plan ul li {
  font-size: 0.9rem; color: var(--ink); padding: 0.45rem 0 0.45rem 1.4rem; position: relative; line-height: 1.4;
}
.plan ul li::before {
  content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700;
}

.faq-item { border-bottom: 1px solid var(--border); padding: 1.1rem 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h4 { margin: 0 0 0.4rem; font-size: 0.98rem; color: var(--navy); }
.faq-item p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.55; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  border: 1px solid var(--border); border-radius: 10px; padding: 0.65rem 0.8rem; font-size: 0.92rem;
  font-family: Outfit, sans-serif; color: var(--ink); background: #fbfcfe;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form-status { margin-top: 1rem; font-size: 0.88rem; color: var(--accent-dark); display: none; }
.form-status.show { display: block; }
.form-status.error { color: var(--red); }
.field-optional { font-weight: 500; color: var(--muted); }
.field-check label {
  display: flex; align-items: flex-start; gap: 0.55rem;
  font-size: 0.88rem; font-weight: 500; color: var(--muted); line-height: 1.45; cursor: pointer;
}
.field-check input[type="checkbox"] { margin-top: 0.2rem; flex: 0 0 auto; }
.signup-success h3 { font-family: Fraunces, serif; color: var(--navy); }
.signup-success p { color: var(--muted); line-height: 1.6; font-size: 0.95rem; margin: 0; }

/* ---------- Footer ---------- */
footer.site-footer { border-top: 1px solid var(--border); padding: 2.5rem 0 2.75rem; margin-top: 3rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.6rem; }
.footer-brand strong { font-family: Fraunces, serif; color: var(--navy); }
.footer-cols { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-col h5 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--navy); margin: 0 0 0.7rem; }
.footer-col a { display: block; text-decoration: none; color: var(--muted); font-size: 0.88rem; padding: 0.25rem 0; }
.footer-col a:hover { color: var(--accent-dark); }
.footer-disclaimer { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--muted); line-height: 1.6; }
