/* Clean funnel system: homepage top, /start-buying.html, /start-licensing.html.
   Self-contained (prefixed .c-*), so it sits on top of older page styles without fighting them. */
:root {
  --c-navy: #1a2e4a;
  --c-navy-deep: #111e30;
  --c-gold: #c9a84c;
  --c-gold-bright: #e0c168;
  --c-paper: #f8f6f1;
  --c-line: #e7e1d3;
  --c-ink: #1c2b3a;
  --c-muted: #5b6878;
  --c-good: #1e7a4d;
  --c-radius: 14px;
  --c-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --c-head: "Barlow Condensed", sans-serif;
  --c-body: "Public Sans", "Barlow", system-ui, sans-serif;
}

.c-page, .c-page *, .c-nav, .c-nav *, .c-hero, .c-hero *, .c-trust *, .c-footer * { box-sizing: border-box; }

/* ---------- nav ---------- */
.c-nav { background: var(--c-navy-deep); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,0.06); }
.c-nav-inner { max-width: 1180px; margin: 0 auto; padding: 0.85rem 24px; display: flex; align-items: center; gap: 1.5rem; }
.c-brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: #fff; margin-right: auto; }
.c-brand-star { width: 22px; height: 22px; background: var(--c-gold); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); flex: none; }
.c-brand b { font-family: var(--c-head); font-weight: 900; font-size: 1.15rem; letter-spacing: 0.03em; line-height: 1; display: block; }
.c-brand small { display: block; font-family: var(--c-head); font-weight: 600; font-size: 0.66rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.55); margin-top: 3px; }
.c-nav-links { display: flex; align-items: center; gap: 1.6rem; }
.c-nav-links a { color: rgba(255,255,255,0.82); text-decoration: none; font-family: var(--c-body); font-weight: 500; font-size: 0.95rem; }
.c-nav-links a:hover { color: #fff; }
.c-nav-phone { color: #fff !important; font-weight: 700 !important; white-space: nowrap; }
.c-nav-burger { display: none; background: none; border: 0; color: #fff; padding: 6px; cursor: pointer; }
.c-nav-burger svg { width: 26px; height: 26px; display: block; }
.c-nav-panel { display: none; }
@media (max-width: 900px) {
  .c-nav-links { display: none; }
  .c-nav-burger { display: block; }
  .c-nav-inner { padding: 0.75rem 16px; gap: 0.75rem; }
  .c-nav-panel.open { display: grid; gap: 2px; padding: 0.5rem 16px 1rem; background: var(--c-navy-deep); }
  .c-nav-panel a { color: #fff; text-decoration: none; font-family: var(--c-body); font-size: 1.05rem; padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .c-nav-panel .c-btn { margin-top: 0.75rem; border-bottom: 0; }
}

/* ---------- buttons ---------- */
.c-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.95rem 1.6rem; border-radius: 10px; border: 2px solid transparent;
  font-family: var(--c-head); font-weight: 800; font-size: 1.08rem; letter-spacing: 0.05em; text-transform: uppercase;
  text-decoration: none !important; cursor: pointer; line-height: 1.1; text-align: center;
  transition: transform 0.15s var(--c-ease), box-shadow 0.15s var(--c-ease), background-color 0.15s var(--c-ease);
}
.c-btn:hover { transform: translateY(-1px); }
.c-btn:active { transform: none; }
.c-btn--gold { background: var(--c-gold); color: var(--c-navy-deep) !important; box-shadow: 0 10px 24px -12px rgba(201,168,76,0.8); }
.c-btn--gold:hover { background: var(--c-gold-bright); }
.c-btn--navy { background: var(--c-navy); color: #fff !important; }
.c-btn--navy:hover { background: var(--c-navy-deep); }
.c-btn--ghost { border-color: rgba(255,255,255,0.35); color: #fff !important; background: transparent; }
.c-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.c-btn--outline { border-color: var(--c-line); color: var(--c-navy) !important; background: #fff; }
.c-btn--outline:hover { border-color: var(--c-navy); }
.c-btn--sm { padding: 0.6rem 1rem; font-size: 0.95rem; }
.c-btn--block { width: 100%; }

/* ---------- hero ---------- */
.c-hero {
  background: radial-gradient(90% 120% at 85% -20%, rgba(74,133,187,0.28) 0%, rgba(74,133,187,0) 60%), linear-gradient(165deg, var(--c-navy) 0%, var(--c-navy-deep) 100%);
  color: #fff; border-bottom: 3px solid var(--c-gold);
}
.c-hero-inner { max-width: 1180px; margin: 0 auto; padding: 5rem 24px 4.5rem; }
.c-eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--c-head); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--c-gold-bright); }
.c-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-gold); box-shadow: 0 0 0 4px rgba(201,168,76,0.22); }
.c-hero h1 { font-family: var(--c-head); font-weight: 900; font-size: clamp(2.6rem, 6.2vw, 4.9rem); line-height: 0.95; letter-spacing: -0.01em; margin: 1rem 0 1.2rem; max-width: 900px; color: #fff; }
.c-hero h1 em { font-style: normal; color: var(--c-gold); }
.c-hero-sub { font-family: var(--c-body); font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.6; color: rgba(255,255,255,0.8); max-width: 660px; margin: 0 0 2.4rem; }
.c-hero-sub strong { color: #fff; }

/* the two doors: the main call to action on the homepage */
.c-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; max-width: 920px; }
.c-path {
  display: flex; flex-direction: column; gap: 0.45rem; padding: 1.5rem 1.5rem 1.35rem; border-radius: var(--c-radius);
  background: rgba(255,255,255,0.05); border: 1.5px solid rgba(255,255,255,0.16); color: #fff; text-decoration: none;
  transition: transform 0.18s var(--c-ease), border-color 0.18s var(--c-ease), background-color 0.18s var(--c-ease);
}
.c-path:hover { transform: translateY(-3px); border-color: var(--c-gold); background: rgba(201,168,76,0.08); }
.c-path-kicker { font-family: var(--c-head); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-gold-bright); }
.c-path-title { font-family: var(--c-head); font-weight: 900; font-size: 1.75rem; line-height: 1.05; text-transform: uppercase; }
.c-path-text { font-family: var(--c-body); font-size: 0.97rem; line-height: 1.55; color: rgba(255,255,255,0.72); }
.c-path-go { margin-top: auto; padding-top: 0.6rem; font-family: var(--c-head); font-weight: 800; font-size: 1rem; letter-spacing: 0.06em; color: var(--c-gold); }
.c-hero-alt { margin-top: 1.6rem; font-family: var(--c-body); font-size: 0.98rem; color: rgba(255,255,255,0.7); }
.c-hero-alt a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--c-gold); }
@media (max-width: 720px) {
  .c-hero-inner { padding: 3.2rem 16px 3rem; }
  .c-paths { grid-template-columns: 1fr; }
  .c-path-title { font-size: 1.5rem; }
}

/* ---------- trust strip ---------- */
.c-trust { background: var(--c-navy-deep); color: #fff; }
.c-trust-inner { max-width: 1180px; margin: 0 auto; padding: 1.1rem 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 2.2rem; }
.c-trust span { font-family: var(--c-head); font-weight: 700; font-size: 0.92rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.78); }
.c-trust span b { color: var(--c-gold); font-weight: 900; margin-right: 0.35rem; }

/* ---------- page sections ---------- */
.c-page { background: var(--c-paper); font-family: var(--c-body); color: var(--c-ink); }
.c-section { max-width: 1180px; margin: 0 auto; padding: 4rem 24px; }
.c-section--tight { padding-top: 2.5rem; }
.c-h2 { font-family: var(--c-head); font-weight: 900; font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.02; text-transform: uppercase; color: var(--c-navy); margin: 0 0 0.6rem; }
.c-lede { font-size: 1.08rem; line-height: 1.65; color: var(--c-muted); max-width: 680px; margin: 0 0 2rem; }
@media (max-width: 720px) { .c-section { padding: 3rem 16px; } }

/* ---------- price cards ---------- */
.c-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.c-cards--2 { grid-template-columns: 1.25fr 1fr; }
.c-card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--c-radius); padding: 1.8rem 1.6rem 1.6rem; box-shadow: 0 1px 2px rgba(17,30,48,0.04);
}
.c-card--featured { border: 2px solid var(--c-gold); box-shadow: 0 22px 44px -26px rgba(17,30,48,0.45); }
.c-card-flag {
  position: absolute; top: -13px; left: 1.4rem; background: var(--c-gold); color: var(--c-navy-deep);
  font-family: var(--c-head); font-weight: 900; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.3rem 0.75rem; border-radius: 999px;
}
.c-card-kicker { font-family: var(--c-head); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-muted); }
.c-card h3 { font-family: var(--c-head); font-weight: 900; font-size: 1.6rem; line-height: 1.05; text-transform: uppercase; color: var(--c-navy); margin: 0.35rem 0 0.2rem; }
.c-price { font-family: var(--c-head); font-weight: 900; font-size: 3rem; line-height: 1; color: var(--c-navy); margin: 0.6rem 0 0.15rem; }
.c-price small { font-size: 1rem; font-weight: 700; color: var(--c-muted); letter-spacing: 0.04em; margin-left: 0.3rem; }
.c-card-desc { font-size: 0.98rem; line-height: 1.6; color: var(--c-muted); margin: 0.5rem 0 1rem; }
.c-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 0.55rem; }
.c-list li { position: relative; padding-left: 1.6rem; font-size: 0.95rem; line-height: 1.45; color: var(--c-ink); }
.c-list li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 1.05em; height: 1.05em; border-radius: 50%; background: rgba(30,122,77,0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%231e7a4d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }
.c-card .c-btn { margin-top: auto; }
.c-card-note { margin-top: 0.7rem; font-size: 0.84rem; color: var(--c-muted); text-align: center; }
.c-card-note a { color: var(--c-navy); font-weight: 600; }
@media (max-width: 960px) { .c-cards, .c-cards--2 { grid-template-columns: 1fr; max-width: 560px; } .c-card--featured { order: -1; } }

/* ---------- add-on toggle (commissary exemption) ---------- */
.c-addon { display: flex; align-items: center; gap: 1rem; justify-content: space-between; flex-wrap: wrap; background: #fff; border: 1px solid var(--c-line); border-radius: var(--c-radius); padding: 1.1rem 1.4rem; margin: 0 0 2rem; }
.c-addon-text b { display: block; font-family: var(--c-head); font-weight: 800; font-size: 1.15rem; text-transform: uppercase; color: var(--c-navy); letter-spacing: 0.02em; }
.c-addon-text span { font-size: 0.92rem; color: var(--c-muted); }
.c-addon-text a { color: var(--c-navy); font-weight: 600; }
.c-switch { position: relative; display: inline-flex; align-items: center; gap: 0.7rem; cursor: pointer; font-family: var(--c-head); font-weight: 800; letter-spacing: 0.06em; color: var(--c-navy); }
.c-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.c-switch-track { width: 52px; height: 30px; border-radius: 999px; background: #d6d1c4; position: relative; transition: background-color 0.2s var(--c-ease); flex: none; }
.c-switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.25); transition: transform 0.2s var(--c-ease); }
.c-switch input:checked + .c-switch-track { background: var(--c-good); }
.c-switch input:checked + .c-switch-track::after { transform: translateX(22px); }
.c-switch input:focus-visible + .c-switch-track { outline: 3px solid var(--c-gold); outline-offset: 2px; }

/* ---------- steps strip ---------- */
.c-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: step; margin: 0; padding: 0; list-style: none; }
.c-steps li { counter-increment: step; background: #fff; border: 1px solid var(--c-line); border-radius: var(--c-radius); padding: 1.2rem 1.2rem 1.1rem; }
.c-steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--c-navy); color: #fff; font-family: var(--c-head); font-weight: 900; margin-bottom: 0.6rem; }
.c-steps b { display: block; font-family: var(--c-head); font-weight: 800; font-size: 1.1rem; text-transform: uppercase; color: var(--c-navy); }
.c-steps span { font-size: 0.92rem; line-height: 1.5; color: var(--c-muted); }
@media (max-width: 900px) { .c-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .c-steps { grid-template-columns: 1fr; } }

/* ---------- call band + faq + footer ---------- */
.c-callband { background: var(--c-navy); color: #fff; border-radius: var(--c-radius); padding: 2rem; display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.c-callband h3 { font-family: var(--c-head); font-weight: 900; font-size: 1.6rem; text-transform: uppercase; margin: 0 0 0.3rem; color: #fff; }
.c-callband p { margin: 0; color: rgba(255,255,255,0.75); max-width: 560px; line-height: 1.55; }
.c-callband-btns { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.c-faq { display: grid; gap: 0.75rem; max-width: 820px; }
.c-faq details { background: #fff; border: 1px solid var(--c-line); border-radius: 12px; padding: 1rem 1.25rem; }
.c-faq summary { cursor: pointer; font-weight: 700; color: var(--c-navy); font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.c-faq summary::-webkit-details-marker { display: none; }
.c-faq summary::after { content: "+"; font-family: var(--c-head); font-weight: 900; font-size: 1.4rem; line-height: 1; color: var(--c-gold); }
.c-faq details[open] summary::after { content: "−"; }
.c-faq p { margin: 0.7rem 0 0; color: var(--c-muted); line-height: 1.65; }
.c-footer { background: var(--c-navy-deep); color: rgba(255,255,255,0.65); font-family: var(--c-body); font-size: 0.9rem; }
.c-footer-inner { max-width: 1180px; margin: 0 auto; padding: 2.2rem 24px; display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
.c-footer a { color: var(--c-gold-bright); }
.c-footer p { margin: 0; line-height: 1.6; }

/* ---------- older homepage sections: keep them inside a phone screen ---------- */
@media (max-width: 600px) {
  .type-teaser .btn-outline { white-space: normal; max-width: 100%; text-align: center; }
  div:has(> table[style*="min-width"]) { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ---------- customer review (real Google reviews only, word for word) ---------- */
.c-review { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem 1.6rem; align-items: start; background: #fff; border: 1px solid var(--c-line); border-left: 4px solid var(--c-gold); border-radius: var(--c-radius); padding: 1.8rem 1.8rem 1.6rem; max-width: 900px; }
.c-review-mark { font-family: Georgia, serif; font-size: 4.2rem; line-height: 0.8; color: var(--c-gold); }
.c-review-stars { color: var(--c-gold); font-size: 1.15rem; letter-spacing: 0.14em; margin-bottom: 0.6rem; }
.c-review blockquote { margin: 0 0 1rem; font-size: 1.08rem; line-height: 1.7; color: var(--c-ink); }
.c-review-who { font-family: var(--c-head); font-weight: 900; font-size: 1.15rem; text-transform: uppercase; color: var(--c-navy); letter-spacing: 0.02em; }
.c-review-who span { display: block; font-family: var(--c-body); font-weight: 500; font-size: 0.86rem; text-transform: none; letter-spacing: 0; color: var(--c-muted); margin-top: 0.15rem; }
.c-review-link { display: inline-block; margin-top: 0.7rem; font-family: var(--c-head); font-weight: 800; font-size: 0.92rem; letter-spacing: 0.06em; color: var(--c-navy); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--c-gold); }
@media (max-width: 600px) { .c-review { grid-template-columns: 1fr; padding: 1.4rem 1.2rem; } .c-review-mark { display: none; } }

/* checkout note under the plan cards */
.c-secure { margin: 1.2rem 0 0; font-size: 0.9rem; line-height: 1.6; color: var(--c-muted); text-align: center; }
.c-secure strong { color: var(--c-ink); }

/* toggle: full 44px tap target */
.c-switch { min-height: 44px; padding: 0 0.25rem; }

/* closing call to action after the FAQ */
.c-close { text-align: center; padding: 2.6rem 1.5rem; background: #fff; border: 1px solid var(--c-line); border-radius: var(--c-radius); }
.c-close h3 { font-family: var(--c-head); font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.2rem); text-transform: uppercase; color: var(--c-navy); margin: 0 0 0.4rem; line-height: 1.05; }
.c-close p { color: var(--c-muted); margin: 0 auto 1.4rem; max-width: 560px; line-height: 1.6; }
.c-close-btns { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* phones: pay button always one tap away */
.c-sticky { display: none; }
@media (max-width: 720px) {
  .c-sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 0.7rem 16px calc(0.7rem + env(safe-area-inset-bottom)); background: var(--c-navy-deep); box-shadow: 0 -8px 24px -12px rgba(0,0,0,0.6); transition: transform 0.2s var(--c-ease); }
  .c-sticky.is-hidden { transform: translateY(110%); }
  .c-sticky .c-btn { width: 100%; }
  body.has-sticky { padding-bottom: 76px; }
}
