/* landing.css — SteerMind AI Landing Page
   Premium dark theme. Self-hosted fonts.
   No external resources. No JavaScript.
   https://www.steer-mind.com/
*/

/* ── Font Faces ────────────────────────────────────────────────────────── */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/landing-assets/fonts/inter-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/landing-assets/fonts/inter-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/landing-assets/fonts/inter-latin-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/landing-assets/fonts/inter-latin-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/landing-assets/fonts/jetbrains-mono-latin-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/landing-assets/fonts/jetbrains-mono-latin-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Design Tokens ──────────────────────────────────────────────────────── */

:root {
  /* Backgrounds */
  --bg-base:      #0A0E14;
  --bg-surface:   #111820;
  --bg-surface-2: #161D27;
  --bg-elevated:  #1C2430;

  /* Brand */
  --green:        #3FB950;
  --green-hover:  #2EA043;
  --green-dim:    rgba(63, 185, 80, 0.12);
  --green-glow:   rgba(63, 185, 80, 0.08);
  --gold:         #C9A84C;

  /* Text */
  --text-1:       #E6EDF3;
  --text-2:       #8B949E;
  --text-3:       #484F58;

  /* Borders */
  --border:       rgba(63, 185, 80, 0.10);
  --border-hover: rgba(63, 185, 80, 0.25);
  --border-subtle:rgba(255, 255, 255, 0.06);

  /* Functional */
  --error:        #F85149;
  --error-bg:     rgba(248, 81, 73, 0.12);

  /* Typography */
  --font-sans:  'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:  'JetBrains Mono', ui-monospace, 'Cascadia Code', monospace;

  /* Spacing */
  --space-xs:   4px;
  --space-sm:   8px;
  --space-md:   16px;
  --space-lg:   24px;
  --space-xl:   32px;
  --space-2xl:  48px;
  --space-3xl:  64px;

  /* Section */
  --section-py:   64px;
  --section-py-m: 48px;

  /* Container */
  --container:    1200px;
  --container-px: 24px;

  /* Radii */
  --r-sm:   4px;
  --r-md:   8px;
  --r-lg:   12px;
  --r-xl:   16px;
  --r-2xl:  20px;
  --r-full: 999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md:  0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg:  0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-xl:  0 16px 64px rgba(0, 0, 0, 0.6);
  --shadow-glow:0 0 40px rgba(63, 185, 80, 0.15);

  /* Transitions */
  --t-fast:   150ms ease;
  --t-normal: 300ms ease;
  --t-slow:   500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ──────────────────────────────────────────────────────────────── */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-base);
  color: var(--text-2);
  font-family: var(--font-sans);
  line-height: 1.6;
  min-height: 100vh;
}

::selection {
  background: rgba(63, 185, 80, 0.25);
  color: var(--text-1);
}

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

/* ── Container ──────────────────────────────────────────────────────────── */

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

/* ── Skip Link ──────────────────────────────────────────────────────────── */

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  background: var(--green);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  text-decoration: none;
  z-index: 200;
}
.skip-link:focus { top: var(--space-xs); }

/* ── Header ─────────────────────────────────────────────────────────────── */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 56px;
  background: rgba(10, 14, 20, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-px);
  height: 100%;
  gap: var(--space-md);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo {
  display: block;
  height: 34px;
  width: auto;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.header-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: color var(--t-fast);
  letter-spacing: -0.01em;
}
.header-nav a:hover { color: var(--green); }
.header-nav a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.lang-switch {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: var(--r-sm);
  transition: color var(--t-fast);
}
.lang-switch:hover { color: var(--green); }
.lang-switch:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* ── Section Base ───────────────────────────────────────────────────────── */

section {
  padding-block: var(--section-py);
}

.label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-1);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.section-sub {
  font-size: 0.95rem;
  color: var(--text-2);
  max-width: 600px;
  line-height: 1.65;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  padding-block: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Mesh gradient background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 65% 40%, rgba(63, 185, 80, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(46, 160, 67, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 80% 10%, rgba(201, 168, 76, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero .container {
  padding-block: 80px 64px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: var(--space-2xl);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid rgba(63, 185, 80, 0.18);
  border-radius: var(--r-full);
  padding: 5px 14px;
  width: fit-content;
}

.eyebrow-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text-1);
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 480px;
  line-height: 1.6;
}

.hero-values {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-values li {
  font-size: 0.88rem;
  color: var(--text-2);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.hero-values li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding-top: var(--space-sm);
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-sans);
  text-decoration: none;
  border-radius: var(--r-md);
  padding: 12px 28px;
  letter-spacing: -0.01em;
  transition: transform var(--t-fast), background var(--t-fast),
              box-shadow var(--t-fast), border-color var(--t-fast);
  cursor: pointer;
  border: none;
}

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

.btn-primary {
  color: #fff;
  background: var(--green);
  box-shadow: 0 2px 12px rgba(63, 185, 80, 0.25);
}
.btn-primary:hover {
  background: var(--green-hover);
  box-shadow: 0 4px 20px rgba(63, 185, 80, 0.35);
  transform: translateY(-1px);
}
.btn-primary svg {
  flex-shrink: 0;
  transition: transform var(--t-fast);
}
.btn-primary:hover svg { transform: translateX(3px); }

.btn-secondary {
  color: var(--text-2);
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
}
.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-1);
}

/* ── App Mockup (Hero Visual) ───────────────────────────────────────────── */

.hero-visual {
  position: relative;
}

.app-mockup {
  background: #0D1117;
  border: 1px solid rgba(63, 185, 80, 0.15);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(63, 185, 80, 0.05),
    0 24px 80px rgba(0, 0, 0, 0.5),
    0 0 60px rgba(63, 185, 80, 0.08);
  transform: perspective(1200px) rotateY(-2deg);
  transition: transform var(--t-slow);
}
.app-mockup:hover {
  transform: perspective(1200px) rotateY(0deg);
}

/* App header bar */
.app-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #161B22;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.app-header-menu {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 16px;
}
.app-header-menu span {
  display: block;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 1px;
}

.app-header-title {
  flex: 1;
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: -0.02em;
}

.app-header-profile {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-header-profile svg {
  width: 12px;
  height: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.app-status {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3FB950;
  box-shadow: 0 0 6px rgba(63, 185, 80, 0.5);
}

/* App layout */
.app-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 320px;
}

/* Sidebar */
.app-sidebar {
  background: #161B22;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-sm) var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.app-sidebar-label {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.22);
  padding: 6px 8px 4px;
}

.app-tmpl {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--r-sm);
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.45);
}
.app-tmpl svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  opacity: 0.6;
}
.app-tmpl--active {
  background: rgba(63, 185, 80, 0.12);
  border-color: rgba(63, 185, 80, 0.25);
  color: #3FB950;
}
.app-tmpl--active svg { opacity: 1; }

/* Chat area */
.app-chat {
  display: flex;
  flex-direction: column;
  padding: var(--space-md);
  gap: var(--space-sm);
  overflow: hidden;
}

.app-chat-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* Messages */
.msg {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: var(--r-lg);
  font-size: 0.76rem;
  line-height: 1.5;
}

.msg--user {
  align-self: flex-end;
  background: linear-gradient(135deg, #2E7D32, #1B5E20);
  color: rgba(255, 255, 255, 0.92);
  border-bottom-right-radius: var(--r-sm);
}

.msg--ai {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  border-bottom-left-radius: var(--r-sm);
}

/* Structured response */
.msg-sections {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 6px;
}

.msg-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--r-sm);
  padding: 7px 10px;
}

.msg-section-hd {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.66rem;
  font-weight: 600;
  color: #3FB950;
  letter-spacing: 0.02em;
  margin-bottom: 3px;
}
.msg-section-hd svg {
  width: 11px;
  height: 11px;
  flex-shrink: 0;
}

.msg-section p {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.50);
  line-height: 1.45;
  margin: 0;
}
.msg-section p + p { margin-top: 2px; }

.msg-data {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  color: rgba(255, 255, 255, 0.40);
  margin-top: 3px;
}

/* Chat input */
.app-input {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--r-md);
}

.app-input-text {
  flex: 1;
  font-size: 0.70rem;
  color: rgba(255, 255, 255, 0.22);
}

.app-input-btn {
  width: 24px;
  height: 24px;
  background: #2E7D32;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}
.app-input-btn svg {
  width: 12px;
  height: 12px;
}

/* ── Value Strip ────────────────────────────────────────────────────────── */

.value-strip {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.value-card {
  padding: var(--space-lg) var(--space-md);
  background: var(--bg-surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color var(--t-normal), box-shadow var(--t-normal);
}
.value-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

.value-icon {
  width: 40px;
  height: 40px;
  background: var(--green-dim);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: var(--space-sm);
}
.value-icon svg {
  width: 20px;
  height: 20px;
}

.value-card h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.value-card p {
  font-size: 0.82rem;
  color: var(--text-2);
  line-height: 1.5;
}

/* ── Features ───────────────────────────────────────────────────────────── */

.features-section {
  background: var(--bg-base);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
  transition: border-color var(--t-normal), box-shadow var(--t-normal), transform var(--t-normal);
}
.feature-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* Top accent line */
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0;
  transition: opacity var(--t-normal);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--green-dim);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: var(--space-md);
}
.feature-icon svg {
  width: 20px;
  height: 20px;
}

.feature-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-1);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 0.86rem;
  color: var(--text-2);
  line-height: 1.55;
}

/* ── Use Cases ──────────────────────────────────────────────────────────── */

.usecases-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
}

.usecases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.usecase-card {
  background: var(--bg-surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--space-lg);
  transition: border-color var(--t-normal), box-shadow var(--t-normal), transform var(--t-normal);
}
.usecase-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.usecase-icon {
  width: 44px;
  height: 44px;
  background: var(--green-dim);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: var(--space-md);
}
.usecase-icon svg {
  width: 20px;
  height: 20px;
}

.usecase-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}

.usecase-card p {
  font-size: 0.86rem;
  color: var(--text-2);
  line-height: 1.55;
}

/* Trust badges */
.trust-badges {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  justify-content: center;
  flex-wrap: wrap;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--bg-surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 0.80rem;
  font-weight: 500;
  color: var(--text-2);
}
.trust-badge svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

/* ── Waitlist + Footer ──────────────────────────────────────────────────── */

.cta-section {
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  padding-block: var(--space-3xl);
  text-align: center;
}

.cta-inner {
  max-width: 520px;
  margin: 0 auto;
}

.cta-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: var(--space-sm);
}

.cta-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-1);
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.cta-title em {
  font-style: normal;
  color: var(--green);
}

.cta-sub {
  font-size: 0.92rem;
  color: var(--text-2);
  max-width: 440px;
  margin: 0 auto var(--space-lg);
  line-height: 1.6;
}

/* Waitlist form */
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  text-align: left;
}

.waitlist-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.waitlist-field label {
  font-size: 0.82rem;
  color: var(--text-2);
}

.waitlist-input {
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--text-1);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.waitlist-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(63, 185, 80, 0.15);
}
.waitlist-input::placeholder {
  color: var(--text-3);
}

.waitlist-consent {
  margin-top: var(--space-xs);
}

.waitlist-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.80rem;
  color: var(--text-2);
  line-height: 1.45;
  cursor: pointer;
}

.waitlist-consent-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 1.125rem;
  height: 1.125rem;
  margin-top: 0.1rem;
  accent-color: var(--green);
  cursor: pointer;
}

.waitlist-submit {
  align-self: flex-start;
  margin-top: var(--space-xs);
}

.waitlist-success {
  margin-top: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: rgba(63, 185, 80, 0.1);
  border: 1px solid rgba(63, 185, 80, 0.25);
  border-radius: var(--r-md);
}

.waitlist-success-text {
  color: var(--green);
  font-size: 0.95rem;
  font-weight: 500;
  margin: 0;
}

.waitlist-error {
  display: none;
  margin-top: var(--space-md);
  padding: 0.625rem var(--space-md);
  background: var(--error-bg);
  border: 1px solid rgba(248, 81, 73, 0.25);
  border-radius: var(--r-sm);
}
.waitlist-error[style*="block"] {
  display: block;
}

.waitlist-error p {
  color: var(--error);
  font-size: 0.875rem;
  margin: 0;
}

/* Android note */
.android-note {
  display: block;
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
  text-align: center;
}

.android-note p {
  font-size: 0.84rem;
  color: var(--text-2);
  margin-bottom: var(--space-xs);
}

.android-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--green);
  padding: 6px 16px;
  border: 1px solid var(--green-dim);
  border-radius: var(--r-full);
}

/* ── Footer ─────────────────────────────────────────────────────────────── */

footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  padding-block: var(--space-xl);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--container-px);
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo-footer {
  height: 26px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  font-size: 0.78rem;
  color: var(--text-3);
  text-decoration: none;
  transition: color var(--t-fast);
}
.footer-links a:hover { color: var(--text-2); }
.footer-links a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}

.footer-sep {
  color: rgba(255, 255, 255, 0.08);
  font-size: 1rem;
  user-select: none;
}

.footer-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-lang {
  font-size: 0.72rem;
  color: var(--text-3);
}
.footer-lang a {
  color: var(--text-2);
  text-decoration: none;
  transition: color var(--t-fast);
}
.footer-lang a:hover { color: var(--green); }

.lang-current {
  color: var(--text-3);
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--text-3);
}

/* ── Focus ──────────────────────────────────────────────────────────────── */

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

/* ── Scroll Animations (Progressive Enhancement) ────────────────────────── */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .value-card,
    .feature-card,
    .usecase-card,
    .trust-badge {
      animation: fade-up 0.8s ease both;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }
    .cta-inner {
      animation: fade-up 0.8s ease both;
      animation-timeline: view();
      animation-range: entry 0% entry 25%;
    }
  }
}

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

/* ── Scrollbar ──────────────────────────────────────────────────────────── */

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-surface); }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: var(--r-sm); }
::-webkit-scrollbar-thumb:hover { background: var(--text-3); }

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 900px) {
  section { padding-block: var(--section-py-m); }

  header { height: 52px; }
  .header-nav { display: none; }
  .site-logo { height: 28px; }

  .hero .container { padding-block: 48px 40px; }
  .hero-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .hero-visual { order: -1; }
  .app-mockup { transform: none; }
  .app-mockup:hover { transform: none; }
  .hero h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); }

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

@media (max-width: 640px) {
  .container { padding-inline: 18px; }

  .hero h1 { font-size: 1.8rem; }

  .value-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .usecases-grid { grid-template-columns: 1fr; }

  .app-body { grid-template-columns: 1fr; }
  .app-sidebar { display: none; }

  .trust-badges { flex-direction: column; align-items: center; }

  .btn { width: 100%; justify-content: center; min-height: 44px; }
  .hero-actions { gap: 0.5rem; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
  .footer-right { text-align: left; }

  .waitlist-submit {
    align-self: stretch;
    text-align: center;
    justify-content: center;
    min-height: 44px;
  }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 1.6rem; }
  .hero .container { padding-block: 36px 32px; }
}

/* ── Reduced Motion ─────────────────────────────────────────────────────── */

@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;
  }
}
