/* FiscFort — Brand tokens */
:root {
  --navy: #0B1528;
  --teal: #0F766E;
  --slate: #475569;
  --white: #FFFFFF;
  --bg-soft: #F7F9FA;
  --border: #E2E8F0;
  --radius: 8px;
  --max-width: 1180px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: 2.75rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.15rem; }
p { color: var(--slate); margin: 0 0 1em; max-width: 65ch; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: #0d5f58; }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--navy); }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 100;
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand { display: flex; align-items: center; gap: 0.5rem; color: var(--navy); }
.brand-mark { height: 32px; width: auto; }
.brand-word { font-weight: 800; font-size: 1.15rem; }

.navbar { flex: 1; }
.nav-list { display: flex; gap: 1.75rem; align-items: center; }
.nav-list > li > a { color: var(--navy); font-weight: 500; font-size: 0.95rem; }
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 220px;
  padding: 0.5rem;
  box-shadow: 0 8px 24px rgba(11,21,40,0.08);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }
.dropdown li a { display: block; padding: 0.5rem 0.75rem; border-radius: 6px; font-size: 0.9rem; }
.dropdown li a:hover { background: var(--bg-soft); text-decoration: none; }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.lang-switch { position: relative; }
.lang-current {
  background: none; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0.5rem 0.9rem; font-size: 0.9rem; cursor: pointer; color: var(--navy);
}
.lang-switch { padding-bottom: 0.6rem; margin-bottom: -0.6rem; }
.lang-dropdown {
  display: none; position: absolute; top: 100%; right: 0; margin-top: 0;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  min-width: 140px; box-shadow: 0 8px 24px rgba(11,21,40,0.08); padding: 0.4rem;
}
.lang-switch:hover .lang-dropdown, .lang-switch:focus-within .lang-dropdown { display: block; }
.lang-dropdown li a { display: block; padding: 0.4rem 0.6rem; border-radius: 6px; font-size: 0.85rem; color: var(--navy); }
.lang-dropdown li a:hover { background: var(--bg-soft); text-decoration: none; }

.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; }

/* Hero */
.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  text-align: left;
}
.hero-inner { padding-bottom: 2rem; }
.eyebrow { color: var(--teal); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.75rem; }
.hero-sub { font-size: 1.15rem; max-width: 55ch; }
.hero-ctas { display: flex; gap: 1rem; margin-top: 1.5rem; }

/* Sections */
.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--border);
}

.pill-row { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.pill {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border);
}
.pill-live { background: #ECFDF5; color: #047857; border-color: #A7F3D0; }
.pill-dev { background: #FFFBEB; color: #B45309; border-color: #FDE68A; }
.pill-pipeline { background: var(--bg-soft); color: var(--slate); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--white);
}
.card-audience { color: var(--teal); font-size: 0.9rem; font-weight: 600; }
.card-link { font-weight: 600; font-size: 0.9rem; }
.media-placeholder { min-height: 220px; background: var(--bg-soft); }

/* Forms */
form { display: flex; flex-direction: column; gap: 1rem; max-width: 480px; }
label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.9rem; color: var(--navy); font-weight: 500; }
input, textarea {
  font-family: var(--font);
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
}
textarea { min-height: 120px; resize: vertical; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); margin-top: 3rem; }
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.footer-mark { height: 28px; width: auto; }
.footer-word { font-weight: 800; }
.footer-tagline, .footer-belongs { font-size: 0.85rem; color: var(--slate); margin: 0; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--slate); margin-bottom: 0.75rem; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: var(--navy); font-size: 0.9rem; }
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem 2rem;
  font-size: 0.8rem;
  color: var(--slate);
  border-top: 1px solid var(--border);
}

/* AI sales agent widget */
.ai-agent-widget { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 200; }
.ai-agent-bubble {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--teal); color: var(--white); border: none;
  font-size: 1.4rem; cursor: pointer;
  box-shadow: 0 8px 24px rgba(11,21,40,0.2);
}

/* Check lists */
.check-list { display: flex; flex-direction: column; gap: 0.6rem; margin: 0; }
.check-list li { font-size: 0.9rem; color: var(--slate); padding-left: 1.4rem; position: relative; }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700;
}

/* Pricing */
.pricing-card { text-align: left; }
.pricing-card .price { font-size: 2rem; font-weight: 800; color: var(--teal); margin: 0.25rem 0; }
.pricing-shared { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.pricing-shared-label { font-weight: 600; color: var(--navy); margin-bottom: 0.75rem; }
.pricing-shared-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem 2rem; }
.pricing-note { font-size: 0.85rem; color: var(--slate); margin-top: 1rem; }

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.faq-item summary { font-weight: 600; cursor: pointer; color: var(--navy); }
.faq-item p { margin-top: 0.75rem; }

/* Security cards */
.security-card { text-align: center; }
.security-card h3 { font-size: 0.95rem; }
.security-card p { font-size: 0.8rem; margin: 0; }

/* CTA final band */
.cta-final { text-align: center; background: var(--bg-soft); }
.cta-final .hero-ctas { justify-content: center; }

/* About / fact cards */
.fact-card { text-align: center; }
.fact-value { font-size: 1.6rem; font-weight: 800; color: var(--teal); margin: 0; }
.fact-label { font-size: 0.85rem; color: var(--slate); margin: 0.25rem 0 0; }
.about-links { margin-top: 2rem; }
.about-links h3 { font-size: 1rem; margin-bottom: 0.75rem; }

/* Calculator */
.calc-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.calc-box label { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.9rem; color: var(--navy); font-weight: 500; }
.calc-box input[type="range"] { width: 100%; accent-color: var(--teal); }
.calc-box span[data-calc-display] { font-weight: 700; color: var(--teal); }
.calc-results { display: flex; gap: 1.5rem; margin-top: 0.5rem; }
.calc-result { flex: 1; text-align: center; background: var(--bg-soft); border-radius: var(--radius); padding: 1rem; }
.calc-value { font-size: 1.8rem; font-weight: 800; color: var(--teal); margin: 0; }
.calc-label { font-size: 0.8rem; color: var(--slate); margin: 0.25rem 0 0; }

/* Linkable cards (industry/country index) */
.card-link-card { display: block; text-decoration: none; color: inherit; transition: border-color 0.2s ease; }
.card-link-card:hover { border-color: var(--teal); text-decoration: none; }
.card-link-card .pill { margin: 0.5rem 0; }
.card-link-block {
  display: block; padding: 1rem; border: 1px solid var(--border); border-radius: var(--radius);
  font-weight: 600; font-size: 0.9rem; text-decoration: none; color: var(--navy);
}
.card-link-block:hover { border-color: var(--teal); text-decoration: none; color: var(--teal); }

/* Filings table (country detail) */
.filings-table { display: flex; flex-direction: column; gap: 1.25rem; }
.filing-row { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; }
.filing-row .filing-name { display: flex; align-items: baseline; gap: 0.75rem; margin-bottom: 0.5rem; }
.filing-row .filing-name h3 { margin: 0; }
.filing-freq { font-size: 0.8rem; color: var(--teal); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.filing-row p { margin: 0; }

/* Product preview */
.product-preview .btn { margin-top: 1rem; }

.report-card h3 { font-size: 1rem; }
.report-card p { font-size: 0.85rem; margin: 0; }

/* Responsive */
@media (max-width: 900px) {
  .navbar, .header-actions .lang-switch { display: none; }
  .nav-toggle { display: block; margin-left: auto; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2rem; }
}

/* Product pages: pricing sits right under the hero, keep it high on the page */
.hero-product { padding: 2.5rem 1.5rem 2rem; }
.section.pricing { padding-top: 2rem; }

/* Demo page image carousel */
.carousel { display: flex; align-items: center; justify-content: center; gap: 1rem; max-width: 640px; margin: 0 auto; outline: none; }
.carousel:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.carousel-stage { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.carousel-slide { display: none; max-width: 100%; height: auto; max-height: 70vh; width: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
.carousel-slide.is-active { display: block; }
.carousel-btn { flex: 0 0 auto; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--border); background: var(--white); color: var(--navy); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.carousel-btn:hover { border-color: var(--teal); color: var(--teal); }
.carousel-counter { text-align: center; color: var(--slate); font-size: 0.9rem; margin-top: 1rem; }

/* Demo page: form on the left, images on the right (stacked on mobile) */
.demo-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.demo-layout .demo-form form { max-width: 480px; }
@media (max-width: 900px) {
  .demo-layout { grid-template-columns: 1fr; gap: 2rem; }
}

/* Header: email + Portal button before the language switch */
.header-email { color: var(--navy); font-size: 0.9rem; font-weight: 500; white-space: nowrap; }
.header-email:hover { color: var(--teal); text-decoration: none; }
@media (max-width: 1100px) { .header-email { display: none; } }

/* Contact page: form on the left, company details on the right (stacked on mobile) */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.contact-layout .contact-form form { max-width: 480px; }
.contact-details address { font-style: normal; line-height: 1.8; color: var(--slate); }
.contact-details address strong { color: var(--navy); font-size: 1.1rem; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; gap: 2rem; } }

/* Header: wider container, one nowrap size for all header buttons */
.site-header .header-inner { max-width: 1400px; }
.nav-list { gap: 1.4rem; }
.nav-list > li > a { white-space: nowrap; }
.header-actions { gap: 0.75rem; }
.header-actions .btn, .header-actions .lang-current {
  box-sizing: border-box; height: 2.5rem; display: inline-flex; align-items: center; justify-content: center;
  padding: 0 1rem; font-size: 0.9rem; line-height: 1; white-space: nowrap;
}
@media (max-width: 1200px) { .header-email { display: none; } }

/* Resources: article pages */
.article-body { max-width: 820px; margin: 0 auto; }
.article-back { font-size: 0.9rem; margin-bottom: 0.5rem; }
.article-meta { color: var(--slate); font-size: 0.9rem; margin-bottom: 2rem; }
.article-body p { color: var(--navy); line-height: 1.8; margin-bottom: 1.25rem; }
.article-body h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.article-body h3 { margin-top: 1.75rem; margin-bottom: 0.75rem; }
.article-body ul { color: var(--navy); line-height: 1.9; padding-left: 1.25rem; margin-bottom: 1.25rem; list-style: disc; }
.result-callout { background: #ECFDF5; border: 1px solid #A7F3D0; border-radius: var(--radius); padding: 1.25rem 1.5rem; margin: 1.5rem 0; color: #065F46; font-weight: 600; }
.source-note { background: var(--bg-soft); border-left: 3px solid var(--teal); padding: 1rem 1.25rem; margin: 1.5rem 0; color: var(--slate); font-size: 0.92rem; border-radius: 0 8px 8px 0; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin: 2rem 0; }
.stat-box { border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; text-align: center; background: var(--white); }
.stat-box .stat-num { font-size: 1.8rem; font-weight: 800; color: var(--teal); }
.stat-box .stat-label { font-size: 0.82rem; color: var(--slate); margin-top: 4px; }
.flow-step { display: flex; gap: 16px; align-items: flex-start; padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.flow-step:last-of-type { border-bottom: none; }
.flow-step .flow-num { background: var(--teal); color: var(--white); width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.flow-step .flow-text h4 { color: var(--navy); font-size: 1.02rem; font-weight: 700; margin-bottom: 4px; }
.flow-step .flow-text p { margin-bottom: 0; font-size: 0.95rem; }
.compare-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.compare-table th, .compare-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare-table th { background: var(--bg-soft); color: var(--navy); font-weight: 700; }

/* Home page: 3-image carousel (large centre image, smaller side images) */
.carousel3 { display: flex; align-items: center; gap: 1rem; max-width: 1040px; margin: 1.5rem auto 0; outline: none; }
.carousel3:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.carousel3-stage { position: relative; flex: 1 1 auto; min-width: 0; height: clamp(340px, 58vw, 540px); overflow: hidden; }
.c3-slide {
  position: absolute; top: 50%; left: 50%; height: 100%; width: auto; max-width: none;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--white);
  transform: translate(-50%, -50%) scale(0.6); opacity: 0; pointer-events: none; z-index: 1;
  transition: transform 0.45s ease, opacity 0.45s ease;
}
.c3-slide.is-active { transform: translate(-50%, -50%) scale(1); opacity: 1; z-index: 3; pointer-events: auto; box-shadow: 0 8px 28px rgba(14, 26, 45, 0.18); }
.c3-slide.is-prev { transform: translate(calc(-50% - 100%), -50%) scale(0.72); opacity: 0.6; z-index: 2; pointer-events: auto; cursor: pointer; }
.c3-slide.is-next { transform: translate(calc(-50% + 100%), -50%) scale(0.72); opacity: 0.6; z-index: 2; pointer-events: auto; cursor: pointer; }
.c3-slide.is-prev:hover, .c3-slide.is-next:hover { opacity: 0.85; }
@media (max-width: 600px) {
  .carousel3 { gap: 0.4rem; }
  .carousel3 .carousel-btn { width: 2.25rem; height: 2.25rem; font-size: 1.4rem; }
}

/* Photo components: framed image, navy page hero, split sections, media cards */
.frame { position: relative; margin: 0 18px 18px 0; }
.frame::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--teal); border-radius: 20px; z-index: 0; }
.frame img { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; box-shadow: 0 18px 40px rgba(11, 21, 40, 0.22); }
.frame--wide img { aspect-ratio: 3 / 2; }
.frame__badge { position: absolute; z-index: 2; left: -16px; bottom: 34px; display: flex; align-items: center; gap: 0.6rem; max-width: 80%;
  background: var(--white); color: var(--navy); border-radius: 12px; padding: 0.65rem 1rem; font-size: 0.85rem; font-weight: 700; line-height: 1.3; box-shadow: 0 10px 30px rgba(11, 21, 40, 0.25); }
.frame__badge::before { content: ""; flex: 0 0 auto; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.18); }

.hero--split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 3.5rem; align-items: center; }

.page-hero { background: var(--navy); color: var(--white); }
.page-hero__inner { max-width: var(--max-width); margin: 0 auto; padding: 3.5rem 1.5rem 4rem; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3.5rem; align-items: center; }
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.page-hero .hero-sub, .page-hero p { color: #CBD5E1; }
.page-hero .eyebrow { color: #5EEAD4; }
.page-hero .frame::before { border-color: #2DD4BF; }

.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 3.5rem; align-items: center; }
.split--reverse { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.split--reverse .frame { order: -1; margin: 0 0 18px 18px; }
.split--reverse .frame::before { inset: 18px 18px -18px -18px; }
.split--reverse .frame__badge { left: auto; right: -16px; }

.card--media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--media .card__img { overflow: hidden; }
.card--media .card__img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.4s ease; }
.card--media:hover .card__img img { transform: scale(1.04); }
.card--media .card__body { padding: 1.25rem 1.5rem 1.5rem; }

@media (max-width: 900px) {
  .hero--split, .page-hero__inner, .split, .split--reverse { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--reverse .frame { order: 0; margin: 0 18px 18px 0; }
  .split--reverse .frame::before { inset: 18px -18px -18px 18px; }
  .split--reverse .frame__badge { left: -16px; right: auto; }
  .frame { max-width: 560px; }
  .page-hero__inner { padding: 2.5rem 1.5rem 3rem; }
}

/* ===== Mobile repair: working menu, header that fits, tables that scroll, readable spacing ===== */
.nav-extras { display: none; }
@media (max-width: 900px) {
  .site-header .header-inner { gap: 0.6rem; padding: 0.7rem 1rem; }
  .brand-word { font-size: 1.05rem; }
  .header-actions { margin-left: auto; gap: 0.5rem; }
  .header-actions .btn-primary { display: none; }
  .header-actions .btn { height: 2.4rem; padding: 0 0.85rem; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; margin-left: 0; width: 2.4rem; height: 2.4rem; padding: 0;
    font-size: 1.4rem; line-height: 1; color: var(--navy); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
  .site-header .navbar.nav-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--white);
    border-bottom: 1px solid var(--border); box-shadow: 0 14px 28px rgba(11, 21, 40, 0.10); padding: 0.5rem 1.25rem 1.25rem;
    max-height: calc(100vh - 64px); overflow-y: auto; }
  .navbar.nav-open .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .navbar.nav-open .nav-list > li > a { display: block; padding: 0.8rem 0; font-size: 1rem; border-bottom: 1px solid var(--border); }
  .navbar.nav-open .has-dropdown .dropdown { display: block; position: static; min-width: 0; border: none; box-shadow: none; padding: 0 0 0.4rem 1rem; }
  .navbar.nav-open .dropdown li a { padding: 0.5rem 0; font-size: 0.95rem; color: var(--slate); }
  .navbar.nav-open .nav-extras { display: block; padding-top: 1rem; }
  .nav-langs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
  .nav-langs a { border: 1px solid var(--border); border-radius: var(--radius); padding: 0.45rem 0.85rem; font-size: 0.9rem; color: var(--navy); }
  .nav-langs a[aria-current="true"] { background: var(--teal); border-color: var(--teal); color: var(--white); }
  .nav-extras .nav-email { display: block; margin: 0 0 1rem; color: var(--navy); font-weight: 500; }
  .nav-extras .btn { width: 100%; justify-content: center; }

  .compare-table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .compare-table th, .compare-table td { min-width: 150px; }
  .article-body { overflow-wrap: break-word; }
  input, textarea { font-size: 16px; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  .hero { padding: 2.25rem 1.25rem 2rem; }
  .hero--split { gap: 2rem; }
  .hero-ctas { flex-wrap: wrap; gap: 0.75rem; }
  .section { padding: 2rem 1.25rem; }
  .page-hero__inner { padding: 2rem 1.25rem 2.5rem; gap: 2rem; }
  .pricing-shared-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .frame__badge { font-size: 0.8rem; max-width: 88%; }
  .flow-step { gap: 12px; }
}

/* Cookie banner */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1000; max-width: 640px; margin: 0 auto; background: var(--white); color: var(--navy); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: 0 8px 30px rgba(11, 21, 40, 0.18); padding: 1rem 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; font-size: 0.9rem; }
.cookie-banner p { margin: 0; flex: 1 1 260px; }
.cookie-banner a { color: var(--teal); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 0.5rem; flex: 0 0 auto; }
.cookie-banner .btn { height: 2.4rem; padding: 0 1rem; cursor: pointer; }

/* Legal pages */
.legal-body { max-width: 860px; margin: 0 auto; padding-left: 1.25rem; padding-right: 1.25rem; }
.legal-body h2 { font-size: 1.35rem; margin: 2rem 0 0.6rem; }
.legal-body h3 { font-size: 1.05rem; margin: 1.25rem 0 0.4rem; }
.legal-body p { margin: 0 0 0.9rem; }
.legal-body ul { list-style: disc; padding-left: 1.25rem; margin: 0 0 0.9rem; }
.legal-body li { margin-bottom: 0.4rem; }
.legal-body a { color: var(--teal); text-decoration: underline; }
