:root {
  --cream: #f8f1e6;
  --paper: #fffaf2;
  --sage: #315c4b;
  --sage-soft: #dce8dd;
  --clay: #b8795f;
  --indigo: #42486f;
  --lavender: #d8cde7;
  --ink: #24322e;
  --muted: #66736d;
  --line: rgba(36, 50, 46, 0.14);
  --shadow: 0 22px 60px rgba(49, 92, 75, 0.18);
  --shadow-lift: 0 28px 80px rgba(49, 92, 75, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", "Aptos Rounded", "Arial Rounded MT Bold", "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(216, 205, 231, 0.5), transparent 28rem),
    linear-gradient(135deg, rgba(255, 250, 242, 0.95), rgba(248, 241, 230, 0.95)),
    var(--cream);
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.42;
  background:
    linear-gradient(120deg, transparent 0 42%, rgba(184, 121, 95, 0.08) 48%, transparent 55%),
    linear-gradient(45deg, transparent 0 50%, rgba(49, 92, 75, 0.08) 55%, transparent 62%);
  background-size: 180% 180%, 160% 160%;
  animation: wovenLight 24s ease-in-out infinite alternate;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 1rem clamp(1rem, 4vw, 4.5rem);
  background: rgba(255, 250, 242, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  animation: headerDrop 700ms ease both;
}

.brand,
.nav-links,
.hero-actions,
.screen-top,
.mini-grid,
.aidi-note,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.65rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.brand img {
  transition: transform 450ms ease;
}

.brand:hover img,
.brand:focus-visible img {
  transform: rotate(-8deg) scale(1.08);
}

.nav-links {
  gap: clamp(0.75rem, 3vw, 2rem);
  color: var(--muted);
  font-size: 0.96rem;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--sage);
}

.nav-links a {
  position: relative;
  padding-bottom: 0.2rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta,
.button,
.signup-form button,
.language-switcher button {
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.nav-cta {
  padding: 0.7rem 1rem;
  color: var(--paper);
  background: var(--sage);
  box-shadow: 0 10px 24px rgba(49, 92, 75, 0.16);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: #264a3c;
  box-shadow: 0 14px 34px rgba(49, 92, 75, 0.25);
  transform: translateY(-2px);
}

.language-switcher {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.72);
}

.language-switcher button {
  min-width: 2.35rem;
  min-height: 2rem;
  color: var(--muted);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 900;
  transition: color 220ms ease, background 220ms ease, transform 220ms ease;
}

.language-switcher button:hover,
.language-switcher button:focus-visible,
.language-switcher button.is-active {
  color: var(--paper);
  background: var(--sage);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(3rem, 8vw, 6.5rem) clamp(1rem, 5vw, 5rem);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: url("assets/yarn-field.svg");
  background-size: cover;
  background-position: center;
  pointer-events: none;
  animation: slowDrift 22s ease-in-out infinite alternate;
}

.thread-ribbons {
  position: absolute;
  inset: 7% -12% auto -12%;
  height: 34rem;
  pointer-events: none;
}

.thread-ribbons span {
  position: absolute;
  left: 0;
  width: 125%;
  height: 9rem;
  border: 2px solid transparent;
  border-top-color: rgba(184, 121, 95, 0.3);
  border-radius: 50%;
  transform: rotate(-8deg);
  animation: ribbonFloat 12s ease-in-out infinite;
}

.thread-ribbons span:nth-child(2) {
  top: 7rem;
  border-top-color: rgba(49, 92, 75, 0.24);
  animation-delay: -3s;
  animation-duration: 15s;
}

.thread-ribbons span:nth-child(3) {
  top: 14rem;
  border-top-color: rgba(66, 72, 111, 0.2);
  animation-delay: -6s;
  animation-duration: 18s;
}

.hero-text,
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-text {
  animation: heroCopyIn 850ms ease 120ms both;
}

.hero-visual {
  animation: heroPhoneIn 950ms cubic-bezier(0.2, 0.78, 0.24, 1) 260ms both;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.35rem;
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 1;
  letter-spacing: 0;
  font-weight: 900;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 880;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.25rem;
  font-weight: 850;
}

.hero-copy {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.2rem;
  position: relative;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.button::after,
.signup-form button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 35%, rgba(255, 255, 255, 0.28) 50%, transparent 65% 100%);
  transform: translateX(-120%);
  transition: transform 650ms ease;
}

.button:hover,
.button:focus-visible,
.signup-form button:hover,
.signup-form button:focus-visible {
  transform: translateY(-2px);
}

.button:hover::after,
.button:focus-visible::after,
.signup-form button:hover::after,
.signup-form button:focus-visible::after {
  transform: translateX(120%);
}

.button.primary {
  color: var(--paper);
  background: var(--sage);
  box-shadow: 0 16px 34px rgba(49, 92, 75, 0.2);
}

.button.secondary {
  color: var(--sage);
  background: rgba(49, 92, 75, 0.11);
}

.hero-visual {
  justify-self: center;
  width: min(100%, 440px);
}

.phone-shell {
  padding: 0.85rem;
  border: 1px solid rgba(36, 50, 46, 0.2);
  border-radius: 2.1rem;
  background: #27332f;
  box-shadow: var(--shadow);
  transform-style: preserve-3d;
  animation: phoneFloat 6s ease-in-out infinite;
  transition: transform 450ms ease, box-shadow 450ms ease;
}

.hero-visual:hover .phone-shell {
  box-shadow: var(--shadow-lift);
  transform: translateY(-8px) rotateX(2deg) rotateY(-4deg);
}

.phone-screen {
  display: grid;
  gap: 1rem;
  min-height: 620px;
  padding: 1.15rem;
  border-radius: 1.45rem;
  background: linear-gradient(180deg, #fffaf2, #f3eadc);
  overflow: hidden;
  position: relative;
}

.phone-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 28%, rgba(255, 255, 255, 0.52) 42%, transparent 56% 100%);
  transform: translateX(-130%);
  animation: screenSheen 7s ease-in-out infinite;
  pointer-events: none;
}

.screen-top {
  justify-content: space-between;
}

.screen-logo {
  font-size: 1.2rem;
  font-weight: 850;
}

.status-pill {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  color: var(--sage);
  background: var(--sage-soft);
  font-size: 0.72rem;
  font-weight: 800;
}

.project-card,
.current-step,
.mini-grid > div,
.aidi-note,
.feature-grid article,
.aidi-panel,
.roadmap > div,
.signup-form,
.problem-grid article,
.audience-grid article,
.mock-screen,
.benefit-list > div,
.trust-grid article,
.faq-list details {
  border: 1px solid var(--line);
  background: rgba(255, 250, 242, 0.78);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease, background 260ms ease;
}

.project-card {
  padding: 1rem;
  border-radius: 1.15rem;
  animation: cardPulse 5s ease-in-out infinite;
}

.project-card strong {
  display: block;
  margin: 0.4rem 0;
  font-size: 2.2rem;
}

.progress-bar {
  height: 0.55rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(49, 92, 75, 0.12);
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--sage);
  transform-origin: left;
  animation: progressGrow 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) 700ms both;
}

.current-step {
  padding: 1.2rem;
  border-radius: 1.15rem;
}

.current-step small,
.mini-grid small {
  color: var(--muted);
  font-weight: 700;
}

.current-step p {
  margin: 0.35rem 0 0;
  font-size: 1.35rem;
  font-weight: 760;
  line-height: 1.25;
}

.mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.mini-grid > div {
  padding: 1rem;
  border-radius: 1rem;
}

.mini-grid > div:hover,
.feature-grid article:hover,
.roadmap > div:hover,
.signup-form:hover,
.problem-grid article:hover,
.audience-grid article:hover,
.mock-screen:hover,
.benefit-list > div:hover,
.trust-grid article:hover,
.faq-list details:hover {
  border-color: rgba(49, 92, 75, 0.28);
  box-shadow: 0 18px 48px rgba(49, 92, 75, 0.12);
  transform: translateY(-5px);
}

.mini-grid strong {
  display: block;
  margin-top: 0.3rem;
}

.aidi-note {
  gap: 0.85rem;
  align-self: end;
  padding: 0.9rem;
  border-radius: 1rem;
  color: #36395c;
  background: rgba(216, 205, 231, 0.45);
  animation: noteBreathe 4.5s ease-in-out infinite;
}

.aidi-note img,
.aidi-panel img {
  filter: drop-shadow(0 12px 22px rgba(66, 72, 111, 0.14));
  animation: aidiBob 4.8s ease-in-out infinite;
}

.aidi-note p {
  margin: 0;
  font-weight: 720;
}

.intro-band {
  padding: clamp(1.5rem, 4vw, 3rem) clamp(1rem, 5vw, 5rem);
  color: var(--paper);
  background: var(--sage);
  position: relative;
  overflow: hidden;
}

.intro-band::after {
  content: "";
  position: absolute;
  inset: auto -10% -6rem -10%;
  height: 11rem;
  border-radius: 50%;
  border-top: 2px solid rgba(255, 250, 242, 0.22);
  animation: ribbonFloat 14s ease-in-out infinite reverse;
}

.intro-band p {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  line-height: 1.22;
  text-align: center;
}

.section,
.split-section,
.waitlist {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 5vw, 5rem);
}

.problem-grid,
.audience-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.problem-grid article,
.audience-grid article,
.trust-grid article,
.benefit-list > div,
.faq-list details {
  padding: 1.2rem;
  border-radius: 0.5rem;
}

.problem-grid strong,
.problem-grid span,
.benefit-list strong,
.benefit-list span {
  display: block;
}

.problem-grid strong,
.benefit-list strong {
  margin-bottom: 0.55rem;
  font-size: 1.18rem;
}

.problem-grid span,
.audience-grid p,
.trust-grid p,
.benefit-list span,
.faq-list p,
.brand-note {
  color: var(--muted);
}

.audience-section,
.screenshots-section,
.benefits-section,
.trust-section,
.faq-section {
  background: rgba(255, 250, 242, 0.52);
}

.screen-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.mock-screen {
  min-height: 310px;
  padding: 1rem;
  border-radius: 1.5rem;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.95), rgba(243, 234, 220, 0.94)),
    var(--paper);
  box-shadow: 0 20px 50px rgba(49, 92, 75, 0.1);
}

.mock-label,
.status {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.35rem 0.62rem;
  border-radius: 999px;
  color: var(--sage);
  background: var(--sage-soft);
  font-size: 0.76rem;
  font-weight: 850;
}

.mock-screen strong {
  display: block;
  margin-bottom: 1.2rem;
  font-size: 1.45rem;
  line-height: 1.15;
}

.mock-line,
.mock-progress {
  height: 0.85rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: rgba(49, 92, 75, 0.13);
}

.mock-line.long {
  width: 86%;
}

.mock-line.medium {
  width: 66%;
}

.mock-line.short {
  width: 48%;
}

.mock-progress {
  overflow: hidden;
}

.mock-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--sage);
}

.mock-yarn-row,
.mock-step-controls {
  display: flex;
  gap: 0.65rem;
  margin: 2rem 0;
}

.mock-yarn-row span {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: var(--sage-soft);
  border: 4px solid var(--sage);
}

.mock-yarn-row span:nth-child(2) {
  background: var(--lavender);
  border-color: var(--indigo);
}

.mock-yarn-row span:nth-child(3) {
  background: #f1d9c8;
  border-color: var(--clay);
}

.mock-step-controls span {
  flex: 1;
  height: 3.2rem;
  border-radius: 999px;
  background: rgba(66, 72, 111, 0.12);
}

.mock-step-controls span:nth-child(2) {
  background: var(--sage);
}

.has-js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.78, 0.24, 1);
}

.has-js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.has-js .feature-grid article.reveal:not(.is-visible):nth-child(2),
.has-js .roadmap > div.reveal:not(.is-visible):nth-child(2) {
  transition-delay: 90ms;
}

.has-js .feature-grid article.reveal:not(.is-visible):nth-child(3),
.has-js .roadmap > div.reveal:not(.is-visible):nth-child(3) {
  transition-delay: 180ms;
}

.has-js .feature-grid article.reveal:not(.is-visible):nth-child(4),
.has-js .roadmap > div.reveal:not(.is-visible):nth-child(4) {
  transition-delay: 270ms;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading h2 {
  margin-bottom: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature-grid article {
  min-height: 260px;
  padding: 1.25rem;
  border-radius: 0.5rem;
  position: relative;
  overflow: hidden;
}

.feature-grid article::before,
.roadmap > div::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(220, 232, 221, 0.7), transparent 52%);
  opacity: 0;
  transition: opacity 260ms ease;
}

.feature-grid article:hover::before,
.roadmap > div:hover::before {
  opacity: 1;
}

.feature-grid article > *,
.roadmap > div > * {
  position: relative;
  z-index: 1;
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  margin-bottom: 1.6rem;
  border: 1px solid rgba(49, 92, 75, 0.18);
  border-radius: 1.15rem;
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.9), rgba(220, 232, 221, 0.78)),
    var(--paper);
  box-shadow: 0 14px 28px rgba(49, 92, 75, 0.1);
  transition: transform 280ms ease, box-shadow 280ms ease, background 280ms ease;
}

.feature-icon img {
  display: block;
  width: 3.15rem;
  height: 3.15rem;
  transition: transform 320ms ease;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(49, 92, 75, 0.16);
  border-radius: 1rem;
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.92), rgba(220, 232, 221, 0.62)),
    var(--paper);
  box-shadow: 0 12px 24px rgba(49, 92, 75, 0.09);
  transition: transform 280ms ease, box-shadow 280ms ease, background 280ms ease;
}

.card-icon img {
  display: block;
  width: 2.55rem;
  height: 2.55rem;
  transition: transform 320ms ease;
}

.feature-grid article:hover .feature-icon {
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.96), rgba(216, 205, 231, 0.72)),
    var(--paper);
  box-shadow: 0 18px 36px rgba(49, 92, 75, 0.16);
  transform: translateY(-3px) rotate(-2deg);
}

.feature-grid article:hover .feature-icon img {
  transform: scale(1.08) rotate(3deg);
}

.problem-grid article:hover .card-icon,
.audience-grid article:hover .card-icon,
.benefit-list > div:hover .card-icon,
.trust-grid article:hover .card-icon {
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.98), rgba(216, 205, 231, 0.62)),
    var(--paper);
  box-shadow: 0 16px 32px rgba(49, 92, 75, 0.14);
  transform: translateY(-3px) rotate(-2deg);
}

.problem-grid article:hover .card-icon img,
.audience-grid article:hover .card-icon img,
.benefit-list > div:hover .card-icon img,
.trust-grid article:hover .card-icon img {
  transform: scale(1.08) rotate(3deg);
}

.feature-grid p,
.split-section p,
.waitlist p,
.roadmap span {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  background: #fffaf2;
}

.split-section > div:first-child {
  max-width: 760px;
}

.aidi-panel {
  display: grid;
  gap: 1rem;
  justify-items: center;
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(216, 205, 231, 0.65), rgba(255, 250, 242, 0.92));
  overflow: hidden;
  position: relative;
}

.aidi-panel::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(66, 72, 111, 0.14);
  border-radius: 999px;
  transform: rotate(-14deg);
  animation: orbitThread 10s linear infinite;
}

.quote-mark {
  display: block;
  color: var(--indigo);
  font-size: 3rem;
  font-weight: 900;
  line-height: 0.75;
}

.aidi-panel p {
  margin-bottom: 0;
  color: var(--indigo);
  font-size: 1.25rem;
  font-weight: 760;
}

#aidiQuote {
  transition: opacity 220ms ease;
}

.muted {
  background: rgba(220, 232, 221, 0.48);
}

.roadmap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.roadmap > div {
  min-height: 170px;
  padding: 1.15rem;
  border-radius: 0.5rem;
  position: relative;
  overflow: hidden;
}

.roadmap-icon {
  display: inline-grid;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(66, 72, 111, 0.16);
  border-radius: 1rem;
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.92), rgba(216, 205, 231, 0.5)),
    var(--paper);
  box-shadow: 0 12px 24px rgba(66, 72, 111, 0.1);
  transition: transform 280ms ease, box-shadow 280ms ease, background 280ms ease;
}

.roadmap-icon img {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  transition: transform 320ms ease;
}

.roadmap > div:hover .roadmap-icon {
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.98), rgba(220, 232, 221, 0.74)),
    var(--paper);
  box-shadow: 0 16px 34px rgba(49, 92, 75, 0.14);
  transform: translateY(-3px) rotate(2deg);
}

.roadmap > div:hover .roadmap-icon img {
  transform: scale(1.08) rotate(-3deg);
}

.roadmap strong,
.roadmap span {
  display: block;
}

.status {
  margin-bottom: 0.7rem;
}

.status.future {
  color: var(--indigo);
  background: rgba(216, 205, 231, 0.72);
}

.roadmap strong {
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.waitlist {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.7fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.vote-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.vote-options button {
  min-height: 48px;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(49, 92, 75, 0.22);
  border-radius: 999px;
  color: var(--sage);
  background: rgba(255, 250, 242, 0.78);
  font: inherit;
  font-weight: 820;
  cursor: pointer;
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.vote-options button:hover,
.vote-options button:focus-visible,
.vote-options button.is-selected {
  color: var(--paper);
  background: var(--sage);
  box-shadow: 0 14px 34px rgba(49, 92, 75, 0.18);
  transform: translateY(-2px);
}

.vote-message {
  min-height: 1.5rem;
  margin: 1rem 0 0;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-list summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  cursor: pointer;
  font-weight: 850;
}

.faq-list summary img {
  width: 2.15rem;
  height: 2.15rem;
  padding: 0.28rem;
  border: 1px solid rgba(66, 72, 111, 0.14);
  border-radius: 0.8rem;
  background: rgba(255, 250, 242, 0.78);
  transition: transform 260ms ease;
}

.faq-list details:hover summary img {
  transform: rotate(-3deg) scale(1.06);
}

.faq-list p {
  margin: 0.8rem 0 0;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.3rem;
}

.contact-links a {
  padding: 0.62rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--sage);
  background: rgba(255, 250, 242, 0.7);
  font-weight: 800;
}

.contact-links a[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.65;
}

.signup-form {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 0.5rem;
  background: var(--paper);
}

.signup-form label {
  font-weight: 780;
}

.signup-form div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.7rem;
}

.signup-form input {
  min-width: 0;
  min-height: 48px;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.signup-form button {
  min-height: 48px;
  padding: 0.8rem 1rem;
  color: var(--paper);
  background: var(--indigo);
  position: relative;
  overflow: hidden;
}

.form-message {
  min-height: 1.4rem;
  margin: 0;
  font-size: 0.92rem;
  transition: color 180ms ease;
}

.site-footer {
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 850;
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes wovenLight {
  from {
    background-position: 0% 30%, 80% 20%;
  }
  to {
    background-position: 100% 70%, 10% 90%;
  }
}

@keyframes slowDrift {
  from {
    transform: scale(1.02) translateX(-1rem);
  }
  to {
    transform: scale(1.06) translateX(1rem);
  }
}

@keyframes ribbonFloat {
  0%,
  100% {
    transform: translateX(-2%) translateY(0) rotate(-8deg);
  }
  50% {
    transform: translateX(3%) translateY(1rem) rotate(-6deg);
  }
}

@keyframes heroCopyIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroPhoneIn {
  from {
    opacity: 0;
    transform: translateY(38px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(0.6deg);
  }
}

@keyframes screenSheen {
  0%,
  55% {
    transform: translateX(-130%);
  }
  78%,
  100% {
    transform: translateX(130%);
  }
}

@keyframes progressGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes cardPulse {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(49, 92, 75, 0);
  }
  50% {
    box-shadow: 0 16px 36px rgba(49, 92, 75, 0.12);
  }
}

@keyframes noteBreathe {
  0%,
  100% {
    background: rgba(216, 205, 231, 0.45);
  }
  50% {
    background: rgba(216, 205, 231, 0.68);
  }
}

@keyframes aidiBob {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-6px) rotate(-2deg);
  }
}

@keyframes orbitThread {
  from {
    transform: rotate(-14deg);
  }
  to {
    transform: rotate(346deg);
  }
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .waitlist {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-visual {
    justify-self: start;
  }

  .feature-grid,
  .roadmap,
  .problem-grid,
  .audience-grid,
  .screen-gallery,
  .trust-grid,
  .benefit-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .language-switcher {
    margin-left: auto;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .phone-screen {
    min-height: 560px;
  }

  .feature-grid,
  .roadmap,
  .problem-grid,
  .audience-grid,
  .screen-gallery,
  .trust-grid,
  .benefit-list,
  .mini-grid,
  .signup-form div {
    grid-template-columns: 1fr;
  }

  .feature-grid article,
  .roadmap > div {
    min-height: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .has-js .reveal {
    opacity: 1;
    transform: none;
  }
}
