/* KALQ landing page — same palette as the app (Duotone Warm) */
:root {
  --ground: #FAF8F4;
  --pure-white: #FFFFFF;
  --ink: #2C2C2E;
  --ink-soft: #3A2E3F;
  --dark-charcoal: #2C2C2E;
  --medium-gray: #8E8E93;
  --soft-gray: #F5F7FA;
  --sacred-orange: #D95B33;
  --sacred-orange-tint: rgba(217, 91, 51, 0.10);
  --wisdom-purple: #8B5FBF;
  --wisdom-purple-tint: rgba(139, 95, 191, 0.10);
  --growth-teal: #4ECDC4;
  --divine-gold: #FFD23F;
  --awful-red: #FF4444;

  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--dark-charcoal);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  line-height: 1.6;
}

a {
  text-decoration: none;
}

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

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 96px 24px;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 16px;
}

.eyebrow-dark {
  color: var(--sacred-orange);
}

.section-lede {
  font-size: 17px;
  color: var(--medium-gray);
  max-width: 60ch;
  margin-top: 16px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--sacred-orange);
  color: var(--pure-white);
  box-shadow: 0 8px 20px rgba(217, 91, 51, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 10px 24px rgba(217, 91, 51, 0.4);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-ghost {
  background: transparent;
  color: var(--pure-white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-block {
  width: 100%;
}

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 244, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(44, 44, 46, 0.06);
}

.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.nav-cta {
  background: var(--sacred-orange);
  color: var(--pure-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
}

/* ============ Hero ============ */
.hero {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-soft) 100%);
  padding: 72px 24px 96px;
  text-align: center;
}

.hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.hero-logo {
  width: 150px;
  height: 150px;
  margin: 0 auto 24px;
  object-fit: contain;
}

.hero h1 {
  color: var(--pure-white);
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
  max-width: 50ch;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ Features ============ */
.features {
  background: var(--ground);
}

.features h2 {
  font-size: clamp(26px, 4vw, 36px);
  color: var(--dark-charcoal);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(44, 44, 46, 0.06);
  box-shadow: 0 2px 8px rgba(44, 44, 46, 0.04);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--medium-gray);
  font-size: 15px;
}

/* ============ Why beta ============ */
.why-beta {
  background: var(--pure-white);
}

.why-beta-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}

.why-beta h2 {
  font-size: clamp(24px, 4vw, 32px);
  color: var(--dark-charcoal);
}

.why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 600;
  background: var(--ground);
  padding: 18px 20px;
  border-radius: var(--radius-md);
}

.why-list li span {
  font-size: 22px;
}

/* ============ Signup ============ */
.signup {
  background: var(--ground);
  padding: 96px 24px;
  display: flex;
  justify-content: center;
}

.signup-card {
  width: 100%;
  max-width: 480px;
  background: var(--pure-white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 20px 60px rgba(44, 44, 46, 0.08);
}

.signup-card h2 {
  font-size: 26px;
  margin: 8px 0 4px;
}

#beta-form {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

#beta-form label {
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
  margin-bottom: 4px;
}

#beta-form input[type="text"],
#beta-form input[type="email"] {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--soft-gray);
  background: var(--soft-gray);
  color: var(--dark-charcoal);
  outline: none;
  transition: border-color 0.15s ease;
}

#beta-form input[type="text"]:focus,
#beta-form input[type="email"]:focus {
  border-color: var(--sacred-orange);
  background: var(--pure-white);
}

.checkbox-row {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 500 !important;
  color: var(--medium-gray);
  margin-top: 20px !important;
  cursor: pointer;
}

.checkbox-row input {
  margin-top: 3px;
  accent-color: var(--sacred-orange);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

#beta-form button {
  margin-top: 28px;
}

.form-error {
  color: var(--awful-red);
  font-size: 14px;
  font-weight: 500;
  margin-top: 12px;
  text-align: center;
}

.install-steps {
  margin-top: 28px;
  background: var(--ground);
  border-radius: var(--radius-md);
  padding: 20px;
}

.install-steps-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 10px;
}

.install-steps ol {
  margin: 0;
  padding-left: 20px;
  color: var(--medium-gray);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ============ Footer ============ */
.footer {
  background: var(--ink);
  padding: 40px 24px;
  text-align: center;
}

.footer-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin: 0 auto 12px;
}

.footer p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

/* ============ Responsive ============ */
@media (max-width: 720px) {
  .why-beta-inner {
    grid-template-columns: 1fr;
  }
  .signup-card {
    padding: 32px 24px;
  }
  .section-inner {
    padding: 64px 20px;
  }
}
