/* Trident Rose — tridentrose.com */

:root {
  --navy: #0e1a26;
  --navy-2: #14232f;
  --navy-3: #1b2f3f;
  --orange: #f96f1e;
  --orange-dark: #d95a10;
  --paper: #f6f4ef;
  --white: #ffffff;
  --ink: #1c2733;
  --gray: #8c99a6;
  --gray-light: #c6cfd7;
  --line: rgba(255, 255, 255, 0.09);
  --radius: 8px;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .stat-num, .step-num, .btn {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
}

h1 {
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

h3 {
  font-size: 1.35rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

/* Hazard divider */
.hazard {
  height: 6px;
  background: repeating-linear-gradient(
    -45deg,
    var(--orange) 0 14px,
    var(--navy) 14px 28px
  );
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.logo:hover { text-decoration: none; }
.logo svg { width: 26px; height: 26px; flex-shrink: 0; }
.logo .rose { color: var(--orange); }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--gray-light);
  font-weight: 500;
  font-size: 0.98rem;
}
.nav a:hover { color: var(--white); text-decoration: none; }
.nav a.active { color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: transform 0.2s, opacity 0.2s;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 14px 28px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s;
}
.btn:hover { background: var(--orange-dark); color: var(--navy); text-decoration: none; }

.btn-ghost {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 2px var(--line);
}
.btn-ghost:hover { background: var(--navy-3); color: var(--white); }

.btn-sm { padding: 10px 20px; font-size: 0.95rem; }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -60px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(249, 111, 30, 0.13) 0%, transparent 65%);
  pointer-events: none;
}

.eyebrow {
  display: inline-block;
  color: var(--orange);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}

.hero p.lead {
  font-size: 1.2rem;
  color: var(--gray-light);
  max-width: 620px;
  margin: 22px 0 34px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Stat band ---------- */
.stats {
  background: var(--navy-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 44px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.stat-num {
  font-size: 2.9rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}

.stat-label {
  color: var(--gray-light);
  margin-top: 8px;
  font-size: 0.98rem;
}

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-dark { background: var(--navy); color: var(--white); }
.section-mid { background: var(--navy-2); color: var(--white); }
.section-light { background: var(--paper); color: var(--ink); }

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head p { margin-top: 14px; color: var(--gray); font-size: 1.08rem; }
.section-dark .section-head p, .section-mid .section-head p { color: var(--gray-light); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  background: var(--navy-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.section-light .step {
  background: var(--white);
  border-color: #e4dfd5;
}

.step-num {
  font-size: 1rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.step h3 { margin-bottom: 10px; }
.step p { color: var(--gray-light); font-size: 0.99rem; }
.section-light .step p { color: #5b6672; }

/* ---------- Checklist / guarantees ---------- */
.checklist {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-weight: 600;
  font-size: 1.02rem;
}

.checklist .tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
}

/* ---------- Detail blocks (how it works) ---------- */
.detail {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.detail:last-child { border-bottom: 0; }

.section-light .detail { border-color: #e4dfd5; }

.detail h3 { color: var(--orange); }
.detail p { max-width: 640px; }
.detail p + p { margin-top: 12px; }

/* ---------- FAQ ---------- */
.faq details {
  border-bottom: 1px solid #e4dfd5;
  padding: 20px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--orange);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: 14px; color: #5b6672; max-width: 680px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--orange);
  color: var(--navy);
  padding: 64px 0;
}

.cta-band h2 { color: var(--navy); }
.cta-band p { margin: 14px 0 28px; font-size: 1.1rem; max-width: 560px; font-weight: 500; }

.cta-band .btn {
  background: var(--navy);
  color: var(--white);
}
.cta-band .btn:hover { background: var(--navy-3); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid #e4dfd5;
  border-radius: var(--radius);
  padding: 36px 32px;
  max-width: 640px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }

.field label {
  font-weight: 600;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid #cfc9bd;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--orange);
  outline-offset: 1px;
  border-color: var(--orange);
}

.form-note {
  margin-top: 16px;
  font-size: 0.88rem;
  color: #7a8490;
}

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

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0 56px;
}
.page-hero p {
  color: var(--gray-light);
  max-width: 620px;
  margin-top: 18px;
  font-size: 1.15rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: var(--gray);
  border-top: 1px solid var(--line);
  padding: 48px 0 36px;
  font-size: 0.95rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.footer-grid a { color: var(--gray-light); display: block; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--white); }

.footer-brand { max-width: 320px; }
.footer-brand .logo { margin-bottom: 12px; font-size: 1.25rem; }

.footer-legal {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 0.85rem;
  color: #62707d;
}

/* ---------- Utility ---------- */
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 40px; }
.center { text-align: center; }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .steps, .checklist, .stats-grid { grid-template-columns: 1fr; }

  .stats-grid { gap: 26px; }

  .detail { grid-template-columns: 1fr; gap: 10px; padding: 26px 0; }

  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy-2);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 16px;
  }

  .nav.open { display: flex; }

  .nav a {
    padding: 14px 20px;
    font-size: 1.1rem;
  }

  .nav .btn-sm {
    margin: 10px 20px 0;
    text-align: center;
  }

  .nav-toggle { display: block; }

  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { padding: 52px 0 60px; }
  .section { padding: 56px 0; }

  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }

  .hero-ctas .btn { width: 100%; text-align: center; }
}
