/* ==========================================================================
   The Toby Group LLC — Opt-in / Compliance Site
   Shared stylesheet
   ========================================================================== */

:root {
  --navy:        #0e1c3d;
  --navy-dark:   #0a1530;
  --navy-light:  #16264f;
  --accent:      #d8825a;
  --accent-hover:#c56f45;
  --text:        #ffffff;
  --text-muted:  #c3cad9;
  --ink:         #1d2740;
  --ink-muted:   #5a6580;
  --light:       #f4f6fb;
  --card:        #ffffff;
  --border:      #e2e7f1;
  --radius:      10px;
  --max:         1180px;
  --font:        "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 34px;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .3px;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  transition: all .2s ease;
}
.btn:hover { background: var(--accent); color: #fff; }
.btn-solid { background: var(--accent); color: #fff; }
.btn-solid:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

/* ---------- Header ---------- */
.site-header {
  background: var(--navy);
  padding: 20px 0;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 46px; height: 46px;
  border: 2px solid #fff;
  border-radius: 10px 10px 4px 4px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  flex: none;
}
.brand-mark span {
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}
.brand-text { color: #fff; line-height: 1.1; }
.brand-text b { display: block; font-size: 1.15rem; letter-spacing: 1.5px; font-weight: 800; }
.brand-text small { display: block; font-size: .62rem; letter-spacing: 3px; color: var(--text-muted); margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 10px; }
.nav-links a.text-link { color: #fff; padding: 10px 14px; font-weight: 500; }
.nav-links a.text-link:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 55%;
  background:
    linear-gradient(135deg, rgba(14,28,61,.55), rgba(14,28,61,.92)),
    linear-gradient(160deg, #2a3c63 0%, #14264f 55%, #0e1c3d 100%);
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  opacity: .9;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 96px 0 110px;
  text-align: center;
  margin: 0 auto;
}
.hero .eyebrow { color: var(--accent); font-size: 1.35rem; font-weight: 600; margin-bottom: 14px; }
.hero h1 { font-size: 3.6rem; font-weight: 800; line-height: 1.05; margin-bottom: 26px; }
.hero p { color: #dfe4ee; font-size: 1.12rem; max-width: 620px; margin: 0 auto 40px; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section.light { background: var(--light); }
.section.navy { background: var(--navy); color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section-head .eyebrow { color: var(--accent); font-weight: 600; letter-spacing: .5px; margin-bottom: 10px; }
.section-head h2 { font-size: 2.4rem; font-weight: 800; margin-bottom: 14px; }
.section.navy .section-head h2 { color: #fff; }
.section-head p { color: var(--ink-muted); font-size: 1.05rem; }
.section.navy .section-head p { color: var(--text-muted); }

/* ---------- About / Features ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-copy h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 18px; }
.about-copy p { color: var(--ink-muted); margin-bottom: 14px; }
.feature-list { list-style: none; display: grid; gap: 18px; }
.feature-list li { display: flex; gap: 14px; }
.feature-list .tick {
  flex: none;
  width: 26px; height: 26px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700;
  margin-top: 3px;
}
.feature-list b { display: block; color: var(--ink); }
.feature-list span.desc { color: var(--ink-muted); font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 22px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.5rem; font-weight: 700; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--ink-muted); padding: 0 0 20px; }

/* ---------- Testimonials ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.tcard {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.tcard .stars { color: var(--accent); letter-spacing: 3px; margin-bottom: 14px; }
.tcard p { color: #e4e8f1; margin-bottom: 22px; }
.tcard .who b { color: #fff; display: block; }
.tcard .who small { color: var(--text-muted); }

/* ---------- Opt-in form ---------- */
.form-page { background: var(--light); padding: 70px 0; }
.form-card {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 44px 40px;
  box-shadow: 0 20px 50px rgba(14,28,61,.08);
}
.form-card h1 { font-size: 2rem; font-weight: 800; text-align: center; margin-bottom: 8px; }
.form-card .lede { text-align: center; color: var(--ink-muted); margin-bottom: 30px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.field input {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
}
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(216,130,90,.15); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0; }
.consent input { margin-top: 5px; flex: none; width: 18px; height: 18px; accent-color: var(--accent); }
.consent .txt { font-size: .82rem; color: var(--ink-muted); line-height: 1.55; }
.consent .txt + .txt { margin-top: 10px; }
.form-card .btn-solid { width: 100%; text-align: center; padding: 15px; font-size: 1.05rem; }
.form-legal { text-align: center; margin-top: 20px; font-size: .85rem; color: var(--ink-muted); }
.form-legal a { color: var(--accent); }

/* ---------- Legal (privacy / terms) ---------- */
.legal { padding: 70px 0; }
.legal h1 { font-size: 2.4rem; font-weight: 800; margin-bottom: 26px; }
.legal h2 { font-size: 1.3rem; font-weight: 700; margin: 30px 0 10px; color: var(--navy); }
.legal p, .legal li { color: var(--ink-muted); margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 12px; }
.legal .callout {
  background: var(--light);
  border-left: 4px solid var(--accent);
  padding: 16px 20px;
  border-radius: 6px;
  color: var(--ink);
  margin: 18px 0;
}
.legal .contact-block { margin-top: 14px; color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #fff; padding: 40px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.site-footer .copy { color: var(--text-muted); font-size: .92rem; }
.site-footer .flinks { display: flex; gap: 22px; }
.site-footer .flinks a { color: #fff; font-size: .92rem; }
.site-footer .flinks a:hover { color: var(--accent); }

/* placeholder highlight — remove the .ph rule once all placeholders are filled */
.ph { background: rgba(216,130,90,.16); padding: 0 3px; border-radius: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero h1 { font-size: 2.5rem; }
  .hero::after { width: 100%; opacity: .5; clip-path: none; }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .cards { grid-template-columns: 1fr; }
  .section-head h2 { font-size: 1.9rem; }
}
@media (max-width: 560px) {
  .row2 { grid-template-columns: 1fr; }
  .form-card { padding: 32px 22px; }
  .brand-text b { font-size: 1rem; }
  .hero-inner { padding: 70px 0 80px; }
}
