:root {
  --bg: #0b0f16;
  --surface-1: #111722;
  --surface-2: #161d2b;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.24);
  --text: #f1f5f9;
  --text-secondary: #a7b3c4;
  --accent: #10b981;
  --accent-hover: #059669;
  --accent-text: #04130d;
  --cyan: #22d3ee;
  --container-max: 1120px;
  --gutter: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: rgba(167, 179, 196, 0.45);
  text-underline-offset: 0.22em;
  transition: color 0.15s ease, text-decoration-color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

a:hover {
  color: #ffffff;
  text-decoration-color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 100;
  padding: 12px 18px;
  min-height: 44px;
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--cyan);
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Typography */
h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 1.55rem + 3.4vw, 3.75rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.75rem, 1.35rem + 1.8vw, 2.75rem);
  line-height: 1.12;
}

h3 {
  font-size: clamp(1.2rem, 1.08rem + 0.5vw, 1.4rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
  color: var(--text-secondary);
  max-width: 65ch;
  text-wrap: pretty;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(11, 15, 22, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.025em;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  flex-shrink: 0;
}

.brand-name {
  display: none;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 14px;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
}

.nav-link:hover {
  color: var(--text);
  background-color: rgba(148, 163, 184, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0;
}

.lang-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 44px;
  padding-inline: 7px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 8px;
}

.lang-option[aria-current="page"] {
  background: var(--surface-2);
  color: var(--text);
}

/* Menu su telefono */
.menu-mobile {
  position: static;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-1);
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.menu-toggle::-webkit-details-marker {
  display: none;
}

.menu-icon-close,
.menu-mobile[open] .menu-icon-open {
  display: none;
}

.menu-mobile[open] .menu-icon-close {
  display: block;
}

.menu-panel {
  position: absolute;
  top: calc(100% + 6px);
  right: var(--gutter);
  z-index: 50;
  display: flex;
  flex-direction: column;
  width: min(260px, calc(100% - var(--gutter) * 2));
  padding: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.menu-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 14px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.menu-link:hover {
  background: rgba(148, 163, 184, 0.1);
}

.lead-short {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 0.96875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-sm {
  min-height: 44px;
  padding: 8px 12px;
  font-size: 0.84375rem;
  border-radius: 10px;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: var(--accent-text);
}

.btn-secondary {
  background-color: var(--surface-1);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background-color: var(--surface-2);
  border-color: rgba(148, 163, 184, 0.38);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.cta-group .btn {
  width: 100%;
}

/* Sections */
.section {
  padding-block: 64px;
  border-bottom: 1px solid var(--border);
  overflow-x: clip;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 40px;
}

/* Signature Calorie Ring indicator */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text-secondary);
}

.eyebrow-icon {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

.ring-badge {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.ring-track {
  stroke: rgba(148, 163, 184, 0.22);
}

.ring-progress-cyan {
  stroke: var(--cyan);
}

.ring-progress-green {
  stroke: var(--accent);
}

/* Hero */
.hero {
  padding-top: 44px;
  padding-bottom: 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.hero-lead {
  font-size: 1.0625rem;
  color: var(--text-secondary);
}

.hero-note {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 36px;
}

.hero-glow {
  position: absolute;
  top: 0;
  width: min(340px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, rgba(16, 185, 129, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-ring-deco {
  position: absolute;
  top: 0;
  width: min(330px, 100%);
  aspect-ratio: 1;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

/* Phone Shell (.phone) */
.phone-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.phone {
  position: relative;
  width: min(280px, 100%, calc(70vh * 9 / 19.5));
  max-height: 70vh;
  aspect-ratio: 9 / 19.5;
  padding: 9px;
  border-radius: 42px;
  background: #070a10;
  border: 1px solid rgba(148, 163, 184, 0.24);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  display: flex;
}

.phone::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #05070b;
  border: 1px solid rgba(148, 163, 184, 0.2);
  z-index: 3;
  pointer-events: none;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 33px;
  background: linear-gradient(165deg, var(--surface-2) 0%, var(--bg) 60%, var(--surface-1) 100%);
  border: 1px solid rgba(148, 163, 184, 0.1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone video,
.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-caption {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text-secondary);
  text-align: center;
  max-width: 34ch;
}

/* Section 2: Problem Grid */
.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.problem-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

/* Feature Rows (Sections 3, 4, 5, 6) */
[hidden] {
  display: none !important;
}

/* Tre modi: riga a scorrimento su telefono, tre colonne da 900 px */
.feature-carousel {
  margin-inline: calc(var(--gutter) * -1);
}

.feature-stack {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 0 var(--gutter) 4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.feature-stack::-webkit-scrollbar {
  display: none;
}

.feature-stack:focus-visible {
  outline-offset: -3px;
  border-radius: 12px;
}

.feature-card {
  flex: 0 0 min(86%, 340px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-card .phone {
  width: min(190px, 100%, calc(70vh * 9 / 19.5));
  border-radius: 34px;
}

.feature-card .phone-screen {
  border-radius: 26px;
}

.feature-card .phone-caption {
  text-align: left;
  max-width: none;
}

.feature-note {
  margin-top: 8px;
  text-align: left;
  max-width: none;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

.carousel-dot {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.carousel-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.65);
}

.carousel-dot[aria-current="true"]::after {
  width: 22px;
  margin-left: -11px;
  background: var(--cyan);
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.feature-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  color: var(--cyan);
  flex-shrink: 0;
}

.icon-box--green {
  color: var(--accent);
}

.icon-svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.section-note {
  margin-top: 40px;
  padding: 14px 18px;
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.mid-cta {
  margin-top: 8px;
  padding-top: 8px;
}

/* Section 7: Chi la fa + Discord */
.creator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

.creator-card,
.discord-card {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.discord-card {
  background: var(--surface-2);
  border-color: var(--border-strong);
  justify-content: space-between;
}

.discord-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.avatar-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-left: 5px;
}

.avatar-circle {
  width: 88px;
  height: 88px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--surface-2);
  /* anello sottile staccato dalla foto: bordo scuro, poi verde Snappy */
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent), 0 8px 24px rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.avatar-circle img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.avatar-meta {
  display: flex;
  flex-direction: column;
}

.avatar-name {
  font-weight: 700;
  color: var(--text);
  font-size: 1rem;
}

.avatar-role {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Section 8: Entra nella beta */
.beta-box {
  background: var(--surface-1);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.beta-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
}

.beta-step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--cyan);
  font-weight: 800;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.beta-step p {
  color: var(--text);
  font-size: 1rem;
}

.beta-perks {
  font-size: 0.96875rem;
  color: var(--text-secondary);
}

/* Mini guida iPhone: installare Snappy come app web da Safari */
.ios-guide {
  margin-block: 8px 16px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-1);
}

.ios-guide .beta-perks {
  margin: 0;
}

.ios-guide strong {
  color: var(--text);
}

.ios-steps {
  margin: 12px 0;
  padding-left: 1.4em;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.96875rem;
  color: var(--text);
}

/* Section 9: FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
}

.faq-item {
  background: var(--surface-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 54px;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 1.03125rem;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  background: rgba(148, 163, 184, 0.05);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--text);
}

.faq-answer {
  padding: 0 20px 20px;
}

/* Footer */
.site-footer {
  padding-top: 48px;
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* Mobile fixed CTA bar (< 900px) */
.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 35;
  padding: 10px 20px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(11, 15, 22, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-strong);
  transform: translateY(105%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-cta-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-cta-bar .btn {
  width: 100%;
}

/* Tablet & Desktop breakpoints */
@media (min-width: 640px) {
  :root {
    --gutter: 28px;
  }

  .brand-name {
    display: inline;
  }

  .cta-group .btn {
    width: auto;
  }

  .btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
  }

  .beta-box {
    padding: 36px;
  }
}

@media (min-width: 900px) {
  body {
    font-size: 1.125rem;
  }

  .main-nav {
    display: flex;
  }

  .header-actions {
    gap: 12px;
  }

  .section {
    padding-block: 116px;
  }

  .hero {
    padding-top: 72px;
    padding-bottom: 112px;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 56px;
  }

  .hero-lead {
    font-size: 1.1875rem;
  }

  .hero-stage {
    padding-top: 44px;
  }

  .hero-glow {
    width: 440px;
    height: 440px;
  }

  .hero-ring-deco {
    width: 420px;
    height: 420px;
  }

  .phone {
    width: min(336px, 100%, calc(70vh * 9 / 19.5));
    border-radius: 44px;
  }

  .phone-screen {
    border-radius: 35px;
  }

  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .feature-row {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .feature-row--reverse .feature-copy {
    order: 2;
  }

  .feature-row--reverse .phone-wrap {
    order: 1;
  }

  .feature-carousel {
    margin-inline: 0;
  }

  .feature-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
    padding: 0;
    overflow: visible;
    scroll-snap-type: none;
  }

  .feature-card {
    flex: none;
  }

  .feature-card .phone {
    width: min(220px, 100%, calc(70vh * 9 / 19.5));
    border-radius: 38px;
  }

  .feature-card .phone-screen {
    border-radius: 29px;
  }

  .carousel-dots {
    display: none;
  }

  .menu-mobile {
    display: none;
  }

  .creator-grid {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 28px;
  }

  .creator-card,
  .discord-card {
    padding: 36px;
  }

  .beta-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .beta-step {
    flex-direction: column;
  }

  .site-footer {
    padding-bottom: 56px;
  }

  .mobile-cta-bar {
    display: none;
  }
}

@media (max-width: 359px) {
  .header-actions .btn-sm {
    display: none;
  }
}

@media (max-width: 639px) {
  .section {
    padding-block: 52px;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 44px;
  }

  .hero-grid {
    gap: 24px;
  }

  .hero-copy {
    gap: 14px;
  }

  .hero-stage {
    padding-top: 16px;
  }

  .lead-long {
    display: none;
  }

  .lead-short {
    display: inline;
  }
}

/* Modulo di contatto (sezione «Scrivici» e bozza) */
.section-lead {
  margin: 0;
  max-width: 60ch;
  color: var(--text-secondary);
}

#scrivici .contact-form,
#contact .contact-form {
  margin-top: 0;
}

.contact-page {
  padding-block: 48px 72px;
}

.contact-block h2 {
  margin: 28px 0 12px;
}

.contact-block + .contact-block {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
  margin-top: 24px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text);
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--surface-1);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.field-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.form-consent input {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: var(--accent);
}

.form-status {
  padding: 12px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--surface-1);
  color: var(--text);
  max-width: none;
}

.form-status[data-state="ok"] {
  border-color: var(--accent);
}

.form-status[data-state="error"] {
  border-color: #f59e0b;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (prefers-reduced-motion: no-preference) {
  .btn {
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, filter 0.15s ease;
  }

  .btn:hover:not([disabled]) {
    transform: scale(1.015);
    filter: brightness(1.06);
  }

  .btn:active:not([disabled]) {
    transform: scale(0.98);
    filter: brightness(0.92);
  }

  .reveal {
    opacity: 0;
    transform: translateY(14px);
  }

  .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  }

  .problem-card.reveal.is-in:nth-child(2) {
    transition-delay: 0.07s;
  }

  .problem-card.reveal.is-in:nth-child(3) {
    transition-delay: 0.14s;
  }

  @keyframes ring-draw {
    from {
      stroke-dashoffset: 56.5;
    }
  }

  .reveal.is-in .ring-progress-cyan {
    animation: ring-draw 0.9s ease-out 0.15s backwards;
  }

  .faq-item {
    interpolate-size: allow-keywords;
  }

  .faq-item::details-content {
    height: 0;
    overflow: hidden;
    transition: height 0.25s ease, content-visibility 0.25s allow-discrete;
  }

  .faq-item[open]::details-content {
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
