/* aakkj.com — Duolingo-inspired design tokens */
:root {
  --duo-green: #58CC02;
  --duo-green-light: #61E002;
  --duo-green-dark: #46A302;
  --duo-green-shadow: #58A700;
  --ink: #3C3C3C;
  --ink-strong: #4B4B4B;
  --muted: #777777;
  --muted-light: #AFAFAF;
  --canvas: #FFFFFF;
  --wash-blue: #DDF4FF;
  --surface: #FFFFFF;
  --surface-alt: #F7F7F7;
  --border: #E5E5E5;
  --border-strong: #DADADA;
  --link-blue: #1CB0F6;
  --link-blue-dark: #1B99D6;
  --navy: #042C60;
  --super-navy: #100F3E;
  --super-ink: #000437;
  --footer-soft: #D7FFB8;
  --warning: #FFC800;
  --error: #FF4B4B;
  --streak: #FF9600;
  --gems: #CE82FF;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --max-width: 988px;
  --wide-width: 1090px;
  --section-pad: 96px;
  --font-display: "Fredoka", "Nunito", sans-serif;
  --font-body: "Nunito", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.41;
  color: var(--muted);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--link-blue);
  text-decoration: none;
}

a:hover {
  color: var(--link-blue-dark);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container--wide {
  max-width: var(--wide-width);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--duo-green);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid var(--link-blue);
  outline-offset: 2px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--canvas);
  border-bottom: 2px solid var(--border);
  height: 72px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--duo-green);
  text-decoration: none;
}

.logo:hover {
  color: var(--duo-green-light);
}

.logo__mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.header-cta {
  font-size: 15px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 0.1s, background-color 0.15s, box-shadow 0.1s;
}

.btn:focus-visible {
  outline: 3px solid var(--link-blue);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--duo-green);
  color: #fff;
  box-shadow: 0 4px 0 var(--duo-green-shadow);
}

.btn--primary:hover {
  background: var(--duo-green-light);
  color: #fff;
}

.btn--primary:active {
  transform: translateY(4px);
  box-shadow: none;
  background: var(--duo-green-dark);
}

.btn--secondary {
  background: var(--surface);
  color: var(--link-blue);
  border: 2px solid var(--border);
  box-shadow: 0 4px 0 var(--border-strong);
}

.btn--secondary:hover {
  background: var(--wash-blue);
  border-color: var(--link-blue);
  color: var(--link-blue-dark);
}

.btn--secondary:active {
  transform: translateY(4px);
  box-shadow: none;
}

.btn--super {
  background: #fff;
  color: var(--super-ink);
  box-shadow: 0 4px 0 rgba(255, 255, 255, 0.3);
}

.btn--super:hover {
  background: var(--surface-alt);
  color: var(--super-ink);
}

.btn--super:active {
  transform: translateY(4px);
  box-shadow: none;
}

.btn--wide {
  min-width: 280px;
}

.btn--block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 48px 0 64px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration {
  width: 100%;
  max-width: 424px;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero__content {
  max-width: 480px;
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  background: var(--wash-blue);
  color: var(--link-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink-strong);
  margin-bottom: 16px;
}

.hero__title-accent {
  color: var(--duo-green);
  display: block;
}

.hero__subtitle {
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 473px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.hero__note {
  font-size: 14px;
  color: var(--muted-light);
}

.hero__note strong {
  color: var(--duo-green);
}

/* Stats rail */
.stats-rail {
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  padding: 20px 0;
  background: var(--surface);
}

.stats-rail__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.stat-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.stat-chip__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.stat-chip__divider {
  width: 1px;
  height: 28px;
  background: var(--border);
  flex-shrink: 0;
}

/* Section base */
.section {
  padding: var(--section-pad) 0;
}

.section--wash {
  background: var(--wash-blue);
}

.section--alt {
  background: var(--surface-alt);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--duo-green);
  margin-bottom: 16px;
}

.section__title--navy {
  color: var(--navy);
}

.section__subtitle {
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
}

/* Benefits grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.benefit-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.benefit-card:hover {
  border-color: var(--duo-green);
  transform: translateY(-4px);
}

.benefit-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
}

.benefit-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink-strong);
  margin-bottom: 8px;
}

.benefit-card__text {
  font-size: 15px;
  line-height: 1.45;
  color: var(--muted);
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  position: relative;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px 24px;
  text-align: center;
}

.step-card__number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--duo-green);
  color: #fff;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  border-radius: 50%;
  box-shadow: 0 3px 0 var(--duo-green-shadow);
}

.step-card__icon {
  width: 48px;
  height: 48px;
  margin: 8px auto 14px;
}

.step-card__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-strong);
  margin-bottom: 8px;
}

.step-card__text {
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}

/* Feature alternating */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row--reverse .feature-row__visual {
  order: -1;
}

.feature-row__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--duo-green);
  margin-bottom: 16px;
}

.feature-row__text {
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 473px;
}

.feature-visual {
  display: flex;
  justify-content: center;
}

.feature-card-demo {
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: 0 8px 0 var(--border-strong);
}

.demo-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

.demo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.demo-dot--red { background: var(--error); }
.demo-dot--yellow { background: var(--warning); }
.demo-dot--green { background: var(--duo-green); }

.demo-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.demo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.demo-row:last-child {
  border-bottom: none;
}

.demo-domain {
  font-weight: 700;
  color: var(--ink-strong);
  font-size: 15px;
}

.demo-score {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.demo-score--buy {
  background: #E5F9D4;
  color: var(--duo-green-dark);
}

.demo-score--avoid {
  background: #FFE5E5;
  color: var(--error);
}

.demo-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--streak);
}

.progress-bar {
  height: 12px;
  background: var(--border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-top: 12px;
}

.progress-bar__fill {
  height: 100%;
  background: var(--duo-green);
  border-radius: var(--radius-pill);
  transition: width 1s ease;
}

/* Workflow pills */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.workflow-pill {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}

.workflow-pill:hover {
  border-color: var(--duo-green);
  background: #F0FBE8;
}

.workflow-pill__label {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--duo-green);
  margin-bottom: 6px;
}

.workflow-pill__name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-strong);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}

.workflow-pill__desc {
  font-size: 13px;
  line-height: 1.4;
  color: var(--muted);
}

/* Compare section */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.compare-card {
  border-radius: var(--radius-xl);
  padding: 36px 32px;
}

.compare-card--fail {
  background: var(--surface);
  border: 2px solid var(--border);
}

.compare-card--win {
  background: var(--super-navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.compare-card--win::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(88, 204, 2, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.compare-card__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.compare-card--fail .compare-card__badge {
  background: #FFE5E5;
  color: var(--error);
}

.compare-card--win .compare-card__badge {
  background: var(--duo-green);
  color: #fff;
}

.compare-card__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.compare-card--fail .compare-card__title {
  color: var(--ink-strong);
}

.compare-card--win .compare-card__title {
  color: #fff;
}

.compare-list {
  list-style: none;
}

.compare-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.45;
}

.compare-card--fail .compare-list li {
  color: var(--muted);
}

.compare-card--win .compare-list li {
  color: rgba(255, 255, 255, 0.85);
}

.compare-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
}

.compare-card--fail .compare-list li::before {
  background: #FFE5E5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FF4B4B'%3E%3Cpath d='M18.3 5.71a1 1 0 0 0-1.41 0L12 10.59 7.11 5.7A1 1 0 0 0 5.7 7.11L10.59 12l-4.89 4.89a1 1 0 1 0 1.41 1.41L12 13.41l4.89 4.89a1 1 0 0 0 1.41-1.41L13.41 12l4.89-4.89a1 1 0 0 0 0-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
}

.compare-card--win .compare-list li::before {
  background: var(--duo-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/12px no-repeat;
}

.compare-card__cta {
  margin-top: 24px;
}

/* Trust / market */
.market-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.market-stat {
  text-align: center;
  padding: 32px 20px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
}

.market-stat__value {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--duo-green);
  line-height: 1;
  margin-bottom: 8px;
}

.market-stat__label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  background: var(--surface);
}

.faq-item[open] {
  border-color: var(--duo-green);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-strong);
  cursor: pointer;
  list-style: none;
}

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

.faq-question::after {
  content: "+";
  font-size: 24px;
  font-weight: 700;
  color: var(--duo-green);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
}

/* Final CTA */
.final-cta {
  background: var(--duo-green);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.final-cta__inner {
  text-align: center;
  position: relative;
  z-index: 1;
  padding-bottom: 80px;
}

.final-cta__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}

.final-cta__subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta .btn--primary {
  background: #fff;
  color: var(--duo-green-dark);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15);
}

.final-cta .btn--primary:hover {
  background: var(--surface-alt);
  color: var(--duo-green-dark);
}

.final-cta .btn--primary:active {
  background: var(--border);
}

.final-cta__hills {
  position: relative;
  height: 80px;
  margin-top: 0;
}

.final-cta__hills svg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 80px;
}

/* Footer */
.site-footer {
  background: var(--duo-green-dark);
  padding: 48px 0 32px;
  color: var(--footer-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 15px;
  line-height: 1.5;
  color: var(--footer-soft);
  max-width: 320px;
}

.footer-col__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--footer-soft);
  font-size: 15px;
  font-weight: 600;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 14px;
  color: var(--footer-soft);
}

.footer-bottom a {
  color: var(--footer-soft);
}

.footer-bottom a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    align-items: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero-illustration {
    max-width: 320px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-row,
  .feature-row--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-row--reverse .feature-row__visual {
    order: 0;
  }

  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }

  .market-stats {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  :root {
    --section-pad: 64px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .workflow-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }

  .stat-chip__divider {
    display: none;
  }

  .stats-rail__inner {
    flex-direction: column;
    gap: 4px;
  }

  .btn--wide {
    min-width: 100%;
  }

  .header-cta.btn {
    padding: 0 16px;
    font-size: 13px;
    min-height: 44px;
  }
}

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