:root {
  --brand-blue: #0b3d91;
  --brand-saffron: #f4a300;
  --brand-green: #138808;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #f8fafc;
  --white: #ffffff;
  --danger: #b91c1c;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-micro: 220ms;
  --dur-short: 360ms;
  --dur-med: 520ms;
  --dur-reveal: 920ms;
  --dur-loop-slow: 7s;
  --dur-loop-mid: 4.5s;
  --motion-blur-max: 2px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; font-family: Inter, Arial, sans-serif; color: var(--text); background: var(--bg); }
body { overflow-x: hidden; }
img, video, svg, iframe { max-width: 100%; height: auto; }
picture { display: block; max-width: 100%; }

a { color: var(--brand-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1140px, 92vw); margin: 0 auto; }
.topbar { background: linear-gradient(90deg, #062a67, var(--brand-blue), #0b2f7a); background-size: 240% 240%; animation: gradientShift calc(var(--dur-loop-mid) * 1.2) ease infinite; color: var(--white); font-size: 0.95rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; }
header { background: rgba(255, 255, 255, 0.9); border-bottom: 1px solid #e5e7eb; position: sticky; top: 0; z-index: 50; backdrop-filter: blur(8px); transition: box-shadow var(--dur-short) var(--ease-smooth), background var(--dur-short) var(--ease-smooth); }
header:hover { box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 0; }
.nav-toggle {
  display: none;
  appearance: none;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: var(--white);
  width: 44px;
  height: 44px;
  padding: 0;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--dur-micro) ease, box-shadow var(--dur-micro) ease;
  z-index: 70;
  position: relative;
}
.nav-toggle:hover { border-color: #9ca3af; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08); }
.nav-toggle:focus-visible {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(11, 61, 145, 0.25);
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--brand-blue);
  border-radius: 1px;
}
.nav-toggle-bars {
  position: relative;
  transition: background var(--dur-micro) ease;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  transition: transform var(--dur-short) var(--ease-out-expo), top var(--dur-short) var(--ease-out-expo);
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
header.nav-open .nav-toggle-bars { background: transparent; }
header.nav-open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}
header.nav-open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.ihs-nav-backdrop {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: var(--ihs-nav-top, 0px);
  bottom: 0;
  z-index: 58;
  background: rgba(15, 23, 42, 0.32);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}
body.ihs-nav-drawer-open .ihs-nav-backdrop {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

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

.brand { font-size: 1.15rem; font-weight: 700; color: var(--brand-blue); display: inline-block; transition: transform var(--dur-micro) var(--ease-spring), color var(--dur-micro) ease; }
.brand:hover { transform: translateX(2px) scale(1.02); color: #07306d; text-decoration: none; }
nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; margin: 0; padding: 0; }
.nav a:not(.brand) {
  position: relative;
  display: inline-block;
  transition: color var(--dur-micro) ease, transform var(--dur-micro) var(--ease-spring);
}
.nav a:not(.brand):hover {
  color: var(--brand-saffron);
  text-decoration: none;
  transform: translateY(-2px);
}
.nav a:not(.brand)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-saffron), var(--brand-green));
  transition: width var(--dur-med) var(--ease-out-expo);
}
.nav a:not(.brand):hover::after { width: 100%; }
.hero { position: relative; background: linear-gradient(120deg, rgba(11,61,145,0.96), rgba(19,136,8,0.90)); color: white; padding: 4rem 0; isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 999px; pointer-events: none; z-index: -1; }
.hero::before { width: 340px; height: 340px; right: -60px; top: -80px; background: radial-gradient(circle, rgba(244, 163, 0, 0.32), transparent 72%); animation: floatBlobBold 11s ease-in-out infinite, hueBlob 18s linear infinite; }
.hero::after { width: 450px; height: 450px; left: -160px; bottom: -220px; background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 70%); animation: floatBlobBold 14s ease-in-out infinite reverse, heroGlowPulse 10s ease-in-out infinite; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0 0 0.7rem; line-height: 1.2; }
.hero p { max-width: 780px; line-height: 1.6; margin: 0.3rem 0 0.8rem; }
.buttons { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1rem; }
.btn { display: inline-block; border: 0; padding: 0.72rem 1rem; border-radius: 8px; font-weight: 600; cursor: pointer; transform: translateZ(0); transition: transform var(--dur-micro) var(--ease-spring), box-shadow var(--dur-micro) var(--ease-smooth), filter var(--dur-micro) ease, background-position var(--dur-med) ease; background-size: 200% 100%; }
.btn:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18); text-decoration: none; filter: brightness(1.04); }
.btn:active { transform: translateY(-1px) scale(1.01); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12); transition-duration: 80ms; }
.btn-primary {
  background: linear-gradient(135deg, #fbbf24 0%, var(--brand-saffron) 40%, #fcd34d 55%, #eaac09 100%);
  background-size: 220% 220%;
  color: #111827;
  animation: btnPrimaryShimmer 4.8s linear infinite;
}
.btn-secondary { background: white; color: var(--brand-blue); }
.btn-secondary:hover { background: linear-gradient(135deg, #ffffff, #eef4ff); }
.section { padding: 2.4rem 0; }
.section h2 { margin-top: 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.card {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
  transition:
    transform var(--dur-short) var(--ease-out-expo),
    box-shadow var(--dur-short) var(--ease-smooth),
    border-color var(--dur-short) ease,
    background-position var(--dur-med) ease;
  background-image: radial-gradient(circle at 92% -20%, rgba(11, 61, 145, 0.06), transparent 42%);
  background-size: 220% 220%;
}
.card:hover {
  transform: translateY(-8px) rotate(-0.35deg);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
  border-color: #93c5fd;
  background-position: 80% 30%;
}
.card h3 { margin: 0.2rem 0 0.5rem; }
.notice {
  border-left: 4px solid var(--brand-saffron);
  background: linear-gradient(90deg, #fffbeb, #fef9e7);
  padding: 0.8rem;
  border-radius: 6px;
  transition: box-shadow var(--dur-micro) ease, transform var(--dur-micro) var(--ease-spring);
}
.notice:hover { box-shadow: 0 10px 24px rgba(244, 163, 0, 0.12); transform: translateX(4px); }
.form-wrap {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
  transition: box-shadow var(--dur-short) var(--ease-smooth), transform var(--dur-short) var(--ease-spring), border-color var(--dur-micro) ease;
  animation: formWrapLift 9s ease-in-out infinite;
}
.form-wrap:hover {
  border-color: #bfdbfe;
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(11, 61, 145, 0.1);
}
form { display: grid; gap: 0.7rem; }
label { font-size: 0.92rem; font-weight: 600; }
input, select, textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0.65rem;
  font: inherit;
  transition: border-color var(--dur-micro) ease, box-shadow var(--dur-micro) ease, transform var(--dur-micro) var(--ease-smooth);
}
input:hover, select:hover, textarea:hover { border-color: #9ca3af; }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(11, 61, 145, 0.16);
}
textarea { min-height: 120px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
.helper { color: var(--muted); font-size: 0.88rem; }
.section-pricing-footnote {
  padding-top: 0.25rem;
  padding-bottom: 2rem;
}
.pricing-payee-footnote {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
  max-width: 48rem;
}
.pricing-payee-footnote a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pricing-payee-footnote a:hover {
  color: var(--brand-blue);
}
.pricing-payee-footnote strong {
  color: #4b5563;
  font-weight: 600;
}
.error { color: var(--danger); font-size: 0.88rem; }
.success { color: var(--brand-green); font-size: 0.88rem; }
.verify-slider {
  margin: 0.3rem 0 0.4rem;
}
.verify-slider-track {
  position: relative;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #f3f4f6;
  overflow: hidden;
  user-select: none;
}
.verify-slider-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #bbf7d0, #86efac);
  transition: width 120ms linear;
}
.verify-slider-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #374151;
  font-weight: 600;
  font-size: 0.92rem;
}
.verify-slider-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 40px;
  height: 40px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: white;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
  cursor: grab;
  z-index: 2;
  transition: transform 120ms linear;
}
.verify-slider-thumb:active { cursor: grabbing; }
.verify-slider-track.verified {
  border-color: #16a34a;
}
.verify-slider-track.verified .verify-slider-label {
  color: #166534;
}
.badge {
  display: inline-block;
  margin-top: 0.8rem;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  color: #1e40af;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(37, 99, 235, 0.2);
}
.hero .badge {
  animation: badgeDrift calc(var(--dur-loop-slow) * 0.55) ease-in-out infinite;
}
.metrics { margin-top: 1.4rem; display: grid; gap: 0.8rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metric {
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  padding: 0.8rem;
  transition: transform var(--dur-short) var(--ease-spring), border-color var(--dur-med) ease, background var(--dur-med) ease;
  animation: metricBorderPulse calc(var(--dur-loop-slow) * 1.25) ease-in-out infinite;
}
.hero .metric:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.2);
}
.metric-value { font-size: 1.45rem; font-weight: 700; line-height: 1; }
.metric-label { margin-top: 0.25rem; font-size: 0.88rem; opacity: 0.9; }
.timeline { border-left: 3px solid #c7d2fe; padding-left: 1rem; display: grid; gap: 0.9rem; }
.timeline-item { position: relative; padding: 0.2rem 0; }
.timeline-item::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 30%, var(--brand-saffron), var(--brand-blue));
  position: absolute;
  left: -1.38rem;
  top: 0.55rem;
  animation: timelineNode 2.4s ease-in-out infinite;
}
.faq details {
  background: var(--white);
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  margin-bottom: 0.6rem;
  transition: border-color var(--dur-micro) ease, box-shadow var(--dur-short) var(--ease-smooth), transform var(--dur-micro) var(--ease-spring);
}
.faq details[open] {
  border-color: #93c5fd;
  box-shadow: 0 8px 28px rgba(11, 61, 145, 0.1);
}
.faq details:hover:not([open]) { transform: translateX(6px); }
.faq summary { cursor: pointer; font-weight: 600; transition: color var(--dur-micro) ease; }
.faq details[open] summary { color: var(--brand-blue); }
.faq p { margin-bottom: 0.3rem; color: #374151; }
.cta-strip {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #1e3a8a, #166534, #1e40af);
  background-size: 180% 180%;
  color: #fff;
  border-radius: 14px;
  padding: 1.1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  animation: ctaGradientShift var(--dur-loop-slow) ease infinite;
}
.cta-strip::after {
  content: "";
  position: absolute;
  inset: -20% -60%;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.12) 50%, transparent 65%);
  transform: skewX(-12deg);
  animation: ctaSheenSweep calc(var(--dur-loop-mid) * 2.75) linear infinite;
  pointer-events: none;
}
.cta-strip p,
.cta-strip .btn {
  position: relative;
  z-index: 1;
}
.cta-strip p { margin: 0; animation: fadeNudge var(--dur-loop-mid) ease-in-out infinite; }

.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition:
    opacity var(--dur-reveal) var(--ease-out-expo),
    transform var(--dur-reveal) var(--ease-out-expo),
    filter var(--dur-reveal) var(--ease-smooth);
  filter: blur(var(--motion-blur-max));
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.hero .container > .reveal:nth-child(1) { transition-delay: 0.04s; }
.hero .container > .reveal:nth-child(2) { transition-delay: 0.1s; }
.hero .container > .reveal:nth-child(3) { transition-delay: 0.16s; }
.hero .container > .reveal:nth-child(4) { transition-delay: 0.21s; }
.hero .container > .reveal:nth-child(5) { transition-delay: 0.27s; }
.hero .container > .reveal:nth-child(6) { transition-delay: 0.33s; }

.grid-2 .reveal:nth-child(1) { transition-delay: 0.05s; }
.grid-2 .reveal:nth-child(2) { transition-delay: 0.13s; }
.grid-3 .reveal:nth-child(1) { transition-delay: 0.06s; }
.grid-3 .reveal:nth-child(2) { transition-delay: 0.13s; }
.grid-3 .reveal:nth-child(3) { transition-delay: 0.21s; }
.grid-4 .reveal:nth-child(1) { transition-delay: 0.06s; }
.grid-4 .reveal:nth-child(2) { transition-delay: 0.11s; }
.grid-4 .reveal:nth-child(3) { transition-delay: 0.17s; }
.grid-4 .reveal:nth-child(4) { transition-delay: 0.23s; }
footer { margin-top: 2rem; background: #111827; color: #e5e7eb; }
footer .container { padding: 1.2rem 0; }
footer a {
  transition: color var(--dur-micro) ease, opacity var(--dur-micro) ease;
}
footer a:hover { color: #fde68a; opacity: 1; text-decoration-thickness: 2px; }

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes floatBlobBold {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  40% { transform: translate3d(-22px, 18px, 0) scale(1.045); }
  70% { transform: translate3d(32px, -26px, 0) scale(0.98); }
}
@keyframes hueBlob {
  0%, 100% { filter: hue-rotate(0deg) saturate(1); }
  50% { filter: hue-rotate(18deg) saturate(1.12); }
}
@keyframes heroGlowPulse {
  0%, 100% { opacity: 0.94; filter: brightness(1); }
  50% { opacity: 1; filter: brightness(1.12); }
}
@keyframes btnPrimaryShimmer {
  0% { background-position: 0% 40%; }
  100% { background-position: 100% 60%; }
}
@keyframes badgeDrift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes metricBorderPulse {
  0%, 100% { border-color: rgba(255, 255, 255, 0.28); }
  45% { border-color: rgba(253, 224, 71, 0.55); }
}
@keyframes timelineNode {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5); transform: translateY(0) scale(1); }
  55% { box-shadow: 0 0 0 12px rgba(37, 99, 235, 0); transform: translateY(-2px) scale(1.1); }
}
@keyframes ctaGradientShift {
  0%, 100% { background-position: 12% 50%; }
  50% { background-position: 88% 50%; }
}
@keyframes ctaSheenSweep {
  0% { transform: skewX(-12deg) translateX(-35%); }
  100% { transform: skewX(-12deg) translateX(165%); }
}
@keyframes fadeNudge {
  0%, 100% { opacity: 1; transform: translateX(0); }
  50% { opacity: 0.92; transform: translateX(-3px); }
}
@keyframes cookieRise {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes formWrapLift {
  0%, 100% { box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04); }
  50% { box-shadow: 0 16px 32px rgba(11, 61, 145, 0.08); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    filter: none !important;
  }
}
/* Tablet: ease four-column dashboards into two columns before mobile stack */
@media (max-width: 1040px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .row-2 { grid-template-columns: 1fr; }
  header .container.nav {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    position: relative;
  }
  header .brand {
    flex: 1;
    min-width: 0;
  }
  .nav-toggle {
    display: inline-flex;
  }
  header nav {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    top: var(--ihs-nav-top, 64px);
    height: calc(100dvh - var(--ihs-nav-top, 64px));
    max-height: calc(100dvh - var(--ihs-nav-top, 64px));
    background: var(--white);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.14);
    z-index: 60;
    padding: 1rem 1.25rem 2rem;
    margin: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.32s var(--ease-out-expo),
      visibility 0.32s;
    border-top: 1px solid #e5e7eb;
  }
  header.nav-open nav {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  header nav ul {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.2rem;
    width: 100%;
    padding: 0;
  }
  header nav ul li {
    width: 100%;
    border-bottom: 1px solid #f3f4f6;
  }
  header nav ul li:last-child {
    border-bottom: none;
  }
  header nav ul a:not(.brand),
  header nav ul button.btn {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.5rem 0.25rem;
    width: 100%;
    text-align: left;
    justify-content: flex-start;
  }
  header nav ul a:not(.brand)::after {
    display: none;
  }
  .metrics { grid-template-columns: 1fr; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
  .topbar .container { flex-direction: column; gap: 0.35rem; text-align: center; align-items: center; word-break: break-word; hyphens: auto; }
}

/* Narrow phones: comfortable tap targets + full-width CTAs */
@media (max-width: 720px) {
  .container { width: min(1140px, 94vw); }
  .hero { padding: 2.35rem 0; }
  .section { padding: 1.6rem 0; }
  .brand {
    font-size: clamp(1rem, 4.8vw, 1.15rem);
    max-width: 100%;
    line-height: 1.35;
    word-break: break-word;
  }
  .buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .buttons .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
  }
  header nav ul {
    flex-direction: column;
    gap: 0.15rem;
    width: 100%;
  }
  header nav ul a:not(.brand) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.4rem 0;
  }
  header .btn {
    min-height: 44px;
    width: 100%;
    max-width: 14rem;
  }
  header nav ul button.btn {
    max-width: none;
  }
  footer .container p {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .cta-strip .btn {
    width: 100%;
    align-self: stretch;
    text-align: center;
    justify-content: center;
    display: inline-flex;
    box-sizing: border-box;
  }
}

@media (max-width: 380px) {
  .cookie-banner-actions {
    width: 100%;
  }
  .cookie-banner-actions .btn {
    flex: 1 1 calc(50% - 0.25rem);
    min-width: calc(50% - 0.25rem);
  }
}

/* Admin dashboard: horizontal scroll without breaking viewport */
.admin-table-shell {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  max-width: 100%;
}
.admin-table-shell #admin-table {
  width: max-content;
  min-width: 900px;
  max-width: none;
  border-collapse: collapse;
}
/* Long inline snippets in prose / tooling */
.helper code,
.section code,
.legal-prose code {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.content-table-wrap { overflow-x: auto; margin: 1rem 0; -webkit-overflow-scrolling: touch; }
.content-table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.92rem; line-height: 1.45; }
.content-table th, .content-table td { border: 1px solid #e5e7eb; padding: 0.55rem 0.65rem; vertical-align: top; text-align: left; transition: background var(--dur-micro) ease, box-shadow var(--dur-micro) ease; }
.content-table tbody tr:hover td { background: #f9fafb; box-shadow: inset 3px 0 0 var(--brand-saffron); }
.content-table th { background: #f3f4f6; font-weight: 600; }
.content-table caption { caption-side: top; text-align: left; font-weight: 600; margin-bottom: 0.4rem; }
.legal-prose h2 { margin-top: 1.75rem; }
.legal-prose h3 { margin-top: 1.1rem; font-size: 1.05rem; }
.legal-prose .notice { margin: 1rem 0; }
.print-onepage .content-table { min-width: 0; font-size: 0.78rem; }
.print-onepage .content-table th, .print-onepage .content-table td { padding: 0.35rem 0.4rem; }

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  background: #111827;
  color: #e5e7eb;
  padding: 0.85rem 0;
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.22);
  animation: cookieRise var(--dur-med) var(--ease-out-expo) both;
}
.cookie-banner-inner {
  width: min(1140px, 92vw);
  margin: 0 auto;
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: space-between;
}
.cookie-banner-title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: #fff;
}
.cookie-banner-text p {
  margin: 0 0 0.4rem;
  font-size: 0.89rem;
  line-height: 1.48;
}
.cookie-banner-links a {
  color: #93c5fd;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cookie-banner-actions .btn {
  animation: none;
}
