@font-face {
  font-family: "AvenirNextLangGenie";
  src: url("../LangGenie/app/assets/fonts/AvenirNextforINTUIT-Regular.otf") format("opentype");
  font-weight: 400;
}

@font-face {
  font-family: "AvenirNextLangGenie";
  src: url("../LangGenie/app/assets/fonts/AvenirNextforINTUIT-Demi.otf") format("opentype");
  font-weight: 600;
}

@font-face {
  font-family: "AvenirNextLangGenie";
  src: url("../LangGenie/app/assets/fonts/AvenirNextforINTUIT-Bold.otf") format("opentype");
  font-weight: 700;
}

:root {
  --blue: #1e88e5;
  --blue-deep: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-soft: #eff6ff;
  --blue-border: #dbeafe;
  --gold: #ffb01e;
  --green: #10b981;
  --green-2: #22c55e;
  --ink: #111827;
  --text: #4b5563;
  --muted: #6b7280;
  --line: #e5e7eb;
  --surface: #ffffff;
  --page: #f9fafb;
  --shadow: 0 18px 60px rgba(17, 24, 39, 0.1);
  --radius: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "AvenirNextLangGenie", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  background: rgba(249, 250, 251, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--text);
  font-size: 14px;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--blue-deep);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  color: #fff;
  background: var(--blue-deep);
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.24);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 88px 24px;
}

.compact-section {
  padding-top: 56px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 64px;
  align-items: center;
  min-height: calc(100vh - 78px);
  padding-top: 46px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.2;
}

.hero-text,
.section-heading p,
.section-copy p,
.final-cta p,
.site-footer p {
  color: var(--text);
  font-size: 18px;
}

.hero-text {
  max-width: 640px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary {
  color: #fff;
  background: var(--blue-deep);
  box-shadow: 0 14px 34px rgba(37, 99, 235, 0.24);
}

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

.btn-secondary {
  color: var(--blue-deep);
  background: var(--surface);
  border-color: var(--blue-border);
}

.btn-secondary:hover {
  background: var(--blue-soft);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
}

.hero-product {
  display: flex;
  justify-content: center;
}

.phone-shell {
  width: min(100%, 430px);
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.phone-header strong,
.panel-header strong {
  display: block;
  font-size: 18px;
}

.small-label {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.credit-pill {
  padding: 8px 12px;
  color: #8a5a00;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.flow-list {
  display: grid;
  gap: 12px;
}

.flow-item {
  padding: 16px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.flow-item span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.flow-item strong {
  display: block;
  margin-top: 4px;
}

.flow-item.done {
  background: #ecfdf5;
  border-color: #bbf7d0;
}

.flow-item.active {
  background: var(--blue-soft);
  border-color: #bfdbfe;
  box-shadow: inset 4px 0 0 var(--blue);
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.mini-stats div,
.stat-card {
  padding: 14px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.mini-stats strong,
.stat-card strong {
  display: block;
  font-size: 24px;
  color: var(--blue-deep);
}

.mini-stats span,
.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

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

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.step-card,
.feature-card,
.price-card,
.preview-grid article,
.topic-panel,
.reward-card,
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 26px rgba(17, 24, 39, 0.04);
}

.step-card {
  padding: 20px;
}

.step-number {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 700;
}

.step-card p,
.feature-card p,
.price-card span,
.preview-grid p,
.faq-list p {
  color: var(--text);
}

.feature-section,
.pricing-section,
.faq-section {
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.72), rgba(249, 250, 251, 0));
  max-width: none;
}

.feature-section > *,
.pricing-section > *,
.faq-section > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 24px;
}

.feature-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 46px;
  align-items: center;
}

.section-copy {
  max-width: 600px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px #dcfce7;
}

.topic-panel {
  padding: 22px;
}

.panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.status-dot {
  width: 12px;
  height: 12px;
  background: var(--green-2);
  border-radius: 50%;
}

.topic-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-top: 10px;
}

.topic-row.selected {
  background: var(--blue-soft);
  border-color: #bfdbfe;
}

.topic-row span {
  font-weight: 700;
}

.topic-row small {
  color: var(--muted);
  font-weight: 700;
}

.dashboard-section {
  padding-top: 44px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.price-card {
  position: relative;
  padding: 28px;
}

.price-card.featured {
  border-color: #bfdbfe;
  box-shadow: 0 20px 54px rgba(37, 99, 235, 0.14);
}

.badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  color: #8a5a00;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}

.price {
  display: block;
  margin: 12px 0 4px;
  font-size: 42px;
  line-height: 1;
}

.price-card p {
  margin-bottom: 6px;
  font-weight: 700;
}

.price-card .btn {
  width: 100%;
  margin-top: 22px;
}

.pricing-note {
  max-width: 850px;
  margin: 24px auto 0;
  color: var(--muted);
  text-align: center;
}

.reward-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 30px;
}

.reward-icon {
  width: 54px;
  height: 54px;
}

.reward-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 10px;
}

.reward-metrics span {
  display: block;
  padding: 14px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  color: #8a5a00;
  font-size: 13px;
}

.reward-metrics strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.preview-grid article {
  padding: 18px;
  min-height: 124px;
}

.preview-grid span {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

.audience-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.audience-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
}

.faq-list p {
  margin: 12px 0 0;
}

.final-cta {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  margin-bottom: 72px;
}

.final-cta .hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

.final-cta p:not(.eyebrow) {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 24px 46px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 460px;
  margin: 12px 0 0;
  font-size: 15px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  color: var(--text);
  font-size: 14px;
}

.legal-hero {
  padding-top: 72px;
  padding-bottom: 42px;
}

.legal-hero h1 {
  margin-bottom: 18px;
}

.legal-updated {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.legal-section {
  padding-top: 24px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.legal-summary,
.legal-content {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 26px rgba(17, 24, 39, 0.04);
}

.legal-summary {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 12px;
  padding: 22px;
}

.legal-summary strong {
  font-size: 18px;
}

.legal-summary span {
  color: var(--text);
  font-size: 14px;
}

.legal-summary a,
.legal-content a {
  color: var(--blue-deep);
  font-weight: 700;
}

.legal-content {
  padding: 34px;
}

.legal-content h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.2;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--text);
  font-size: 16px;
}

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

  .hero {
    min-height: 0;
  }

  .hero-product {
    justify-content: flex-start;
  }

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

  .stat-grid,
  .preview-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .reward-card {
    grid-template-columns: 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-summary {
    position: static;
  }
}

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

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-cta {
    min-height: 38px;
    padding-inline: 14px;
    font-size: 14px;
  }

  .section {
    padding: 62px 18px;
  }

  .hero {
    padding-top: 28px;
    gap: 34px;
  }

  h1 {
    font-size: 44px;
  }

  .steps,
  .feature-grid,
  .pricing-grid,
  .stat-grid,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .mini-stats,
  .reward-metrics {
    grid-template-columns: 1fr;
  }

  .phone-shell {
    border-radius: 24px;
    padding: 18px;
  }

  .phone-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    flex-direction: column;
  }

  .site-footer nav {
    justify-content: flex-start;
  }

  .legal-hero {
    padding-top: 48px;
  }

  .legal-content {
    padding: 22px;
  }

  .legal-content h2 {
    font-size: 21px;
  }
}
