:root {
  color-scheme: light;
  --canvas: #ffffff;
  --ink: #0f172a;
  --muted: #61708a;
  --soft: #f7faf6;
  --soft-strong: #eef6ef;
  --line: rgba(15, 23, 42, 0.1);
  --line-strong: rgba(15, 23, 42, 0.16);
  --navy: #0f172a;
  --green: #22c55e;
  --mint: #a9f2a7;
  --aqua: #93e9f5;
  --orange: #df7a00;
  --danger: #b42318;
  --shadow: 0 24px 72px rgba(15, 23, 42, 0.08);
  --shadow-soft: 0 12px 32px rgba(15, 23, 42, 0.06);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --font-main: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Plus Jakarta Sans", Inter, ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background:
    radial-gradient(circle at 52% -12%, rgba(169, 242, 167, 0.42), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #f8faf6 54%, #ffffff 100%);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-main);
  background: transparent;
  letter-spacing: -0.01em;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(34, 197, 94, 0.3);
  outline-offset: 3px;
}

.site-shell {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.topbar,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar {
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 46px;
  border: 4px solid var(--navy);
  border-radius: 16px;
  transform: rotate(10deg);
  background: var(--canvas);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--mint), var(--aqua));
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-kicker {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.topnav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topnav a,
.footer-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.topnav a:hover,
.footer-links a:hover {
  color: var(--ink);
}

/* Language selector */
.lang-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

#lang-selector {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--muted);
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 7px 30px 7px 12px;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2361708a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

#lang-selector:hover {
  border-color: rgba(34,197,94,0.4);
  color: var(--ink);
}

#lang-selector:focus-visible {
  outline: 3px solid rgba(34,197,94,0.3);
  outline-offset: 2px;
  border-color: rgba(34,197,94,0.5);
}

.review-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 8px 0 24px;
  padding: 14px 18px;
  border: 1px solid rgba(34, 197, 94, 0.18);
  border-radius: 18px;
  background: rgba(238, 246, 239, 0.86);
  color: #14532d;
}

.review-strip p {
  margin: 0;
  line-height: 1.45;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.pill-green {
  border-color: rgba(34, 197, 94, 0.24);
  color: #15803d;
  background: rgba(34, 197, 94, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: 34px;
  align-items: stretch;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.hero-copy h1,
.page-hero h1,
.section h2,
.feature-card h2,
.proof-card h3,
.mini-card h3,
.content-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.045em;
}

.hero-copy h1 {
  max-width: 12ch;
  margin-top: 12px;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.92;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #166534;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.12);
}

.hero-text,
.page-hero p,
.section-copy,
.feature-card p,
.proof-card p,
.mini-card p,
.content-panel p,
.content-panel li {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 64ch;
  margin: 20px 0 0;
  font-size: 1.08rem;
}

.hero-actions,
.button-stack {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button[aria-disabled="true"] {
  opacity: 0.68;
  cursor: not-allowed;
}

.button-primary {
  color: #041008;
  background: linear-gradient(90deg, var(--mint), var(--aqua));
  box-shadow: 0 12px 28px rgba(34, 197, 94, 0.18);
}

.button-dark {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

.button-secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
}

.button-block {
  width: 100%;
}

.hero-points,
.ordered-list,
.check-list {
  margin: 24px 0 0;
  padding-left: 18px;
}

.hero-points li,
.ordered-list li,
.check-list li {
  margin: 8px 0;
}

.product-preview {
  display: grid;
  align-content: center;
  gap: 16px;
  min-height: 100%;
}

.app-window {
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ef4444;
}

.dot:nth-child(2) {
  background: #f59e0b;
}

.dot:nth-child(3) {
  background: #22c55e;
}

.window-title {
  margin-left: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.app-body {
  padding: 22px;
}

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

.score-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
}

.score-label,
.suggestion-label,
.table-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.score-value {
  margin: 8px 0 0;
  color: #16a34a;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
}

.transcript-preview {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.transcript-row {
  padding: 10px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.transcript-row:last-child {
  border-bottom: 0;
}

.speaker {
  display: block;
  color: #15803d;
  font-size: 0.82rem;
  font-weight: 900;
}

.transcript-row p {
  margin: 4px 0 0;
  color: var(--ink);
}

.suggestion-preview {
  margin-top: 14px;
  padding: 16px;
  border-radius: 18px;
  background: var(--navy);
  color: #fff;
}

.suggestion-preview .suggestion-label {
  color: #a7f3d0;
}

.suggestion-preview p {
  margin: 8px 0 0;
  color: #eef6ff;
  line-height: 1.55;
}

.section {
  margin-top: 28px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 20px;
}

.section h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.section-copy {
  max-width: 58ch;
  margin: 10px 0 0;
}

.grid-3,
.grid-2,
.section-grid {
  display: grid;
  gap: 16px;
}

.grid-3,
.section-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.feature-card,
.proof-card,
.mini-card,
.content-panel,
.page-hero {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.feature-card,
.proof-card,
.mini-card {
  padding: 22px;
}

.feature-card h2,
.proof-card h3,
.mini-card h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(169, 242, 167, 0.8), rgba(147, 233, 245, 0.8));
  font-weight: 900;
}

.permissions-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
}

.permission-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.25fr;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.permission-row:last-child {
  border-bottom: 0;
}

.permission-row p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.no-list li {
  padding: 14px 16px;
  border: 1px solid rgba(180, 35, 24, 0.12);
  border-radius: 14px;
  background: rgba(180, 35, 24, 0.045);
  color: #7f1d1d;
  font-weight: 700;
}

.page-content {
  display: grid;
  gap: 24px;
}

.page-hero,
.content-panel {
  padding: 30px;
}

.page-hero h1 {
  max-width: 14ch;
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.02;
}

.legal-meta {
  color: #15803d;
  font-size: 0.95rem;
  font-weight: 800;
}

.prose-panel h2 {
  margin: 28px 0 8px;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.prose-panel h2:first-of-type {
  margin-top: 0;
}

.prose-panel a {
  color: #166534;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.info-table {
  overflow: hidden;
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.info-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.info-row:last-child {
  border-bottom: 0;
}

.info-row strong {
  color: var(--ink);
}

.info-row span {
  color: var(--muted);
  line-height: 1.55;
}

.footer {
  margin-top: 30px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.94rem;
}

.footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .hero,
  .grid-3,
  .grid-2,
  .section-grid,
  .permission-row {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .page-hero h1 {
    max-width: none;
  }

  .section-head {
    display: block;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(100% - 20px, 1160px);
    padding-top: 14px;
  }

  .topbar,
  .footer,
  .review-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .section,
  .page-hero,
  .content-panel {
    padding: 22px;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 14vw, 3.5rem);
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
