/* Calculadoras Forge — hoja autónoma.
   Replica los tokens de styles.css para no arrastrar el CSS del landing
   (estas páginas se cargan desde búsqueda orgánica y el LCP importa). */

:root {
  color-scheme: dark;

  --bg: #06090f;
  --bg-2: #080c14;
  --bg-3: #0b111c;
  --surface-1: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --surface-3: rgba(255, 255, 255, 0.1);

  --text-100: #eef4fb;
  --text-200: #b8c6d8;
  --text-300: #8193a8;
  --text-400: #5f7088;

  --blue: #2bb6ff;
  --cyan: #22d3ee;
  --ice: #8fe3ff;
  --brand-grad: linear-gradient(135deg, #2bb6ff 0%, #22d3ee 100%);
  --brand-soft: linear-gradient(135deg, rgba(43, 182, 255, 0.16), rgba(34, 211, 238, 0.1));

  --good: #34d399;
  --warn: #f5b524;
  --bad: #f87171;
  --protein: #38bdf8;
  --carbs: #f5b524;
  --fats: #f472b6;

  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);

  --shadow-card: 0 26px 64px rgba(2, 6, 12, 0.6);
  --shadow-soft: 0 16px 38px rgba(2, 6, 12, 0.45);

  --r-2xl: 30px;
  --r-xl: 24px;
  --r-lg: 18px;
  --r-md: 14px;
  --r-sm: 10px;
  --r-pill: 999px;

  --container: min(1120px, 92vw);
  --font: "Inter", "Segoe UI", "SF Pro Text", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text-100);
  background:
    radial-gradient(900px 520px at 82% -8%, rgba(43, 182, 255, 0.16), transparent 62%),
    radial-gradient(700px 420px at 10% 8%, rgba(34, 211, 238, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 45%, var(--bg) 100%);
  background-attachment: fixed;
  line-height: 1.6;
  font-size: 16px;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Cabecera ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(6, 9, 15, 0.82);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.brand-mark {
  display: block;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-size: 18px;
  line-height: 1.1;
}

.brand-tag {
  display: block;
  font-size: 11px;
  color: var(--text-300);
  letter-spacing: 0.02em;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface-1);
}

.lang-switch a {
  padding: 5px 10px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-400);
}

.lang-switch a:hover {
  text-decoration: none;
  color: var(--text-100);
}

.lang-switch a.is-active {
  background: var(--surface-3);
  color: var(--text-100);
}

@media (max-width: 520px) {
  .brand-tag {
    display: none;
  }
  .nav-right {
    gap: 8px;
  }
  .header-cta {
    padding: 0 14px;
    font-size: 13px;
  }
}

.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 14px;
  color: #04121d;
  background: var(--brand-grad);
  white-space: nowrap;
}

.header-cta:hover {
  text-decoration: none;
  filter: brightness(1.08);
}

/* ---------- Migas y cabecera de página ---------- */

.crumbs {
  font-size: 13px;
  color: var(--text-400);
  padding-top: 22px;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--text-400);
}

.crumbs a {
  color: var(--text-300);
}

.page-head {
  padding: 26px 0 8px;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 5.2vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.lede {
  margin: 0;
  font-size: clamp(16px, 2.2vw, 18px);
  color: var(--text-200);
}

.grad-text {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Calculadora ---------- */

.calc {
  margin: 28px 0 8px;
  border-radius: var(--r-2xl);
  border: 1px solid var(--line-2);
  background:
    radial-gradient(520px 260px at 92% -12%, rgba(43, 182, 255, 0.16), transparent 65%),
    linear-gradient(180deg, rgba(20, 28, 40, 0.9), rgba(9, 13, 21, 0.94));
  box-shadow: var(--shadow-card), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

@media (max-width: 880px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

.calc-inputs {
  padding: clamp(20px, 3.4vw, 32px);
  border-right: 1px solid var(--line);
}

@media (max-width: 880px) {
  .calc-inputs {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

.calc-output {
  padding: clamp(20px, 3.4vw, 32px);
  background: linear-gradient(180deg, rgba(43, 182, 255, 0.05), transparent 40%);
}

.calc-title {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-300);
}

/* Campos */

.field {
  margin-bottom: 20px;
}

.field:last-child {
  margin-bottom: 0;
}

.field > label,
.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-200);
}

.field-hint {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--text-400);
}

.input-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.input-row input[type="range"] {
  flex: 1;
  min-width: 0;
}

.num {
  width: 104px;
  flex: none;
  padding: 11px 12px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text-100);
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  text-align: center;
  -moz-appearance: textfield;
}

.num::-webkit-outer-spin-button,
.num::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.num:focus {
  border-color: rgba(43, 182, 255, 0.6);
  background: var(--surface-3);
  outline: none;
}

.num-unit {
  position: relative;
  flex: none;
}

.num-unit .num {
  width: 118px;
  padding-right: 34px;
  text-align: left;
}

.num-unit span {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-400);
  pointer-events: none;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 30px;
  background: transparent;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--surface-3);
}

input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--surface-3);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--brand-grad);
  border: 2px solid #0a1220;
  box-shadow: 0 4px 14px rgba(43, 182, 255, 0.45);
}

input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2bb6ff;
  border: 2px solid #0a1220;
  box-shadow: 0 4px 14px rgba(43, 182, 255, 0.45);
}

/* Segmentado */

.seg {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--surface-1);
  border: 1px solid var(--line);
}

.seg.is-stacked {
  flex-wrap: wrap;
  border-radius: var(--r-lg);
}

.seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.seg label {
  flex: 1 1 0;
  min-width: fit-content;
  text-align: center;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-300);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.seg.is-stacked label {
  flex: 1 1 auto;
  border-radius: var(--r-md);
}

.seg label:hover {
  color: var(--text-100);
}

.seg input:checked + label {
  background: var(--brand-grad);
  color: #04121d;
}

.seg input:focus-visible + label {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* Lista de opciones grandes (nivel de actividad, objetivo) */

.options {
  display: grid;
  gap: 8px;
}

.options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.options label {
  display: block;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface-1);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.options label:hover {
  border-color: var(--line-2);
  background: var(--surface-2);
}

.options input:checked + label {
  border-color: rgba(43, 182, 255, 0.55);
  background: var(--brand-soft);
}

.options input:focus-visible + label {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.opt-title {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-100);
}

.opt-sub {
  display: block;
  font-size: 12.5px;
  color: var(--text-400);
}

/* Resultado */

.result-hero {
  text-align: center;
  padding: 12px 0 20px;
}

.result-label {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-300);
}

.result-value {
  font-size: clamp(46px, 9vw, 68px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.result-unit {
  font-size: 0.42em;
  font-weight: 700;
  margin-left: 4px;
  letter-spacing: 0;
}

.result-note {
  margin: 10px auto 0;
  max-width: 34ch;
  font-size: 13px;
  color: var(--text-400);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.stat {
  padding: 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface-1);
  text-align: center;
}

.stat-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-400);
  margin-bottom: 4px;
}

.stat-value {
  display: block;
  font-size: 21px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.stat-value small {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-300);
  margin-left: 2px;
}

/* Barra de macros */

.macro-bar {
  display: flex;
  height: 14px;
  border-radius: var(--r-pill);
  overflow: hidden;
  background: var(--surface-2);
  margin: 4px 0 16px;
}

.macro-bar span {
  display: block;
  transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.macro-bar .is-protein {
  background: var(--protein);
}
.macro-bar .is-carbs {
  background: var(--carbs);
}
.macro-bar .is-fats {
  background: var(--fats);
}

.macro-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.macro-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface-1);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: none;
}

.dot.is-protein {
  background: var(--protein);
}
.dot.is-carbs {
  background: var(--carbs);
}
.dot.is-fats {
  background: var(--fats);
}

.macro-name {
  font-weight: 600;
  font-size: 14.5px;
}

.macro-num {
  margin-left: auto;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  font-size: 17px;
}

.macro-num small {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-400);
  margin-left: 3px;
}

/* Discos: chips de disponibilidad y presets de barra */

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chips label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface-1);
  font-size: 14.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text-400);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.chips label:hover {
  border-color: var(--line-2);
  color: var(--text-200);
}

.chips input:checked + label {
  border-color: rgba(43, 182, 255, 0.55);
  background: var(--brand-soft);
  color: var(--text-100);
}

.chips input:focus-visible + label {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.chip-btn {
  min-height: 34px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--surface-1);
  color: var(--text-300);
  font-family: inherit;
  font-size: 13px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.chip-btn:hover {
  border-color: rgba(43, 182, 255, 0.5);
  color: var(--text-100);
}

/* Discos: representación visual de media barra */

.plate-visual {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 132px;
  padding: 0 4px;
  margin: 4px 0 18px;
  border-radius: var(--r-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent);
  overflow-x: auto;
}

.bar-sleeve {
  flex: none;
  width: 46px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(180deg, #93a4bb, #5c6c83);
}

.bar-collar {
  flex: none;
  width: 12px;
  height: 26px;
  border-radius: 3px;
  background: linear-gradient(180deg, #93a4bb, #5c6c83);
}

.plate-block {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  min-height: 46px;
  border-radius: 4px;
  background: var(--brand-grad);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.plate-block span {
  font-size: 10px;
  font-weight: 800;
  color: #04121d;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: -0.02em;
}

/* Discos: desglose */

.plate-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.plate-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface-1);
}

.plate-list li.is-empty {
  justify-content: center;
  color: var(--text-400);
  font-size: 14px;
}

.plate-count {
  font-size: 18px;
  font-weight: 800;
  color: var(--ice);
  font-variant-numeric: tabular-nums;
}

.plate-weight {
  font-size: 16px;
  font-weight: 700;
}

.plate-sub {
  margin-left: auto;
  font-size: 12.5px;
  color: var(--text-400);
  font-variant-numeric: tabular-nums;
}

/* Tabla de porcentajes */

.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  margin: 4px 0 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 340px;
}

th,
td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

thead th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-400);
  background: var(--surface-1);
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover td {
  background: var(--surface-1);
}

td strong {
  color: var(--ice);
}

.noscript {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: var(--r-md);
  border: 1px solid rgba(245, 181, 36, 0.35);
  background: rgba(245, 181, 36, 0.08);
  font-size: 14px;
  color: var(--text-200);
}

/* ---------- Contenido editorial ---------- */

.prose {
  max-width: 760px;
  margin: 56px auto 0;
}

.prose h2 {
  margin: 44px 0 14px;
  font-size: clamp(22px, 3.4vw, 28px);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.prose h3 {
  margin: 28px 0 10px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--text-200);
}

.prose p {
  margin: 0 0 16px;
}

.prose ul,
.prose ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.prose li {
  margin-bottom: 8px;
}

.formula {
  display: block;
  padding: 16px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-2);
  background: var(--surface-1);
  font-size: 15px;
  font-weight: 600;
  color: var(--ice);
  overflow-x: auto;
  white-space: nowrap;
  margin: 0 0 18px;
}

.callout {
  padding: 16px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--cyan);
  background: var(--surface-1);
  margin: 0 0 18px;
}

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

/* FAQ */

.faq {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-1);
  overflow: hidden;
}

details[open] {
  border-color: var(--line-2);
}

summary {
  padding: 15px 18px;
  font-weight: 650;
  font-size: 15.5px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-100);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 400;
  color: var(--cyan);
  flex: none;
  transition: transform 0.2s ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details .answer {
  padding: 0 18px 16px;
  color: var(--text-200);
  font-size: 15px;
}

details .answer p:last-child {
  margin-bottom: 0;
}

/* ---------- CTA app ---------- */

.cta {
  margin: 56px 0 0;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--r-2xl);
  border: 1px solid var(--line-2);
  background:
    radial-gradient(600px 260px at 88% -20%, rgba(43, 182, 255, 0.2), transparent 65%),
    linear-gradient(180deg, rgba(20, 28, 40, 0.9), rgba(9, 13, 21, 0.94));
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.cta h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 3.6vw, 30px);
  letter-spacing: -0.02em;
}

.cta p {
  margin: 0 auto 22px;
  max-width: 52ch;
  color: var(--text-200);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 16px;
  color: #04121d;
  background: var(--brand-grad);
  box-shadow: 0 14px 32px rgba(34, 170, 240, 0.28);
}

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

.btn-ghost {
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  color: var(--text-100);
  box-shadow: none;
}

/* ---------- Otras calculadoras ---------- */

.calc-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.calc-card {
  display: block;
  padding: 22px;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  color: inherit;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease;
}

.calc-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  border-color: rgba(43, 182, 255, 0.45);
}

.calc-card h3 {
  margin: 12px 0 6px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.calc-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-300);
}

.calc-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-md);
  background: var(--brand-soft);
  border: 1px solid var(--line-2);
  font-size: 20px;
}

.section-head {
  margin: 64px 0 0;
  max-width: 760px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3.4vw, 28px);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--text-300);
}

/* ---------- Pie ---------- */

.site-footer {
  margin-top: 72px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: rgba(6, 9, 15, 0.6);
}

.footer-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 14px;
  color: var(--text-400);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--text-300);
}

.disclaimer {
  margin: 26px auto 0;
  max-width: 760px;
  font-size: 13px;
  color: var(--text-400);
  text-align: center;
}
