/* Stake Energy — brand-true design system
   Based on the Stake Energy Brand Guide v1.2: Azzure Blue, Soft Emerald,
   Deep Emerald, Outer Space. Geist everywhere. Light, airy, cool. */

@import url("https://fonts.googleapis.com/css2?family=Geist+Mono:wght@400;500&family=Geist:wght@400;500;600;700;800&display=swap");

:root {
  /* Brand */
  --azzure-blue: #88D4FB;
  --azzure-blue-tint-1: #D7F1FE;
  --azzure-blue-tint-2: #E4F3FE;
  --azzure-blue-muted: #A2C2E0;

  --soft-emerald: #68CE9A;
  --soft-emerald-tint-1: #B1E6CB;
  --soft-emerald-tint-2: #CCEFDD;
  --soft-emerald-tint-3: #DEF4E9;

  --deep-emerald: #007B6F;
  --deep-emerald-dark: #00594F;
  --deep-emerald-tint-1: #A8D2CE;

  --outer-space: #2B3332;
  --outer-space-60: #8F9392;

  /* Neutrals */
  --fg-1: #1A1A1A;
  --fg-2: #808080;
  --fg-3: #7D7D7D;
  --bg-1: #FFFFFF;
  --bg-2: #F5F5FA;       /* page */
  --border: #E8E5E5;
  --border-strong: #D8D8D8;

  /* Semantic */
  --brand: var(--deep-emerald);
  --brand-alt: var(--soft-emerald);
  --accent: var(--azzure-blue);
  --ink: var(--fg-1);
  --page: var(--bg-2);
  --surface: var(--bg-1);

  /* Type */
  --font-display: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sans:    "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "Geist Mono", ui-monospace, Menlo, monospace;

  /* Radii */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Shadows — signature azzure-blue tinted elevation */
  --shadow-xs: 0 1px 2px rgba(26,26,26,0.04);
  --shadow-sm: 0 4px 12px rgba(165,202,223,0.18);
  --shadow-md: 2px 13px 36.3px rgba(165,202,223,0.31);
  --shadow-lg: 4px 24px 64px rgba(0,123,111,0.16);
  --shadow-ink: 0 8px 28px rgba(43,51,50,0.14);

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast: 150ms;
  --dur-base: 220ms;
  --dur-slow: 400ms;

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--fg-1);
  background: var(--page);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--fg-1);
  margin: 0;
  text-wrap: balance;
  font-weight: 600;
}
.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0;
}
h1 { font-size: clamp(40px, 5.8vw, 72px); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -0.02em; }
h3 { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.2; letter-spacing: -0.01em; }
h4 { font-size: 16px; line-height: 1.3; letter-spacing: -0.005em; }

p { margin: 0; text-wrap: pretty; color: var(--fg-1); }
.lede { font-size: clamp(16px, 1.25vw, 18px); color: var(--outer-space); line-height: 1.65; }

/* Subtitle — always blue or deep emerald, never grey/black */
.subtitle, .subtitle-green {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--deep-emerald);
  margin: 0;
}
.subtitle-blue {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--azzure-blue);
  margin: 0;
}
.eyebrow {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--deep-emerald);
}
.mono { font-family: var(--font-mono); font-size: 13px; }

/* Utilities */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--page { background: var(--page); }
.section--white { background: var(--surface); }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
  flex-wrap: nowrap;
}
.nav__inner nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.logo {
  display: flex; align-items: center;
}
.logo img { height: 28px; width: auto; }
.nav__links {
  display: flex; gap: 2px;
  list-style: none; padding: 0; margin: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.nav__links a {
  padding: 8px 12px; border-radius: var(--r-pill);
  color: var(--fg-1); font-size: 14px; font-weight: 500;
  white-space: nowrap;
  transition: color var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out);
}
.nav__links a:hover { color: var(--deep-emerald); }
.nav__links a.is-active { color: var(--deep-emerald); font-weight: 600; }

.nav__cta { display: flex; align-items: center; gap: 8px; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  border-radius: var(--r-md);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  border: 1.5px solid transparent;
  transition: background var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
  white-space: nowrap; cursor: pointer; line-height: 1;
}
.btn .arrow { transition: transform var(--dur-base) var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

.btn--primary {
  background: var(--deep-emerald); color: #fff;
  border-color: var(--deep-emerald);
}
.btn--primary:hover { background: var(--deep-emerald-dark); border-color: var(--deep-emerald-dark); }

.btn--secondary {
  background: var(--soft-emerald); color: #fff;
  border-color: var(--soft-emerald);
}
.btn--secondary:hover { background: #4DBA87; border-color: #4DBA87; }

.btn--outline {
  background: transparent; color: var(--deep-emerald);
  border-color: var(--deep-emerald);
}
.btn--outline:hover { background: var(--azzure-blue-tint-1); }

.btn--ghost {
  background: transparent; color: var(--fg-1);
  border-color: transparent;
}
.btn--ghost:hover { background: var(--bg-2); }

.btn--white {
  background: #fff; color: var(--deep-emerald);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.btn--white:hover { background: var(--azzure-blue-tint-2); }

.btn--link {
  padding: 0;
  color: var(--deep-emerald);
  background: transparent; border: none;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  padding-bottom: 2px;
}

.btn--sm { padding: 8px 14px; font-size: 13px; border-radius: var(--r-md); }
.btn--lg { padding: 16px 28px; font-size: 15px; }

/* PILL / TAG */
.tag, .pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 600;
  background: var(--bg-2); color: var(--outer-space);
  border: 1px solid var(--border);
}
.pill--green  { background: var(--deep-emerald); color: #fff; border-color: transparent; }
.pill--tint-green { background: var(--soft-emerald-tint-2); color: var(--deep-emerald-dark); border-color: transparent; }
.pill--tint-blue  { background: var(--azzure-blue-tint-1); color: var(--fg-1); border-color: transparent; }
.pill--dark { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.16); }

/* CARDS */
.card {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 28px;
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--dur-base) var(--ease-out);
}
.card--bordered {
  box-shadow: none;
  border: 1px solid var(--border);
}
.card:hover { box-shadow: var(--shadow-lg); }

/* BOLT WATERMARK — signature corner decoration */
.bolt-watermark {
  position: absolute;
  pointer-events: none;
  opacity: 0.08;
  width: 320px; height: auto;
  top: -40px; right: -40px;
  z-index: 0;
}
.bolt-watermark--sm { width: 180px; opacity: 0.09; top: -20px; right: -20px; }
@media (max-width: 900px) { .bolt-watermark, .bolt-watermark--sm { display: none; } }

/* FOOTER */
.footer {
  background: var(--outer-space);
  color: rgba(255,255,255,0.78);
  padding: 80px 0 40px;
  font-family: var(--font-sans);
}
.footer h4 {
  color: rgba(255,255,255,0.92);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer a { color: rgba(255,255,255,0.72); font-size: 14px; line-height: 2.2; }
.footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 48px;
}
.footer__brand {
  margin-bottom: 20px;
}
.footer__brand img { height: 28px; width: auto; }
.footer__bottom {
  margin-top: 64px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,0.54);
}

/* REVEAL */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* SECTION COUNTER / eyebrow line */
.section-counter {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 600;
  color: var(--deep-emerald);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 20px;
}
.section-counter::before {
  content: "";
  display: inline-block;
  width: 40px; height: 1px;
  background: var(--deep-emerald);
  opacity: 0.5;
}

/* DARK SECTION (outer-space) */
.section--dark {
  background: var(--outer-space);
  color: #fff;
  position: relative; overflow: hidden;
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: rgba(255,255,255,0.78); }
.section--dark .subtitle, .section--dark .eyebrow { color: var(--azzure-blue); }
.section--dark .section-counter { color: var(--azzure-blue); }
.section--dark .section-counter::before { background: var(--azzure-blue); }

/* FORMS */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 13px; font-weight: 600; color: var(--fg-1);
  letter-spacing: 0.01em;
}
.field input, .field select, .field textarea {
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--fg-1);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  font-size: 14px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--deep-emerald);
  box-shadow: 0 0 0 4px rgba(0,123,111,0.12);
}

/* PLACEHOLDER PHOTO */
.photo {
  position: relative;
  background: linear-gradient(135deg, var(--azzure-blue-tint-2), var(--soft-emerald-tint-3));
  border-radius: var(--r-md);
  overflow: hidden;
  color: var(--fg-1);
  box-shadow: var(--shadow-md);
}
.photo--ratio-4-3 { aspect-ratio: 4/3; }
.photo--ratio-16-9 { aspect-ratio: 16/9; }
.photo--ratio-1-1 { aspect-ratio: 1/1; }
.photo__label {
  position: absolute;
  left: 14px; bottom: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-1);
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(6px);
}
.photo__mark {
  position: absolute;
  top: 14px; right: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--outer-space-60);
  letter-spacing: 0.14em;
}

/* POLICY / LEGAL PAGE — matches the page-hero scale used on FAQ / About */
.policy-hero {
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--border);
  background: var(--page);
  position: relative; overflow: hidden;
}
.policy-hero h1 {
  font-size: clamp(44px, 5.6vw, 76px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.04;
}
.policy-hero h1 .brand { color: var(--deep-emerald); }
.policy-hero .lede {
  margin-top: 22px;
  max-width: 720px;
  font-size: 18px;
  color: var(--outer-space);
  line-height: 1.65;
}
.policy-hero .meta {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; gap: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-3);
}
.policy-hero .meta span { display: inline-flex; align-items: center; gap: 8px; }
.policy-hero .meta .dot { width: 3px; height: 3px; border-radius: 999px; background: var(--fg-3); }

.policy-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 72px;
  align-items: start;
}
.policy-toc {
  position: sticky;
  top: 96px;
  align-self: start;
}
.policy-toc h4 {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--deep-emerald);
  margin-bottom: 16px;
}
.policy-toc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.policy-toc a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--fg-3);
  font-weight: 500;
  border-left: 2px solid var(--border);
  transition: color .2s, background .2s, border-color .2s;
}
.policy-toc a:hover {
  color: var(--fg-1);
  background: var(--soft-emerald-tint-3);
  border-left-color: var(--deep-emerald);
}

.policy-body { max-width: 760px; }
.policy-body h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 0 0 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg-1);
}
.policy-body h3 {
  font-size: 18px;
  margin: 30px 0 10px;
  font-weight: 600;
  color: var(--fg-1);
  letter-spacing: -0.005em;
}
.policy-section {
  padding: 36px 0;
  border-top: 1px solid var(--border);
}
.policy-section:first-child { border-top: none; padding-top: 0; }
.policy-body p {
  margin: 0 0 14px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--outer-space);
}
.policy-body ul, .policy-body ol {
  margin: 0 0 16px;
  padding-left: 22px;
  color: var(--outer-space);
  font-size: 15.5px;
  line-height: 1.65;
}
.policy-body li { margin-bottom: 8px; }
.policy-body a {
  color: var(--deep-emerald);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}
.policy-body a:hover { color: var(--deep-emerald-dark); }
.policy-callout {
  background: var(--soft-emerald-tint-3);
  border-left: 3px solid var(--deep-emerald);
  padding: 18px 22px;
  border-radius: var(--r-sm);
  margin: 18px 0 22px;
}
.policy-callout p { margin: 0; color: var(--deep-emerald-dark); font-size: 14.5px; }
.policy-callout strong { color: var(--deep-emerald-dark); }

.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 22px;
  font-size: 14px;
  background: #fff;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.policy-table th, .policy-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.policy-table th {
  background: var(--bg-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--deep-emerald);
}
.policy-table tr:last-child td { border-bottom: none; }

.policy-contact-box {
  margin: 32px 0 0;
  padding: 24px 28px;
  background: var(--bg-2);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}
.policy-contact-box h3 { margin-top: 0; }
.policy-contact-box ul { padding-left: 0; list-style: none; }
.policy-contact-box li { margin-bottom: 6px; font-size: 14px; }

@media (max-width: 900px) {
  .policy-wrap { grid-template-columns: 1fr; gap: 24px; }
  .policy-toc { position: static; }
  .policy-toc ul { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .policy-toc a { border-left: none; border-bottom: 2px solid var(--border); padding: 8px 12px; }
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__inner nav { display: none; }
}
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}
