/* ─── Reset ─────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

ol, ul, menu {
  padding-inline-start: 0;
  list-style: none;
}

html { width: 100%; height: 100%; overflow-x: hidden; }

body {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  display: flex;           /* ← sticky footer */
  flex-direction: column;
  background-color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--color-dark);
}

a     { color: inherit; text-decoration: none; }
img   { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; }
hr    { border: none; }

/* ─── Design tokens ─────────────────────────────────────── */
:root {
  --color-dark:       #2b2b2b;
  --color-red:        #f04924;
  --color-light-gray: #efefef;
  --color-mid-gray:   #8d8d8d;
  --color-white:      #ffffff;
  --color-orange:     #ff8c2c;
  --color-blue:       #2498f0;
  --shadow-card:      3px 3px 0 0 rgba(0, 0, 0, 0.10);
  --page-max-width:   1024px;
  --section-padding:  32px;
  --site-h-padding: 32px;
}

/* ─── Page wrapper — full-width shell ───────────────────────
   Sections fill full viewport width; inner wrappers constrain
   content to 1024 px and center it with side margins.
─────────────────────────────────────────────────────────── */
.page-wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background-color: var(--color-white);
}

.page-wrapper > main  { flex: 1 0 auto; }
.page-wrapper > header,
.page-wrapper > footer { flex-shrink: 0; }

/* ─── Universal content-width constraint ─────────────────── */
.inner {
  width: 100%;
  max-width: var(--page-max-width);
  margin: 0 auto;
}

/* ─── Shared button ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 33px;
  padding: 8px 16px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  color: var(--color-white);
  cursor: pointer;
  text-decoration: none;
}

.btn--red  { background-color: var(--color-red); }
.btn--dark { background-color: var(--color-dark); box-shadow: var(--shadow-card); }
.btn--gray { background-color: var(--color-mid-gray); box-shadow: var(--shadow-card); }

/* Always keep text white on hover */
.btn:hover { color: var(--color-white); opacity: 0.88; }

/* ─── Shared page heading ───────────────────────────────── */
.page-heading {
  font-weight: 700;
  font-size: 21px;
  color: var(--color-mid-gray);
}

/* ─── Shared section title ──────────────────────────────── */
.section-title {
  font-weight: 700;
  font-size: 18px;
}

/* ─── Shared page main wrapper (inner pages) ────────────── */
.page-main {
  width: 100%;
  max-width: var(--page-max-width);
  margin: 0 auto;
  padding: var(--section-padding);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ─── Shared content text ───────────────────────────────── */
.content-text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #000;
}
.content-text p + p { margin-top: 0.5em; }
.content-text .heading-bold { font-weight: 700; }
.content-text ul { list-style: disc; padding-inline-start: 21px; }
.content-text ul li { font-size: 14px; line-height: 17px; margin-bottom: 0.25em; }
.content-text a { text-decoration: underline; }

/* ─── Shared divider ────────────────────────────────────── */
.divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-mid-gray);
}
