:root {
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --primary-rgb: 2, 132, 199;
  --primary: #0284c7;
  --primary-dark: #0369a1;
  --primary-deep: #075985;
  --primary-light: #e0f2fe;
  --border-subtle: #e2e8f0;
  --border-card: #cbd5e1;
  --dark-bg: #090d16;
  --dark-surface: rgba(15, 23, 42, 0.7);
  --dark-border: rgba(255, 255, 255, 0.08);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 20px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 36px -6px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 25px 60px -12px rgba(15, 23, 42, 0.16);
  --shadow-primary: 0 10px 25px -4px rgba(2, 132, 199, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
  background: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

button, a, summary {
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  top: -100px;
  transition: top 0.2s ease;
}

.skip:focus {
  top: 12px;
  left: 20px;
  z-index: 100;
  background: #ffffff;
  color: var(--primary-deep);
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--primary);
}

/* ----------------------------------------------------
   PREVIEW RIBBON (ADMIN)
---------------------------------------------------- */
.preview-ribbon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 32px;
  background: linear-gradient(90deg, #075985 0%, #0369a1 100%);
  color: #e0f2fe;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 750;
  box-shadow: 0 2px 8px rgba(7, 89, 133, 0.2);
}

.preview-ribbon span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.preview-ribbon span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
  animation: pulse-ribbon 2s infinite ease-in-out;
}

@keyframes pulse-ribbon {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.preview-ribbon a {
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}

.preview-ribbon a:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ----------------------------------------------------
   TOP NAV / HEADER
---------------------------------------------------- */
.nav-shell {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.top-nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  letter-spacing: -0.7px;
  font-weight: 800;
  color: var(--text-main);
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.9;
}

.brand img {
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.brand:hover img {
  transform: scale(1.05);
}

.brand span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--primary);
  background: var(--primary-light);
  padding: 3px 8px;
  border-radius: 9999px;
  border: 1px solid #bae6fd;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 650;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary);
  background: rgba(2, 132, 199, 0.06);
}

/* ----------------------------------------------------
   BUTTONS
---------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  font-weight: 750;
  font-size: 14.5px;
  box-shadow: var(--shadow-primary);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(2, 132, 199, 0.45);
  background: linear-gradient(135deg, #038de0 0%, #026094 100%);
  color: #ffffff;
}

.button:active {
  transform: scale(0.97);
}

.button-small {
  padding: 9px 18px;
  font-size: 12.5px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
}

.button-small:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35);
}
.button-small:active {
  transform: scale(0.96);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 750;
  font-size: 14.5px;
  color: var(--text-main);
  padding: 13px 22px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.text-link:hover {
  color: var(--primary);
  border-color: #bae6fd;
  background: #f0f9ff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ----------------------------------------------------
   HERO SECTION
---------------------------------------------------- */
.hero {
  position: relative;
  background: 
    radial-gradient(circle at 15% 20%, rgba(224, 242, 254, 0.8) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(237, 233, 254, 0.6) 0%, transparent 40%),
    radial-gradient(circle at 50% 85%, rgba(240, 249, 255, 0.7) 0%, transparent 60%),
    var(--bg-page);
  padding-top: 72px;
  padding-bottom: 68px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.85);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid #bae6fd;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08);
  margin: 0 0 22px;
  backdrop-filter: blur(8px);
}

.signal {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px #e0f2fe;
  animation: pulse-signal 2s infinite ease-in-out;
}

@keyframes pulse-signal {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 4px #e0f2fe; }
  50% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(224, 242, 254, 0.4); }
}

.hero h1 {
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1.1;
  letter-spacing: -2.8px;
  margin: 0;
  font-weight: 850;
  color: #0b1324;
}

.hero h1 span {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 60%, #1e40af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy {
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 620px;
  margin: 22px 0 28px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions .button span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.hero-actions .button:hover span {
  transform: translateY(3px);
}

.hero-highlights {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  color: #334155;
  font-size: 12px;
  font-weight: 650;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.hero-highlights span:hover {
  transform: translateY(-2px);
  border-color: #bae6fd;
  color: var(--primary-deep);
  box-shadow: var(--shadow-md);
}

/* ----------------------------------------------------
   PLATFORM SHOWCASE (#piattaforma)
---------------------------------------------------- */
.platform {
  padding-block: 84px 74px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 34px;
}

.section-heading h2,
.sync-section h2,
.access-card h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.15;
  letter-spacing: -1.8px;
  margin: 0;
  font-weight: 800;
  color: var(--text-main);
}

.section-heading > p {
  font-size: 14.5px;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0;
  line-height: 1.7;
}

.screen-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  background: #f1f5f9;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.screen-tabs button {
  border: none;
  background: transparent;
  border-radius: var(--radius-full);
  color: var(--text-dim);
  font-size: 13px;
  font-weight: 700;
  padding: 10px 22px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.screen-tabs button:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.6);
}

.screen-tabs button[aria-selected="true"] {
  background: #075985;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(7, 89, 133, 0.28);
}

.screen-panel {
  margin: 0;
}

.screen-frame {
  border: 1px solid var(--border-card);
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  transition: box-shadow 0.3s ease;
}

.screen-frame:hover {
  box-shadow: 0 32px 70px -15px rgba(15, 23, 42, 0.18);
}

.screen-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--border-subtle);
  background: #f8fafc;
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 600;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.window-dots i:nth-child(1) { background: #ff5f56; box-shadow: 0 0 0 1px rgba(0,0,0,0.06); }
.window-dots i:nth-child(2) { background: #ffbd2e; box-shadow: 0 0 0 1px rgba(0,0,0,0.06); }
.window-dots i:nth-child(3) { background: #27c93f; box-shadow: 0 0 0 1px rgba(0,0,0,0.06); }

.demo-label {
  font-size: 9px;
  letter-spacing: 0.08em;
  font-weight: 800;
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-full);
  padding: 3px 10px;
}

.screen-frame img {
  display: block;
  width: 100%;
  height: auto;
  background: #f8fafc;
}

.screen-panel figcaption {
  display: flex;
  gap: 24px;
  align-items: baseline;
  justify-content: space-between;
  margin: 22px 0 6px;
  font-size: 14px;
}

.screen-panel figcaption strong {
  min-width: 200px;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 750;
}

.screen-panel figcaption span {
  max-width: 720px;
  color: var(--text-muted);
  line-height: 1.65;
}

.screen-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.18);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 750;
  padding: 7px 16px;
  margin-top: 6px;
  transition: all 0.2s ease;
}

.screen-open:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

/* ----------------------------------------------------
   FEATURES SECTION (#funzionalita) - DARK TECH
---------------------------------------------------- */
.features-section {
  position: relative;
  background: 
    radial-gradient(circle at 10% 15%, rgba(2, 132, 199, 0.16) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(124, 58, 237, 0.14) 0%, transparent 40%),
    var(--dark-bg);
  padding: 96px 0;
  color: #ffffff;
  overflow: hidden;
}

.features-section .section-heading h2 {
  color: #ffffff;
}

.features-section .section-heading > p {
  color: #94a3b8;
}

.features-section .eyebrow {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.15);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 10px;
}

.feature-card {
  padding: 34px 30px;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.65) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid var(--dark-border);
  border-radius: 22px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 22px 45px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(2, 132, 199, 0.15);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 22px;
  margin-bottom: 22px;
  transition: transform 0.25s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.08);
}

.blue {
  background: rgba(2, 132, 199, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.22);
}

.green {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.35);
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.22);
}

.violet {
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
  border: 1px solid rgba(167, 139, 250, 0.35);
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.22);
}

.amber {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.35);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.22);
}

.feature-card small {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #94a3b8;
  font-weight: 750;
  text-transform: uppercase;
}

.feature-card h3 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.6px;
  margin: 12px 0 14px;
  color: #ffffff;
  font-weight: 750;
}

.feature-card p {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.8;
  margin: 0 0 26px;
}

.feature-tag {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  font-size: 11px;
  color: #7dd3fc;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ----------------------------------------------------
   SYNC SECTION
---------------------------------------------------- */
.sync-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
  padding-block: 92px;
}

.sync-section > div > p:not(.eyebrow) {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 580px;
  line-height: 1.85;
}

.sync-note {
  padding: 38px 34px;
  border: 1.5px solid #bae6fd;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  box-shadow: 0 20px 45px -10px rgba(2, 132, 199, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sync-note:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 50px -10px rgba(2, 132, 199, 0.15);
}

.sync-symbol {
  display: inline-grid;
  place-items: center;
  font-size: 32px;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 8px 22px rgba(2, 132, 199, 0.35);
  margin-bottom: 20px;
}

.sync-note h3 {
  font-size: 23px;
  letter-spacing: -0.7px;
  margin: 0 0 10px;
  color: var(--text-main);
  font-weight: 800;
}

.sync-note p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 18px;
}

.sync-note a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 750;
  color: var(--primary-dark);
  transition: transform 0.2s ease, color 0.2s ease;
}

.sync-note a:hover {
  color: var(--primary);
  transform: translateX(3px);
}

/* ----------------------------------------------------
   METHOD / STEPS (#metodo)
---------------------------------------------------- */
.method {
  padding-block: 20px 84px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 10px;
}

.steps article {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.steps article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3.5px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, var(--primary), #38bdf8);
  opacity: 0.8;
}

.steps article:nth-child(2)::before {
  background: linear-gradient(90deg, #10b981, #34d399);
}

.steps article:nth-child(3)::before {
  background: linear-gradient(90deg, #8b5cf6, #a78bfa);
}

.steps article:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.steps article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e0f2fe;
  color: var(--primary-deep);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
}

.steps article:nth-child(2) > span {
  background: #d1fae5;
  color: #047857;
}

.steps article:nth-child(3) > span {
  background: #ede9fe;
  color: #6d28d9;
}

.steps h3 {
  font-size: 21px;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
  color: var(--text-main);
  font-weight: 750;
}

.steps p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

/* ----------------------------------------------------
   ACCESS SECTION (#accesso)
---------------------------------------------------- */
.access-section {
  padding-bottom: 84px;
}

.access-card {
  position: relative;
  border: 1.5px solid #bae6fd;
  border-radius: 28px;
  padding: 56px 48px;
  background: 
    radial-gradient(circle at 90% 10%, rgba(224, 242, 254, 0.8) 0%, transparent 50%),
    linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  box-shadow: 0 20px 50px -15px rgba(2, 132, 199, 0.12);
  overflow: hidden;
}

.access-card p:not(.eyebrow) {
  color: var(--text-muted);
  max-width: 720px;
  font-size: 16px;
  line-height: 1.75;
  margin: 22px 0 28px;
}

.access-card .button {
  padding: 15px 30px;
  font-size: 15px;
}

.access-card small {
  display: block;
  color: var(--text-dim);
  max-width: 680px;
  font-size: 12px;
  line-height: 1.75;
  margin-top: 24px;
}

/* ----------------------------------------------------
   FAQ SECTION (#faq)
---------------------------------------------------- */
.faq-section {
  padding-block: 20px 88px;
}

.faq-list {
  max-width: 880px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.faq-list details {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 20px 26px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-list details:hover {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.faq-list details[open] {
  border-color: #bae6fd;
  background: #f8fafc;
  box-shadow: 0 8px 24px -4px rgba(2, 132, 199, 0.08);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  font-size: 15.5px;
  font-weight: 750;
  color: var(--text-main);
  user-select: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  color: var(--primary);
  font-size: 20px;
  font-weight: 600;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.faq-list details[open] summary span {
  background: var(--primary);
  color: #ffffff;
  transform: rotate(45deg);
}

.faq-list p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 800px;
  margin: 14px 0 4px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

/* ----------------------------------------------------
   FOOTER
---------------------------------------------------- */
footer {
  padding: 48px 0 32px;
  background: #090d16;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-top .brand {
  color: #ffffff;
}

.footer-top > span {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 550;
}

.footer-top > a:last-child {
  font-size: 13px;
  color: #38bdf8;
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-top > a:last-child:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 32px;
  padding-top: 24px;
  font-size: 11px;
  color: #64748b;
  line-height: 1.6;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p:last-child {
  max-width: 480px;
  text-align: right;
}

/* ----------------------------------------------------
   RESPONSIVE (MEDIA QUERIES)
---------------------------------------------------- */
@media (max-width: 1000px) {
  .container {
    width: calc(100% - 44px);
  }
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .nav-links {
    gap: 16px;
    font-size: 12px;
  }
  .hero {
    padding-top: 56px;
  }
  .hero h1 {
    letter-spacing: -2.2px;
  }
  .sync-section {
    gap: 36px;
  }
  .feature-card {
    padding: 26px;
  }
  .section-heading {
    gap: 24px;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 140px;
  }
  .container {
    width: calc(100% - 32px);
  }
  .preview-ribbon {
    font-size: 9px;
    padding: 8px 16px;
    letter-spacing: 0.03em;
  }
  .top-nav {
    flex-wrap: wrap;
    gap: 12px;
    padding-block: 14px;
    min-height: 0;
  }
  .brand {
    font-size: 20px;
  }
  .brand img {
    width: 26px;
    height: 26px;
  }
  .brand span {
    font-size: 10.5px;
  }
  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 6px;
    font-size: 11px;
    padding-top: 6px;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
  }
  .nav-links a {
    padding: 6px 10px;
  }
  .button-small {
    font-size: 11px;
    padding: 8px 14px;
  }
  .hero {
    padding: 42px 0 40px;
  }
  .hero h1 {
    font-size: 38px;
    letter-spacing: -1.6px;
  }
  .hero-copy {
    font-size: 15px;
    margin: 18px auto;
  }
  .desktop-break {
    display: none;
  }
  .eyebrow {
    font-size: 9px;
    letter-spacing: 0.1em;
    padding: 5px 12px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .hero-actions .button,
  .hero-actions .text-link {
    width: 100%;
    justify-content: center;
  }
  .hero-highlights {
    gap: 8px 12px;
    font-size: 11px;
    justify-content: center;
  }
  .hero-highlights span {
    padding: 6px 12px;
  }
  .section-heading {
    display: block;
    margin-bottom: 26px;
  }
  .section-heading > p {
    margin-top: 16px;
    font-size: 13.5px;
  }
  .section-heading h2,
  .sync-section h2,
  .access-card h2 {
    font-size: 32px;
    letter-spacing: -1.2px;
  }
  .screen-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    width: 100%;
    border-radius: 16px;
  }
  .screen-tabs button {
    font-size: 11px;
    padding: 10px 8px;
    text-align: center;
    border-radius: 10px;
  }
  .screen-frame {
    border-radius: 14px;
  }
  .screen-bar {
    padding: 10px 14px;
    font-size: 9px;
  }
  .demo-label {
    font-size: 8px;
    padding: 2px 7px;
  }
  .screen-panel figcaption {
    display: block;
    font-size: 13px;
    margin-top: 16px;
  }
  .screen-panel figcaption strong {
    display: block;
    margin-bottom: 6px;
  }
  .screen-panel figcaption span {
    display: block;
  }
  .platform {
    padding-block: 54px 44px;
  }
  .features-section {
    padding-block: 60px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature-card {
    padding: 26px 22px;
  }
  .feature-card h3 {
    font-size: 22px;
  }
  .sync-section {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 54px;
  }
  .sync-note {
    padding: 26px 22px;
  }
  .method {
    padding-bottom: 50px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .steps article {
    padding: 26px 22px;
  }
  .steps h3 {
    margin: 10px 0;
  }
  .steps p {
    font-size: 13.5px;
  }
  .access-section {
    padding-bottom: 54px;
  }
  .access-card {
    padding: 32px 22px;
    border-radius: 20px;
  }
  .access-card p:not(.eyebrow) {
    font-size: 14.5px;
  }
  .faq-section {
    padding-block: 20px 54px;
  }
  .faq-list details {
    padding: 16px 18px;
  }
  .faq-list summary {
    font-size: 14px;
  }
  .faq-list p {
    font-size: 13.5px;
  }
  .footer-top {
    flex-wrap: wrap;
  }
  .footer-top > span {
    width: 100%;
    order: 3;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom p:last-child {
    text-align: left;
    margin-top: 10px;
  }
}
/* Smaller labels must meet normal-text contrast too. */
html:not([data-theme="dark"]) .brand span,
html:not([data-theme="dark"]) .faq-list summary span { color:#0369a1; }
html:not([data-theme="dark"]) .screen-tabs button { color:#475569; }
html:not([data-theme="dark"]) .screen-tabs button[aria-selected="true"] { color:#fff; }
html:not([data-theme="dark"]) .footer-bottom p { color:#94a3b8; }
