/* LingoLinq landing page - Tier 1 / Style A
   Tokens map to ai-company-brain DESIGN.md. Never inline new hex.
   ----------------------------------------------------------------- */

:root {
  --deep-purple: #22215A;
  --periwinkle: #7886F3;
  --purple-light: #EEEDFE;
  --off-white: #F7F7FB;
  --light-gray: #F0F0F0;
  --charcoal: #374151;
  --white: #FFFFFF;
  --amber-gold: #F2B95A;
  --amber-light: #FFFBF0;
  --amber-dark: #854F0B;
  --cornflower: #4C86D8;
  --red: #CC0000;
  --teal: #2A9D8F;

  --font-display: 'Lexend', 'Nunito Sans', 'Calibri', sans-serif;
  --font-body: 'Atkinson Hyperlegible', 'Open Sans', 'Calibri', sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 8px rgba(34, 33, 90, 0.06);
  --shadow-md: 0 6px 22px rgba(34, 33, 90, 0.10);

  --max-w: 1120px;
  --pad-x: clamp(20px, 4vw, 40px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--deep-purple);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

a {
  color: var(--cornflower);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
a:hover, a:focus-visible { color: var(--deep-purple); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--deep-purple);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Header
   ------------------------------------------------------------- */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  background: var(--off-white);
}

.brandmark img { display: block; }

.site-nav {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  align-items: center;
}

.nav-cta {
  background: var(--deep-purple);
  color: var(--white) !important;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 999px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-cta:hover, .nav-cta:focus-visible {
  background: var(--periwinkle);
  color: var(--white) !important;
}
.nav-cta:focus-visible {
  outline: 3px solid var(--periwinkle);
  outline-offset: 3px;
}

/* Buttons
   ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, transform .1s ease;
}
.btn:focus-visible { outline: 3px solid var(--periwinkle); outline-offset: 3px; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--deep-purple);
  color: var(--white);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--periwinkle);
  color: var(--white);
}

/* Sections
   ------------------------------------------------------------- */
section {
  padding: clamp(56px, 9vw, 96px) var(--pad-x);
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 16px;
}

.section-sub {
  text-align: center;
  font-size: clamp(16px, 2vw, 18px);
  color: var(--charcoal);
  max-width: 620px;
  margin: 0 auto 56px;
}

/* Hero
   ------------------------------------------------------------- */
.hero {
  background: var(--off-white);
  padding-top: clamp(32px, 5vw, 56px);
  padding-bottom: clamp(48px, 7vw, 80px);
}

.hero-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--charcoal);
  margin-bottom: 14px;
  opacity: 0.85;
  max-width: 40ch;
}

.hero-copy h1 {
  font-size: clamp(32px, 4.6vw, 46px);
  font-weight: 700;
  margin-bottom: 20px;
  max-width: 22ch;
}

.hero-copy .lede {
  font-size: clamp(17px, 1.8vw, 19px);
  color: var(--charcoal);
  margin-bottom: 28px;
  max-width: 44ch;
}

.hero-art {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-art svg { width: 100%; height: auto; max-width: 420px; }
.hero-art-caption {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--deep-purple);
  opacity: 0.75;
  text-align: center;
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 340px; margin: 0 auto; }
  .hero-copy h1 { max-width: none; }
}

/* Beta form - lives inside the hero
   ------------------------------------------------------------- */
.beta-form-hero {
  background: var(--white);
  border: 1px solid var(--light-gray);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 16px;
  max-width: 480px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--deep-purple);
  font-size: 15px;
}

.field input[type="email"],
.field input[type="text"],
.field select {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--charcoal);
  background: var(--white);
  border: 1.5px solid #D6D7DD;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  min-height: 44px;
  width: 100%;
}

.field input:focus,
.field select:focus {
  border-color: var(--periwinkle);
  outline: 3px solid var(--periwinkle);
  outline-offset: 1px;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border-color: var(--red);
}

.field-checkbox {
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 2px;
}

.field-checkbox input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: var(--deep-purple);
}

.field-checkbox label {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--charcoal);
  font-size: 14px;
  line-height: 1.5;
}

.field-checkbox label a {
  color: var(--cornflower);
}

/* Honeypot - invisible to humans, visible to bots */
.field-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#beta-submit {
  justify-self: stretch;
  width: 100%;
  margin-top: 4px;
}

.no-spam-note {
  font-size: 13px;
  color: var(--charcoal);
  opacity: 0.8;
  text-align: center;
  margin-top: -4px;
}

.form-status {
  min-height: 22px;
  font-size: 15px;
  color: var(--charcoal);
  text-align: center;
}
.form-status.success { color: var(--teal); font-weight: 600; }
.form-status.error { color: var(--red); font-weight: 600; }

/* Open questions - what we're testing with you
   ------------------------------------------------------------- */
.open-questions {
  background: var(--white);
}

.privacy-promise {
  background: var(--amber-light);
  border: 1px solid var(--amber-gold);
  border-left: 6px solid var(--amber-gold);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  max-width: 760px;
  margin: 0 auto 32px;
  box-shadow: var(--shadow-sm);
}

.privacy-promise-head {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(17px, 2vw, 20px);
  color: var(--amber-dark);
  margin-bottom: 8px;
}

.privacy-promise p {
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.6;
}

.open-questions-list {
  list-style: none;
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.open-questions-list li {
  background: var(--off-white);
  border: 1px solid var(--light-gray);
  border-left: 4px solid var(--periwinkle);
  border-radius: var(--radius-sm);
  padding: 22px 26px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--charcoal);
}

.open-questions-list strong {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--deep-purple);
}

/* Privacy stance
   ------------------------------------------------------------- */
.privacy-stance {
  background: var(--off-white);
}

.privacy-inner {
  max-width: 760px;
  margin: 0 auto;
}

.privacy-inner .section-title {
  margin-bottom: 32px;
}

.privacy-list {
  list-style: none;
  display: grid;
  gap: 14px;
  max-width: 680px;
  margin: 0 auto;
}

.privacy-list li {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-left: 4px solid var(--deep-purple);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  font-size: 16px;
  line-height: 1.55;
}

.privacy-list strong {
  color: var(--deep-purple);
  font-weight: 700;
}

.privacy-list a {
  color: var(--cornflower);
}

/* Compliance band - footer
   ------------------------------------------------------------- */
.compliance-band {
  background: var(--deep-purple);
  color: var(--white);
  padding: 36px var(--pad-x) 28px;
}

.compliance-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.compliance-statement {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(15px, 1.8vw, 17px);
  text-align: center;
  margin-bottom: 24px;
  color: var(--white);
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-meta img {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--white);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--periwinkle);
  text-decoration: underline;
}

.copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

/* Privacy / long-form docs (used by /privacy.html)
   ------------------------------------------------------------- */
.doc { max-width: 760px; margin: 0 auto; padding: 0 var(--pad-x); }
.doc h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 24px; }
.doc h2 { font-size: 22px; margin: 32px 0 12px; }
.doc p, .doc li { font-size: 17px; max-width: none; }
.doc ul { padding-left: 22px; display: grid; gap: 8px; }
.doc .meta { color: var(--charcoal); font-size: 15px; margin-bottom: 32px; }
.doc a { color: var(--cornflower); }
section.doc-section { padding: clamp(48px, 8vw, 80px) 0; }
