/* ============================================
   BARISTA WI-FI v2 — Design System
   From wireframe spec, April 2026
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,400;1,600&display=swap');

:root {
  /* Color Tokens */
  --espresso: #1a0e0a;
  --roast: #3d2117;
  --crema: #D4A847;
  --crema-hover: #C09530;
  --crema-light: rgba(212,168,71,0.12);
  --latte: #f5efe8;
  --foam: #faf8f5;
  --wifi-blue: #2563eb;
  --white: #ffffff;
  --text: #1a0e0a;
  --text-secondary: #5c4a3e;
  --text-muted: #8b7b6e;
  --border: #e8e0d8;
  --success: #16a34a;
  --danger: #dc2626;
  --warning: #f59e0b;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: monospace;

  /* Spacing */
  --section-pad: 100px;
  --container-max: 1180px;

  /* Misc */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --radius-full: 100px;
  --shadow: 0 4px 24px rgba(26,14,10,0.06);
  --shadow-lg: 0 16px 48px rgba(26,14,10,0.1);
  --shadow-crema: 0 4px 20px rgba(212,168,71,0.25);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.7; font-size: 16px; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }

/* --- Typography --- */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; font-weight: 600; color: var(--text); }
h1 { font-size: clamp(2.4rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--crema);
  margin-bottom: 16px;
  display: block;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 16px auto 0;
  line-height: 1.7;
}

.crema { color: var(--crema); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 15px 32px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--crema {
  background: var(--crema);
  color: var(--white);
  border-color: var(--crema);
  box-shadow: var(--shadow-crema);
}
.btn--crema:hover {
  background: var(--crema-hover);
  border-color: var(--crema-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212,165,116,0.4);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}
.btn--outline:hover {
  border-color: var(--crema);
  color: var(--crema);
}

.btn--outline-dark {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--outline-dark:hover {
  border-color: var(--crema);
  color: var(--crema);
}

.btn--sm { padding: 10px 24px; font-size: 0.88rem; }
.btn--lg { padding: 18px 40px; font-size: 1rem; }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.nav--scrolled { box-shadow: var(--shadow); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo-img { height: 42px; width: auto; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__link {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}
.nav__link:hover { color: var(--crema); }

.nav__link--login {
  font-weight: 600;
  color: var(--crema);
}

.nav__cta {
  margin-left: 8px;
}

/* Nav Dropdown */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-toggle {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
}

.nav__dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 5px;
  vertical-align: 1px;
}

.nav__dropdown-toggle:hover { color: var(--crema); }

.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  z-index: 100;
}

.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown.active .nav__dropdown-menu {
  display: block;
}

.nav__dropdown-link {
  display: block;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.nav__dropdown-link:hover {
  color: var(--crema);
  background: var(--foam);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero --- */
.hero {
  position: relative;
  padding: 140px 0 80px;
  background: var(--espresso);
  color: var(--white);
  overflow: hidden;
  min-height: 520px;
}

.hero__bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: 20% -30%;
  background-repeat: no-repeat;
}

.hero__bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, transparent 0%, transparent 35%, rgba(26,14,10,0.8) 52%, rgba(26,14,10,0.96) 70%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin-left: auto;
}

.hero h1 { color: var(--white); margin-bottom: 20px; line-height: 1.1; }
.hero h1 em { font-style: italic; color: var(--crema); }

.hero__sub {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero__proof {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--crema);
  margin-top: 20px;
  letter-spacing: 0.02em;
}

/* --- Sections --- */
.section { padding: var(--section-pad) 0; }
.section--latte { background: var(--latte); }
.section--foam { background: var(--foam); }
.section--espresso { background: var(--espresso); color: var(--white); }
.section--roast { background: var(--roast); color: var(--white); }

/* --- Pain Points --- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.pain-card {
  padding: 36px 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pain-card__icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}

.pain-card h3 { margin-bottom: 10px; }
.pain-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* --- Explainer (What is a captive portal) --- */
.explainer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.explainer-grid p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.explainer-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--latte);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

/* --- White Glove --- */
.wg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.wg-card {
  padding: 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.wg-card h4 { margin-bottom: 10px; color: var(--text); }
.wg-card p { color: var(--text-secondary); font-size: 0.93rem; }

/* --- Pillars --- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.pillar-card {
  text-align: center;
  padding: 40px 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--crema);
}

.pillar-card__icon {
  width: 64px;
  height: 64px;
  background: var(--crema-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
}

.pillar-card h3 { margin-bottom: 10px; }
.pillar-card p { color: var(--text-secondary); font-size: 0.93rem; }

/* --- Case Study --- */
.case-study {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.case-study__quote {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 20px;
}

.case-study__body {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.case-study__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-study__image img { width: 100%; height: 100%; object-fit: cover; }

/* --- Steps --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 56px;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, var(--crema), var(--border), var(--crema));
  opacity: 0.4;
}

.step { text-align: center; position: relative; z-index: 1; }

.step__num {
  width: 72px;
  height: 72px;
  background: var(--crema);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 auto 20px;
  box-shadow: var(--shadow-crema);
}

.step h3 { margin-bottom: 10px; }
.step p { color: var(--text-secondary); font-size: 0.93rem; }

/* --- Security Teaser --- */
.security-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.security-split img { border-radius: var(--radius); max-width: 360px; }

/* --- Integration Logos --- */
.logo-strip {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
}

.logo-strip__item {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.logo-strip__item:hover {
  border-color: var(--crema);
  color: var(--crema);
}

/* --- Pricing --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.pricing-card {
  padding: 40px 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  transition: all var(--transition);
  position: relative;
}

.pricing-card--featured {
  border-color: var(--crema);
  box-shadow: var(--shadow-crema);
  transform: scale(1.03);
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--crema);
  color: var(--white);
  padding: 5px 18px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-card__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.pricing-card__desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.pricing-card__price {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-card__price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.pricing-card__divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.pricing-card__features {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-card__features li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-card__features li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-card .btn { width: 100%; }

/* --- Philosophy --- */
.philosophy {
  max-width: 680px;
  margin: 0 auto;
}

.philosophy h2 {
  font-style: italic;
  margin-bottom: 24px;
}

.philosophy p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.values-list {
  list-style: none;
  margin: 32px 0;
}

.values-list li {
  padding: 10px 0 10px 20px;
  font-size: 1rem;
  color: var(--text);
  border-left: 3px solid var(--crema);
  margin-bottom: 8px;
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 80px 0;
  background: var(--espresso);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Page Header --- */
.page-header {
  padding: 140px 0 56px;
  background: var(--espresso);
  color: var(--white);
  text-align: center;
}
.page-header h1 { color: var(--white); }
.page-header p {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 16px auto 0;
}

/* --- Forms --- */
.form__group { margin-bottom: 18px; }
.form__label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; }
.form__input, .form__textarea, .form__select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
}
.form__input:focus, .form__textarea:focus, .form__select:focus {
  outline: none;
  border-color: var(--crema);
  box-shadow: 0 0 0 3px var(--crema-light);
}
.form__textarea { min-height: 120px; resize: vertical; }

.form__message {
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 14px;
  display: none;
}
.form__message--success { display: block; background: #dcfce7; color: var(--success); }
.form__message--error { display: block; background: #fef2f2; color: var(--danger); }

/* --- FAQ --- */
.faq-list { max-width: 780px; margin: 56px auto 0; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--crema); }

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all var(--transition);
}

.faq-item.active .faq-icon,
.faq-item.active .faq-question__icon {
  background: var(--crema);
  border-color: var(--crema);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.active .faq-answer { max-height: 500px; padding-bottom: 22px; }
.faq-answer p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; }

/* --- Footer --- */
.footer {
  background: var(--espresso);
  color: rgba(255,255,255,0.65);
  padding: 64px 0 28px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer__tagline {
  margin-top: 16px;
  font-size: 0.88rem;
  max-width: 280px;
}

.footer__heading {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer__link {
  display: block;
  padding: 4px 0;
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer__link:hover { color: var(--crema); }

.footer__bottom {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.footer__bottom-right {
  font-style: italic;
  color: rgba(255,255,255,0.4);
}

/* --- Split Layout (Features, How It Works, Hardware) --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

.split__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-height: 400px;
}

.split__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.split__visual.split__visual--illustration {
  background: var(--latte);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  max-height: none;
  overflow: visible;
}

.split__visual.split__visual--illustration img {
  width: auto;
  height: auto;
  max-width: 260px;
  object-fit: contain;
}

/* --- Checklist --- */
.checklist {
  list-style: none;
  margin-top: 20px;
}

.checklist li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.checklist li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

/* --- Section Label (inner pages) --- */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--crema);
  margin-bottom: 16px;
  display: block;
}

/* --- Gold accent (inner pages) --- */
.gold { color: var(--crema); }

/* --- Alert --- */
.alert {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  border-radius: var(--radius);
  align-items: flex-start;
}

.alert--danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.alert--warning {
  background: #fffbeb;
  border: 1px solid #fde68a;
}

.alert__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Feature Cards (inner pages) --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.feature-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  align-items: flex-start;
}

.feature-card__icon {
  width: 44px;
  height: 44px;
  background: var(--crema-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--crema);
}

.feature-card h4 { margin-bottom: 6px; }
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* --- Integration Cards --- */
.integrations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.integration-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.integration-card:hover {
  border-color: var(--crema);
  box-shadow: var(--shadow);
}

.integration-card span {
  font-weight: 600;
  font-size: 0.9rem;
}

/* --- Hardware Grid --- */
.hardware-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.hardware-item {
  padding: 14px 16px;
  background: var(--foam);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  text-align: center;
}

/* --- Inner page cream section --- */
.section--cream { background: var(--latte); }

/* --- Buttons (inner pages) --- */
.btn--primary {
  background: var(--crema);
  color: var(--white);
  border-color: var(--crema);
  box-shadow: var(--shadow-crema);
}
.btn--primary:hover {
  background: var(--crema-hover);
  border-color: var(--crema-hover);
  transform: translateY(-2px);
}

.btn--secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn--secondary:hover {
  border-color: var(--crema);
  color: var(--crema);
}

.btn--dark {
  background: var(--espresso);
  color: var(--white);
  border-color: var(--espresso);
}
.btn--dark:hover {
  background: var(--roast);
  border-color: var(--roast);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}
.btn--ghost:hover {
  border-color: var(--crema);
  color: var(--crema);
}

/* --- FAQ question icon (inner pages) --- */
.faq-question__icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all var(--transition);
}

/* --- Integration Card Logos --- */
.integration-card__logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

/* --- Blog --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  display: block;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--crema);
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.blog-card__category {
  background: var(--crema-light);
  color: var(--crema);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
}

.blog-card__title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.3;
}

.blog-card__desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-card__read {
  font-size: 0.82rem;
  color: var(--crema);
  font-weight: 600;
}

/* Blog Post */
.blog-post__header {
  padding: 140px 0 40px;
  background: var(--espresso);
  color: var(--white);
}

.blog-post__header h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  line-height: 1.2;
}

.blog-post__back {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--crema);
  margin-bottom: 20px;
  font-weight: 500;
}

.blog-post__back:hover { text-decoration: underline; }

.blog-post__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.blog-post__body {
  padding: 56px 0 80px;
}

.blog-post__body h2 {
  margin-top: 48px;
  margin-bottom: 16px;
}

.blog-post__body h3 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.blog-post__body p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.blog-post__body ul,
.blog-post__body ol {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
  padding-left: 24px;
}

.blog-post__body li {
  margin-bottom: 8px;
}

.blog-post__body a:not(.btn) {
  color: var(--crema);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.blog-post__body a:not(.btn):hover {
  color: var(--crema-hover);
}

.blog-post__cta {
  margin-top: 56px;
  padding: 40px;
  background: var(--latte);
  border-radius: var(--radius-lg);
  text-align: center;
}

.blog-post__cta h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.blog-post__cta p {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 24px;
}

/* --- Scroll Animation --- */
.animate-target {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.animate-in { opacity: 1; transform: translateY(0); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  :root { --section-pad: 72px; }
  .pain-grid, .pillar-grid, .pricing-grid, .wg-grid, .steps-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
  .steps-grid::before { display: none; }
  .explainer-grid, .security-split, .case-study, .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse { direction: ltr; }
  .features-grid { grid-template-columns: 1fr; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .hardware-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; max-width: 600px; margin-left: auto; margin-right: auto; }
  .hero__content { max-width: 100%; }
  .hero__bg::after { background: rgba(26,14,10,0.75); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pricing-card--featured { transform: none; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; }
  .nav__menu { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 24px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); }
  .nav__menu.active { display: flex; }
  .nav__toggle { display: flex; }
  .nav__cta { margin-left: 0; width: 100%; }
  .nav__dropdown-menu { position: static; box-shadow: none; border: none; padding: 0 0 0 16px; }
  .nav__dropdown.active .nav__dropdown-menu { display: block; }
  .hero { padding: 120px 0 56px; min-height: auto; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
}
