@font-face {
  font-family: 'Heebo';
  src: url('/assets/fonts/heebo-hebrew-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: 'Heebo';
  src: url('/assets/fonts/heebo-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-200B, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tokens follow the aman.bilibow.co.il portal. Muted text and accents are darkened to keep 4.5:1. */
:root {
  --brand-primary: #1e3a8a;
  --brand-primary-dark: #162c6b;
  --brand-gold: #f59e0b;
  --brand-gold-light: #fbbf24;
  --whatsapp: #0f7a53;
  --danger: #b91c1c;
  --page-bg: #fff;
  --text-primary: #1f2937;
  --text-muted: #4b5563;
  --line: #1e3a8a;
  --hairline: #c3cde0;
  --field-border: #6b7280;
  --on-dark-muted: #d6e0f5;
  --shadow-hover: 0 8px 24px rgba(15, 30, 60, .16);
  --radius-sm: 8px;
  --header-height: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Heebo', 'Assistant', 'Rubik', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--page-bg);
}
h1, h2, h3 { line-height: 1.2; margin: 0; color: var(--brand-primary); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: var(--brand-primary); text-underline-offset: .18em; }
main { position: relative; }
main:focus { outline: none; }
svg { display: block; }
[dir='ltr'] { unicode-bidi: isolate; }

:focus-visible { outline: 3px solid var(--brand-primary); outline-offset: 2px; border-radius: 4px; }
.hero :focus-visible, .site-footer :focus-visible { outline-color: var(--brand-gold-light); }

.wrap { width: min(100% - 2.5rem, 1160px); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, 6.5rem); }
.section > .wrap { position: relative; z-index: 1; }
.section__head { max-width: 42rem; margin-block-end: 3rem; }
.section__head p { margin-block-start: .75rem; color: var(--text-muted); font-size: 1.15rem; }

.skip-link {
  position: absolute;
  inset-block-start: -100px;
  inset-inline-start: 1rem;
  z-index: 100;
  padding: .75rem 1.25rem;
  background: var(--brand-primary);
  color: #fff;
  border-radius: var(--radius-sm);
}
.skip-link:focus { inset-block-start: .5rem; }

/* The gold thread drawn by main.js through the whole home page */
.thread { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.thread path { fill: none; stroke: var(--brand-gold); stroke-width: 2.5; stroke-linecap: round; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  padding: .6rem 1.9rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease;
}
.btn--gold { background: var(--brand-gold); color: #1a1a1a; }
.btn--gold:hover { background: var(--brand-gold-light); box-shadow: var(--shadow-hover); }
.btn--ghost { border-color: #fff; color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); }
.btn--primary { background: var(--brand-primary); color: #fff; }
.btn--primary:hover { background: var(--brand-primary-dark); }

/* Header */
.site-header { position: sticky; inset-block-start: 0; z-index: 50; background: var(--page-bg); border-block-end: 1px solid var(--hairline); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-height); }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.logo__text { font-weight: 900; font-size: 1.3rem; letter-spacing: .04em; color: var(--brand-primary); }
.logo--light .logo__text { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav__list { display: flex; align-items: center; gap: .25rem; }
.site-nav__list a {
  display: block;
  padding: .5rem .7rem;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}
.site-nav__list a:hover { color: var(--brand-primary); text-decoration: underline; text-decoration-color: var(--brand-gold); text-decoration-thickness: 2px; }
.site-nav__list a[aria-current='page'] { color: var(--brand-primary); font-weight: 700; text-decoration: underline; }
.site-nav__cta { min-height: 44px; padding-block: .4rem; white-space: nowrap; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding: .4rem 1rem;
  background: none;
  border: 1px solid var(--field-border);
  border-radius: 999px;
  color: var(--brand-primary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ''; position: absolute; inset-inline-start: 0; }
.nav-toggle__bars::before { inset-block-start: -6px; }
.nav-toggle__bars::after { inset-block-start: 6px; }

.site-nav__list a, .site-nav__cta { white-space: nowrap; }

/* The menu collapses before its items would have to wrap */
@media (max-width: 1239px) {
  .js .nav-toggle:not([hidden]) { display: inline-flex; }
  .site-header__inner { flex-wrap: wrap; }
  .site-nav { flex-direction: column; align-items: stretch; width: 100%; gap: .75rem; padding-block-end: 1rem; }
  .js .site-nav:not(.is-open) { display: none; }
  .site-nav__list { flex-direction: column; align-items: stretch; }
  .site-nav__list a { padding: .7rem .5rem; min-height: 44px; }
}
/* Enlarged text from the accessibility menu: the full menu no longer fits on one line, so it folds
   behind the "תפריט" button at every width (media queries can't see the larger root font size) */
html[class*="a11y-text-"].js .nav-toggle:not([hidden]) { display: inline-flex; }
html[class*="a11y-text-"] .site-header__inner { flex-wrap: wrap; }
html[class*="a11y-text-"] .site-nav { flex-direction: column; align-items: stretch; width: 100%; gap: .75rem; padding-block-end: 1rem; }
html[class*="a11y-text-"].js .site-nav:not(.is-open) { display: none; }
html[class*="a11y-text-"] .site-nav__list { flex-direction: column; align-items: stretch; }
html[class*="a11y-text-"] .site-nav__list a { padding: .7rem .5rem; min-height: 44px; }

/* Curved edges: a page-coloured or navy shape stretched across the band */
.curve { position: absolute; inset-inline: 0; width: 100%; height: clamp(40px, 8vw, 110px); pointer-events: none; }
.curve path { fill: var(--page-bg); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--brand-primary); color: #fff; }
.hero__inner { position: relative; padding-block: clamp(3.5rem, 10vw, 7rem) clamp(6rem, 15vw, 11rem); }
.hero h1 { color: #fff; font-size: clamp(2.25rem, 6.5vw, 4.25rem); font-weight: 900; line-height: 1.12; max-width: 17ch; }
.hero__sub { margin-block-start: 1.75rem; max-width: 34rem; font-size: clamp(1.15rem, 2.6vw, 1.4rem); line-height: 1.55; color: var(--on-dark-muted); }
.hero__sub strong { color: #fff; font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-block-start: 2.25rem; }
.hero__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__lines path { fill: none; stroke: #93c5fd; stroke-width: 1.5; }
.hero__lines .hero__line-gold { stroke: var(--brand-gold-light); stroke-width: 3; stroke-opacity: 1; }
.hero .curve { inset-block-end: -2px; }
/* Covers the seam left by the hero's fractional height */
.hero + .section { position: relative; margin-block-start: -2px; background: var(--page-bg); }
.scribble { position: relative; display: inline-block; }
.scribble svg { position: absolute; inset-inline: 0; inset-block-end: -.14em; width: 100%; height: .24em; overflow: visible; }
.scribble path { fill: none; stroke: var(--brand-gold-light); stroke-width: 5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
@media (max-width: 759px) {
  .hero__lines { opacity: .45; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* About */
.about { display: grid; gap: 3rem; align-items: center; }
.about__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  width: min(65%, 240px);
  margin-inline: auto;
}
.about__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px 999px 0 0;
}
.about__photo::after {
  content: '';
  position: absolute;
  /* The arch sits around the photo, the same distance from it on both sides */
  inset: -12px -12px 0;
  border: 2px solid var(--line);
  border-block-end: 0;
  border-radius: 999px 999px 0 0;
  pointer-events: none;
}
.about__role { margin-block-start: .5rem; color: var(--brand-primary); font-size: 1.25rem; font-weight: 600; }
.about__lead { margin-block-start: 1rem; font-size: 1.15rem; }
.about__facts { margin-block-start: 1.75rem; }
.about__facts li { padding-block: 1rem; border-block-start: 1px solid var(--hairline); }
.about__facts strong { display: block; color: var(--brand-primary); font-size: 1.2rem; }
.about__facts span { color: var(--text-muted); }
@media (min-width: 860px) {
  .about { grid-template-columns: 340px 1fr; gap: 5rem; }
  .about__photo { width: 100%; }
}

/* Domains: ruled rows instead of boxes */
.domains { border-block-start: 2px solid var(--line); }
.domain {
  position: relative;
  display: grid;
  gap: .6rem;
  padding-block: 1.75rem;
  border-block-end: 2px solid var(--line);
  transition: border-color .25s ease, padding-inline-start .25s ease;
}
.domain h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
.domain p { color: var(--text-muted); }
.domain__link { font-weight: 700; white-space: nowrap; }
.domain__link::after { content: ' ←' / ''; }
.domain__link::before { content: ''; position: absolute; inset: 0; }
.domain:hover { border-block-end-color: var(--brand-gold); padding-inline-start: .75rem; }
@media (min-width: 860px) {
  .domain { grid-template-columns: 1.2fr 2fr auto; align-items: center; gap: 2.5rem; padding-block: 2.25rem; }
}
.more-links { display: grid; gap: .5rem; margin-block-start: 1.75rem; }

/* Steps: nodes on a wave on wide screens, on a vertical line otherwise */
.steps-wrap { position: relative; }
.steps__wave { display: none; }
.steps li { position: relative; padding-inline-start: 72px; padding-block-end: 2.25rem; counter-increment: step; }
.steps { counter-reset: step; }
.steps li::before {
  content: counter(step);
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: var(--page-bg);
  border: 2px solid var(--line);
  border-radius: 50%;
  color: var(--brand-primary);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}
.steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  inset-block: 56px 0;
  inset-inline-start: 27px;
  border-inline-start: 2px solid var(--line);
}
.steps p { margin-block-start: .4rem; color: var(--text-muted); }
@media (min-width: 1000px) {
  .steps__wave { display: block; position: absolute; inset-block-start: 0; inset-inline: 0; width: 100%; height: 120px; }
  .steps__wave path { fill: none; stroke: var(--line); stroke-width: 2; vector-effect: non-scaling-stroke; }
  .steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
  .steps li { padding: 72px 1.25rem 0; text-align: center; }
  .steps li:nth-child(even) { margin-block-start: 60px; }
  .steps li::before { inset-block-start: 2px; inset-inline-start: calc(50% - 28px); }
  .steps li:not(:last-child)::after { content: none; }
}

/* Testimonials: staggered columns split by thin rules */
.quotes { display: grid; gap: 2.5rem; }
.quote { margin: 0; padding-block-start: 1.5rem; border-block-start: 1px solid var(--hairline); }
.quote blockquote { margin: 0; font-size: 1.1rem; }
.quote figcaption { display: flex; align-items: center; gap: .6rem; margin-block-start: 1.25rem; color: var(--brand-primary); font-weight: 700; }
.quote figcaption::before { content: ''; width: 32px; border-block-start: 3px solid var(--brand-gold); }
@media (min-width: 860px) {
  .quotes { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .quote { padding-block-start: 0; padding-inline: 2rem; border-block-start: 0; border-inline-start: 1px solid var(--hairline); }
  .quote:first-child { padding-inline-start: 0; border-inline-start: 0; }
  .quote:nth-child(2) { margin-block-start: 3.5rem; }
  .quote:nth-child(3) { margin-block-start: 7rem; padding-inline-end: 0; }
}

/* Contact: underlined fields, no boxes */
.contact { display: grid; gap: 3rem; }
@media (min-width: 900px) { .contact { grid-template-columns: 3fr 2fr; gap: 4rem; align-items: start; } }
.form { display: grid; gap: 1.35rem; }
@media (min-width: 640px) {
  .form { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
  .form .field--wide, .form .check, .form .form__submit, .form .form__status { grid-column: 1 / -1; }
}
.field label { display: block; font-weight: 600; }
.req { color: var(--text-muted); font-weight: 400; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 44px;
  padding: .4rem 0;
  background: transparent;
  border: 0;
  border-block-end: 2px solid var(--field-border);
  border-radius: 0;
  color: var(--text-primary);
  font: inherit;
}
.field input:hover, .field select:hover, .field textarea:hover { border-block-end-color: var(--brand-primary); }
.field textarea { min-height: 5.5rem; resize: vertical; }
.field input[dir='ltr'] { text-align: end; }
.field [aria-invalid='true'] { border-block-end-color: var(--danger); box-shadow: 0 1px 0 var(--danger); }
.check input[aria-invalid='true'] { outline: 2px solid var(--danger); outline-offset: 1px; }
.error { display: block; margin-block-start: .25rem; color: var(--danger); font-size: .95rem; font-weight: 600; }
.error:empty { display: none; }
.check label { display: flex; align-items: flex-start; gap: .6rem; min-height: 44px; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: .2rem 0 0; accent-color: var(--brand-primary); }
.form__submit { justify-self: start; }
.form__submit:disabled { opacity: .7; cursor: wait; }
.form__trap { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__thanks h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
.form__thanks h3:focus { outline: none; }
.form__thanks p { margin-block: .75rem 1.5rem; font-size: 1.15rem; }
.form__status { padding: .85rem 1rem; background: #fff7e6; border: 2px solid #92400e; border-radius: var(--radius-sm); color: #78350f; font-weight: 600; }
.form__status:empty { display: none; }

/* A single curved corner line frames the details */
.details {
  padding-block-start: 2rem;
  padding-inline-start: 2rem;
  border-block-start: 2px solid var(--line);
  border-inline-start: 2px solid var(--line);
  border-start-start-radius: 72px;
}
.details h3 { margin-block-end: 1rem; }
.details dl { display: grid; gap: .8rem; margin: 0; }
.details dt { color: var(--text-muted); font-size: .95rem; }
.details dd { margin: 0; font-weight: 600; }

/* Footer */
.site-footer { position: relative; padding-block: clamp(5rem, 12vw, 9rem) 5.5rem; background: var(--brand-primary-dark); color: var(--on-dark-muted); font-size: 1rem; }
.site-footer .curve { inset-block-start: -1px; }
.site-footer__services { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 2rem; margin-block-end: 2.5rem; padding-block-end: 2.5rem; border-block-end: 1px solid rgba(255, 255, 255, .25); }
.site-footer__services .site-footer__links a { text-decoration: none; }
.site-footer__services .site-footer__links a:hover { text-decoration: underline; }
.site-footer__grid { display: grid; gap: 2.25rem; }
@media (min-width: 860px) { .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer a { color: #fff; }
.site-footer__company { margin-block-start: .85rem; color: #fff; font-weight: 700; }
.site-footer__title { margin-block-end: .6rem; color: #fff; font-size: 1.05rem; font-weight: 700; }
.site-footer__links li { padding-block: .22rem; }
.site-footer__legal { margin-block-start: 2.25rem; padding-block-start: 1.25rem; border-block-start: 1px solid rgba(255, 255, 255, .25); font-size: .95rem; }

/* Domain pages */
.hero--page .hero__inner { padding-block: clamp(2.5rem, 7vw, 4.5rem) clamp(5rem, 12vw, 8.5rem); }
.hero--page h1 { font-size: clamp(2.25rem, 5.5vw, 3.5rem); }

.rows { border-block-start: 2px solid var(--line); }
.row { display: grid; gap: .5rem; padding-block: 1.5rem; border-block-end: 1px solid var(--hairline); }
.row h3 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
.row p { color: var(--text-muted); }
@media (min-width: 860px) {
  .row { grid-template-columns: 1fr 2fr; align-items: baseline; gap: 2.5rem; }
}

/* Products open with a + */
.products { border-block-start: 2px solid var(--line); }
.products details { border-block-end: 1px solid var(--hairline); scroll-margin-block-start: calc(var(--header-height) + 16px); }
.products summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; padding-block: 1rem; cursor: pointer; list-style: none; }
.products summary::-webkit-details-marker { display: none; }
.products summary::after { content: '+' / ''; flex: none; color: var(--brand-primary); font-size: 2rem; font-weight: 300; line-height: 1; }
.products details[open] summary::after { content: '−' / ''; }
.products summary:hover h3 { text-decoration: underline; text-decoration-color: var(--brand-gold); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.products h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
.products__body { max-width: 48rem; padding-block-end: 1.75rem; }
.row__label { margin-block: 1rem .35rem; color: var(--brand-primary); font-size: .95rem; font-weight: 700; }

/* Comparison tables */
.compare { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 1rem .9rem; text-align: start; vertical-align: top; }
.compare thead th { color: var(--brand-primary); font-size: 1.1rem; font-weight: 800; line-height: 1.3; border-block-end: 2px solid var(--line); }
.compare tbody th { color: var(--brand-primary); font-weight: 700; white-space: nowrap; }
.compare tbody tr { border-block-end: 1px solid var(--hairline); }
.compare td { color: var(--text-primary); }
.mark { display: inline-block; width: 1.4em; font-weight: 900; }
.mark--good { color: var(--whatsapp); }
.mark--mixed { color: #92400e; }
.mark--bad { color: var(--danger); }
.compare__note { margin-block-start: 1rem; color: var(--text-muted); font-size: .95rem; }
@media (max-width: 759px) {
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; }
  .compare thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .compare tbody tr { padding-block: 1rem; }
  .compare tbody th { padding: 0 0 .5rem; font-size: 1.2rem; white-space: normal; }
  .compare td { padding: .4rem 0; }
  .compare td::before { content: attr(data-label); display: block; color: var(--text-muted); font-size: .9rem; font-weight: 600; }
}

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.row__points li { position: relative; padding-block: .2rem; padding-inline-start: 1.5rem; color: var(--text-muted); }
.row__points li::before { content: ''; position: absolute; inset-block-start: .95em; inset-inline-start: 0; width: 14px; border-block-start: 2px solid var(--brand-gold); }

/* "Sounds familiar" lines: staggered, split by thin rules */
.says { display: grid; gap: 2rem; }
.says li { padding-block-start: 1.25rem; border-block-start: 1px solid var(--hairline); }
.says li p:last-child { color: var(--text-muted); }
.says__line { margin-block-end: .5rem; color: var(--brand-primary); font-size: clamp(1.15rem, 2vw, 1.3rem); font-weight: 700; line-height: 1.35; }
@media (min-width: 760px) {
  .says { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; }
  .says li:nth-child(even) { margin-block-start: 3rem; }
}
@media (min-width: 1080px) {
  .says { grid-template-columns: repeat(3, 1fr); }
  .says li:nth-child(even) { margin-block-start: 0; }
  .says li:nth-child(3n + 2) { margin-block-start: 3rem; }
  .says li:nth-child(3n) { margin-block-start: 6rem; }
}

/* Aman tiers and price table */
.tiers { display: grid; gap: 2rem; }
.tier { padding-block-start: 1.25rem; border-block-start: 2px solid var(--line); }
.tier h3 { font-size: clamp(1.35rem, 2.4vw, 1.6rem); }
.tier__scope { margin-block: .25rem .85rem; color: var(--text-muted); font-size: .95rem; }
.tier--popular { border-block-start-color: var(--brand-gold); border-block-start-width: 4px; }
.tier__badge { margin-block-end: .25rem; color: #92400e; font-size: .95rem; font-weight: 700; }
@media (min-width: 860px) { .tiers { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } }

.table-wrap { overflow-x: auto; }
.prices { width: 100%; min-width: 30rem; border-collapse: collapse; }
.prices caption { padding-block-end: .75rem; color: var(--text-muted); text-align: start; font-size: .95rem; }
.prices th, .prices td { padding: .9rem .75rem; text-align: start; border-block-end: 1px solid var(--hairline); }
.prices thead th { color: var(--brand-primary); font-weight: 700; line-height: 1.3; border-block-end: 2px solid var(--line); vertical-align: bottom; }
.prices tbody th { font-weight: 600; }
.prices td { font-size: 1.15rem; font-weight: 700; white-space: nowrap; }
@media (max-width: 559px) {
  .prices { min-width: 0; font-size: .9rem; }
  .prices th, .prices td { padding: .7rem .3rem; }
  .prices td { font-size: .9rem; }
}
.prices__note { margin-block-start: 1rem; color: var(--text-muted); font-size: .95rem; }

/* Returns comparison */
.returns__products { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.75rem; padding: 0; border: 0; }
.returns__products legend { margin-block-end: .6rem; padding: 0; color: var(--brand-primary); font-weight: 700; }
.returns__products label { position: relative; display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .4rem 1.1rem; border: 1.5px solid var(--line); border-radius: 999px; color: var(--brand-primary); font-weight: 600; cursor: pointer; }
.returns__products input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.returns__products label:has(input:checked) { background: var(--brand-primary); color: #fff; }
.returns__products label:has(input:focus-visible) { outline: 3px solid var(--brand-gold); outline-offset: 2px; }
.returns__filters { display: grid; gap: 1rem 2rem; align-items: end; margin-block-end: 1.25rem; }
@media (min-width: 860px) { .returns__filters { grid-template-columns: 2fr 1.5fr 1.5fr auto; } }
.returns__status { margin-block-end: .75rem; color: var(--text-muted); font-size: .95rem; }
.returns__table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.returns__table th, .returns__table td { padding: .85rem .6rem; text-align: start; vertical-align: top; border-block-end: 1px solid var(--hairline); }
.returns__table thead th { border-block-end: 2px solid var(--line); color: var(--brand-primary); font-size: .95rem; font-weight: 700; vertical-align: bottom; }
.returns__table thead button { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; padding: 0; background: none; border: 0; color: inherit; font: inherit; text-align: start; cursor: pointer; }
.returns__table thead button::after { content: '↕' / ''; color: var(--text-muted); font-size: .85em; }
.returns__table th[aria-sort='descending'] button::after { content: '↓' / ''; color: var(--brand-primary); }
.returns__table th[aria-sort='ascending'] button::after { content: '↑' / ''; color: var(--brand-primary); }
.returns__table tbody th { min-width: 14rem; font-weight: 700; }
.returns__name { display: block; color: var(--brand-primary); }
.returns__meta { display: block; margin-block-start: .2rem; color: var(--text-muted); font-size: .9rem; font-weight: 400; }
.returns__table td { white-space: nowrap; }
.returns__table td.is-negative { color: var(--danger); }
.returns__more { margin-block-start: 1.25rem; }
.returns__disclaimer { margin-block-start: 1.5rem; max-width: 52rem; color: var(--text-muted); font-size: .95rem; }
@media (max-width: 859px) {
  .returns__table, .returns__table tbody, .returns__table tr, .returns__table th, .returns__table td { display: block; }
  .returns__table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .returns__table tbody tr { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem 1rem; padding-block: 1rem; border-block-end: 1px solid var(--hairline); }
  .returns__table tbody th { grid-column: 1 / -1; min-width: 0; padding: 0; border: 0; }
  .returns__table td { padding: 0; border: 0; }
  .returns__table td::before { content: attr(data-label); display: block; color: var(--text-muted); font-size: .85rem; }
}

/* Returns: product tiles, product links and group tables */
.rtiles { display: grid; gap: 1rem; margin-block-start: 1.5rem; }
@media (min-width: 640px) { .rtiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .rtiles { grid-template-columns: repeat(3, 1fr); } .rtiles--four { grid-template-columns: repeat(4, 1fr); } }
.rtiles a { display: flex; flex-direction: column; gap: .3rem; min-height: 100%; padding: 1.25rem 1.25rem 1.25rem 0; border-block-start: 2px solid var(--line); color: var(--brand-primary); text-decoration: none; }
.rtiles a:hover .rtiles__label { text-decoration: underline; text-decoration-color: var(--brand-gold); text-decoration-thickness: 2px; }
.rtiles__label { font-size: 1.3rem; font-weight: 800; }
.rtiles__label::after { content: ' ←' / ''; }
.rtiles__meta { color: var(--text-muted); font-size: .95rem; }
.returns__lead { margin-block: .5rem 1.5rem; color: var(--text-muted); }
.returns__products--links a { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1.1rem; border: 1.5px solid var(--line); border-radius: 999px; color: var(--brand-primary); font-weight: 600; text-decoration: none; }
.returns__products--links a[aria-current='page'] { background: var(--brand-primary); color: #fff; }
.rsection__title { margin-block: 2.5rem 1rem; }
.rgroups { display: grid; gap: 2.5rem 2rem; }
@media (min-width: 900px) { .rgroups { grid-template-columns: repeat(2, 1fr); } }
.rgroup { min-width: 0; padding-block-start: 1rem; border-block-start: 2px solid var(--line); }
.rgroup :is(h2, h3) { font-size: 1.2rem; }
.rgroup__meta { margin-block: .2rem .6rem; color: var(--text-muted); font-size: .85rem; }
.rgroup__table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.rgroup__table th, .rgroup__table td { padding: .45rem .3rem; text-align: start; vertical-align: top; border-block-end: 1px solid var(--hairline); }
.rgroup__table thead th { color: var(--brand-primary); font-weight: 700; vertical-align: bottom; }
.rgroup__table thead button { display: inline-flex; align-items: center; gap: .2rem; min-height: 32px; padding: 0; background: none; border: 0; color: inherit; font: inherit; text-align: start; cursor: pointer; }
.rgroup__table thead button::after { content: '↕' / ''; color: var(--text-muted); font-size: .8em; }
.rgroup__table th[aria-sort='descending'] button::after { content: '↓' / ''; color: var(--brand-primary); }
.rgroup__table th[aria-sort='ascending'] button::after { content: '↑' / ''; color: var(--brand-primary); }
.rgroup__table tbody th { font-weight: 500; }
.rgroup__table td { white-space: nowrap; }
.rgroup__table td.is-negative { color: var(--danger); }
.rgroup__table tfoot th, .rgroup__table tfoot td { border-block-start: 2px solid var(--line); border-block-end: 0; color: var(--brand-primary); font-weight: 700; }
/* On phones the fund name takes its own line above the four figures */
@media (max-width: 559px) {
  .rgroup__table tr { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: .3rem; border-block-end: 1px solid var(--hairline); padding-block: .45rem; }
  .rgroup__table th, .rgroup__table td { display: block; padding: 0; border: 0; }
  .rgroup__table tbody th, .rgroup__table tfoot th { grid-column: 1 / -1; padding-block-end: .2rem; }
  .rgroup__table thead th:first-child { display: none; }
  .rgroup__table tfoot tr { border-block-start: 2px solid var(--line); border-block-end: 0; }
  .rgroup__table tfoot th, .rgroup__table tfoot td { border: 0; }
}
.rgroup__more { min-height: 44px; margin-block-start: .25rem; padding: 0; background: none; border: 0; color: var(--brand-primary); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.returns__full { margin-block-start: 2.5rem; font-weight: 700; }
.returns__source { margin-block: 1.25rem 1.5rem; padding-inline-start: 1rem; max-width: 52rem; border-inline-start: 3px solid var(--brand-gold); color: var(--text-primary); }
.returns__source strong { color: var(--brand-primary); }

/* Calculators */
.calc { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.calc__form { display: grid; gap: 1.35rem; }
.calc__form h2, .calc__result h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); }
.calc__form .btn { justify-self: start; }
.calc__hint { margin-block-start: .3rem; color: var(--text-muted); font-size: .9rem; }
.calc__filing { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; border: 0; }
.calc__filing legend { margin-block-end: .5rem; padding: 0; font-weight: 600; }
.calc__filing label { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1.1rem; border: 1.5px solid var(--line); border-radius: 999px; color: var(--brand-primary); font-weight: 600; cursor: pointer; }
.calc__filing input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.calc__filing label:has(input:checked) { background: var(--brand-primary); color: #fff; }
.calc__filing label:has(input:focus-visible) { outline: 3px solid var(--brand-gold); outline-offset: 2px; }
.calc__person { display: grid; gap: 1.35rem; margin: 0; padding: 0; border: 0; }
.calc__person legend { margin-block-end: .25rem; padding: 0; color: var(--brand-primary); font-size: 1.2rem; font-weight: 800; }
.calc__person + .calc__person { padding-block-start: 1.5rem; border-block-start: 2px solid var(--line); }
.calc__employer { display: grid; gap: 1.35rem; }
.calc__employer + .calc__employer:not([hidden]) { padding-block-start: 1.1rem; border-block-start: 1px dashed var(--line); }
.calc__employer-title { margin: 0; color: var(--brand-primary); font-weight: 700; }
.calc__hint a { color: var(--brand-primary); font-weight: 600; }
.calc__notice { margin: 0; padding-inline-start: 1rem; border-inline-start: 3px solid var(--brand-gold); color: var(--text-primary); }
.calc__notice strong { color: var(--brand-primary); }
.calc__check { display: flex; align-items: center; gap: .65rem; min-height: 44px; cursor: pointer; }
.calc__check input { flex: none; width: 1.3rem; height: 1.3rem; margin: 0; accent-color: var(--brand-primary); }
.calc__links li { padding-block: .35rem; }
.calc__result {
  padding-block-start: 2rem;
  padding-inline-start: clamp(1.25rem, 4vw, 2rem);
  border-block-start: 2px solid var(--line);
  border-inline-start: 2px solid var(--line);
  border-start-start-radius: 72px;
}
.calc__result h2:focus { outline: none; }
.calc__figures { display: grid; gap: .85rem; margin: 1.25rem 0; }
.calc__figures div { padding-block-end: .75rem; border-block-end: 1px solid var(--hairline); }
.calc__figures dt { color: var(--text-muted); font-size: .95rem; }
.calc__figures dd { margin: .15rem 0 0; color: var(--brand-primary); font-size: 1.35rem; font-weight: 800; }
.calc__highlight dd { color: var(--whatsapp); font-size: 1.75rem; }
.calc__notes-intro { margin-block-start: 1rem; font-weight: 600; }
.calc__notes li { position: relative; padding-block: .25rem; padding-inline-start: 1.5rem; color: var(--text-muted); }
.calc__notes li::before { content: ''; position: absolute; inset-block-start: .95em; inset-inline-start: 0; width: 14px; border-block-start: 2px solid var(--brand-gold); }

.btn--outline { border-color: var(--brand-primary); color: var(--brand-primary); }
.btn--outline:hover { background: var(--brand-primary); color: #fff; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .85rem; }

.stat { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; margin-block-end: 2.5rem; color: var(--text-primary); font-size: 1.2rem; font-weight: 600; }
.stat strong { color: var(--brand-primary); font-size: clamp(2.5rem, 6vw, 3.75rem); font-weight: 900; line-height: 1; }

.split { display: grid; gap: 2rem; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 2fr; gap: 2.5rem; align-items: start; } }
.lined-list li { padding-block: 1rem; border-block-start: 1px solid var(--hairline); font-size: 1.15rem; }
.lined-list li:first-child { border-block-start: 2px solid var(--line); }

.faq { border-block-start: 2px solid var(--line); }
.faq details { border-block-end: 1px solid var(--hairline); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 56px; padding-block: .85rem; color: var(--brand-primary); font-size: 1.15rem; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+' / ''; flex: none; color: var(--brand-primary); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: '−' / ''; }
.faq details p { padding-block-end: 1.25rem; color: var(--text-muted); }

.cta {
  padding-block-start: 2.5rem;
  padding-inline-start: 2.5rem;
  border-block-start: 2px solid var(--line);
  border-inline-start: 2px solid var(--line);
  border-start-start-radius: 72px;
}
.cta p { margin-block: .75rem 1.75rem; max-width: 36rem; color: var(--text-muted); font-size: 1.15rem; }

/* Quiz */
.hero__quiz { margin-block-start: 1.25rem; }
.hero__quiz a { color: #fff; font-weight: 600; text-decoration-color: var(--brand-gold-light); text-decoration-thickness: 2px; }
.quiz {
  padding-block-start: 2.5rem;
  padding-inline-start: clamp(1.25rem, 4vw, 2.5rem);
  border-block-start: 2px solid var(--line);
  border-inline-start: 2px solid var(--line);
  border-start-start-radius: 72px;
}
.quiz__intro { margin-block: .75rem 1.75rem; max-width: 38rem; color: var(--text-muted); font-size: 1.15rem; }
.quiz__progress { margin-block-end: .5rem; color: var(--text-muted); font-size: .95rem; font-weight: 600; }
.quiz__step { margin: 0; padding: 0; border: 0; max-width: 40rem; }
.quiz__step[hidden] { display: none; }
.quiz__step legend { margin-block-end: .75rem; padding: 0; color: var(--brand-primary); font-size: clamp(1.2rem, 2.5vw, 1.5rem); font-weight: 800; line-height: 1.25; }
.quiz__step legend:focus { outline: none; }
.quiz__option { display: flex; align-items: center; gap: .75rem; min-height: 52px; padding-block: .6rem; border-block-end: 1px solid var(--hairline); cursor: pointer; }
.quiz__option:hover { border-block-end-color: var(--brand-primary); }
.quiz__option:has(input:checked) { border-block-end: 2px solid var(--brand-gold); font-weight: 700; }
.quiz__option input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--brand-primary); }
.quiz__nav { display: flex; flex-wrap: wrap; gap: .85rem; margin-block-start: 1.5rem; }
.quiz__result h3 { font-size: clamp(1.4rem, 3vw, 1.85rem); }
.quiz__result h3:focus { outline: none; }
.quiz__result p { margin-block-start: .5rem; max-width: 38rem; font-size: 1.1rem; }
.quiz__links { font-weight: 700; }
.quiz__cta { margin-block-start: 1.25rem; }
.quiz__note, .quiz__also { margin-block-start: 1rem; }
.quiz__restart { display: inline-flex; align-items: center; min-height: 44px; margin-block-start: .5rem; padding: 0; background: none; border: 0; color: var(--brand-primary); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.quiz__disclaimer { color: var(--text-muted); font-size: .95rem; }

/* Retirement checklist */
.checklist { padding-block: clamp(2rem, 5vw, 3rem); }
.checklist h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); }
.checklist__items li { border-block-end: 1px solid var(--hairline); }
.checklist__items li:first-child { border-block-start: 2px solid var(--line); }
.checklist__items label { display: flex; align-items: flex-start; gap: .75rem; min-height: 48px; padding-block: .75rem; cursor: pointer; }
.checklist__items input { flex: none; width: 22px; height: 22px; margin: .2rem 0 0; accent-color: var(--brand-primary); }
.checklist__items input:checked + span { color: var(--text-muted); text-decoration: line-through; }

@media print {
  .site-header, .site-footer, .wa-float, .thread, .hero__lines, .curve, .hero__actions, .skip-link, .section:has(.cta) { display: none !important; }
  .hero { background: none; color: #000; }
  .hero h1, .hero__sub { color: #000; }
  .hero__inner, .hero--page .hero__inner { padding-block: 0 1rem; }
  .section, .checklist { padding-block: .5rem; break-inside: avoid; }
}

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  inset-block-end: 1.1rem;
  inset-inline-end: 1.1rem;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:focus-visible { outline-offset: 3px; }

/* Accessibility menu: the button sits on the start side, opposite WhatsApp */
.a11y-trigger {
  position: fixed;
  inset-block-end: 1.1rem;
  inset-inline-start: 1.1rem;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  background: var(--brand-primary);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .28);
  cursor: pointer;
}
.a11y-trigger[hidden] { display: none; }
.a11y-trigger:focus-visible { outline: 3px solid var(--brand-gold); outline-offset: 3px; }
.a11y-panel {
  position: fixed;
  inset-block-end: calc(1.1rem + 64px);
  inset-inline-start: 1.1rem;
  z-index: 46;
  width: min(23rem, calc(100vw - 2.2rem));
  max-height: calc(100vh - 8rem);
  overflow-y: auto;
  padding: 1rem;
  background: #fff;
  color: #111827;
  border: 2px solid var(--brand-primary);
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
  font-size: 1rem;
}
.a11y-panel__head { display: flex; align-items: center; justify-content: space-between; margin-block-end: .75rem; }
.a11y-panel__head h2 { margin: 0; color: var(--brand-primary); font-size: 1.2rem; }
.a11y-close { min-width: 44px; min-height: 44px; background: none; border: 0; color: var(--brand-primary); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.a11y-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .15rem;
  min-height: 64px;
  padding: .5rem;
  background: #f3f6fb;
  color: #111827;
  border: 2px solid #c7d2e5;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.a11y-opt.is-on { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }
.a11y-opt__value { font-size: .85rem; font-weight: 400; }
.a11y-opt:focus-visible, .a11y-reset:focus-visible, .a11y-close:focus-visible { outline: 3px solid var(--brand-gold); outline-offset: 2px; }
.a11y-reset { width: 100%; min-height: 44px; margin-block-start: .75rem; background: #fff; color: var(--brand-primary); border: 2px solid var(--brand-primary); border-radius: 10px; font: inherit; font-weight: 700; cursor: pointer; }
.a11y-panel__foot { margin: .75rem 0 0; font-size: .9rem; }
.a11y-panel__foot a { color: var(--brand-primary); }
@media (max-width: 767px) {
  .a11y-trigger { inset-block-end: calc(64px + 1rem + env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; }
  .a11y-panel { inset-block-end: calc(64px + 4.5rem + env(safe-area-inset-bottom, 0px)); max-height: calc(100vh - 12rem); }
}

/* What each choice does. Everything is in rem, so the root font size scales the whole site. */
html.a11y-text-115 { font-size: 115%; }
html.a11y-text-130 { font-size: 130%; }
html.a11y-text-150 { font-size: 150%; }
html.a11y-lines-16 :is(p, li, dd, dt, label, summary, td, th, blockquote) { line-height: 1.6 !important; }
html.a11y-lines-20 :is(p, li, dd, dt, label, summary, td, th, blockquote) { line-height: 2 !important; }
html.a11y-links a { text-decoration: underline !important; text-decoration-thickness: 2px !important; outline: 2px solid currentColor; outline-offset: 2px; }
html.a11y-headings :is(h1, h2, h3, h4) { outline: 3px dashed var(--brand-gold); outline-offset: 4px; }
html.a11y-font, html.a11y-font * { font-family: Arial, 'Segoe UI', system-ui, sans-serif !important; letter-spacing: .02em; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l16 9-7 2 4 8-3 1-4-8-6 5z' fill='%23000' stroke='%23fff' stroke-width='1.2'/%3E%3C/svg%3E") 4 2, auto !important; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
/* High contrast: black background, white text, yellow links. The menu stays readable so it can be turned off. */
html.a11y-contrast-high body, html.a11y-contrast-high body *:not(svg):not(svg *) { background: #000 !important; color: #fff !important; border-color: #fff !important; box-shadow: none !important; text-shadow: none !important; }
html.a11y-contrast-high a, html.a11y-contrast-high a * { color: #ffeb3b !important; }
html.a11y-contrast-high :is(button, .btn, input, select, textarea) { border: 2px solid #fff !important; }
html.a11y-contrast-high .a11y-opt.is-on { background: #ffeb3b !important; color: #000 !important; }
html.a11y-contrast-high .a11y-opt.is-on * { color: #000 !important; }
/* Inverted colors and black and white are filters on the page's parts, not on <html>, so fixed bars stay in place.
   The menu and its button are left out, so the visitor can always read them to switch back. */
html.a11y-contrast-invert body { background: #000; }
html.a11y-contrast-invert body > :not(#a11y-panel):not(#a11y-trigger):not(#a11y-status) { filter: invert(1) hue-rotate(180deg); }
html.a11y-contrast-invert body > * img { filter: invert(1) hue-rotate(180deg); }
html.a11y-contrast-mono body > :not(#a11y-panel):not(#a11y-trigger):not(#a11y-status) { filter: grayscale(1); }
@media print {
  .a11y-trigger, .a11y-panel { display: none !important; }
  html[class*="a11y-"] body > * { filter: none !important; }
  html[class*="a11y-text-"] { font-size: 100% !important; }
}

/* Contact bar fixed to the bottom of the screen on phones, in place of the floating WhatsApp button */
.contact-bar { display: none; }
@media (max-width: 767px) {
  .wa-float { display: none; }
  body { padding-block-end: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .contact-bar {
    position: fixed;
    inset-inline: 0;
    inset-block-end: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-block-end: env(safe-area-inset-bottom, 0px);
    background: var(--brand-primary-dark);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, .2);
  }
  .contact-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .15rem;
    min-height: 64px;
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
  }
  .contact-bar a + a { border-inline-start: 1px solid rgba(255, 255, 255, .2); }
  .contact-bar__wa { background: var(--whatsapp); }
  .contact-bar__meet { background: var(--brand-gold); color: var(--brand-primary-dark) !important; }
  .contact-bar a:focus-visible { outline: 3px solid #fff; outline-offset: -4px; }
}
@media print { .contact-bar { display: none !important; } }

/* Flagged content still waiting for the owner or a later stage */
.placeholder { display: inline-block; margin-block: 1rem; padding: .6rem 1rem; background: #fff7e6; border: 2px dashed #92400e; border-radius: var(--radius-sm); color: #78350f; font-weight: 700; }

/* Long text: articles and the privacy, terms and accessibility pages */
.prose { max-width: 48rem; }
.prose h2 { margin-block: 2.5rem .75rem; padding-block-end: .5rem; border-block-end: 1px solid var(--hairline); font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
.prose h2:first-child { margin-block-start: 0; }
.prose p { margin-block-end: .75rem; }
.prose ul { margin-block-end: .75rem; padding-inline-start: 1.4rem; list-style: disc; }
.prose ul li { padding-block: .15rem; }
.legal__contact { display: grid; gap: .8rem; margin: 0; }
.legal__contact dt { color: var(--text-muted); font-size: .95rem; }
.legal__contact dd { margin: 0; font-weight: 600; }
.article__cta { margin-block-start: 2.5rem; }
.article__cta h2 { margin-block-start: 0; padding-block-end: 0; border-block-end: 0; }
.newsletter__lead { font-size: 1.15rem; }
.newsletter__group { padding-block-start: 1.25rem; color: var(--brand-primary); font-weight: 800; }
.article__related { margin-block-start: 2.5rem; padding-inline-start: 1rem; border-inline-start: 3px solid var(--brand-gold); }
.article__related h2 { margin-block-start: 0; font-size: 1.25rem; }
.article__related ul { margin: .5rem 0 0; padding: 0; list-style: none; }
.article__related li { padding-block: .35rem; }
.article__related a { color: var(--brand-primary); font-weight: 600; }
.article__back { margin-block-start: 1.5rem; font-weight: 700; }
.domain__title { font-size: clamp(1.3rem, 2.6vw, 1.75rem); font-weight: 800; }
.legal__updated { margin-block-start: 2.5rem; color: var(--text-muted); font-size: .95rem; }

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

/* Article search, breadcrumbs and byline */
.section--tight { padding-block: 2rem 0; }
.afind { display: grid; gap: .4rem; max-width: 36rem; }
.afind label { color: var(--brand-primary); font-weight: 700; }
.afind input { min-height: 52px; padding: .6rem 1rem; background: #fff; border: 2px solid var(--line); border-radius: 999px; font: inherit; }
.afind input:focus-visible { border-color: var(--brand-primary); outline: 3px solid var(--brand-gold); outline-offset: 2px; }
.afind__count { margin: 0; color: var(--text-muted); font-size: .95rem; }
.afind__topics { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.afind__topics a { display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; padding: .35rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; color: var(--brand-primary); font-weight: 600; text-decoration: none; }
.afind__topics a:hover { background: var(--brand-primary); color: #fff; }
.afind__topics span { font-weight: 400; }
.afind__none { margin-block-start: 1.5rem; font-weight: 600; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.25rem; padding: 0; list-style: none; color: var(--text-muted); font-size: .95rem; }
.crumbs li + li::before { content: '›'; margin-inline-end: .4rem; }
.crumbs a { color: var(--brand-primary); }
.byline { display: flex; align-items: center; gap: .85rem; margin-block-end: 2rem; padding-block-end: 1.25rem; border-block-end: 1px solid var(--hairline); color: var(--text-muted); font-size: .95rem; line-height: 1.5; }
.byline img { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: top; }
.byline strong { color: var(--brand-primary); }
.more-all { margin-block-start: 1.5rem; font-weight: 700; }
.more-all a { color: var(--brand-primary); }

/* Page not found */
.notfound { padding-block: clamp(3rem, 8vw, 6rem); text-align: center; }
.notfound__code { margin: 0; color: var(--brand-gold); font-size: clamp(4rem, 14vw, 8rem); font-weight: 900; line-height: 1; }
.notfound h1 { color: var(--brand-primary); }
.notfound__links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; margin: 1.5rem 0 2rem; padding: 0; list-style: none; font-weight: 700; }
.notfound__links a { color: var(--brand-primary); }

/* Tables inside articles: short, two to four columns, so they fit a phone without scrolling */
.ptable { width: 100%; margin-block: 1rem 1.25rem; border-collapse: collapse; font-size: 1rem; }
.ptable caption { margin-block-end: .5rem; color: var(--text-muted); font-size: .95rem; text-align: start; }
.ptable th, .ptable td { padding: .6rem .5rem; border-block-end: 1px solid var(--hairline); text-align: start; }
.ptable thead th { border-block-end: 2px solid var(--brand-primary); color: var(--brand-primary); font-weight: 700; }
.ptable tbody tr:last-child td { border-block-end: 0; }
@media (max-width: 480px) { .ptable { font-size: .92rem; } .ptable th, .ptable td { padding: .5rem .3rem; } }
