/* ==========================================================================
   AAJA Agency Official — Design system & components
   Colour language derived from the AAJA Recruiting Policy (bright AAJA pink,
   soft pink surfaces, charcoal text, generous white space).
   ========================================================================== */

:root {
  /* Brand */
  --primary: #ff4d8f;          /* AAJA pink (policy headers, accent bars) — decorative / large text */
  --primary-strong: #db2777;   /* button gradient start — AA with white text */
  --primary-dark: #c8175d;     /* links, table headers, pink text on white (5.6:1) */
  --primary-deep: #9d174d;
  --primary-light: #ffe4ef;    /* soft pink surfaces */
  --primary-soft: #fff4f8;
  --accent: #ff7aa8;           /* policy banner pink */

  /* Neutrals */
  --background: #ffffff;
  --surface: #ffffff;
  --surface-alt: #fff6fa;
  --text: #2e2a2d;             /* charcoal */
  --text-muted: #5f5660;
  --border: #f6d3e1;

  /* WhatsApp (darkened for AA contrast with white text) */
  --wa: #0f7d41;
  --wa-dark: #0b6534;

  /* Effects & layout */
  --shadow: 0 18px 40px -18px rgba(200, 23, 93, .35);
  --shadow-sm: 0 2px 12px rgba(46, 42, 45, .06);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --container-width: 1180px;
  --header-h: 72px;
  --font: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--background);
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

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

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.015em;
  color: var(--text);
  overflow-wrap: break-word;
}
h1 { font-size: clamp(1.95rem, 1.15rem + 3.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.45rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; }

a { color: var(--primary-dark); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--primary-deep); }

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

strong { font-weight: 700; }

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

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--primary-dark);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Layout ---------- */
.container {
  width: min(100% - 32px, var(--container-width));
  margin-inline: auto;
}
.container--narrow { width: min(100% - 32px, 820px); }

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tint { background: var(--surface-alt); }
.section--tight { padding-top: clamp(32px, 5vw, 56px); }

.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .9rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary-dark);
}
/* Accent bar — echoes the pink bar above every heading in the policy */
.eyebrow::before {
  content: "";
  width: 30px; height: 6px;
  border-radius: 3px;
  background: var(--primary);
  flex: none;
}

.lead {
  font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem);
  color: var(--text-muted);
}
.muted { color: var(--text-muted); }
.small { font-size: .92rem; }
.center { text-align: center; }
.mt-lg { margin-top: clamp(28px, 4vw, 44px); }
.mb-0 { margin-bottom: 0; }

.grid { display: grid; gap: clamp(16px, 2.5vw, 24px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

.split { display: grid; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--center { align-items: center; }
  .split--wide { grid-template-columns: 1.2fr .8fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .75rem 1.4rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary-strong), var(--primary-dark));
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(200, 23, 93, .7);
}
.btn-primary:hover { color: #fff; box-shadow: 0 16px 28px -12px rgba(200, 23, 93, .8); }

.btn-secondary {
  background: #fff;
  color: var(--primary-dark);
  border-color: var(--primary-dark);
}
.btn-secondary:hover { background: var(--primary-soft); color: var(--primary-deep); }

.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-dark); color: #fff; }

.btn-light { background: #fff; color: var(--primary-dark); }
.btn-light:hover { color: var(--primary-deep); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .85); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.btn-sm { min-height: 44px; padding: .55rem 1.1rem; font-size: .95rem; }

.btn-group { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479px) {
  .btn-group .btn { flex: 1 1 100%; }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 700;
  text-decoration: none;
}
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(3px); }

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-scrolled { border-color: var(--border); box-shadow: var(--shadow-sm); }

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  min-width: 0;
}
.brand img { width: 44px; height: 44px; border-radius: 12px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text small {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.brand:hover { color: var(--text); }

.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: block;
  padding: .55rem .85rem;
  border-radius: var(--radius-pill);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.nav-link:hover { background: var(--primary-soft); color: var(--primary-dark); }
.nav-link[aria-current="page"] { background: var(--primary-light); color: var(--primary-dark); }

.header-cta { display: none; }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  flex: none;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px; height: 2.5px;
  border-radius: 2px;
  background: var(--primary-dark);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6.5px; }
.nav-toggle-bars::after { top: 6.5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu panel */
.primary-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  padding: 16px 16px 32px;
  background: #fff;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}
.nav-open .primary-nav { display: block; }
.primary-nav .nav-link { padding: .9rem 1rem; font-size: 1.1rem; border-radius: var(--radius-sm); }
.nav-cta { display: grid; gap: 10px; margin-top: 20px; }

@media (min-width: 560px) {
  .header-cta { display: inline-flex; }
}

@media (min-width: 1024px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: block;
    position: static;
    padding: 0;
    border: 0;
    background: none;
    overflow: visible;
  }
  .nav-list { display: flex; gap: 2px; }
  .primary-nav .nav-link { padding: .5rem .8rem; font-size: 1rem; border-radius: var(--radius-pill); }
  .nav-cta { display: none; }
  .header-cta { margin-left: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(28px, 6vw, 80px) 0 clamp(48px, 7vw, 96px);
  background:
    radial-gradient(900px 420px at 90% -10%, #ffd3e4 0%, transparent 65%),
    linear-gradient(180deg, #fff5f9 0%, #fff 100%);
}
.hero-grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.08fr .92fr; } }

.hero h1 { margin-bottom: .45em; }
.hero h1 .accent { color: var(--primary-dark); }
.hero .lead { max-width: 620px; }
.hero .btn-group { margin: 26px 0 22px; }

.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text);
}
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex: none; }

.hero-media { position: relative; isolation: isolate; max-width: 560px; margin-inline: auto; width: 100%; }
.hero-media::before {
  content: "";
  position: absolute;
  inset: 10% -4% -5% 12%;
  z-index: -1;
  border-radius: 32px;
  background: linear-gradient(150deg, var(--accent), var(--primary));
}
.hero-media img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 30px 60px -30px rgba(157, 23, 77, .55);
  background: var(--primary-light);
}

/* Sub-page hero */
.page-hero {
  padding: clamp(24px, 5vw, 64px) 0 clamp(36px, 6vw, 72px);
  background:
    radial-gradient(800px 380px at 95% -20%, #ffd3e4 0%, transparent 65%),
    linear-gradient(180deg, #fff5f9 0%, #fff 100%);
}
.page-hero .lead { max-width: 720px; }
.page-hero .btn-group { margin-top: 24px; }

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: .92rem;
  color: var(--text-muted);
}
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #c9a9b7; }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs [aria-current="page"] { color: var(--text); font-weight: 600; }

/* In-page table of contents */
.toc {
  display: flex;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0 0 6px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}
.toc a {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: .92rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
.toc a:hover { background: var(--primary-soft); }

/* ---------- Highlights ---------- */
.highlights { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.highlight {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.highlight strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary-dark);
}
.highlight span { display: block; font-size: .95rem; color: var(--text-muted); line-height: 1.45; }

/* ---------- Cards ---------- */
.card {
  position: relative;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.card > :last-child { margin-bottom: 0; }
.card--hover { transition: transform .2s ease, box-shadow .2s ease; }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card--soft { background: var(--primary-soft); }
.card--pink {
  border: 0;
  background: linear-gradient(150deg, var(--primary-strong), var(--primary-dark) 70%, var(--primary-deep));
  color: #fff;
}
.card--pink h2, .card--pink h3 { color: #fff; }
.card--pink a { color: #fff; }
.card--pink .check-list li::before { background-color: rgba(255, 255, 255, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }

.icon {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: var(--primary-light);
  color: var(--primary-dark);
}
.icon svg { width: 26px; height: 26px; }
.card--pink .icon { background: rgba(255, 255, 255, .18); color: #fff; }

.path-card { display: flex; flex-direction: column; }
.path-card .btn-group { margin-top: auto; padding-top: 8px; }
.path-card h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }

.check-list { display: grid; gap: .6rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 1.95rem; }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .22em;
  width: 1.3rem; height: 1.3rem;
  border-radius: 50%;
  background: var(--primary-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c8175d' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.x-list { display: grid; gap: .55rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.x-list li { position: relative; padding-left: 1.95rem; }
.x-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .22em;
  width: 1.3rem; height: 1.3rem;
  border-radius: 50%;
  background: #fee2e2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b91c1c' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Earning cards */
.earn-figure {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 10px;
  font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--primary-dark);
}
.earn-figure small { font-size: 1rem; font-weight: 700; color: var(--text-muted); }
.condition {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--primary-soft);
  font-size: .93rem;
  color: var(--text);
}
.condition strong { color: var(--primary-dark); }

/* Tags */
.tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tag--danger { background: #fee2e2; color: #991b1b; }
.tag--neutral { background: #f3eef1; color: var(--text-muted); }

/* ---------- Tables ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}
.data-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.data-table th, .data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}
.data-table thead th {
  background: var(--primary-dark);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.data-table tbody tr:nth-child(even) { background: var(--surface-alt); }
.data-table tbody tr:last-child > * { border-bottom: 0; }
.data-table tbody th { font-weight: 700; }
.data-table caption {
  caption-side: bottom;
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  font-size: .9rem;
  text-align: left;
  color: var(--text-muted);
}
.data-table .num { font-variant-numeric: tabular-nums; }

.tier-badge {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 800;
}
.rate { font-size: 1.2rem; font-weight: 800; color: var(--primary-dark); }

@media (max-width: 420px) {
  .data-table th, .data-table td { padding: 12px 12px; }
  .data-table thead th { font-size: .78rem; }
}

/* Stacked table on small screens (used where columns are wordy) */
@media (max-width: 640px) {
  .table-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table-stack, .table-stack tbody, .table-stack tr, .table-stack th, .table-stack td { display: block; width: 100%; }
  .table-stack tr { padding: 8px 0; border-bottom: 1px solid var(--border); }
  .table-stack tbody tr:last-child { border-bottom: 0; }
  .table-stack th, .table-stack td { border: 0; padding: 6px 16px; }
  .table-stack [data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--text-muted);
  }
}

/* ---------- Steps / timeline ---------- */
.steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps > li {
  position: relative;
  counter-increment: step;
  padding: 20px 20px 20px 78px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 18px; top: 18px;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--primary-strong), var(--primary-dark));
  color: #fff;
  font-weight: 800;
}
.steps h3, .steps h4 { margin: 0 0 .25rem; font-size: 1.1rem; }
.steps p { margin: 0; color: var(--text-muted); }
.steps--grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.steps--line > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 39px; top: 70px; bottom: -18px;
  width: 2px;
  background: var(--border);
}

/* ---------- Callouts ---------- */
.note {
  padding: 18px 20px;
  border: 1px solid var(--border);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
}
.note > :last-child { margin-bottom: 0; }
.note-title { display: block; margin-bottom: 4px; font-weight: 800; }
.note--warn { background: #fff7ed; border-color: #fed7aa; border-left-color: #ea580c; }
.note--danger { background: #fef2f2; border-color: #fecaca; border-left-color: #dc2626; }

.disclaimer {
  margin-top: 24px;
  padding: 14px 18px;
  border: 1px dashed #e3cbd6;
  border-radius: var(--radius-sm);
  background: #fcfafb;
  font-size: .9rem;
  color: var(--text-muted);
}
.disclaimer p { margin: 0; }
.grid > .disclaimer { margin-top: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq.center { margin-inline: auto; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  position: relative;
  padding: 18px 56px 18px 20px;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { display: inline; margin: 0; font-size: 1.06rem; font-weight: 700; letter-spacing: 0; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 11px; height: 11px;
  border-right: 2.5px solid var(--primary-dark);
  border-bottom: 2.5px solid var(--primary-dark);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq summary:hover h3 { color: var(--primary-dark); }
.faq-body { padding: 0 20px 18px; color: var(--text-muted); }
.faq-body p:last-child { margin-bottom: 0; }

/* ---------- Tools (calculators) ---------- */
.tool {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.tool label { display: block; margin-bottom: 6px; font-weight: 700; }
.tool input {
  width: 100%;
  min-height: 50px;
  padding: 10px 14px;
  border: 1.5px solid #e6bfd0;
  border-radius: 12px;
  font: inherit;
  font-size: 1.1rem;
  color: var(--text);
  background: #fff;
}
.tool input:focus-visible { border-color: var(--primary-dark); outline-offset: 1px; }
.tool-result {
  display: block;
  margin-top: 16px;
  padding: 16px;
  border-radius: 12px;
  background: var(--primary-soft);
  min-height: 84px;
}
.tool-result strong { color: var(--primary-dark); font-size: 1.25rem; }
.tool .hint { margin: 10px 0 0; font-size: .88rem; color: var(--text-muted); }

/* ---------- Rules ---------- */
.rule-photo-list { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); margin: 0; padding: 0; list-style: none; }
.rule-photo-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--primary-dark);
  color: #fff;
  font-weight: 700;
  line-height: 1.3;
}
.rule-photo-list svg { width: 22px; height: 22px; flex: none; opacity: .9; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 22px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 28px;
  background: linear-gradient(135deg, var(--primary-strong), var(--primary-dark) 60%, var(--primary-deep));
  color: #fff;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  pointer-events: none;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255, 255, 255, .94); margin-bottom: 0; max-width: 680px; }
.cta-band .btn-group { position: relative; z-index: 1; }
.cta-band :focus-visible { outline-color: #fff; }

/* ---------- Contact ---------- */
.contact-card { display: flex; flex-direction: column; }
.contact-card .btn { margin-top: auto; }
.contact-card p { color: var(--text-muted); }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; }
.post-card h3 a { color: var(--text); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.post-card h3 a:focus-visible { outline: none; }
.post-card:focus-within { outline: 3px solid var(--primary-dark); outline-offset: 3px; }
.post-card:hover h3 a { color: var(--primary-dark); }
.post-card p { color: var(--text-muted); }
.post-card .text-link { margin-top: auto; }

/* ---------- Article ---------- */
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; font-size: .92rem; color: var(--text-muted); }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.9em; font-size: clamp(1.45rem, 1.15rem + 1.2vw, 1.9rem); }
.prose h3 { margin-top: 1.5em; }
.prose > h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--primary-dark); font-weight: 700; }
.prose .table-wrap, .prose .note, .prose .steps, .prose .grid { margin: 1.5em 0; }
.prose .check-list, .prose .x-list, .prose .steps { padding-left: 0; }
.related { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }

/* ---------- Footer ---------- */
.site-footer {
  padding: 64px 0 28px;
  background: #1f1a1e;
  color: #e9dde3;
}
.site-footer a { color: #ffc2da; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer :focus-visible { outline-color: #fff; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.footer-brand { grid-column: 1 / -1; max-width: 460px; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}
.footer-brand img { width: 56px; height: 56px; border-radius: 14px; margin-bottom: 14px; }
.footer-brand p { color: #cdbec6; font-size: .95rem; }
.site-footer h2 { margin-bottom: 14px; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.site-footer ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .88rem;
  color: #b9a9b2;
}
.footer-bottom p { margin: 0; }

/* ---------- Floating WhatsApp button ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45);
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Reveal animation (only when JS is available) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .btn:hover, .card--hover:hover, .wa-float:hover { transform: none; }
}

@media print {
  .site-header, .wa-float, .cta-band, .nav-toggle { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
