/* ===========================================================
   Fourteener Bitcoin — site styles
   Colorado's Bitcoin Advisory Company
   No external fonts or scripts are loaded — everything here is
   self-contained by design (smaller attack surface, no third
   party tracking, works even if a CDN is down).
   =========================================================== */

:root {
  --navy: #001d43;
  --navy-soft: #0f2e57;
  --orange: #fb9a3c;
  --orange-dark: #e07c1a;
  --cream: #faf7f2;
  --white: #ffffff;
  --slate: #33404f;
  --slate-light: #6b7686;
  --line: #e4dfd6;
  --danger: #b3261e;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(0, 29, 67, 0.1);
  --max-width: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--slate);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 0.5em;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); letter-spacing: 0.005em; }
h2 { font-size: clamp(1.35rem, 2.7vw, 1.9rem); }
h3 { font-size: 1.1rem; }

p { margin: 0 0 1em; }

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

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--orange-dark);
  margin-bottom: 0.6em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

.btn-primary {
  background: var(--orange);
  color: var(--navy);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-outline-light:hover { background: var(--white); color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.brand img { height: 40px; width: auto; }
.brand-word {
  font-weight: 800;
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.15;
  letter-spacing: 0.005em;
}
.brand-word small {
  display: block;
  font-weight: 700;
  font-size: 0.62rem;
  color: var(--orange-dark);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-top: 1px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.main-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { border-bottom-color: var(--orange); }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--navy);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  position: relative;
  content: "";
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 4px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero .container {
  padding-top: 88px;
  padding-bottom: 96px;
  position: relative;
  z-index: 2;
}
.hero-inner { max-width: 700px; }
.hero h1 { color: var(--white); }
.hero .tagline {
  font-style: italic;
  color: var(--orange);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.9em;
}
.hero p.lede {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.86);
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-trust {
  margin-top: 40px;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.hero-mountains {
  position: absolute;
  right: -60px;
  bottom: -20px;
  width: 46%;
  max-width: 520px;
  opacity: 0.9;
  z-index: 1;
  pointer-events: none;
}

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }

.section-head {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-head.left { margin: 0 0 40px; text-align: left; }

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.audience-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.audience-card .glyph {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
}
.audience-card .glyph svg {
  width: 32px;
  height: 32px;
  display: block;
}
.audience-card h3 { margin-bottom: 8px; }
.audience-card p { color: var(--slate-light); flex-grow: 1; }
.audience-card a.card-link {
  margin-top: 16px;
  font-weight: 700;
  color: var(--orange-dark);
  text-decoration: none;
}
.audience-card a.card-link:hover { text-decoration: underline; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  border-left: 3px solid var(--orange);
  padding-left: 20px;
}
.step .num {
  font-weight: 800;
  color: var(--orange-dark);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

/* ---------- Pricing tables ---------- */
.pricing-group { margin-bottom: 56px; }
.pricing-group:last-child { margin-bottom: 0; }
.pricing-group h3 {
  border-bottom: 2px solid var(--orange);
  padding-bottom: 10px;
  margin-bottom: 6px;
}
.pricing-group .group-note {
  color: var(--slate-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

table.price-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 22px;
}
table.price-table caption {
  text-align: left;
  font-weight: 700;
  color: var(--navy);
  padding: 14px 18px 8px;
  background: var(--white);
}
table.price-table th,
table.price-table td {
  text-align: left;
  padding: 13px 18px;
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
  vertical-align: top;
}
table.price-table thead th {
  background: var(--navy);
  color: var(--white);
  border-top: none;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
table.price-table td.price,
table.price-table th.price { white-space: nowrap; font-weight: 700; color: var(--navy); }
table.price-table tbody tr:nth-child(even) { background: rgba(242, 145, 58, 0.05); }

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 8px;
}
.package-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.package-peak {
  height: 34px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 10px;
}
.package-peak svg { display: block; }

/* ---------- Trailhead (low-commitment starter path) ---------- */
.trailhead-box {
  background: var(--cream);
  border: 2px solid var(--orange);
  border-radius: var(--radius);
  padding: 28px 30px 30px;
  margin-bottom: 36px;
}
.trailhead-header p { color: var(--slate-light); margin-bottom: 22px; max-width: 640px; }
.trailhead-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.trailhead-step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
}
.trailhead-step .step-tag {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange-dark);
  margin-bottom: 6px;
}
.trailhead-step strong {
  display: block;
  color: var(--navy);
  font-size: 0.98rem;
  margin-bottom: 4px;
}
.trailhead-step .step-price {
  display: block;
  font-weight: 800;
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 6px;
}
.trailhead-step p { font-size: 0.83rem; color: var(--slate-light); margin: 0; }
.trailhead-arrow {
  font-size: 1.4rem;
  color: var(--orange);
  font-weight: 700;
  text-align: center;
}
.package-card.featured { border: 2px solid var(--orange); position: relative; }
.package-card .badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--orange);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
}
.package-card .price {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  margin: 6px 0 14px;
}
.package-card ul { margin: 0 0 14px; padding-left: 18px; color: var(--slate); font-size: 0.93rem; }
.package-card .best-for {
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--slate-light);
  font-style: italic;
}

.retainer-table-wrap { overflow-x: auto; }

/* ---------- Quick reference table ---------- */
.glance-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.glance-table th, .glance-table td {
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  text-align: left;
}
.glance-table thead th { background: var(--navy); color: var(--white); border-top: none; }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  font-size: 0.92rem;
}
.form-field .hint { color: var(--slate-light); font-size: 0.82rem; margin-top: 4px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.98rem;
  background: var(--white);
  color: var(--slate);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242, 145, 58, 0.2);
}
.form-field textarea { resize: vertical; min-height: 130px; }

/* honeypot field — hidden from real visitors, catches basic bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.93rem;
  display: none;
}
.form-status.success { background: #eaf6ec; color: #1e6b30; border: 1px solid #b9e3c1; }
.form-status.error { background: #fbeceb; color: var(--danger); border: 1px solid #f1c3c0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.78);
  padding: 56px 0 28px;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.site-footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.site-footer a { text-decoration: none; color: rgba(255,255,255,0.78); }
.site-footer a:hover { color: var(--orange); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}
.footer-brand-row img { height: 38px; width: auto; }
.footer-brand-row .brand-word { color: var(--white); font-size: 1.1rem; }
.footer-brand-row .brand-word small { color: var(--orange); }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding-top: 22px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-lg { margin-top: 48px; }
.disclaimer-box {
  background: rgba(242, 145, 58, 0.08);
  border: 1px solid rgba(242, 145, 58, 0.3);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 0.9rem;
  color: var(--slate);
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--orange);
  color: var(--navy);
  padding: 10px 16px;
  z-index: 100;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .steps, .package-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-mountains { display: none; }
  .trailhead-steps { grid-template-columns: 1fr; }
  .trailhead-arrow { transform: rotate(90deg); }
  .trailhead-box { padding: 24px 20px 26px; }
}

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 22px;
    gap: 14px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: inline-block; }
  .hero .container { padding-top: 56px; padding-bottom: 64px; }
}

/* ===========================================================
   Homepage long-form sections
   =========================================================== */

/* ---------- Stat strip (honest, real numbers — no fake press logos) ---------- */
.stat-strip {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-grid .stat-num {
  display: block;
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-grid .stat-label {
  font-size: 0.85rem;
  color: var(--slate-light);
  font-weight: 600;
}

/* ---------- Pillar blocks (alternating image/text) ---------- */
.pillar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
}
.pillar + .pillar { border-top: 1px solid var(--line); }
.pillar.reverse .pillar-visual { order: 2; }
.pillar.reverse .pillar-copy { order: 1; }
.pillar-copy .eyebrow { margin-bottom: 10px; }
.pillar-copy ul {
  margin: 18px 0 22px;
  padding-left: 20px;
  color: var(--slate);
}
.pillar-copy li { margin-bottom: 8px; }
.pillar-visual {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--navy) 0%, var(--navy-soft) 100%);
}
.pillar-visual .pillar-glyph {
  width: 116px;
  height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.25);
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.35));
  position: relative;
  z-index: 2;
  color: var(--white);
}
.pillar-visual .pillar-glyph svg {
  width: 58px;
  height: 58px;
  display: block;
}
@media (max-width: 500px) {
  .pillar-visual .pillar-glyph { width: 96px; height: 96px; }
  .pillar-visual .pillar-glyph svg { width: 48px; height: 48px; }
}
.pillar-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(155deg, transparent 40%, rgba(251,154,60,0.28) 100%);
}
.pillar-visual::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -6%;
  height: 55%;
  background: var(--orange);
  clip-path: polygon(0% 100%, 22% 30%, 40% 58%, 58% 12%, 78% 52%, 100% 100%);
  opacity: 0.9;
}

@media (max-width: 900px) {
  .pillar { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .pillar.reverse .pillar-visual, .pillar.reverse .pillar-copy { order: initial; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

/* ---------- Process steps with numbered circles ---------- */
.steps-visual { counter-reset: none; }
.step-circle {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.step-circle .circle-num {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
}
.step-circle h3 { margin-bottom: 6px; }

/* ---------- Newsletter section ---------- */
.newsletter-section {
  background: var(--navy-soft);
  color: var(--white);
}
.newsletter-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.newsletter-inner h2 { color: var(--white); }
.newsletter-inner p.lede { color: rgba(255,255,255,0.82); margin: 0 auto 28px; }
.newsletter-note {
  margin-top: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}
