/* Barnaby — barnaby.in
   Premium landing page styles
   ========================================================================== */

:root {
  /* Brand - Barnaby Blue (from the logo mark; --blue-700 is the primary) */
  --blue-900: #0C0C55;
  --blue-800: #10108F;
  --blue-700: #1A1AE0;
  --blue-600: #3A3AEA;
  --blue-500: #5757EF;
  --blue-400: #7A7AF0;
  --blue-300: #A2A2F6;
  --blue-100: #E2E2FF;
  --blue-50:  #F2F2FF;

  --amber-700: #C25700;
  --amber-600: #E66A00;
  --amber-500: #FF8A1F;
  --amber-400: #FFA94D;
  --amber-100: #FFE8D1;
  --amber-50:  #FFF4E6;

  --plum-600: #6E4FB0;
  --plum-100: #EBE3F7;

  /* Neutrals */
  --ink-900: #0E1614;
  --ink-800: #1B2724;
  --ink-700: #324641;
  --ink-600: #4D635E;
  --ink-500: #5E726C;
  --ink-400: #93A5A0;
  --ink-300: #BCC9C5;
  --ink-200: #DCE5E2;
  --ink-100: #EDF2F0;
  --ink-50:  #F6F9F8;

  --canvas: #FAFCFB;
  --surface: #FFFFFF;
  --surface-soft: #F4F8F6;

  /* Semantic */
  --success: #1A7A43;
  --warning: #C97A00;
  --danger:  #C8324A;
  --info:    #1E6FB8;

  /* Brand aliases */
  --primary: var(--blue-700);
  --primary-strong: var(--blue-800);
  --primary-soft: var(--blue-100);
  --accent: var(--amber-500);
  --accent-soft: var(--amber-50);

  /* Spacing */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;

  /* Radius */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-pill: 999px;

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Fraunces', 'Inter', Georgia, serif;

  /* Shadow */
  --sh-1: 0 1px 2px rgba(15, 30, 27, 0.06), 0 1px 1px rgba(15, 30, 27, 0.04);
  --sh-2: 0 4px 12px rgba(15, 30, 27, 0.06), 0 2px 4px rgba(15, 30, 27, 0.04);
  --sh-3: 0 12px 28px rgba(15, 30, 27, 0.08), 0 4px 10px rgba(15, 30, 27, 0.05);
  --sh-4: 0 28px 60px rgba(15, 30, 27, 0.12), 0 10px 22px rgba(15, 30, 27, 0.06);
  --sh-glow: 0 18px 48px rgba(26, 26, 224, 0.28);

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --container-narrow: 760px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--canvas);
  color: var(--ink-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-strong); }
button { font-family: inherit; }
::selection { background: var(--blue-100); color: var(--blue-900); }

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  line-height: 1.15;
}
h1 { font-size: clamp(2.4rem, 5vw + 1rem, 4.25rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.85rem, 2.4vw + 1rem, 2.85rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.25rem, 1vw + 1rem, 1.5rem); }
h4 { font-size: 1.125rem; }
p { color: var(--ink-600); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before { display: none; }

.gradient-text {
  background: linear-gradient(120deg, var(--blue-700) 0%, var(--blue-600) 45%, var(--amber-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Layout */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--s-6); }
.container--wide { max-width: var(--container-wide); }
.container--narrow { max-width: var(--container-narrow); }

.section { padding: var(--s-24) 0; position: relative; }
.section--tight { padding: var(--s-16) 0; }
.section--alt { background: var(--surface); }
.section--ink { background: linear-gradient(180deg, var(--blue-900), #08083F); color: #E5F2EF; }
.section--ink h2, .section--ink h3 { color: #FFFFFF; }
.section--ink p { color: rgba(229, 242, 239, 0.78); }

.section__head { text-align: center; max-width: 720px; margin: 0 auto var(--s-12); }
.section__head h2 { margin: var(--s-3) 0 var(--s-4); }
.section__head p { font-size: 1.0625rem; color: var(--ink-600); }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(250, 252, 251, 0.75);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(15, 30, 27, 0.06);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; }

.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--ink-900); }
.logo__icon { width: 36px; height: 36px; border-radius: 10px; box-shadow: var(--sh-1); }
.logo__name { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  color: var(--ink-700);
  font-weight: 500;
  font-size: 0.94rem;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  transition: background .2s ease, color .2s ease;
}
.nav__link:hover { color: var(--ink-900); background: rgba(15, 30, 27, 0.04); }
.nav__cta {
  margin-left: 8px;
  background: var(--ink-900);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.nav__cta:hover { color: #fff; transform: translateY(-1px); background: var(--primary-strong); box-shadow: var(--sh-3); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle__bar { display: block; width: 22px; height: 2px; background: var(--ink-900); margin: 5px 0; border-radius: 2px; transition: transform .2s ease; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--blue-700), var(--blue-600));
  color: #fff;
  box-shadow: var(--sh-glow);
}
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 22px 60px rgba(26, 26, 224, 0.35); }
.btn--ink { background: var(--ink-900); color: #fff; }
.btn--ink:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--sh-3); background: #000; }
.btn--ghost { background: rgba(15, 30, 27, 0.04); color: var(--ink-900); }
.btn--ghost:hover { background: rgba(15, 30, 27, 0.08); color: var(--ink-900); }
.btn--outline { background: transparent; color: var(--ink-900); border: 1px solid var(--ink-200); }
.btn--outline:hover { color: var(--ink-900); background: var(--surface-soft); }
.btn--white { background: #fff; color: var(--ink-900); }
.btn--white:hover { color: var(--ink-900); transform: translateY(-2px); box-shadow: var(--sh-3); }
.btn--lg { padding: 16px 28px; font-size: 1rem; }

/* Hero */
.hero { position: relative; padding: var(--s-20) 0 var(--s-24); overflow: hidden; }
.hero__bg {
  position: absolute;
  inset: -10% -5% 0 -5%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(255, 169, 77, 0.22) 0%, transparent 60%),
    radial-gradient(55% 45% at 12% 18%, rgba(90, 90, 240, 0.22) 0%, transparent 60%),
    radial-gradient(50% 50% at 50% 95%, rgba(110, 79, 176, 0.10) 0%, transparent 60%);
  filter: blur(0.5px);
}
.hero__grain {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .35;
  background-image: radial-gradient(rgba(15, 30, 27, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: var(--s-12);
}
.hero__copy { max-width: 620px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px 8px 8px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-1);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-700);
  margin-bottom: var(--s-6);
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(31, 143, 79, 0.18); }
.hero__badge strong { color: var(--ink-900); font-weight: 600; }

.hero__title {
  font-size: clamp(2.6rem, 4.4vw + 1rem, 4.5rem);
  margin-bottom: var(--s-5);
}
.hero__subtitle {
  font-size: 1.125rem;
  color: var(--ink-600);
  max-width: 560px;
  margin-bottom: var(--s-8);
  line-height: 1.65;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: var(--s-8); }
.hero__assurances { display: flex; flex-wrap: wrap; gap: 18px 24px; color: var(--ink-600); font-size: 0.92rem; }
.hero__assurances span { display: inline-flex; align-items: center; gap: 8px; }
.hero__assurances svg { color: var(--primary); flex-shrink: 0; }

/* Hero device mockup */
.device-stage {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1500px;
}
.device-stage::after {
  content: '';
  position: absolute;
  inset: auto 10% -8% 10%;
  height: 50px;
  background: radial-gradient(ellipse at center, rgba(26, 26, 224, 0.25), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.device {
  position: relative;
  width: 320px;
  height: 640px;
  background: linear-gradient(160deg, #1a2522, #0d1816);
  border-radius: 48px;
  padding: 14px;
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,0.04),
    0 38px 80px rgba(15, 30, 27, 0.25),
    0 12px 28px rgba(15, 30, 27, 0.18);
  transform: rotateY(-8deg) rotateX(4deg);
  z-index: 1;
}
.device__notch {
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 28px;
  background: #000;
  border-radius: 999px;
  z-index: 3;
}
.device__screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  background: linear-gradient(180deg, #FFFDF9, #F4F8F6);
  overflow: hidden;
  position: relative;
}
.device__statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 28px 6px;
  font-size: 0.72rem; font-weight: 600; color: var(--ink-800);
}
.device__statusbar span:last-child { display: inline-flex; gap: 5px; align-items: center; }
.device__statusbar .ind { width: 4px; height: 4px; background: var(--ink-800); border-radius: 50%; }
.device__hello { padding: 18px 22px 8px; }
.device__hello-greet { font-size: 0.78rem; color: var(--ink-500); }
.device__hello-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; color: var(--ink-900); margin-top: 2px; letter-spacing: -0.02em; }
.device__cta {
  margin: 12px 22px 16px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: #fff;
  display: flex; gap: 12px; align-items: center;
}
.device__cta-icon {
  width: 40px; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,0.18);
  display: grid; place-items: center;
  font-size: 1.1rem;
}
.device__cta-text { font-size: 0.78rem; opacity: .85; }
.device__cta-title { font-weight: 600; font-size: 0.95rem; }
.device__pet-card {
  margin: 0 22px 12px;
  background: #fff;
  border-radius: 18px;
  padding: 12px;
  display: flex; gap: 12px; align-items: center;
  box-shadow: 0 6px 18px rgba(15, 30, 27, 0.06);
}
.device__pet-avatar {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, var(--amber-100), var(--amber-400));
  display: grid; place-items: center;
  font-size: 1.4rem;
}
.device__pet-info { flex: 1; }
.device__pet-name { font-weight: 600; font-size: 0.92rem; color: var(--ink-900); }
.device__pet-meta { font-size: 0.74rem; color: var(--ink-500); margin-top: 2px; }
.device__pet-pill {
  background: var(--blue-100);
  color: var(--blue-800);
  font-size: 0.66rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
}
.device__row { display: flex; gap: 10px; margin: 0 22px 12px; }
.device__chip {
  flex: 1;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 14px;
  padding: 10px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-700);
}
.device__chip span { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.device__sched {
  margin: 0 22px;
  background: var(--surface-soft);
  border-radius: 18px;
  padding: 14px;
}
.device__sched-title { font-size: 0.74rem; color: var(--ink-500); font-weight: 600; }
.device__sched-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.device__sched-time {
  background: var(--ink-900); color: #fff;
  padding: 8px 10px; border-radius: 10px;
  font-size: 0.72rem; font-weight: 600;
  text-align: center; min-width: 56px;
}
.device__sched-name { font-weight: 600; font-size: 0.86rem; color: var(--ink-900); }
.device__sched-meta { font-size: 0.72rem; color: var(--ink-500); }

/* Floating cards around device */
.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(15, 30, 27, 0.06);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: var(--sh-3);
  display: flex; align-items: center; gap: 10px;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}
.float-card--1 { top: 8%; left: -2%; animation-delay: -1s; }
.float-card--2 { bottom: 18%; right: -4%; animation-delay: -3s; }
.float-card__icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  font-size: 1rem;
}
.float-card__icon--blue { background: var(--blue-100); color: var(--blue-800); }
.float-card__icon--amber { background: var(--amber-50); color: var(--amber-700); }
.float-card__title { font-size: 0.78rem; color: var(--ink-500); font-weight: 500; }
.float-card__text { font-size: 0.88rem; color: var(--ink-900); font-weight: 600; line-height: 1.2; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Email signup */
.notify {
  margin-top: var(--s-8);
  padding: 14px;
  background: rgba(255,255,255,0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-lg);
  max-width: 520px;
}
.notify__label { font-size: 0.82rem; color: var(--ink-600); margin-bottom: 8px; padding: 0 4px; }
.notify__row { display: flex; gap: 8px; }
.notify__input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--ink-200);
  border-radius: var(--r-pill);
  background: #fff;
  font-size: 0.95rem;
  color: var(--ink-900);
  font-family: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.notify__input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(26, 26, 224, 0.12); }
.notify__btn { padding: 12px 18px; }
.notify__status { margin-top: 8px; font-size: 0.86rem; color: var(--success); padding: 0 4px; }

/* Trust bar */
.trustbar {
  margin-top: var(--s-12);
  padding: var(--s-6) var(--s-8);
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-xl);
  display: grid;
  grid-template-columns: auto repeat(4, 1fr);
  gap: var(--s-6);
  align-items: center;
}
.trustbar__label { font-size: 0.78rem; color: var(--ink-500); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.trustbar__item { font-size: 0.92rem; color: var(--ink-700); display: flex; align-items: center; gap: 8px; }
.trustbar__item svg { color: var(--primary); }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
.stat {
  background: var(--surface);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-xl);
  padding: var(--s-8);
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.stat:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: var(--ink-200); }
.stat__value {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.stat__value sup { font-size: 0.6em; color: var(--primary); }
.stat__label { font-size: 0.92rem; color: var(--ink-600); }
.stat__hint { font-size: 0.78rem; color: var(--ink-500); margin-top: 6px; }

/* Bento features */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: var(--s-4);
}
.bento__cell {
  position: relative;
  padding: var(--s-8);
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--ink-100);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.bento__cell:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--ink-200); }
.bento__cell--w2 { grid-column: span 2; }
.bento__cell--w3 { grid-column: span 3; }
.bento__cell--w4 { grid-column: span 4; }
.bento__cell--w6 { grid-column: span 6; }
.bento__cell--h2 { grid-row: span 2; }
.bento__cell--feature {
  background: linear-gradient(160deg, var(--blue-800), var(--blue-600) 60%, var(--blue-500));
  color: #fff;
  border-color: transparent;
}
.bento__cell--feature h3, .bento__cell--feature p { color: #fff; }
.bento__cell--feature p { color: rgba(255,255,255,0.8); }
.bento__cell--accent {
  background: linear-gradient(160deg, var(--amber-50), #fff 60%);
  border-color: var(--amber-100);
}

.bento__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.25rem;
  margin-bottom: var(--s-4);
  background: var(--primary-soft);
  color: var(--primary-strong);
}
.bento__cell--feature .bento__icon { background: rgba(255,255,255,0.18); color: #fff; }
.bento__cell--accent .bento__icon { background: var(--amber-100); color: var(--amber-700); }

.bento__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin-bottom: 8px;
}
.bento__cell--feature .bento__title { color: #fff; font-size: 1.5rem; }
.bento__desc { font-size: 0.95rem; color: var(--ink-600); line-height: 1.55; }
.bento__cell--feature .bento__desc { color: rgba(255,255,255,0.82); }

.bento__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--s-5); }
.chip {
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--surface-soft);
  color: var(--ink-700);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--ink-100);
}
.bento__cell--feature .chip {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}

/* Audience cards */
.audience {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
.audience__card {
  background: var(--surface);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-xl);
  padding: var(--s-8);
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.audience__card:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--ink-200); }
.audience__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.audience__card--owner::before  { background: linear-gradient(90deg, var(--amber-400), var(--amber-600)); }
.audience__card--livestock::before { background: linear-gradient(90deg, #6BAB5A, #2F7A2A); }
.audience__card--vet::before { background: linear-gradient(90deg, #4A95E8, #1B5FB0); }
.audience__card--store::before { background: linear-gradient(90deg, #C97A52, #9C4A26); }

.audience__emoji { font-size: 1.8rem; margin-bottom: var(--s-3); }
.audience__title { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin-bottom: 6px; color: var(--ink-900); }
.audience__desc { font-size: 0.92rem; color: var(--ink-600); margin-bottom: var(--s-4); line-height: 1.55; }
.audience__list { list-style: none; padding: 0; }
.audience__list li {
  font-size: 0.86rem; color: var(--ink-700);
  padding: 6px 0; padding-left: 22px;
  position: relative;
}
.audience__list li::before {
  content: '';
  position: absolute; left: 0; top: 12px;
  width: 14px; height: 6px;
  border-left: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(-45deg);
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  position: relative;
}
.step {
  background: var(--surface);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-xl);
  padding: var(--s-8);
  position: relative;
}
.step__num {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--s-3);
}
.step__title { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; color: var(--ink-900); }
.step__desc { font-size: 0.92rem; color: var(--ink-600); line-height: 1.55; }
.step__icon {
  position: absolute; top: var(--s-8); right: var(--s-8);
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--surface-soft);
  display: grid; place-items: center;
  font-size: 0.95rem;
  color: var(--ink-700);
}

/* Showcase strip */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-12);
  align-items: center;
}
.showcase__copy h2 { margin: var(--s-3) 0 var(--s-5); }
.showcase__copy p { font-size: 1.0625rem; line-height: 1.7; color: var(--ink-600); }
.showcase__list { margin-top: var(--s-6); list-style: none; padding: 0; }
.showcase__list li {
  display: flex; gap: 14px; padding: 14px 0;
  border-bottom: 1px solid var(--ink-100);
}
.showcase__list li:last-child { border-bottom: 0; }
.showcase__list svg { color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.showcase__list strong { color: var(--ink-900); display: block; margin-bottom: 2px; }
.showcase__list p { font-size: 0.9rem; margin: 0; }
.showcase__visual {
  position: relative;
  aspect-ratio: 5/4;
  background: linear-gradient(160deg, var(--blue-50), var(--amber-50));
  border-radius: var(--r-2xl);
  border: 1px solid var(--ink-100);
  overflow: hidden;
  padding: var(--s-8);
}
.showcase__visual::before {
  content: '';
  position: absolute; inset: -20%;
  background:
    radial-gradient(40% 30% at 20% 30%, rgba(90, 90, 240, 0.4) 0%, transparent 60%),
    radial-gradient(40% 30% at 80% 70%, rgba(255, 169, 77, 0.4) 0%, transparent 60%);
  filter: blur(40px);
  z-index: 0;
}
.showcase__panel {
  position: absolute;
  background: rgba(255,255,255,0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(15, 30, 27, 0.06);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  box-shadow: var(--sh-3);
  z-index: 1;
}
.showcase__panel--main { inset: 18% 22% 20% 8%; padding: var(--s-6); }
.showcase__panel--side { right: 5%; bottom: 8%; width: 56%; }
.showcase__panel-label { font-size: 0.74rem; font-weight: 600; color: var(--primary); letter-spacing: 0.05em; text-transform: uppercase; }
.showcase__panel-title { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin: 6px 0 8px; color: var(--ink-900); }
.showcase__panel-row { display: flex; align-items: center; gap: 10px; margin: 8px 0; font-size: 0.86rem; color: var(--ink-700); }
.showcase__panel-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.showcase__panel-row .pill { font-size: 0.7rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: var(--blue-100); color: var(--blue-800); }

/* Languages */
.langs {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; max-width: 720px; margin: 0 auto;
}
.lang {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--ink-100);
  font-size: 0.92rem;
  color: var(--ink-700);
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .2s ease, border-color .2s ease;
}
.lang:hover { transform: translateY(-2px); border-color: var(--primary); }
.lang__native { font-weight: 600; color: var(--ink-900); }

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
.tier {
  background: var(--surface);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-2xl);
  padding: var(--s-10);
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.tier--popular {
  background: linear-gradient(180deg, var(--ink-900), #142420);
  color: #fff;
  border-color: transparent;
  transform: scale(1.02);
  box-shadow: var(--sh-4);
}
.tier--popular:hover { transform: scale(1.02) translateY(-4px); }
.tier__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: 6px 14px;
  background: var(--amber-700);
  color: #fff;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.tier__name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; margin-bottom: 4px; }
.tier__tag { font-size: 0.86rem; color: var(--ink-500); margin-bottom: var(--s-5); }
.tier--popular .tier__tag { color: rgba(255,255,255,0.6); }
.tier__price { display: flex; align-items: baseline; gap: 4px; margin-bottom: var(--s-5); }
.tier__price .amt { font-family: var(--font-display); font-size: 2.25rem; font-weight: 600; }
.tier__price .per { font-size: 0.9rem; color: var(--ink-500); }
.tier--popular .tier__price .per { color: rgba(255,255,255,0.6); }
.tier__features { list-style: none; padding: 0; margin: 0 0 var(--s-6) 0; }
.tier__features li {
  font-size: 0.92rem;
  padding: 8px 0;
  border-bottom: 1px solid var(--ink-100);
  display: flex; align-items: center; gap: 10px;
}
.tier--popular .tier__features li { border-color: rgba(255,255,255,0.08); }
.tier__features li:last-child { border-bottom: 0; }
.tier__features svg { color: var(--primary); flex-shrink: 0; }
.tier--popular .tier__features svg { color: var(--blue-300); }

/* Testimonials */
.testis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
.testi {
  background: var(--surface);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-2xl);
  padding: var(--s-8);
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease;
}
.testi:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.testi__quote {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--ink-900);
  margin-bottom: var(--s-5);
}
.testi__quote::before { content: '“'; font-size: 2rem; line-height: 0; color: var(--primary); display: block; margin-bottom: 12px; }
.testi__author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 600; color: #fff;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400));
  font-size: 0.95rem;
}
.testi__avatar--amber { background: linear-gradient(135deg, var(--amber-600), var(--amber-400)); }
.testi__avatar--plum  { background: linear-gradient(135deg, var(--plum-600), #B093E0); }
.testi__name { font-weight: 600; font-size: 0.95rem; color: var(--ink-900); }
.testi__role { font-size: 0.82rem; color: var(--ink-500); }

/* FAQ */
.faqs { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq {
  background: var(--surface);
  border: 1px solid var(--ink-100);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px var(--s-5);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink-900);
  transition: background .2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--surface-soft); }
.faq summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--primary);
  transition: transform .2s ease;
}
.faq[open] summary::after { content: '−'; }
.faq__body { padding: 0 var(--s-5) var(--s-5); color: var(--ink-600); font-size: 0.95rem; line-height: 1.7; }

/* Final CTA */
.final-cta {
  position: relative;
  background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-600) 70%, var(--blue-400) 100%);
  border-radius: var(--r-2xl);
  padding: var(--s-16) var(--s-12);
  color: #fff;
  text-align: center;
  overflow: hidden;
  margin-top: var(--s-12);
}
.final-cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(40% 60% at 80% 100%, rgba(255, 169, 77, 0.32) 0%, transparent 70%),
    radial-gradient(40% 60% at 10% 0%, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
}
.final-cta > * { position: relative; z-index: 1; }
.final-cta__title { color: #fff; font-size: clamp(2rem, 3vw + 1rem, 3rem); margin-bottom: var(--s-4); }
.final-cta__sub { color: rgba(255,255,255,0.82); font-size: 1.0625rem; max-width: 560px; margin: 0 auto var(--s-8); }

/* Footer */
.footer {
  background: var(--ink-900);
  color: rgba(255,255,255,0.75);
  padding: var(--s-16) 0 var(--s-8);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: var(--s-8);
  margin-bottom: var(--s-12);
}
.footer__brand { max-width: 360px; }
.footer__logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: #fff; margin-bottom: var(--s-4); }
.footer__logo .logo__icon { width: 36px; height: 36px; }
.footer__tagline { font-size: 0.92rem; line-height: 1.65; margin-bottom: var(--s-5); color: rgba(255,255,255,0.6); }
.footer__contact { font-size: 0.88rem; color: rgba(255,255,255,0.55); }
.footer__contact a { color: rgba(255,255,255,0.85); }
.footer__contact a:hover { color: var(--accent); }

.footer__section h4 {
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
  font-family: var(--font-sans);
}
.footer__links { list-style: none; padding: 0; }
.footer__links li { margin-bottom: 10px; }
.footer__links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  transition: color .2s ease;
}
.footer__links a:hover { color: var(--accent); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--s-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-4);
}
.footer__copyright { font-size: 0.86rem; color: rgba(255,255,255,0.45); }
.footer__legal { display: flex; gap: var(--s-5); }
.footer__legal a { font-size: 0.86rem; color: rgba(255,255,255,0.55); }
.footer__legal a:hover { color: #fff; }
.footer__social { display: flex; gap: 10px; margin-top: var(--s-4); }
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.7);
  transition: background .2s ease, color .2s ease;
}
.footer__social a:hover { background: var(--primary); color: #fff; }

/* Legal Page */
.legal-page { padding: var(--s-16) 0 var(--s-20); }
.legal-page__header { margin-bottom: var(--s-10); }
.legal-page__title { margin-bottom: var(--s-4); }
.legal-page__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-600);
  font-size: 0.92rem;
  padding: 8px 14px;
  background: var(--surface-soft);
  border: 1px solid var(--ink-100);
  border-radius: 999px;
}
.legal-page__content {
  background: var(--surface);
  border-radius: var(--r-2xl);
  padding: var(--s-10);
  border: 1px solid var(--ink-100);
}
.legal-section { margin-bottom: var(--s-10); }
.legal-section:last-child { margin-bottom: 0; }
.legal-section__title { margin-bottom: var(--s-4); color: var(--ink-900); font-size: 1.25rem; }
.legal-section__content { color: var(--ink-700); line-height: 1.8; }
.legal-section__content ul { margin: var(--s-4) 0; padding-left: var(--s-6); }
.legal-section__content li { margin-bottom: var(--s-2); }
.legal-section__content strong { color: var(--ink-900); }

/* Contact page */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-4);
  margin-bottom: var(--s-12);
}
.contact-card {
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: var(--s-8);
  border: 1px solid var(--ink-100);
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--sh-3); }
.contact-card__icon {
  width: 56px; height: 56px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  border-radius: 16px;
  display: grid; place-items: center;
  margin: 0 auto var(--s-4);
  font-size: 1.4rem;
}
.contact-card__title { margin-bottom: 6px; font-size: 1.05rem; }
.contact-card__value { color: var(--primary); font-weight: 600; }

/* Reveal-on-scroll. Gated behind `.js` (set by site.js on <html>) so that if the
   script never runs / is CSP-blocked, content stays fully visible instead of blank. */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento__cell--w3, .bento__cell--w4 { grid-column: span 4; }
  .audience { grid-template-columns: repeat(3, 1fr); }
  .testis { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer__grid > .footer__section:nth-child(5) { grid-column: 2 / span 3; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .device-stage { transform: scale(0.92); margin-top: var(--s-8); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .tier--popular { transform: none; }
  .tier--popular:hover { transform: translateY(-4px); }
  .showcase { grid-template-columns: 1fr; }
  .testis { grid-template-columns: 1fr; }
  .trustbar { grid-template-columns: 1fr 1fr; }
  .trustbar__label { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --s-24: 72px; --s-20: 56px; --s-16: 48px; }
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: stretch;
    padding: var(--s-5);
    gap: 4px;
    border-bottom: 1px solid var(--ink-100);
    box-shadow: var(--sh-3);
  }
  .nav.active { display: flex; }
  .nav__link { padding: 10px 14px; }
  .nav__cta { margin-left: 0; text-align: center; }
  .nav-toggle { display: block; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__cell--w2, .bento__cell--w3, .bento__cell--w4, .bento__cell--w6 { grid-column: span 2; }
  .audience { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > .footer__brand { grid-column: 1 / -1; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .device { width: 280px; height: 560px; }
  .float-card { display: none; }
  .legal-page__content { padding: var(--s-6); }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--s-4); }
  .hero { padding: var(--s-12) 0 var(--s-16); }
  .hero__actions .btn { width: 100%; }
  .notify__row { flex-direction: column; }
  .notify__btn { width: 100%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat__value { font-size: 1.85rem; }
  .bento { grid-template-columns: 1fr; }
  .bento__cell--w2, .bento__cell--w3, .bento__cell--w4, .bento__cell--w6 { grid-column: span 1; }
  .audience { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .final-cta { padding: var(--s-12) var(--s-6); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .float-card { animation: none; }
}

/* Utilities */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.is-hidden { display: none; }

.btn--block { width: 100%; }
.btn--ghost-on-dark { background: rgba(255,255,255,0.1); color: #fff; }

.dot--muted { background: var(--ink-300); }

.pill--neutral { background: var(--ink-100); color: var(--ink-700); }
.pill--amber   { background: var(--amber-50); color: var(--amber-700); }

.eyebrow--on-dark { color: var(--blue-300); }

.hero__actions--center { justify-content: center; }

.showcase__panel-row--meta { font-size: .78rem; color: var(--ink-500); }

.legal-page__lead { font-size: 1.0625rem; color: var(--ink-600); margin-top: var(--s-3); }
.legal-page__content--spaced { margin-top: var(--s-12); }

.final-cta--spaced { margin-top: var(--s-16); }

.contact-card__desc { font-size: .9rem; color: var(--ink-600); margin-bottom: var(--s-3); }

/* ==========================================================================
   Additions: focus, skip-link, error/status pages, print
   (error/status rules were previously inline <style> — moved here because the
   strict CSP style-src 'self' blocks inline <style>, leaving those pages
   unstyled. Values use design tokens instead of the old hardcoded hexes.)
   ========================================================================== */

/* Keyboard focus — visible high-contrast ring on all interactive controls */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav__link:focus-visible,
.nav-toggle:focus-visible,
.faq summary:focus-visible,
.contact-card:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
.btn--white:focus-visible, .btn--ghost-on-dark:focus-visible { outline-color: #fff; }

/* Explicit accessible placeholder colour (>= 4.5:1) */
.notify__input::placeholder { color: var(--ink-500); opacity: 1; }

/* Skip-to-content link — first focusable element, hidden until focused */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  padding: 10px 18px; border-radius: var(--r-pill);
  background: var(--ink-900); color: #fff; font-weight: 600; text-decoration: none;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; outline: 3px solid #fff; outline-offset: 2px; }

/* Current-page nav indicator */
.nav__link[aria-current="page"] { color: var(--ink-900); background: rgba(15, 30, 27, 0.05); }

/* Error pages (404 / 500) */
.error-page { min-height: calc(100vh - 64px); display: grid; place-items: center; padding: var(--s-12) var(--s-6); }
.error-page__inner { max-width: 520px; text-align: center; }
.error-page__code { font-family: var(--font-display); font-size: 96px; font-weight: 600; line-height: 1; color: var(--primary); margin: 0; }
.error-page__title { font-family: var(--font-display); font-size: 2rem; margin: var(--s-2) 0 var(--s-4); }
.error-page__lead { color: var(--ink-600); line-height: 1.55; margin-bottom: var(--s-8); }
.error-page__cta {
  display: inline-block; padding: 14px 28px; background: var(--primary); color: #fff;
  border-radius: var(--r-pill); text-decoration: none; font-weight: 600; transition: background .12s ease;
}
.error-page__cta:hover { background: var(--primary-strong); }
.error-page__links { margin-top: var(--s-6); display: flex; gap: var(--s-4); justify-content: center; flex-wrap: wrap; }
.error-page__links a { color: var(--primary); text-decoration: none; }
.error-page__links a:hover { text-decoration: underline; }

/* Status page */
.status-grid { display: grid; gap: var(--s-3); max-width: 720px; margin: var(--s-8) 0; }
.status-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-4) var(--s-5); border: 1px solid var(--ink-200);
  border-radius: var(--r-md); background: var(--surface);
}
.status-row__name { font-weight: 600; }
.status-row__pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: var(--r-pill); font-size: 0.875rem; font-weight: 500; }
.status-row__pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.status-row__pill--ok { background: var(--blue-50); color: #066c2c; }
.status-row__pill--ok::before { background: #19a747; }
.status-row__pill--degraded { background: var(--amber-50); color: #8a5300; }
.status-row__pill--degraded::before { background: var(--warning); }
.status-row__pill--down { background: #FDE8E8; color: #9b1c1c; }
.status-row__pill--down::before { background: var(--danger); }
.status-history { margin: var(--s-8) 0; }
.status-history h2 { font-size: 1.125rem; margin-bottom: var(--s-4); }
.status-history__empty { color: var(--ink-500); font-style: italic; }

/* Print — clean legal documents (drop chrome, ink-heavy backgrounds, dark footer) */
@media print {
  .header, .footer, .nav, .nav-toggle, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  .legal-page, .legal-page__content { padding: 0; box-shadow: none; border: 0; }
  .legal-section { break-inside: avoid; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; word-break: break-all; }
}
