/* ─── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: light only;
  --bg-light:    #f5f5f7;
  --white:       #ffffff;
  --black:       #000000;
  --gray:        #646464;
  --blue:        #007fff;
  --blue-dark:   #005fcc;
  --font:        -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg-light);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
}

/* ─── Announcement Bar ────────────────────────────────────── */
.announcement-bar {
  background: transparent;
  height: auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: none;
  transition: opacity 0.3s ease;
}

.announcement-bar p {
  font-size: 12px;
  font-weight: 400;
  color: #86868b;
  text-align: center;
  padding: 0 16px;
}

.announcement-cta {
  color: #0073EC;
  font-weight: 500;
  text-decoration: none;
  margin-left: 6px;
}

/* ─── Navigation ──────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: rgba(255,255,255,1);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-radius: 22px;
  width: calc(100% - 24px);
  max-width: 1100px;
  height: 34px;
  border: none;
  transition: background 0.5s ease, max-width 0.5s ease;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.45);
  max-width: 720px;
}
.navbar.scrolled .nav-link {
  opacity: 0.5;
}

.navbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--black);
}

.logo-mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.footer-logo {
  width: 22px;
  height: 22px;
  filter: brightness(0) invert(1);
}

.logo-text {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 32px;
}

.nav-link {
  font-size: 12px;
  font-weight: 400;
  color: rgba(0,0,0,0.8);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, opacity 0.5s ease;
}

.nav-link:hover {
  color: #000;
}

.nav-link.active {
  color: #000;
  font-weight: 500;
}

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  padding: 8px 20px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--black);
  border: 1px solid rgba(0,0,0,0.18);
}

.btn-ghost:hover {
  border-color: var(--black);
  background: rgba(0,0,0,0.04);
}

/* ─── Split Section ───────────────────────────────────────── */
.split-section {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 16px;
  background: var(--bg-light);
}

.split-panel {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 56px 36px 28px;
  overflow: hidden;
  border-radius: 0;
}

.split-dark {
  background: #000000;
}

.split-light {
  background-color: #ffffff !important;
  color-scheme: light;
  padding-bottom: 0;
}

.split-full {
  flex: 0 0 100%;
  width: 100%;
  min-height: 680px;
}

.split-top {
  text-align: center;
  position: relative;
  z-index: 2;
}

.split-title {
  font-size: 65px;
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 12px;
}

.split-title-light { color: var(--white); }
.split-title-dark  { color: #86868b !important; }

/* ─── Rainbow gradient title ──────────────────────────────── */
.split-title-rainbow {
  background: linear-gradient(
    90deg,
    #ff0000 0%,
    #ff7700 14%,
    #ffdd00 28%,
    #00cc44 42%,
    #0088ff 57%,
    #7733ff 71%,
    #ff0088 85%,
    #ff0000 100%
  );
  background-size: 200% 100%;
  background-repeat: repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: rainbow-flow 9s linear infinite;
}

@keyframes rainbow-flow {
  0%   { background-position:   0% center; }
  100% { background-position: 200% center; }
}

.split-subtitle {
  font-size: 25px;
  font-weight: 400;
}

.split-subtitle-light { color: #ffffff; }
.split-subtitle-dark  { color: #000000 !important; }

.split-center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.split-center-logo img {
  width: 480px;
  height: 480px;
  object-fit: contain;
}

.split-product-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 900px;
  pointer-events: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.split-product-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.split-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.split-light .split-bottom {
  padding-bottom: 28px;
}

.split-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  opacity: 0.9;
}

.split-logo-dark {
  opacity: 0.7;
}

.split-orb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: 1.8px solid #0073EC;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}

.split-orb-dark {
  border-color: #000000;
}

.split-btn-dark {
  background: #000000;
  color: var(--white);
}

/* ─── AI Assistant Popup ──────────────────────────────────── */
.ai-popup {
  position: fixed;
  z-index: 600;
  width: 300px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.10);
  padding: 18px 16px 14px;
  opacity: 0;
  transform: scale(0.78);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.34, 1.3, 0.64, 1);
}

.ai-popup.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
}

.ai-popup-header {
  display: flex;
  align-items: center;
  margin-bottom: 14px;
}

.ai-popup-title {
  font-size: 15px;
  font-weight: 600;
  color: #000;
  line-height: 1.3;
}

.ai-popup-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5f5f7;
  border-radius: 100px;
  padding: 9px 8px 9px 16px;
}

.ai-popup-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 14px;
  color: #000;
  outline: none;
}

.ai-popup-input::placeholder {
  color: #aaa;
}

.ai-popup-send {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #0073EC;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.ai-popup-send:hover {
  background: #005fcc;
}

.split-btn {
  background: #0073EC;
  color: var(--white);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  padding: 11px 28px;
  border-radius: 100px;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  border: none;
  cursor: pointer;
  display: inline-block;
}

.split-btn-tall {
  padding: 10px 24px;
  font-size: 14px;
}

.split-bottom:has(.split-btn-tall) {
  justify-content: flex-end;
}

/* ─── Section Gap ─────────────────────────────────────────── */
.section-gap {
  height: 12px;
  background: var(--white);
}

/* keep hero-btn-group for modals */
.hero-btn-group {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border-radius: 100px;
  padding: 3px;
  gap: 0;
  margin-bottom: 24px;
}

.hero-btn-primary {
  background: linear-gradient(160deg, #4a90d9 0%, #1a5fa8 100%);
  color: var(--white);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  padding: 7px 18px;
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(0,127,255,0.35);
  border: none;
  cursor: pointer;
}

.hero-btn-ghost {
  color: var(--black);
  font-family: var(--font);
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
  padding: 7px 18px;
  border-radius: 100px;
  background: none;
  border: none;
  cursor: pointer;
}


/* ─── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 48px 40px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

.footer-legal {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}

/* ─── Contact Modal ──────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: 20px;
  padding: 48px;
  width: 100%;
  max-width: 440px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.15);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: var(--bg-light);
  border: none;
  font-size: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.modal-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.modal-subtitle {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 32px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 12px;
  font-weight: 500;
  color: var(--black);
}

.form-group input {
  font-family: var(--font);
  font-size: 14px;
  padding: 10px 14px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  outline: none;
  background: var(--bg-light);
  color: var(--black);
  transition: border-color 0.2s;
}

.form-group input:focus {
  border-color: var(--blue);
  background: var(--white);
}

.form-submit-group {
  margin-top: 24px;
  margin-bottom: 0;
}

.modal-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 0;
}

.modal-success.active {
  display: flex;
}

.preorder-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.modal-success .modal-subtitle {
  margin-bottom: 0;
}

/* ─── Footer Legal Section ───────────────────────────────── */
.footer-legal-section {
  background: var(--bg-light);
  padding: 60px 40px 48px 40px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.footer-legal-inner {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.legal-block p {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 16px;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Announcement bar wraps on small screens */
  .announcement-bar {
    padding: 10px 12px;
  }

  .announcement-bar p {
    font-size: 11px;
  }

  /* Navbar */
  .navbar {
    width: calc(100% - 16px);
    border-radius: 18px;
    top: 42px;
  }
  .navbar.scrolled {
    max-width: 480px;
  }
  .navbar-inner {
    padding: 0 16px;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .navbar-inner::-webkit-scrollbar {
    display: none;
  }

  .nav-links {
    gap: 20px;
  }

  /* Split section stacks vertically */
  .split-section {
    flex-direction: column;
    min-height: auto;
    gap: 8px;
  }

  .split-panel {
    min-height: 420px;
    padding: 32px 24px 24px;
    overflow: hidden;
  }

  .split-light {
    padding-bottom: 0;
  }

  .split-light .split-bottom {
    padding-bottom: 24px;
  }

  .split-title {
    font-size: 52px;
    letter-spacing: normal;
  }

  .split-center-logo img {
    width: 450px;
    height: 450px;
  }

  .split-product-img {
    width: 540px;
  }

  /* Modal */
  .modal {
    margin: 16px;
    padding: 36px 24px;
    max-width: calc(100vw - 32px);
    border-radius: 16px;
  }

  /* Footer */
  .footer-legal-section {
    padding: 40px 20px 32px;
  }
}

@media (max-width: 480px) {
  .announcement-bar {
    padding: 8px 8px;
  }

  .announcement-bar p {
    font-size: 10px;
  }

  .navbar {
    width: calc(100% - 12px);
    border-radius: 16px;
    top: 36px;
  }
  .navbar.scrolled {
    max-width: 360px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-link {
    font-size: 11px;
  }

  .split-panel {
    min-height: 380px;
    padding: 28px 20px 20px;
    overflow: hidden;
  }

  .split-title {
    font-size: 40px;
    letter-spacing: normal;
  }

  .split-subtitle {
    font-size: 14px;
  }

  .split-center-logo img {
    width: 340px;
    height: 340px;
  }

  .split-product-img {
    width: 460px;
  }

  .split-btn {
    font-size: 12px;
    padding: 7px 14px;
  }

  .split-logo {
    width: 20px;
    height: 20px;
  }

  .modal {
    padding: 28px 20px;
  }

  .modal-title {
    font-size: 18px;
  }

  .footer-legal-section {
    padding: 32px 16px 24px;
  }

  .legal-block p {
    font-size: 12px;
  }
}

/* ─── Related Articles (SEO internal linking) ──────────────── */
.related-articles {
  max-width: 780px;
  margin: 0 auto;
  padding: 8px 0 72px;
  box-sizing: border-box;
}
.related-articles-heading {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #1d1d1f;
  letter-spacing: -0.3px;
  margin: 0 0 22px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.related-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #F4F5F5;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.10);
}
.related-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.related-card-body {
  padding: 15px 17px 19px;
}
.related-card-title {
  font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1d1d1f;
  line-height: 1.38;
  margin: 0;
}
@media (max-width: 768px) {
  .related-articles {
    padding: 8px 28px 48px;
  }
}
@media (max-width: 600px) {
  .related-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .related-card {
    flex-direction: row;
    align-items: center;
  }
  .related-card-img {
    width: 104px;
    height: 104px;
    aspect-ratio: 1;
    flex-shrink: 0;
  }
  .related-card-body {
    padding: 0 16px;
  }
}

/* ─── Site footer (grouped columns) ──────────────────────── */
.site-footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4px 40px 44px;
  font-family: -apple-system, system-ui, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
}
.af-cols {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0 24px;
  padding-top: 22px;
  border-top: 1px solid #d2d2d7;
}
.af-group + .af-group { margin-top: 26px; }
.af-head {
  font-family: -apple-system, system-ui, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  color: #424245;
  margin: 0 0 9px;
}
.af-list { list-style: none; margin: 0; padding: 0; }
.af-list li { margin: 0 0 8px; }
.af-list a {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: #a1a1a6;
  text-decoration: none;
  transition: color 0.2s ease;
}
.af-list a:hover { color: #6e6e73; text-decoration: underline; }

.af-note {
  font-size: 12px;
  line-height: 1.5;
  color: #a1a1a6;
  margin: 30px 0 0;
}
.af-note a { color: #0071e3; text-decoration: none; }
.af-note a:hover { text-decoration: underline; }

.af-bottom {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 0;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #d2d2d7;
}
.af-copy { font-size: 12px; line-height: 1.5; color: #424245; margin-right: 24px; }
.af-bottom-nav { display: inline-flex; align-items: center; flex-wrap: wrap; }
.af-bottom-link {
  font-size: 12px; line-height: 1.5; color: #424245; text-decoration: none;
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: inherit; -webkit-appearance: none; appearance: none;
}
.af-bottom-link:hover { color: #1d1d1f; text-decoration: underline; }
.af-bottom-link:focus-visible { outline: 2px solid #0071e3; outline-offset: 2px; }
.af-sep { color: #a1a1a6; padding: 0 10px; font-size: 12px; line-height: 1.5; }
.af-region { margin-left: auto; font-size: 12px; line-height: 1.5; color: #424245; }

@media (max-width: 1024px) {
  .af-cols { grid-template-columns: repeat(3, 1fr); gap: 26px 24px; }
}
@media (max-width: 768px) {
  .site-footer { padding: 4px 24px 36px; }
  .af-cols { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
  .af-region { margin-left: 0; width: 100%; }
}
@media (max-width: 480px) {
  .site-footer { padding: 4px 16px 28px; }
  .af-cols { grid-template-columns: 1fr; gap: 22px 0; }
  .af-bottom { gap: 6px 0; }
  .af-copy { margin-right: 0; width: 100%; }
}

/* ─── Cookie consent — "Manage cookies" link + popup ─────── */
.acw-host { position: relative; display: inline-block; }

/* floating fallback for pages with no announcement bar */
.acw-host--floating { position: absolute; top: 14px; right: 24px; z-index: 60; }

.acw-trigger {
  background: none; border: none; padding: 0; cursor: pointer;
  font-family: inherit; font-size: inherit; font-weight: 500;
  color: #0073EC; margin-left: 6px; line-height: inherit;
}
.acw-trigger:hover { text-decoration: underline; }
.acw-trigger:focus-visible { outline: 2px solid #0071e3; outline-offset: 2px; border-radius: 4px; }

/* the popup — same liquid glass as the header */
.acw-panel {
  position: absolute;          /* on <body>: scrolls with the page, but is not
                                  trapped inside the fading announcement bar */
  top: 0; left: 0;             /* JS positions it under the trigger */
  width: 280px;
  padding: 16px 16px 15px;
  border-radius: 22px;
  z-index: 300;   /* above the fixed navbar (100) */
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;

  background: rgba(255,255,255,0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255,255,255,0.7);
  outline: 1px solid rgba(0,0,0,0.05);
  outline-offset: -1px;
  box-shadow: none;

  /* simple, continuous fade */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}
.acw-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.32,0.72,0,1), visibility 0s linear 0s;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .acw-panel { background: rgba(255,255,255,0.97); }
}

.acw-text {
  font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 11.5px; line-height: 1.5; color: #1d1d1f; margin: 0;
}
.acw-link { color: #0071e3; text-decoration: none; white-space: nowrap; }
.acw-link:hover { text-decoration: underline; }
.acw-actions { display: flex; flex-direction: column; gap: 7px; width: 100%; }

.acb-btn {
  font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 11.5px; font-weight: 500; line-height: 1;
  padding: 9px 12px; border-radius: 980px; cursor: pointer;
  border: 1px solid transparent; white-space: nowrap; text-align: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.acb-btn-primary { background: #0071e3; color: #fff; border-color: #0071e3; }
.acb-btn-primary:hover { background: #005fcc; border-color: #005fcc; }
.acb-btn-outline { background: transparent; color: #0071e3; border-color: #0071e3; }
.acb-btn-outline:hover { background: rgba(0,113,227,0.07); }
.acb-btn-ghost { background: transparent; color: #1d1d1f; border-color: rgba(0,0,0,0.18); }
.acb-btn-ghost:hover { background: rgba(0,0,0,0.04); border-color: #1d1d1f; }
.acb-btn:focus-visible, .acm-close:focus-visible, .acb-footer-link:focus-visible {
  outline: 2px solid #0071e3; outline-offset: 2px;
}

/* footer link — must match .sfl-link exactly */
.acb-footer-link {
  background: none; border: none; padding: 0; margin: 0; cursor: pointer;
  font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 14px; font-weight: 400; line-height: inherit;
  color: #0071e3; text-align: left; -webkit-appearance: none; appearance: none;
}
.acb-footer-link:hover { color: #005fcc; }

@media (max-width: 600px) {
  .acw-panel { width: min(300px, calc(100vw - 24px)); }
}
@media (prefers-reduced-motion: reduce) {
  .acw-panel { transition: opacity 0.01s linear, visibility 0s; }
}

/* ─── Preferences modal ──────────────────────────────────── */
.acm-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.38);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; padding: 20px; opacity: 0; transition: opacity 0.2s ease;
}
.acm-overlay.is-visible { opacity: 1; }
.acm-dialog {
  position: relative; border-radius: 22px;
  max-width: 520px; width: 100%; max-height: 86vh; overflow-y: auto;
  padding: 28px 28px 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.84) 100%);
  -webkit-backdrop-filter: blur(40px) saturate(190%);
  backdrop-filter: blur(40px) saturate(190%);
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: none;
  transform: translateY(8px); transition: transform 0.2s cubic-bezier(0.16,1,0.3,1);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .acm-dialog { background: #ffffff; }
}
.acm-overlay.is-visible .acm-dialog { transform: translateY(0); }
.acm-title {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 20px; font-weight: 600; letter-spacing: -0.3px; color: #1d1d1f; margin: 0 0 7px;
}
.acm-desc {
  font-family: 'SF Pro Text', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 12.5px; line-height: 1.55; color: #6e6e73; margin: 0 0 16px;
}
.acm-row {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; padding: 14px 0; border-top: 1px solid rgba(0,0,0,0.08);
}
.acm-row-text { display: flex; flex-direction: column; gap: 3px; }
.acm-row-title { font-size: 13.5px; font-weight: 600; color: #1d1d1f; }
.acm-row-desc { font-size: 12px; line-height: 1.5; color: #86868b; }
.acm-switch { position: relative; flex: 0 0 auto; width: 42px; height: 25px; display: inline-block; }
.acm-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.acm-slider {
  position: absolute; inset: 0; background: #d2d2d7; border-radius: 980px;
  transition: background 0.2s ease; pointer-events: none;
}
.acm-slider::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 19px; height: 19px;
  background: #fff; border-radius: 50%; transition: transform 0.2s ease;
}
.acm-switch input:checked + .acm-slider { background: #0071e3; }
.acm-switch input:checked + .acm-slider::after { transform: translateX(17px); }
.acm-switch.is-locked .acm-slider { background: #0071e3; opacity: 0.45; }
.acm-switch input:focus-visible + .acm-slider { outline: 2px solid #0071e3; outline-offset: 2px; }
.acm-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.acm-actions {
  display: flex; justify-content: flex-end; gap: 7px;
  flex-wrap: wrap; padding-top: 16px; border-top: 1px solid rgba(0,0,0,0.08); margin-top: 2px;
}
.acm-close {
  position: absolute; top: 14px; right: 16px; background: none; border: none;
  font-size: 22px; line-height: 1; color: #86868b; cursor: pointer; padding: 4px 8px;
}
.acm-close:hover { color: #1d1d1f; }

@media (max-width: 480px) {
  #aura-cookie-banner { bottom: 20px; width: calc(100% - 24px); max-width: none; border-radius: 18px; }
  .acb-actions { gap: 5px; }
  .acb-btn { flex: 1 1 auto; padding: 8px 8px; }
  .acm-dialog { padding: 24px 18px 18px; border-radius: 18px; }
  .acm-actions { justify-content: stretch; }
  .acm-actions .acb-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  #aura-cookie-banner, .acm-overlay, .acm-dialog, .acm-slider, .acm-slider::after { transition: none; }
}
