/* ============================================================================
   LDImpact — marketing website styles
   Design tokens match the LDImpact application exactly.
   Edit colors, fonts, and spacing here; they cascade across every page.
   ========================================================================== */

:root {
  --navy:      #003E99;   /* primary brand */
  --navy-dark: #002E73;
  --amber:     #B45309;   /* accent / eyebrows (matches the app) */
  --red:       #B91C1C;
  --ink:       #1F2430;   /* body text */
  --dim:       #6B7280;   /* secondary text */
  --border:    #DDE1E8;
  --bg:        #FFFFFF;
  --tint:      #F3F6FB;   /* light section background */
  --tint-2:    #EAF0FA;
  --mono: 'SF Mono', 'Consolas', 'Menlo', monospace;
  --sans: -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(0, 30, 80, 0.08);
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 102px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---- Typography ---------------------------------------------------------- */
h1, h2, h3 { color: var(--navy); font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
h1 { font-size: 44px; margin: 0 0 16px; }
h2 { font-size: 32px; margin: 0 0 14px; }
h3 { font-size: 20px; font-family: var(--sans); font-weight: 700; margin: 0 0 8px; }
p  { margin: 0 0 16px; }
.eyebrow {
  font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 12px; color: var(--amber); font-weight: 600; margin: 0 0 12px;
}
.lead { font-size: 20px; color: var(--dim); max-width: 680px; }
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-left: auto; margin-right: auto; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-block; font-family: var(--sans); font-size: 16px; font-weight: 600;
  padding: 13px 26px; border-radius: 8px; cursor: pointer; border: 1.5px solid transparent;
  transition: all 0.15s ease; text-align: center;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--navy); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--navy); color: var(--navy); }
.btn-lg { font-size: 18px; padding: 16px 34px; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); color: #fff; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.center .btn-row { justify-content: center; }
.microcopy { font-size: 14px; color: var(--dim); margin-top: 14px; }

/* ---- Header / nav -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.94);
  backdrop-filter: saturate(180%) blur(8px); border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 90px; }
.nav-logo img { height: 70px; width: auto; max-width: none; }
.nav-links { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav-links a:hover { color: var(--navy); text-decoration: none; }
.nav-cta { margin-left: 8px; }
.nav-links .btn-primary, .nav-links .btn-primary:hover { color: #fff; }  /* keep the Try-the-simulator button text white */
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: 0.2s; }

/* ---- Sections ------------------------------------------------------------ */
section { padding: 84px 0; }
section.tint { background: var(--tint); }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head:not(.left) .lead { margin-left: auto; margin-right: auto; }

/* ---- Hero ---------------------------------------------------------------- */
.hero { background: linear-gradient(180deg, var(--tint-2) 0%, #fff 100%); padding: 96px 0 84px; text-align: center; }
.hero h1 { font-size: 52px; max-width: 900px; margin-left: auto; margin-right: auto; }
.hero .lead { font-size: 21px; margin-left: auto; margin-right: auto; margin-bottom: 28px; }

/* ---- Pull quote ---------------------------------------------------------- */
.pullquote {
  border-left: 4px solid var(--amber); background: #fff; padding: 20px 26px;
  border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--serif);
  font-size: 22px; color: var(--navy); font-style: italic; max-width: 780px; margin: 8px auto 0;
  box-shadow: var(--shadow);
}

/* ---- Problem list -------------------------------------------------------- */
.painlist { max-width: 780px; margin: 0 auto 24px; list-style: none; padding: 0; }
.painlist li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--border); }
.painlist li:before { content: "\2715"; position: absolute; left: 4px; top: 12px; color: var(--red); font-weight: 700; }
.painlist strong { color: var(--ink); }

/* ---- Benefit / feature grid ---------------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; }
.card p { margin-bottom: 0; color: var(--dim); font-size: 16px; }
.card .tick { color: var(--navy); font-weight: 700; }
.card-accent { border-top: 3px solid var(--amber); }

/* ---- Steps --------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step .num {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--serif);
  font-size: 22px; margin-bottom: 14px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--dim); margin-bottom: 0; }

/* ---- Checklist (credibility / benefits) ---------------------------------- */
.checklist { list-style: none; padding: 0; margin: 0; max-width: 820px; }
.checklist li { position: relative; padding: 14px 0 14px 40px; border-bottom: 1px solid var(--border); }
.checklist li:before {
  content: "\2713"; position: absolute; left: 0; top: 12px; width: 26px; height: 26px;
  background: var(--navy); color: #fff; border-radius: 50%; text-align: center; line-height: 26px;
  font-size: 15px; font-weight: 700;
}
.checklist strong { color: var(--ink); }

/* ---- Simulator CTA band -------------------------------------------------- */
.band { background: var(--navy); color: #fff; text-align: center; }
.band h2 { color: #fff; }
.band .lead { color: rgba(255,255,255,0.85); margin-left: auto; margin-right: auto; }
.band .microcopy { color: rgba(255,255,255,0.75); }

/* ---- Testimonials -------------------------------------------------------- */
.quote-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.quote-card p.q { font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--ink); }
.quote-card .who { color: var(--dim); font-size: 14px; margin: 0; }

/* ---- Pricing ------------------------------------------------------------- */
.plan { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.featured { border-color: var(--navy); border-width: 2px; }
.plan h3 { font-size: 22px; }
.plan .price { font-family: var(--serif); font-size: 34px; color: var(--navy); margin: 6px 0 4px; }
.plan .price small { font-size: 15px; color: var(--dim); }
.plan ul { list-style: none; padding: 0; margin: 16px 0 24px; }
.plan ul li { padding: 7px 0 7px 26px; position: relative; color: var(--ink); font-size: 15px; }
.plan ul li:before { content: "\2713"; position: absolute; left: 0; color: var(--navy); font-weight: 700; }
.plan .btn { margin-top: auto; align-self: center; }
.tag { display: inline-block; background: var(--tint-2); color: var(--navy); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---- FAQ (native accordion) --------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-weight: 600; font-size: 18px; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 26px; color: var(--amber); font-weight: 400; }
.faq details[open] summary:after { content: "\2013"; }
.faq details p { padding: 0 0 20px; margin: 0; color: var(--dim); }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.85); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 14px; }
.site-footer a { color: rgba(255,255,255,0.82); display: block; padding: 4px 0; font-size: 15px; }
.site-footer a:hover { color: #fff; }
.footer-logo img { height: 38px; filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer-about { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.18); margin-top: 36px; padding-top: 20px; font-size: 13px; color: rgba(255,255,255,0.6); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-2, .grid-3, .steps, .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: 34px; } .hero h1 { font-size: 38px; } h2 { font-size: 26px; }
  .nav-links {
    display: none; position: absolute; top: 90px; left: 0; right: 0; flex-direction: column;
    align-items: flex-start; gap: 0; background: #fff; border-bottom: 1px solid var(--border);
    padding: 8px 24px 20px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; width: 100%; border-bottom: 1px solid var(--tint); }
  .nav-cta { margin: 12px 0 0; width: 100%; }
  .nav-cta .btn { display: block; }
  .nav-toggle { display: block; }
  section { padding: 60px 0; }
  .footer-grid { gap: 8px; }
}

/* ---- Security page: bulleted lists inside accordion sections ------------- */
.faq details .intro { color: var(--dim); margin: 0 0 12px; }
.faq details ul { margin: 0 0 20px; padding-left: 22px; }
.faq details ul li { margin-bottom: 11px; color: var(--dim); line-height: 1.6; }
.faq details ul li strong { color: var(--ink); }
.legal-contact { background: var(--tint); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px; margin-top: 32px; }
.legal-contact p { margin: 0 0 4px; }

/* ---- Legal pages (privacy policy, terms of use) ------------------------- */
.legal-page { max-width: 840px; }
.legal-page h1 { margin-bottom: 6px; }
.legal-page .updated { color: var(--dim); font-size: 15px; margin: 0 0 4px; }
.legal-page .lead-note { color: var(--dim); }
.legal-page h2 { font-size: 22px; margin: 36px 0 10px; scroll-margin-top: 90px; }
.legal-page h3 { font-size: 17px; font-family: var(--sans); font-weight: 700; margin: 22px 0 8px; }
.legal-page p, .legal-page li { color: #2b3240; }
.legal-page ul { padding-left: 22px; margin: 0 0 16px; }
.legal-page ul li { margin-bottom: 9px; line-height: 1.6; }
.legal-toc { background: var(--tint); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; margin: 26px 0 10px; }
.legal-toc strong { display: block; color: var(--navy); margin-bottom: 10px; font-size: 15px; }
.legal-toc a { display: inline-block; margin: 3px 16px 3px 0; font-size: 14px; }

/* ===================== When-to-use section + questionnaire ===================== */
.card-tag { display:inline-block; font-size:11px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; color:var(--amber); margin:0 0 8px; }

.quiz { background:#fff; border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow); max-width:760px; margin:48px auto 0; padding:34px 32px; }
.quiz-head { text-align:center; margin-bottom:24px; }
.quiz-head h3 { margin:6px 0 6px; }
.quiz-sub { color:var(--dim); font-size:15px; margin:0; }
.quiz-q { font-weight:600; font-size:18px; color:var(--ink); margin:0 0 16px; line-height:1.5; }
.quiz-qnum { display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; background:var(--navy); color:#fff; border-radius:50%; font-size:14px; font-weight:700; margin-right:9px; vertical-align:-6px; }
.quiz-options { display:flex; flex-direction:column; gap:10px; }
.quiz-opt { text-align:left; width:100%; padding:14px 16px; border:1px solid var(--border); border-radius:10px; background:var(--tint); color:var(--ink); font-family:inherit; font-size:15.5px; cursor:pointer; transition:border-color .15s, background .15s, box-shadow .15s; }
.quiz-opt:hover { border-color:var(--navy); background:var(--tint-2); }
.quiz-opt.sel { border-color:var(--navy); background:var(--tint-2); box-shadow:0 0 0 2px rgba(0,62,153,0.15); }
.quiz-back { margin-top:16px; background:none; border:none; color:var(--navy); font-weight:600; font-size:14px; cursor:pointer; font-family:inherit; padding:0; }
.quiz-back:hover { text-decoration:underline; }
.quiz-result { text-align:center; }
.quiz-result-eyebrow { font-size:12px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase; color:var(--amber); margin:0 0 4px; }
.quiz-result-title { color:var(--navy); font-size:26px; margin:0 0 12px; }
.quiz-result p { color:var(--dim); font-size:16px; max-width:600px; margin:0 auto 10px; }
.quiz-restart { display:block; margin:16px auto 0; background:none; border:none; color:var(--dim); font-size:13px; cursor:pointer; font-family:inherit; text-decoration:underline; }
.btn-secondary { background:#fff; color:var(--navy); border-color:var(--navy); }
.btn-secondary:hover { background:var(--tint-2); color:var(--navy); }

/* ROI Forecasting add-on box in pricing */
.addon-box { display:flex; flex-wrap:wrap; gap:26px; align-items:center; justify-content:space-between; border:2px solid var(--amber); border-radius:14px; background:#fff; padding:26px 30px; margin-top:30px; }
.addon-box-main { flex:1 1 360px; }
.addon-box-main h3 { color:var(--navy); }
.addon-box-price { flex:0 0 auto; text-align:center; min-width:190px; }
@media (max-width:640px){ .addon-box-price { text-align:left; } }

/* Center the nav links on desktop (logo stays left; links centered) */


/* Desktop nav: logo left, links centered, CTA right (fits without crowding the logo) */
.nav-cta-d { display: none; }
@media (min-width: 1025px) {
  .nav { display: grid; grid-template-columns: 1fr auto 1fr; column-gap: 20px; }
  .nav-logo { justify-self: start; }
  .nav-links { justify-self: center; }
  .nav-links .nav-cta { display: none; }
  .nav-cta-d { display: inline-flex; justify-self: end; }
}

/* ===== Pricing: audience + billing toggles, 4-up grid, plan extras ===== */
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.aud-toggle, .bill-toggle { display:inline-flex; background:#fff; border:1px solid var(--border); border-radius:999px; padding:4px; gap:3px; }
.aud-toggle { margin:0 auto; }
.aud-btn, .bill-btn { border:none; background:transparent; font-family:inherit; font-size:14.5px; font-weight:600; color:var(--dim); padding:9px 20px; border-radius:999px; cursor:pointer; white-space:nowrap; }
.aud-btn.is-active, .bill-btn.is-active { background:var(--navy); color:#fff; }
.aud-desc { text-align:center; color:var(--dim); max-width:680px; margin:20px auto 0; font-size:15px; }
.bill-toggle-wrap { text-align:center; margin:22px 0 30px; }
.bill-btn .save-tag { display:inline-block; background:#E3F4EA; color:#177245; font-size:11px; font-weight:700; padding:1px 8px; border-radius:10px; margin-left:6px; letter-spacing:0; text-transform:none; }
.bill-btn.is-active .save-tag { background:rgba(255,255,255,0.22); color:#fff; }
.plan .price small { font-size:15px; color:var(--dim); font-weight:400; font-family:var(--sans, inherit); }
.plan .price-note { font-size:13px; color:var(--dim); margin:0 0 12px; }
.plan .seats { align-self:flex-start; font-size:12.5px; font-weight:700; color:var(--navy); background:#EAF0FA; padding:3px 12px; border-radius:20px; margin:0 0 6px; }
.plan-accent { border-top:3px solid var(--amber); }
.tag-amber { background:#FBF3E9; color:var(--amber); }
.plan ul li strong { color:var(--ink); }
@media (max-width: 1024px){ .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px){ .grid-4 { grid-template-columns: 1fr; } .aud-btn, .bill-btn { padding:8px 14px; font-size:13.5px; } }

/* Plan badge shown under the plan name */
.plan .tag.under-title { align-self:flex-start; margin:2px 0 12px; }

/* ===== KPI feature links + modal ===== */
.kpi-link { background:none; border:none; padding:0; margin:0; font:inherit; color:var(--navy); font-weight:600; text-decoration:underline; text-decoration-style:dotted; text-underline-offset:3px; cursor:pointer; text-align:left; }
.kpi-link:hover { text-decoration-style:solid; color:#00337f; }
.kpi-modal-overlay { position:fixed; inset:0; background:rgba(15,23,42,0.55); display:flex; align-items:center; justify-content:center; z-index:2000; padding:20px; }
.kpi-modal-overlay[hidden] { display:none; }
.kpi-modal { background:#fff; border-radius:16px; max-width:640px; width:100%; max-height:86vh; display:flex; flex-direction:column; position:relative; box-shadow:0 24px 64px rgba(0,0,0,0.32); padding:28px 30px 6px; }
.kpi-modal-close { position:absolute; top:12px; right:16px; background:none; border:none; font-size:28px; line-height:1; color:var(--dim); cursor:pointer; }
.kpi-modal-close:hover { color:var(--ink); }
.kpi-modal h3 { color:var(--navy); margin:0 0 6px; font-size:22px; }
.kpi-modal-sub { color:var(--dim); font-size:14px; margin:0 0 14px; max-width:540px; }
.kpi-table-wrap { overflow-y:auto; margin:0 -30px; padding:0 30px 22px; }
.kpi-table { width:100%; border-collapse:collapse; font-size:14.5px; }
.kpi-table thead th { text-align:left; font-size:11px; text-transform:uppercase; letter-spacing:0.05em; color:var(--dim); font-weight:700; padding:0 0 8px; border-bottom:1px solid var(--border); position:sticky; top:0; background:#fff; }
.kpi-table thead th:last-child { text-align:center; width:96px; }
.kpi-table td { padding:9px 0; border-bottom:1px solid #eef1f5; }
.kpi-table .kpi-name { color:var(--ink); padding-right:16px; }
.kpi-table .kpi-avail { text-align:center; }
.kpi-table tr.kpi-group td { font-weight:700; color:var(--navy); font-size:11.5px; text-transform:uppercase; letter-spacing:0.05em; padding:16px 0 6px; border-bottom:none; }
.kpi-yes { color:#177245; font-weight:700; font-size:16px; }
.kpi-no { color:#c0392b; font-weight:700; font-size:15px; }
@media (max-width:640px){ .kpi-modal { padding:24px 20px 6px; } .kpi-table-wrap { margin:0 -20px; padding:0 20px 20px; } }

/* FAQ: KPI category labels */
.faq details .kpi-cat { color:var(--navy); font-weight:700; margin:14px 0 8px; font-size:15px; }

/* ============ Results carousel (The solution) ============ */
.rc { max-width: 840px; margin: 52px auto 0; }
.rc-cap { text-align: center; color: var(--dim); font-size: 14.5px; margin: 0 0 22px; line-height: 1.55; }
.rc-stage { position: relative; }
.rc-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; border-radius: 14px; }
.rc-track::-webkit-scrollbar { display: none; }
.rc-track:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; }
.rc-slide { flex: 0 0 100%; scroll-snap-align: center; margin: 0; padding: 0 3px; box-sizing: border-box; }
.rc-slide img { width: 100%; height: auto; aspect-ratio: 1330 / 750; display: block; border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--border); cursor: zoom-in; }
.rc-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--navy); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 3px 12px rgba(0,30,80,0.14); z-index: 2; display: flex; align-items: center; justify-content: center; }
.rc-nav:hover { border-color: var(--navy); }
.rc-prev { left: -14px; } .rc-next { right: -14px; }
.rc-dots { display: flex; justify-content: center; gap: 9px; margin-top: 20px; }
.rc-dot { width: 9px; height: 9px; border-radius: 50%; border: none; background: #C7D2E4; cursor: pointer; padding: 0; transition: background 0.15s; }
.rc-dot.active { background: var(--navy); }
.rc-lb { position: fixed; inset: 0; background: rgba(10,20,45,0.88); display: none; align-items: center; justify-content: center; z-index: 1000; padding: 20px; }
.rc-lb.open { display: flex; }
.rc-lb-img { max-width: 96vw; max-height: 92vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.rc-lb-x { position: absolute; top: 16px; right: 20px; width: 46px; height: 46px; border-radius: 50%; border: none; background: rgba(255,255,255,0.16); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.rc-lb-x:hover { background: rgba(255,255,255,0.30); }
@media (max-width: 640px) {
  .rc-prev { left: 2px; } .rc-next { right: 2px; }
  .rc-nav { width: 38px; height: 38px; font-size: 22px; }
}


/* ============ "Get started" modal ============ */
.gs-modal { position: fixed; inset: 0; background: rgba(10,20,45,0.55); display: none; align-items: center; justify-content: center; z-index: 2000; padding: 20px; }
.gs-modal.open { display: flex; }
.gs-modal-card { background: #fff; border-radius: 14px; max-width: 520px; width: 100%; padding: 34px 32px 30px; position: relative; box-shadow: 0 24px 64px rgba(0,20,60,0.28); }
.gs-modal-card p { font-size: 16px; line-height: 1.62; color: var(--ink); margin: 0 0 16px; }
.gs-modal-card p:last-child { margin-bottom: 0; }
.gs-modal-card a { color: var(--navy); font-weight: 600; }
.gs-modal-card .gs-hl { color: var(--navy); font-weight: 700; }
.gs-modal-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 28px; line-height: 1; color: var(--dim); cursor: pointer; border-radius: 8px; }
.gs-modal-close:hover { color: var(--ink); }

/* ============ Support request modal ============ */
.sup-card { max-width: 480px; }
.sup-title { font-family: var(--serif); color: var(--navy); font-size: 22px; margin: 0 0 6px; }
.sup-sub { color: var(--dim); font-size: 14px; margin: 0 0 18px; line-height: 1.5; }
.sup-l { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin: 0 0 12px; }
.sup-l .req { color: #c0392b; }
.sup-l .opt { color: var(--dim); font-weight: 400; }
.sup-l input, .sup-l select, .sup-l textarea { display: block; width: 100%; margin-top: 5px; padding: 9px 11px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; font-family: inherit; color: var(--ink); box-sizing: border-box; background: #fff; }
.sup-l input:focus, .sup-l select:focus, .sup-l textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0,62,153,0.12); }
.sup-l textarea { resize: vertical; }
.sup-err { color: #c0392b; font-size: 13px; margin: 0 0 12px; }
.sup-submit { width: 100%; }
.sup-thanks { text-align: center; padding: 8px 0 4px; }
.sup-check { width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 50%; background: #e8f3ec; color: #2e8b57; font-size: 28px; line-height: 54px; }
.sup-thanks .sup-done { margin-top: 18px; }

/* honeypot: visually hidden anti-spam field for the support form */
.sup-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
