/* Camarão Fresco - front-end estático mobile-first.
   TODO Design: substituir placeholders por logos, fotos de loja e promoções reais em assets/img/. */

:root {
  color-scheme: light;
  --bg: #f6fbf9;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-soft: #edf7f3;
  --surface-strong: #0a5363;
  --ink: #102d35;
  --muted: #5b7077;
  --primary: #075766;
  --primary-strong: #063b46;
  --accent: #cf5e35;
  --accent-soft: #fff1e8;
  --line: #d8e7e4;
  --line-strong: #bdd3d0;
  --focus: #f2b84b;
  --button-bg: #063b46;
  --button-text: #ffffff;
  --button-secondary-bg: #ffffff;
  --button-secondary-text: #063b46;
  --button-secondary-border: #0b6677;
  --drawer-bg: #ffffff;
  --footer-bg: #06242c;
  --footer-ink: #f4fbf9;
  --footer-muted: rgba(244, 251, 249, 0.76);
  --shadow-sm: 0 8px 22px rgba(7, 87, 102, 0.08);
  --shadow-md: 0 18px 44px rgba(7, 87, 102, 0.12);
  --radius: 8px;
  --container: 1160px;
  --header-h: 68px;
  --tap: 48px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1519;
  --bg-elevated: #101c22;
  --surface: #14252c;
  --surface-soft: #172b33;
  --surface-strong: #245b64;
  --ink: #edf6f2;
  --muted: #a9bbc0;
  --primary: #79adb4;
  --primary-strong: #b8d7d9;
  --accent: #d88963;
  --accent-soft: #2d211c;
  --line: #263b42;
  --line-strong: #3f5d66;
  --focus: #ffd166;
  --button-bg: #245b64;
  --button-text: #f4fbf9;
  --button-secondary-bg: #13262d;
  --button-secondary-text: #eef7f5;
  --button-secondary-border: #4a7078;
  --drawer-bg: #101c22;
  --footer-bg: #071116;
  --footer-ink: #f4fbf9;
  --footer-muted: rgba(244, 251, 249, 0.74);
  --shadow-sm: 0 8px 22px rgba(0, 0, 0, 0.24);
  --shadow-md: 0 18px 44px rgba(0, 0, 0, 0.30);
}

:root[data-font-scale="-1"] {
  font-size: 93.75%;
}

:root[data-font-scale="0"] {
  font-size: 100%;
}

:root[data-font-scale="1"] {
  font-size: 106.25%;
}

:root[data-font-scale="2"] {
  font-size: 112.5%;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.container {
  width: min(100% - 28px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 14px;
  top: -90px;
  z-index: 80;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--primary-strong);
  color: #fff;
  font-weight: 800;
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  background: color-mix(in srgb, var(--bg-elevated) 90%, transparent);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: var(--header-h);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: var(--surface-strong);
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.brand-text {
  min-width: 0;
  overflow: hidden;
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 0.95rem;
}

.main-nav a {
  border-radius: var(--radius);
  padding: 9px 10px;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus {
  background: var(--surface-soft);
  color: var(--primary-strong);
}

.header-tools {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.font-tools {
  display: none;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 4px;
  box-shadow: var(--shadow-sm);
}

.font-tools button,
.drawer-tool-row button,
.theme-toggle,
.menu-toggle,
.menu-close {
  display: inline-grid;
  min-width: var(--tap);
  min-height: var(--tap);
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.font-tools button {
  min-width: 42px;
  min-height: 38px;
  border-color: transparent;
  box-shadow: none;
}

.font-tools button:hover,
.drawer-tool-row button:hover,
.theme-toggle:hover,
.menu-toggle:hover,
.menu-close:hover {
  border-color: var(--line-strong);
  background: var(--surface-soft);
}

.theme-toggle,
.menu-toggle {
  box-shadow: var(--shadow-sm);
}

.menu-toggle {
  position: relative;
  gap: 4px;
  color: var(--primary-strong);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(5, 15, 19, 0.58);
  opacity: 0;
  backdrop-filter: blur(8px);
  transition: opacity 0.24s ease;
}

.menu-overlay[hidden],
.mobile-drawer[hidden] {
  display: none !important;
}

.menu-overlay.is-open {
  opacity: 1;
}

.mobile-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 70;
  display: grid;
  width: clamp(288px, 84vw, 660px);
  max-width: 100%;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border-right: 1px solid var(--line);
  background: var(--drawer-bg);
  box-shadow: 24px 0 70px rgba(0, 0, 0, 0.24);
  transform: translateX(-105%);
  transition: transform 0.26s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 14px 18px;
}

.menu-close {
  font-size: 1.55rem;
  line-height: 1;
}

.mobile-drawer-tools {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface-soft) 72%, transparent);
  padding: 14px 18px 18px;
}

.mobile-drawer-tools p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.drawer-tool-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.drawer-tool-row button {
  min-height: 42px;
  font-size: 0.9rem;
}

.mobile-nav {
  display: grid;
  align-content: start;
  gap: 0;
  padding: 10px 0;
  overflow-y: auto;
}

.mobile-nav a {
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 17px 20px;
  color: var(--ink);
  font-weight: 850;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}

.mobile-nav a:hover,
.mobile-nav a:focus {
  background: var(--surface-soft);
  color: var(--primary-strong);
  padding-left: 24px;
}

.section {
  padding: 50px 0;
}

.section-alt,
.summary-band,
.promotions-section {
  background: color-mix(in srgb, var(--surface-soft) 68%, transparent);
}

.hero {
  padding-top: 28px;
}

.hero-grid,
.split,
.process-grid,
.two-column,
.faq-layout,
.feature-grid,
.warning-grid,
.brand-grid,
.promo-grid,
.article-grid,
.footer-grid {
  display: grid;
  gap: 18px;
}

.hero-grid > *,
.split > *,
.process-grid > *,
.two-column > *,
.faq-layout > *,
.feature-grid > *,
.warning-grid > *,
.brand-grid > *,
.promo-grid > *,
.article-grid > *,
.footer-grid > * {
  min-width: 0;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: anywhere;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(1.62rem, 6.2vw, 2.12rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 6.8vw, 2.18rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.13rem;
  line-height: 1.25;
}

p {
  color: var(--muted);
}

.lead,
.section-heading p,
.article-lead {
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 22px;
}

.section-heading.narrow {
  max-width: 720px;
}

.actions,
.brand-links,
.link-pair,
.promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  min-width: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary-strong);
  border-radius: var(--radius);
  background: var(--button-bg);
  color: var(--button-text);
  padding: 0 18px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}

.button:hover,
.button:focus {
  filter: brightness(1.06);
}

.button-secondary {
  border-color: var(--button-secondary-border);
  background: var(--button-secondary-bg);
  color: var(--button-secondary-text);
  box-shadow: none;
}

.text-link {
  color: var(--primary-strong);
  font-weight: 900;
  text-decoration-color: color-mix(in srgb, var(--primary) 35%, transparent);
  text-underline-offset: 3px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.trust-row li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.91rem;
  box-shadow: var(--shadow-sm);
}

.hero-card,
.calculator,
.feature-card,
.warning-card,
.insight-card,
.brand-card,
.promo-card,
.article-card,
.contact-box,
.article,
.formula-box,
.related-box,
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.hero-card {
  overflow: hidden;
}

.product-visual {
  display: grid;
  min-height: 240px;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--surface-strong) 92%, #000), color-mix(in srgb, var(--surface-strong) 74%, var(--accent)));
  color: #fff;
  text-align: center;
}

.product-visual span,
.product-visual small {
  display: block;
  opacity: 0.88;
}

.product-visual strong {
  display: block;
  margin: 18px 0;
  font-size: 2.1rem;
  line-height: 1.08;
}

.metric-list {
  margin: 0;
  padding: 20px;
}

.metric-list div {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.metric-list div:last-child {
  border-bottom: 0;
}

.metric-list dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.metric-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 850;
}

.brands-spotlight {
  background: var(--bg-elevated);
}

.feature-card,
.warning-card,
.article-card,
.insight-card,
.brand-card,
.promo-card > div:last-child,
.contact-box,
.calculator {
  padding: 20px;
}

.feature-card {
  display: grid;
  align-content: start;
}

.feature-number {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-weight: 950;
}

.feature-card a,
.article-card,
.brand-links a,
.promo-card a,
.related-box a,
.footer-grid a {
  color: var(--primary-strong);
  font-weight: 900;
}

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

a.button.button-secondary {
  color: var(--button-secondary-text);
}

.article-card {
  display: block;
  color: var(--ink);
  text-decoration: none;
}

.article-card span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-card {
  display: grid;
  gap: 14px;
}

.brand-card-featured {
  border-top: 5px solid var(--surface-strong);
}

.brand-card-secondary {
  background: color-mix(in srgb, var(--surface) 76%, var(--surface-soft));
  box-shadow: none;
}

.brand-tag,
.promo-date {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-photo {
  position: relative;
  overflow: hidden;
  min-height: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  aspect-ratio: 16 / 9;
  box-shadow: inset 0 -1px 0 var(--line);
}

.store-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-content {
  display: grid;
  align-content: start;
}

.brand-content ul {
  display: grid;
  gap: 7px;
  margin: 14px 0;
  padding-left: 20px;
  color: var(--muted);
}

.brand-links {
  flex-direction: column;
}

.brand-links a {
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface-soft) 74%, var(--surface));
  padding: 10px 12px;
  color: var(--primary-strong);
  text-align: center;
  text-decoration: none;
}

.brand-links .button {
  border-color: var(--button-bg);
  background: var(--button-bg);
  color: var(--button-text) !important;
  border-radius: var(--radius);
}

.brand-links .button-secondary {
  border-color: var(--button-secondary-border);
  background: var(--button-secondary-bg);
  color: var(--button-secondary-text) !important;
}

.promotions-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.promo-card {
  overflow: hidden;
  border-color: color-mix(in srgb, var(--line) 78%, transparent);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.promo-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.promo-card img,
.promo-image {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, var(--surface-strong), var(--primary));
  color: #fff;
}

.promo-image {
  display: grid;
  min-height: 190px;
  place-items: center;
  font-weight: 900;
}

.promo-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.promo-card > div:last-child {
  display: grid;
  gap: 12px;
  align-content: start;
}

.promo-grid-grouped {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.promo-profile-group {
  display: grid;
  gap: 14px;
}

.promo-profile-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.promo-profile-heading h3 {
  margin: 0;
  font-size: clamp(1.18rem, 4.8vw, 1.55rem);
}

.promo-profile-heading span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 7px 10px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.promo-profile-grid {
  display: grid;
  gap: 18px;
}

.promo-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-self: end;
  align-items: stretch;
}

.promo-actions .button,
.promo-card-live .button {
  min-height: 50px;
  width: 100%;
  padding: 0 14px;
  line-height: 1.2;
  white-space: normal;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.promo-actions .button:hover,
.promo-actions .button:focus {
  transform: translateY(-1px);
}

.promo-actions .button,
.promo-card-live .button {
  color: var(--button-text) !important;
}

.promo-actions .button-secondary,
.promo-card-live .button-secondary {
  color: var(--button-secondary-text) !important;
}

#biometria {
  background:
    radial-gradient(circle at 12% 0%, rgba(168, 68, 30, 0.14), transparent 30%),
    color-mix(in srgb, var(--surface-soft) 72%, transparent);
}

#biometria .split {
  align-items: center;
}

.calculator {
  border-color: color-mix(in srgb, #a8441e 74%, #ffffff 12%);
  background:
    linear-gradient(145deg, #a8441e 0%, #863617 58%, #5f2612 100%);
  color: #ffffff;
  box-shadow: 0 22px 58px rgba(95, 38, 18, 0.28);
}

.calculator caption,
.calculator label,
.calculator .field-grid label {
  color: #ffffff;
}

.calculator caption {
  color: rgba(255, 255, 255, 0.82);
}

.field-grid {
  display: grid;
  gap: 14px;
}

.field-grid label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.input-wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.calculator .input-wrap {
  border-color: rgba(255, 255, 255, 0.28);
  background: #ffffff;
}

.input-wrap input {
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: none;
  padding: 14px;
}

.input-wrap input:focus {
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--primary) 25%, transparent);
}

.input-wrap small {
  padding-right: 12px;
  color: var(--muted);
  font-weight: 850;
}

.calculator .input-wrap input {
  color: #18343a;
}

.calculator .input-wrap small {
  color: #5a6b70;
}

.calculator-result {
  display: block;
  margin: 16px 0;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: #fff7ed;
  padding: 14px;
  color: #5a210e;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(55, 22, 8, 0.18);
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

caption {
  padding-bottom: 10px;
  color: var(--muted);
  text-align: left;
  font-weight: 850;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  overflow-wrap: anywhere;
}

th {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.calculator table {
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
}

.calculator th,
.calculator td {
  border-color: rgba(91, 44, 19, 0.16);
}

.calculator th {
  background: #5f2612;
  color: #ffffff;
}

.calculator td {
  color: #23383d;
}

tr.is-current td {
  background: #fff0cf;
  color: #47210d;
  font-weight: 950;
}

tr.is-lower td {
  background: #fff9f2;
}

tr.is-higher td {
  background: #f2faf7;
}

.warning-card {
  border-left: 4px solid var(--accent);
}

.inline-cta {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.inline-cta p {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

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

.timeline li {
  border-left: 4px solid var(--surface-strong);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline span {
  color: var(--muted);
}

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

details {
  padding: 16px;
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 950;
}

details p {
  margin: 12px 0 0;
}

.contact-box {
  display: grid;
  gap: 16px;
}

.site-footer {
  padding: 44px 0;
  border-top: 1px solid color-mix(in srgb, var(--line-strong) 44%, transparent);
  background: var(--footer-bg);
  color: var(--footer-ink);
}

.site-footer .brand {
  color: var(--footer-ink);
}

.footer-grid p {
  margin-bottom: 0;
  color: var(--footer-muted);
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-grid a {
  color: var(--footer-ink);
  text-decoration-color: rgba(255, 255, 255, 0.28);
  text-underline-offset: 3px;
}

.footer-grid a:hover,
.footer-grid a:focus {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

.copyright {
  font-size: 0.92rem;
}

.article-main {
  padding: 28px 0 64px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs a {
  color: var(--primary-strong);
  font-weight: 900;
}

.breadcrumbs span::before {
  content: "/";
  margin-right: 8px;
  color: var(--line-strong);
}

.article {
  max-width: 880px;
  padding: 22px;
}

.article h1 {
  font-size: clamp(2rem, 9vw, 3rem);
}

.article section {
  margin-top: 32px;
}

.formula-box {
  margin: 18px 0;
  padding: 18px;
  background: var(--accent-soft);
  color: color-mix(in srgb, var(--accent) 72%, var(--ink));
  font-size: 1.12rem;
  font-weight: 950;
}

.check-list {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.related-box {
  display: grid;
  gap: 10px;
  padding: 18px;
  background: var(--surface-soft);
}

.related-box h2 {
  margin-bottom: 4px;
  font-size: 1.3rem;
}

.source-note {
  border-left: 4px solid var(--surface-strong);
  padding-left: 14px;
  font-size: 0.95rem;
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .button,
  .actions .button {
    width: 100%;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-text {
    max-width: 178px;
  }
}

@media (max-width: 370px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .brand-text {
    max-width: 152px;
    font-size: 0.95rem;
  }

  .theme-toggle,
  .menu-toggle {
    min-width: 44px;
    min-height: 44px;
  }

  .feature-card,
  .warning-card,
  .article-card,
  .insight-card,
  .brand-card,
  .promo-card > div:last-child,
  .contact-box,
  .calculator,
  .article {
    padding: 18px;
  }
}

@media (min-width: 700px) {
  .container {
    width: min(100% - 40px, var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 54px;
  }

  h1 {
    font-size: clamp(2.45rem, 5.2vw, 3.2rem);
  }

  h2 {
    font-size: 2.28rem;
  }

  .field-grid,
  .two-column,
  .promo-grid,
  .promo-profile-grid,
  .brand-grid,
  .feature-grid,
  .warning-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inline-cta,
  .contact-box {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .promo-grid-grouped {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
    align-items: start;
  }

  .copyright {
    grid-column: 1 / -1;
  }

  .article {
    padding: 42px;
  }
}

@media (max-width: 1059px) {
  .header-inner:not(:has(.header-tools)) {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

  .header-inner:not(:has(.header-tools)) .main-nav {
    display: flex;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-inner:not(:has(.header-tools)) .main-nav a {
    flex: 0 0 auto;
  }
}

@media (min-width: 1060px) {
  .header-inner {
    gap: 12px;
  }

  .main-nav {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    gap: 2px;
    font-size: 0.87rem;
  }

  .main-nav a {
    padding: 8px 7px;
  }

  .menu-toggle,
  .menu-overlay,
  .mobile-drawer {
    display: none;
  }

  .font-tools {
    display: inline-flex;
  }
}

@media (min-width: 980px) {
  .hero {
    padding-top: 78px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
    align-items: center;
    gap: 44px;
  }

  .split,
  .process-grid,
  .faq-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
    align-items: start;
    gap: 36px;
  }

  .feature-grid,
  .brand-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brand-grid-spotlight {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .brand-grid-spotlight .brand-card-featured {
    grid-column: span 2;
  }

  .brand-grid-spotlight .brand-card-secondary {
    grid-column: 3 / span 2;
  }

  .promo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .promo-grid-grouped {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .promo-profile-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .article-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .brand-links,
  .promo-actions {
    flex-direction: row;
  }

  .promo-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promo-actions .button,
  .promo-card-live .button {
    width: 100%;
  }

  h1 {
    font-size: clamp(3rem, 3.4vw, 3.85rem);
  }
}

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