/* =============================================================
   SODA BURN — SHARED THEME FOR CONTENT / LEGAL PAGES
   Design tokens mirrored from assets/css/_tokens.scss (DTC system)
   ============================================================= */

:root {
  /* Brand */
  --sb-brand: #e85d04;
  --sb-brand-light: #f57c22;
  --sb-accent: #ffa64d;

  /* Neutrals */
  --sb-black: #0b0a0a;
  --sb-ink: #111111;
  --sb-dark: #1d1d1d;
  --sb-dark-soft: #1e2323;
  --sb-gray: #4b4b4b;
  --sb-gray-soft: #676767;
  --sb-white: #ffffff;

  /* Surfaces */
  --sb-card: #fff9f4;
  --sb-card-warm: #fff2e4;

  /* CTA (green gradient button from the .com) */
  --sb-green-start: #35f60f;
  --sb-green-end: #1fa604;
  --sb-green-border: #116800;

  --sb-radius: 1.25rem;
  --sb-container: 60rem;

  /* Back-compat aliases: legacy markup still references these */
  --clr-primary: var(--sb-brand);
  --clr-primary-light: var(--sb-brand-light);
  --clr-secondary: var(--sb-card-warm);
  --clr-secondary-light: var(--sb-card);
  --clr-text: var(--sb-ink);
  --clr-light: var(--sb-white);
  --clr-light-2: #c7c7c7;
  --clr-accent-blue: var(--sb-brand);
  --clr-bg-tip: rgba(232, 93, 4, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  color: var(--sb-ink);
  background: var(--sb-white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
picture {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--sb-brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.sb-container {
  width: min(90%, var(--sb-container));
  margin-inline: auto;
}

/* ---------- Header ---------- */

.sb-header {
  position: relative;
  z-index: 20;
  height: 4.5rem;
  color: var(--sb-white);
  background: var(--sb-dark);
}

.sb-header__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 1rem;
}

.sb-header__brand img {
  width: auto;
  height: 2.75rem;
}

@media (min-width: 48rem) {
  .sb-header {
    height: 5.25rem;
  }

  .sb-header__brand img {
    height: 3.25rem;
  }
}

/* ---------- Page hero ---------- */

.sb-hero {
  color: var(--sb-white);
  background: var(--sb-black);
  text-align: center;
}

.sb-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-block: 2.5rem;
}

.sb-hero__title {
  max-width: 46.75rem;
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

.sb-hero__title span {
  color: var(--sb-brand);
}

.sb-hero__meta,
.sb-hero__description {
  max-width: 44rem;
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}

.sb-hero__meta {
  color: var(--sb-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (min-width: 48rem) {
  .sb-hero__inner {
    padding-block: 3.5rem;
  }

  .sb-hero__title {
    font-size: 2.5rem;
  }

  .sb-hero__description {
    font-size: 1.125rem;
  }
}

/* Orange rule under the hero, echoing the DTC trust strip */
.sb-hero::after {
  content: "";
  display: block;
  height: 0.5rem;
  background: linear-gradient(90deg, var(--sb-brand), var(--sb-accent));
}

/* ---------- Prose ---------- */

.sb-main {
  padding-block: 3rem 4rem;
}

.sb-prose h2,
.sb-prose .step-title {
  margin: 2.5rem 0 1rem;
  color: var(--sb-brand);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.sb-prose h2:first-child,
.sb-prose .step-title:first-child {
  margin-top: 0;
}

.sb-prose h3 {
  margin: 2rem 0 0.75rem;
  color: var(--sb-ink);
  font-size: 1.25rem;
  font-weight: 700;
}

.sb-prose p,
.sb-prose li {
  margin: 0 0 1rem;
  color: var(--sb-gray);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.sb-prose strong,
.sb-prose b {
  color: var(--sb-ink);
  font-weight: 600;
}

.sb-prose ul,
.sb-prose ol {
  margin: 0 0 1.5rem;
  padding-left: 1.5rem;
}

.sb-prose ul {
  list-style: disc;
}

.sb-prose ol {
  list-style: decimal;
}

.sb-prose li {
  margin-bottom: 0.5rem;
}

.sb-prose img {
  margin-block: 1.5rem;
  border-radius: var(--sb-radius);
}

.sb-prose a {
  color: var(--sb-brand);
  font-weight: 600;
  text-decoration: underline;
}

@media (min-width: 48rem) {
  .sb-prose h2,
  .sb-prose .step-title {
    font-size: 2rem;
  }
}

/* ---------- Cards / callouts ---------- */

.sb-card {
  padding: 1.5rem;
  background: var(--sb-card);
  border: 0.0625rem solid rgba(232, 93, 4, 0.2);
  border-radius: var(--sb-radius);
}

.sb-card--tip {
  background: var(--sb-card-warm);
  border-color: rgba(232, 93, 4, 0.3);
}

.sb-card > :last-child {
  margin-bottom: 0;
}

@media (min-width: 48rem) {
  .sb-card {
    padding: 2.5rem;
  }
}

.sb-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
}

@media (min-width: 48rem) {
  .sb-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Buttons ---------- */

.sb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.125rem 2.5rem;
  color: var(--sb-white);
  background: linear-gradient(180deg, var(--sb-green-start) 0%, var(--sb-green-end) 100%);
  border: 0;
  border-bottom: 0.375rem solid var(--sb-green-border);
  border-radius: 3.125rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: normal;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.sb-button:hover {
  filter: brightness(1.06);
  text-decoration: none;
}

@media (min-width: 48rem) {
  .sb-button {
    padding-inline: 4rem;
    font-size: 1.25rem;
  }
}

.sb-actions {
  display: flex;
  justify-content: center;
  padding-block: 1rem 2rem;
}

/* ---------- Footer ---------- */

.sb-footer {
  color: var(--sb-white);
  background: linear-gradient(88deg, #111111, #1e2323, #111111);
}

.sb-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  padding-block: 2.5rem 2rem;
}

.sb-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  font-size: 0.875rem;
  text-align: center;
}

.sb-footer__nav a {
  color: var(--sb-white);
}

.sb-footer__disclaimer {
  max-width: 62.9375rem;
  margin: 0;
  padding: 1.5rem 1rem;
  border-top: 0.0625rem solid var(--sb-white);
  border-radius: var(--sb-radius);
  font-size: 0.75rem;
  text-align: center;
}

.sb-footer__copyright {
  padding: 1.5rem 1rem;
  background: var(--sb-brand);
  font-size: 0.875rem;
  text-align: center;
}

.sb-footer__copyright p {
  margin: 0;
}

@media (min-width: 48rem) {
  .sb-footer__nav {
    font-size: 1.125rem;
  }

  .sb-footer__disclaimer {
    padding-inline: 2rem;
    font-size: 0.875rem;
  }

  .sb-footer__copyright {
    padding-block: 2rem;
    font-size: 1.125rem;
  }
}

/* ---------- Legacy class compatibility ----------
   Kept so existing legal-page markup keeps its layout while
   picking up the Soda Burn palette and typography. */

.sb-prose .box {
  padding: 1.5rem;
  border-radius: var(--sb-radius);
}

@media (min-width: 48rem) {
  .sb-prose .box {
    padding: 2.5rem;
  }
}

.sb-prose .note {
  padding: 1.5rem;
  background: var(--sb-card);
  border: 0.0625rem solid rgba(232, 93, 4, 0.25) !important;
  border-radius: var(--sb-radius);
}

.sb-prose .link {
  color: var(--sb-brand);
  font-weight: 600;
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.sb-prose .legal-list,
.sb-prose .bullet {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  list-style: disc;
}

.btn-support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 27.5rem;
  padding: 1.125rem 2.5rem;
  color: var(--sb-white);
  background: linear-gradient(180deg, var(--sb-green-start) 0%, var(--sb-green-end) 100%);
  border: 0;
  border-bottom: 0.375rem solid var(--sb-green-border);
  border-radius: 3.125rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.btn-support:hover {
  filter: brightness(1.06);
  text-decoration: none;
}

@media (min-width: 48rem) {
  .btn-support {
    font-size: 1.25rem;
  }
}
