/* ============================================================
   BASE — shared reset, tokens and utility layer for every page
   ============================================================ */

:root {
  /* type */
  --font-head: "Sora", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  /* spacing scale */
  --sp-1: 0.4rem;
  --sp-2: 0.8rem;
  --sp-3: 1.2rem;
  --sp-4: 1.8rem;
  --sp-5: 2.6rem;
  --sp-6: 4rem;
  --sp-7: 5.6rem;

  --radius-s: 8px;
  --radius-m: 16px;
  --radius-l: 28px;
  --shadow-soft: 0 12px 30px -14px rgba(10, 20, 20, 0.28);
  --transition: 180ms ease;

  /* publication palette (advertorial + about) */
  --pub-bg: #ffffff;
  --pub-bg-alt: #f2f7f4;
  --pub-ink: #141c1a;
  --pub-ink-soft: #4d5a56;
  --pub-accent: #0e7a5f;
  --pub-accent-dark: #0a4d3d;
  --pub-border: #e0e8e4;
  --pub-callout-bg: #0c1420;
  --pub-callout-accent: #4d7bff;
  --pub-callout-ink: #f4f6ff;

  /* offer palette (the-program + legal) */
  --off-bg: #0c2c20;
  --off-bg-soft: #123726;
  --off-ink: #0c2c20;
  --off-lime: #c8f169;
  --off-lime-soft: #eef7d4;
  --off-cream: #f5f9ec;
  --off-line: rgba(245, 249, 236, 0.16);
  --off-blue-1: #1b6fae;
  --off-blue-2: #2f8fd1;

  /* shared footer / legal tone */
  --foot-bg: #101715;
  --foot-ink: #eef3f0;
  --foot-ink-soft: #aab8b2;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--pub-ink);
  background: var(--pub-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, p, figure {
  margin: 0;
}

button {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: max(16px, 5vw);
}

@media (min-width: 768px) {
  .container {
    padding-inline: 32px;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #000;
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}

/* ---- generic button shape (color set per family) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline: 3px solid #ffb703;
  outline-offset: 3px;
}

/* ---- forms (used on offer + contact) ---- */
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--sp-3);
}

.field label {
  font-weight: 600;
  font-size: 0.95rem;
}

.field input,
.field textarea {
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: var(--radius-s);
  border: 1.5px solid #c8d3cc;
  min-height: 48px;
  font-family: var(--font-body);
  background: #fff;
  color: #14201a;
  width: 100%;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid #ffb703;
  outline-offset: 1px;
}

.field-error {
  color: #b23b3b;
  font-size: 0.86rem;
  min-height: 1.1em;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: var(--sp-3) 0;
}

.consent-row input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-width: 22px;
  margin-top: 2px;
}

.consent-row label {
  font-size: 0.92rem;
  line-height: 1.5;
}

.form-success {
  display: none;
  padding: var(--sp-4);
  border-radius: var(--radius-m);
  background: #eef7ee;
  border: 1.5px solid #9fd6a6;
  color: #1f4c2b;
  font-weight: 600;
}

.form-success.is-visible {
  display: block;
}

.form-success[hidden] {
  display: none;
}

/* ============================================================
   Disclaimer + footer — identical structure on every page
   ============================================================ */

.site-disclaimer {
  display: block;
  background: var(--foot-bg);
  color: var(--foot-ink-soft);
  padding: var(--sp-5) 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.site-disclaimer .container {
  max-width: 860px;
}

.site-disclaimer p {
  margin-bottom: var(--sp-2);
}

.site-disclaimer p:last-child {
  margin-bottom: 0;
}

.site-disclaimer a {
  color: #9fe0c4;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-disclaimer a:focus-visible {
  outline: 2px solid #ffb703;
  outline-offset: 2px;
}

.site-footer {
  background: var(--foot-bg);
  color: var(--foot-ink);
  padding: var(--sp-5) 0 var(--sp-6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__company {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--foot-ink-soft);
  white-space: pre-line;
  margin-bottom: var(--sp-4);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-4);
}

.site-footer__links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--foot-ink);
  padding: 6px 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 1px solid transparent;
}

.site-footer__links a:hover,
.site-footer__links a:focus-visible {
  border-bottom-color: #9fe0c4;
  color: #9fe0c4;
}

@media (min-width: 768px) {
  .site-footer__links {
    gap: var(--sp-3) var(--sp-5);
  }
}
