/* EventSafetyPack — clean, corporate compliance look.
   Navy + white, restrained accents, one signature moment: the document-pack badge. */

/* ---------- tokens ---------- */
:root {
  --navy: #1E3A5F;        /* primary brand */
  --navy-deep: #152C49;   /* hovers, footer */
  --navy-tint: #EAF0F7;   /* pale panels on white */
  --text: #22303F;
  --muted: #5B6B7C;
  --bg: #FFFFFF;
  --bg-soft: #F4F6F9;
  --line: #DDE4EB;
  --link: #1E5FAE;
  --green: #1B7A46;       /* ticks / confirmation */
  --redline: #B54230;     /* used once: the deadline stat */
  --display: "Archivo", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow-sm: 0 1px 2px rgba(16, 30, 48, 0.06), 0 1px 3px rgba(16, 30, 48, 0.08);
  --shadow-md: 0 4px 14px rgba(16, 30, 48, 0.10);
  --shadow-lg: 0 18px 44px rgba(16, 30, 48, 0.22);
}

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.18; margin: 0 0 0.6em; color: var(--navy); letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
a { color: var(--link); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 2px; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 18px; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* eyebrows */
.eyebrow {
  font-family: var(--display); font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 1.2em;
}
.eyebrow-amber { color: var(--link); }        /* legacy class name; now the accent blue */
.dark .eyebrow, .dark .eyebrow-amber,
.pack .eyebrow, .pack .eyebrow-amber,
.offer .eyebrow, .offer .eyebrow-amber,
.preorder .eyebrow, .preorder .eyebrow-amber { color: #A9BDD6; }

/* buttons */
.btn {
  display: inline-block;
  font-family: var(--display); font-weight: 600;
  font-size: 0.98rem; letter-spacing: 0.01em;
  background: var(--navy); color: #fff; text-decoration: none;
  padding: 13px 26px; border: 1px solid var(--navy); border-radius: 8px;
  box-shadow: var(--shadow-sm);
  cursor: pointer; transition: background 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}
.btn:hover { background: var(--navy-deep); color: #fff; box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn-large { font-size: 1.05rem; padding: 15px 30px; }
.btn-small { font-size: 0.88rem; padding: 9px 16px; }
.btn-invert { background: #fff; color: var(--navy); border-color: #fff; }
.btn-invert:hover { background: var(--navy-tint); color: var(--navy); }
.cta-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 1.6em 0 0; }
.link-quiet { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand-mark {
  position: relative; width: 26px; height: 26px; border-radius: 7px;
  background: var(--navy); flex: none;
}
.brand-mark::after {
  content: ""; position: absolute; left: 7px; top: 7px;
  width: 11px; height: 6px;
  border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg);
}
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.08rem; letter-spacing: -0.01em; color: var(--navy); }
.brand-accent { color: var(--link); }
.header-nav { display: flex; align-items: center; gap: 22px; }
.header-link { color: var(--text); font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.header-link:hover { color: var(--link); }

/* ---------- sections ---------- */
section { padding: 84px 0; }
.dark { background: var(--navy); color: #E6EDF5; }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark a { color: #fff; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--navy-tint) 0%, #fff 78%); padding: 76px 0 88px; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); max-width: 14em; }
.h1-amber { color: var(--link); }
.hero-grid { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 56px; align-items: center; }
.hero-sub { font-size: 1.16rem; color: var(--muted); max-width: 34em; }
.hero-liability {
  margin-top: 1.8em; font-size: 0.92rem; color: var(--muted);
  border-left: 3px solid var(--navy); padding-left: 12px; max-width: 32em;
}
.hero-photo { margin: 0; }
.hero-photo img { border-radius: 14px; box-shadow: var(--shadow-md); }
.photo-tag { display: none; }

/* ---------- problem ---------- */
.problem { background: #fff; }
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.problem-item {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px;
  padding: 28px 26px 22px;
}
.problem-item h2 { font-size: 1.1rem; margin-top: 0.6em; }
.problem-item p:last-child { color: var(--muted); margin-bottom: 0; font-size: 0.98rem; }
.problem-stat {
  font-family: var(--display); font-weight: 700;
  font-size: 2.3rem; line-height: 1; color: var(--navy); margin: 0;
}
.problem-stat span { display: block; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 7px; }
.problem-stat-red { color: var(--redline); }  /* the one red moment on the site */

/* ---------- pack / document badge ---------- */
.pack { background: var(--navy); color: #E6EDF5; overflow: hidden; }
.pack-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.pack-copy h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.05rem); }
.pack-copy p { color: #C2D0E0; max-width: 32em; }
.pack .btn { background: #fff; color: var(--navy); border-color: #fff; }
.pack .btn:hover { background: var(--navy-tint); }

.pass-wrap { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 8px; min-height: 520px; }
.pass-lanyard {
  width: 22px; height: 92px; border-radius: 0 0 4px 4px;
  background: linear-gradient(180deg, #34517A, #2A4467);
  position: relative; z-index: 1;
}
.pass-clip {
  position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%);
  width: 32px; height: 20px; background: #D5DBE4; border-radius: 4px 4px 6px 6px;
  border: 2px solid #9AA6B5;
}
.pass-card {
  position: relative; z-index: 2; margin-top: -4px;
  width: min(360px, 88vw);
  background: #fff; color: var(--text);
  border-radius: 14px; padding: 0 26px 22px;
  transform: rotate(-1.5deg);
  box-shadow: var(--shadow-lg);
}
.pass-stripe {
  position: relative; height: 52px; margin: 0 -26px 18px; border-radius: 14px 14px 0 0;
  background: linear-gradient(135deg, #35578A 0%, #46699E 100%);
}
.pass-hole {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 12px; border-radius: 7px;
  background: var(--navy-deep);
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.45), 0 1px 0 rgba(255, 255, 255, 0.25);
}
.pass-access {
  font-family: var(--display); font-weight: 700;
  font-size: 1.16rem; letter-spacing: 0; margin: 0 0 2px; color: var(--navy);
}
.pass-holder {
  font-family: var(--display); font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px;
  border-bottom: 1px solid var(--line); padding-bottom: 12px;
}
.pass-list { list-style: none; margin: 0 0 16px; padding: 0; }
.pass-list li {
  position: relative; padding: 8px 0 8px 32px; font-weight: 500; font-size: 0.98rem;
  border-bottom: 1px solid var(--bg-soft);
}
.pass-list li:last-child { border-bottom: 0; }
.pass-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--green);
}
.pass-list li::after {
  content: ""; position: absolute; left: 5px; top: 15px;
  width: 8px; height: 4px;
  border-left: 2px solid #fff; border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.pass-foot {
  font-family: var(--display); font-weight: 600;
  font-size: 0.68rem; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--muted); margin: 0;
  border-top: 1px solid var(--line); padding-top: 12px;
}

/* badge reveal */
@media (prefers-reduced-motion: no-preference) {
  .pass-wrap .pass-lanyard { transform: translateY(-36px); opacity: 0; transition: transform 500ms ease-out, opacity 400ms ease-out; }
  .pass-wrap .pass-card { transform: translateY(-44px) rotate(1.5deg); opacity: 0; transition: transform 700ms cubic-bezier(0.34, 1.3, 0.44, 1) 120ms, opacity 400ms ease-out 120ms; }
  .pass-wrap.is-visible .pass-lanyard { transform: translateY(0); opacity: 1; }
  .pass-wrap.is-visible .pass-card { transform: translateY(0) rotate(-1.5deg); opacity: 1; }
}

/* ---------- how it works ---------- */
.how { background: #fff; }
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.how-step p.how-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem;
  color: #fff; background: var(--navy);
  margin: 0 0 0.9em; line-height: 1;
}
.how-step h2 { font-size: 1.12rem; }
.how-step p { color: var(--muted); margin-bottom: 0; }
.how-liability {
  margin: 48px auto 0; max-width: 46em; text-align: center;
  font-weight: 500; color: var(--text);
  border: 1px solid var(--line); border-left: 4px solid var(--navy);
  border-radius: 8px; padding: 16px 22px;
  background: var(--bg-soft);
}

/* ---------- who it's for ---------- */
.who { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.who-col h2 { font-size: 1.25rem; margin-top: 1em; }
.who-photo { margin: 0; }
.who-photo img { border-radius: 12px; box-shadow: var(--shadow-sm); }
.who-col > p { color: var(--muted); }
.tick-list { list-style: none; margin: 0; padding: 0; }
.tick-list li { position: relative; padding: 6px 0 6px 28px; font-weight: 500; }
.tick-list li::before {
  content: ""; position: absolute; left: 2px; top: 13px;
  width: 9px; height: 5px;
  border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green);
  transform: rotate(-45deg);
}
.tick-list a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- founding offer ---------- */
.offer { background: var(--navy); color: #E6EDF5; }
.preorder-inner { max-width: 42em; }
.preorder-title { color: #fff; font-size: clamp(1.4rem, 3vw, 2rem); }
.preorder-list { list-style: none; margin: 0 0 1.2em; padding: 0; }
.preorder-list li { position: relative; padding: 6px 0 6px 30px; font-weight: 500; }
.preorder-list li::before {
  content: ""; position: absolute; left: 2px; top: 14px;
  width: 9px; height: 5px;
  border-left: 2.5px solid #7FC79E; border-bottom: 2.5px solid #7FC79E;
  transform: rotate(-45deg);
}
.preorder-honest { color: #C2D0E0; max-width: 38em; }
.offer .btn, .preorder .btn { background: #fff; color: var(--navy); border-color: #fff; }
.offer .btn:hover, .preorder .btn:hover { background: var(--navy-tint); }
.offer .link-quiet { color: #E6EDF5; }

/* ---------- waitlist / capture form ---------- */
.waitlist { background: #fff; }
.waitlist-inner { max-width: 620px; }
.capture-title { font-size: clamp(1.35rem, 3vw, 1.8rem); }
.capture-sub { color: var(--muted); }
.capture-form { margin-top: 1.6em; }
.field { margin-bottom: 18px; }
.field label {
  display: block; font-family: var(--display); font-weight: 600;
  font-size: 0.85rem; margin-bottom: 6px; color: var(--text);
}
.field input, .field select {
  width: 100%; font: inherit; color: var(--text);
  background: #fff; border: 1px solid #B6C2CE; border-radius: 8px;
  padding: 12px 14px;
}
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--link); outline-offset: 1px; border-color: var(--link); }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 14px 0 0; }
.form-note a { color: var(--link); }
.form-liability { border-left: 3px solid var(--navy); padding-left: 10px; }
.capture .btn { width: 100%; text-align: center; }

/* compact capture on article pages */
.capture-compact {
  border: 1px solid var(--line); border-top: 4px solid var(--navy);
  border-radius: 12px; background: var(--bg-soft);
  padding: 26px 26px 22px; margin: 44px 0;
  box-shadow: var(--shadow-sm);
}
.capture-compact .capture-title { font-size: 1.25rem; }
.capture-compact .capture-sub { font-size: 0.95rem; }
.capture-compact .field input, .capture-compact .field select { background: #fff; }

/* ---------- FAQ ---------- */
.faq { background: #fff; border-top: 1px solid var(--line); }
.faq-list { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; font-weight: 600; font-family: var(--display); font-size: 1.04rem;
  padding: 15px 36px 15px 0; position: relative; list-style: none; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--display); font-weight: 600; font-size: 1.35rem; color: var(--link);
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 16px; max-width: 60em; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #A9BDD6; padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr; gap: 48px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-accent { color: #A9BDD6; }
.footer-line { font-size: 0.9rem; max-width: 26em; margin: 10px 0 0; }
.footer-heading {
  font-family: var(--display); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: #7E96B3; margin: 0 0 12px;
}
.footer-heading a { color: inherit; text-decoration: none; }
.footer-heading a:hover { color: #fff; }
.footer-heading-gap { margin-top: 26px; }
.footer-menu { list-style: none; margin: 0; padding: 0; font-size: 0.92rem; }
.footer-menu li { margin-bottom: 8px; }
.footer-menu a { color: #D7E1EC; text-decoration: none; }
.footer-menu a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-menu-2col { columns: 2; column-gap: 32px; }
.footer-menu-2col li { break-inside: avoid; }
.footer-legal { margin: 40px 0 0; padding-top: 20px; border-top: 1px solid #2A4467; font-size: 0.85rem; }

/* ---------- guides hub ---------- */
.guides-body { max-width: 860px; padding: 56px 24px 72px; }
.guides-body .lead { font-size: 1.15rem; color: var(--text); max-width: 44em; }
.guide-group { padding: 8px 0 0; }
.guide-group h2 { font-size: 1.3rem; margin: 1.6em 0 0.8em; }
.guide-group-note { color: var(--muted); font-size: 0.95rem; margin-top: -0.6em; }
.guide-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.guide-list li {
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  padding: 16px 18px; box-shadow: var(--shadow-sm);
}
.guide-list a { font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: var(--navy); text-decoration: none; }
.guide-list a:hover { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.guide-list p { font-size: 0.9rem; color: var(--muted); margin: 6px 0 0; }

/* ---------- article pages (topic + council) ---------- */
.page-article main { background: #fff; }
.article-head { background: var(--navy); color: #E6EDF5; padding: 48px 0 56px; }
.article-head h1 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.4rem); max-width: 22em; }
.article-head .eyebrow { color: #A9BDD6; }
.breadcrumbs { font-size: 0.85rem; color: #A9BDD6; margin: 0 0 2em; }
.breadcrumbs a { color: #C2D0E0; }
.breadcrumbs a:hover { color: #fff; }
.article-body { max-width: 760px; padding: 56px 0 72px; }
.article-body .lead { font-size: 1.15rem; color: var(--text); }
.article-body h2 { font-size: 1.35rem; margin-top: 2em; }
.article-body h3 { font-size: 1.1rem; margin-top: 1.6em; }
.article-body ul, .article-body ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article-body li { margin-bottom: 0.4em; }
.article-photo { margin: 2em 0; }
.article-photo img { border-radius: 12px; box-shadow: var(--shadow-sm); }
.article-photo figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
.article-note {
  border: 1px solid var(--line); border-left: 4px solid var(--navy);
  background: var(--bg-soft); border-radius: 8px;
  padding: 14px 18px; margin: 1.6em 0; font-size: 0.95rem;
}
.related { border-top: 1px solid var(--line); margin-top: 3em; padding-top: 1.6em; }
.related h2 { font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.related ul { list-style: none; padding: 0; }
.related li { padding: 4px 0; }

/* preorder block on article pages */
.article-body .preorder {
  background: var(--navy); color: #E6EDF5; border-radius: 14px;
  padding: 34px 34px 30px; margin: 44px 0;
}
.article-body .preorder h2 { margin-top: 0; }

/* ---------- support pages ---------- */
.page-simple .article-body { padding-top: 40px; }

/* ---------- responsive ---------- */
@media (max-width: 880px) {
  section { padding: 60px 0; }
  .hero { padding: 48px 0 64px; }
  .hero-grid, .pack-grid { grid-template-columns: 1fr; gap: 40px; }
  .pass-wrap { min-height: 0; padding-bottom: 12px; }
  .problem-grid, .how-grid { grid-template-columns: 1fr; gap: 24px; }
  .who-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .header-inner { flex-wrap: wrap; }
  .header-nav { width: 100%; justify-content: space-between; }
  .cta-row { align-items: stretch; flex-direction: column; }
  .cta-row .btn { text-align: center; }
  .article-body .preorder { padding: 26px 22px; }
  .guide-list { grid-template-columns: 1fr; }
  .footer-menu-2col { columns: 1; }
}
