/* Elenia marketing site. Previous Elenia design system (design-system.md): Inter + Sora,
   WhatsApp green, gray scale, pill buttons, dark green gradients. One stylesheet. */

/* Fallback faces sized to the web fonts, so the swap does not move the layout. */
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica");
  size-adjust: 105.94%;
  ascent-override: 91.44%;
  descent-override: 22.77%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Sora Fallback";
  src: local("Arial"), local("ArialMT"), local("Helvetica");
  size-adjust: 113.22%;
  ascent-override: 85.68%;
  descent-override: 25.61%;
  line-gap-override: 0%;
}

/* =============================================
   CSS RESET & VARIABLES
   ============================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green-50: #ECFDF5;
  --green-100: #D1FAE5;
  --green-200: #A7F3D0;
  --green-300: #6EE7B7;
  --green-400: #34D399;
  --green-500: #25D366;
  --green-600: #1B9E4B;
  --green-700: #15803D;
  --green-800: #166534;
  --green-900: #14532D;

  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --gray-950: #030712;

  --blue-50: #EFF6FF;
  --amber-50: #FFFBEB;
  --rose-50: #FFF1F2;
  --purple-50: #F5F3FF;
  --teal-50: #F0FDFA;
  --cyan: #0EA5E9;
  --amber-500: #F59E0B;
  --red-500: #EF4444;

  --white: #FFFFFF;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.15);

  --gradient-brand: linear-gradient(135deg, #25D366, #0EA5E9);
  --gradient-bar: linear-gradient(90deg, var(--green-500), #0EA5E9);
  --gradient-text: linear-gradient(135deg, #34D399, #67E8F9);
  --gradient-logo: linear-gradient(135deg, #25D366, #15803D);
  --gradient-dark:
    radial-gradient(ellipse 60% 50% at 85% 10%, rgba(37,211,102,0.28) 0%, transparent 60%),
    radial-gradient(ellipse 55% 50% at 10% 95%, rgba(14,165,233,0.16) 0%, transparent 60%),
    linear-gradient(135deg, #14532D 0%, #030712 100%);
  --gradient-header:
    radial-gradient(ellipse 60% 60% at 80% 10%, rgba(37,211,102,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 55% 50% at 10% 95%, rgba(14,165,233,0.12) 0%, transparent 60%),
    linear-gradient(135deg, #14532D 0%, #030712 100%);

  --font-sans: "Inter", "Inter Fallback", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-brand: "Sora", "Sora Fallback", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --nav-h: 72px;
  --section-y: 100px;
  --gutter: 24px;
}

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
    --section-y: 72px;
    --gutter: 20px;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

/* Components set display; the hidden attribute must still win. */
[hidden] { display: none !important; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
button { border: none; cursor: pointer; font-family: inherit; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; }
strong { font-weight: 600; color: var(--gray-900); }

code {
  background: var(--gray-100);
  color: var(--gray-900);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.88em;
}

:focus-visible {
  outline: 2px solid var(--green-500);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--green-100); color: var(--gray-900); }

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 2000;
  padding: 10px 18px;
  background: var(--green-500);
  color: var(--white);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

.icon {
  width: 20px;
  height: 20px;
  flex: none;
}

/* =============================================
   LAYOUT
   ============================================= */
.container {
  width: min(100% - 2 * var(--gutter), 1200px);
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px 24px;
}

@media (min-width: 960px) {
  .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .span-3 { grid-column-end: span 3; }
  .span-4 { grid-column-end: span 4; }
  .span-5 { grid-column-end: span 5; }
  .span-6 { grid-column-end: span 6; }
  .span-7 { grid-column-end: span 7; }
  .span-8 { grid-column-end: span 8; }
  .span-12 { grid-column: 1 / -1; }
  .start-5 { grid-column-start: 5; }
  .start-7 { grid-column-start: 7; }
  .start-8 { grid-column-start: 8; }
  .start-9 { grid-column-start: 9; }
  .start-10 { grid-column-start: 10; }
  .align-center { align-self: center; }
  .align-end { align-self: end; }
  .sticky-col {
    position: sticky;
    top: calc(var(--nav-h) + 32px);
    align-self: start;
  }
}

main { display: block; }

/* =============================================
   SECTION COMMON
   ============================================= */
.section {
  padding: var(--section-y) 0;
  background: var(--white);
}

.section--light { background: var(--gray-50); }

.section--fade { background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%); }

.section--dark {
  background: var(--gray-950);
  color: var(--white);
}

.section--flush { padding: 56px 0 72px; background: var(--white); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-head--split { max-width: 720px; }

.section-head--split > p { margin: 16px auto 0; }

@media (max-width: 768px) {
  .section-head { margin-bottom: 44px; }
}

/* Heading blocks that sit in a side column become a centered header above the content. */
.section--center .grid { grid-template-columns: minmax(0, 1fr); }
.section--center .grid > .span-3,
.section--center .grid > .span-4,
.section--center .grid > .span-5 {
  grid-column: 1 / -1;
  position: static;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 16px;
}
.section--center .grid > .span-8 {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}
.section--center .grid .body,
.section--center .grid .lead { margin-left: auto; margin-right: auto; }

/* Section tag (previous .section-tag) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--green-50);
  color: var(--green-700);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.4;
  margin-bottom: 16px;
}

.section--dark .eyebrow {
  background: rgba(37,211,102,0.15);
  color: var(--green-400);
}

/* Type scale */
.h-hero {
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--gray-950);
}

.h-hero em,
.h-section em,
.h-sub em {
  font-style: normal;
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding: 0 4px;
}

.h-section {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--gray-900);
}

.section--dark .h-section,
.section--dark .h-card,
.section--dark strong { color: var(--white); }

.h-sub {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--gray-900);
}

.h-card {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--gray-900);
}

.lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 640px;
}

.section--dark .lead { color: var(--gray-400); }

.body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--gray-500);
  max-width: 640px;
}

.section--dark .body { color: var(--gray-400); }

.caption {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--gray-500);
}

.section--dark .caption { color: var(--gray-400); }

.h-hero + .lead { margin-top: 20px; }
.h-section + .lead,
.h-section + .body,
.h-sub + .body,
.h-sub + .lead { margin-top: 16px; }

.stack-lg > * + * { margin-top: 24px; }

.text-link {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s;
}
.text-link:hover { color: var(--green-800); }
.section--dark .text-link { color: var(--green-400); }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--green-700);
  transition: color 0.2s, gap 0.2s;
}
.arrow-link .icon { width: 16px; height: 16px; }
.arrow-link:hover { color: var(--green-800); gap: 12px; }
.section--dark .arrow-link { color: var(--green-400); }
.section--dark .arrow-link:hover { color: var(--green-200); }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: all 0.25s ease;
  border: 1.5px solid transparent;
}
.btn .icon { width: 18px; height: 18px; }

.btn-primary {
  background: var(--green-500);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37,211,102,0.35);
}
.btn-primary:hover {
  background: var(--green-600);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--gray-800);
  border-color: var(--gray-300);
  font-weight: 600;
}
.btn-secondary:hover {
  border-color: var(--gray-400);
  background: var(--gray-50);
  transform: translateY(-2px);
}

.hero .btn-secondary,
.page-hero .btn-secondary,
.section--dark .btn-secondary,
.tryit .btn-secondary {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border-color: rgba(255,255,255,0.18);
}
.hero .btn-secondary:hover,
.page-hero .btn-secondary:hover,
.section--dark .btn-secondary:hover,
.tryit .btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.lead + .btn-row,
.body + .btn-row { margin-top: 28px; }

@media (max-width: 768px) {
  .btn-row { flex-direction: column; align-items: flex-start; }
  .btn-row .btn { width: 100%; max-width: 320px; }
  .cta-final .btn-row { align-items: center; }
}

/* =============================================
   NAVBAR
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 32px;
}

/* ELENIA LOGO: speech-bubble mark + Sora wordmark (inline SVG so page fonts cascade) */
.elenia-logo {
  display: inline-flex;
  align-items: center;
  color: var(--gray-900);
  text-decoration: none;
  line-height: 0;
}
.elenia-mark {
  display: block;
  width: auto;
  height: 36px;
}
.elenia-mark path { fill: currentColor; }
.elenia-mark .wm {
  font-family: var(--font-brand);
  font-weight: 600;
  font-size: 34px;
  letter-spacing: -1px;
  fill: currentColor;
}
.elenia-logo.s-xl .elenia-mark { height: 96px; }
.elenia-logo.s-lg .elenia-mark { height: 56px; }
.elenia-logo.s-md .elenia-mark { height: 36px; }
.elenia-logo.s-sm .elenia-mark { height: 24px; }
.elenia-logo.on-dark { color: #fafaf7; }

.nav__links { display: none; margin-left: auto; }
.nav__links > ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s;
  padding: 8px 0;
}
.nav__link:hover,
.nav__link[aria-expanded="true"],
.nav__link[aria-current="page"] { color: var(--gray-900); }
.nav__link .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.nav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }

.nav__item--menu { position: relative; }

.nav__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -20px;
  width: 300px;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}
.nav__menu a {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 4px 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  transition: background 0.2s;
}
.nav__menu a:hover,
.nav__menu a[aria-current="page"] { background: var(--green-50); }
.nav__menu .swatch { margin-top: 6px; }
.nav__menu strong { display: block; font-size: 14.5px; font-weight: 700; }
.nav__menu span span { display: block; font-size: 13px; color: var(--gray-500); line-height: 1.45; }

.swatch {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 3px rgba(37,211,102,0.15);
}

.nav__actions { display: flex; align-items: center; gap: 8px; }

.nav__cta.btn {
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: none;
}
.nav__cta.btn:hover { transform: translateY(-1px); box-shadow: none; }
.nav__cta .icon { width: 16px; height: 16px; }

.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -8px;
  color: var(--gray-700);
  border-radius: var(--radius-md);
}
.nav__toggle .icon { width: 24px; height: 24px; }

@media (max-width: 479px) {
  .nav__cta .icon { display: none; }
  .nav__cta.btn { padding: 9px 16px; }
}

@media (min-width: 1024px) {
  .nav__links { display: block; }
  .nav__toggle { display: none; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  background: var(--white);
  overflow-y: auto;
}
.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  flex: none;
}
.mobile-menu__nav { flex: 1; padding-top: 8px; }
.mobile-menu__nav ul { list-style: none; }
.mobile-menu__nav li { border-bottom: 1px solid var(--gray-100); }
.mobile-menu__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gray-900);
}
.mobile-menu__nav a[aria-current="page"] { color: var(--green-700); }
.mobile-menu__cta {
  display: grid;
  gap: 12px;
  padding-block: 28px;
}
.mobile-menu__cta .btn { width: 100%; }

/* =============================================
   HERO (home): dark gradient with dot grid
   ============================================= */
.hero {
  position: relative;
  padding: 88px 0 96px;
  overflow: hidden;
  background: var(--gradient-dark);
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.06) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 25%, transparent 75%);
}
.hero > .container { position: relative; z-index: 1; }
.hero__grid { align-items: center; }
@media (min-width: 960px) {
  .hero__grid > .span-5 { grid-column: 1 / span 6; }
  .hero__grid > .span-7 { grid-column: 7 / span 6; }
}

.hero .eyebrow,
.page-hero .eyebrow {
  gap: 8px;
  padding: 8px 18px;
  background: rgba(37,211,102,0.15);
  border: 1px solid rgba(37,211,102,0.4);
  color: var(--green-200);
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 24px;
}
.hero .eyebrow::before,
.page-hero .eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--green-500);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green-500);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero .h-hero { color: var(--white); }
.hero .lead {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.65;
  color: var(--gray-300);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin-top: 24px;
}
.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray-200);
}
.hero__facts .icon {
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 50%;
  background: rgba(37,211,102,0.25);
  color: var(--green-400);
}
.hero__facts--stack { flex-direction: column; align-items: flex-start; margin-top: 0; }

/* Entry animation, as on the previous home page */
.hero .eyebrow { animation: fadeInDown 0.6s ease both; }
.hero .h-hero { animation: fadeInUp 0.6s ease 0.1s both; }
.hero .lead { animation: fadeInUp 0.6s ease 0.2s both; }
.hero .btn-row { animation: fadeInUp 0.6s ease 0.3s both; }
.hero .hero__facts { animation: fadeInUp 0.6s ease 0.4s both; }
.hero .hero-visual { animation: fadeInUp 0.8s ease 0.2s both; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-visual {
  position: relative;
  padding: 0 18% 9% 0;
  perspective: 1400px;
}
/* Glass card of the previous hero chat. No backdrop-filter here: over the smooth gradient it is
   invisible, and it delayed first paint enough to cost 10 points of mobile Lighthouse. */
.hero-visual .frame {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 28px;
  padding: 18px;
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,0.7),
    0 20px 40px -15px rgba(37,211,102,0.18);
  transform-style: preserve-3d;
  transform: rotateX(2deg) rotateY(-6deg);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}
.hero-visual .frame > img { border-radius: 14px; box-shadow: none; }
.hero-visual .device {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 29%;
}

@media (max-width: 1024px) {
  .hero__grid > .span-5 { text-align: center; max-width: 640px; margin: 0 auto; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero .btn-row,
  .hero .hero__facts { justify-content: center; align-items: center; }
}

@media (max-width: 959px) {
  .hero { padding: 64px 0 72px; }
  .hero-visual .frame { transform: none; padding: 10px; border-radius: 18px; }
  .hero-visual .frame > img { border-radius: 10px; }
}

/* =============================================
   PAGE HEADER (secondary pages)
   ============================================= */
.page-hero {
  padding: 72px 0 64px;
  background: var(--gradient-header);
  color: var(--white);
}
.page-hero--compact { padding: 72px 0 48px; }
.page-hero .h-hero,
.page-hero .h-section {
  font-family: var(--font-brand);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}
.page-hero .lead {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  max-width: 680px;
}
.page-hero .meta-line,
.page-hero .caption { color: rgba(255,255,255,0.7); }

@media (max-width: 768px) {
  .page-hero { padding: 56px 0 48px; }
  .page-hero--compact { padding: 56px 0 40px; }
}

/* =============================================
   SCREENSHOT FRAMES AND PHONE
   ============================================= */
.frame {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
}
.frame > img { width: 100%; }
.frame--tint { padding: 16px; }
.frame--tint > img {
  border-radius: var(--radius-md);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06);
}
.frame--mesas { background: var(--amber-50); }
.frame--citas { background: var(--purple-50); }

@media (max-width: 768px) {
  .frame { border-radius: var(--radius-lg); }
  .frame--tint { padding: 10px; }
  .frame--tint > img { border-radius: var(--radius-sm); }
}

.shot-caption {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--gray-500);
  text-align: center;
}

/* Phone mockup (previous .phone) */
.device {
  position: relative;
  padding: 3.3%;
  background: #0B0F14;
  border-radius: 44px;
  box-shadow:
    0 25px 50px -12px rgba(0,0,0,0.35),
    0 0 0 2px #1a1f26 inset;
}
.device::before {
  content: "";
  position: absolute;
  top: 2.9%;
  left: 50%;
  transform: translateX(-50%);
  width: 33%;
  height: 3.9%;
  background: #000;
  border-radius: 14px;
  z-index: 2;
}
.device > img {
  width: 100%;
  border-radius: 34px;
  background: var(--white);
}
.hero-visual .device,
.phone-pair .device { border-radius: 28px; }
.hero-visual .device > img,
.phone-pair .device > img { border-radius: 22px; }

@media (max-width: 768px) {
  .device { border-radius: 24px; }
  .device > img { border-radius: 19px; }
  .hero-visual .device { border-radius: 16px; }
  .hero-visual .device > img { border-radius: 12px; }
}

.device--standalone {
  width: min(100%, 300px);
  margin-inline: auto;
}

.phone-pair {
  display: flex;
  gap: 36px;
  justify-content: center;
  align-items: flex-start;
}
.phone-pair .device { width: min(46%, 280px); }
.phone-pair .device:last-child { margin-top: 48px; }

@media (max-width: 768px) {
  .phone-pair { gap: 14px; }
  .phone-pair .device:last-child { margin-top: 28px; }
}

/* =============================================
   CARDS (previous .feature-card)
   ============================================= */
.cards {
  display: grid;
  gap: 24px;
  list-style: none;
}
@media (min-width: 720px) {
  .cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1025px) {
  .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s ease;
}
.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-bar);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--green-200);
}
.card:hover::after { transform: scaleX(1); }

.card > .icon {
  width: 52px;
  height: 52px;
  padding: 14px;
  border-radius: 14px;
  background: var(--green-50);
  color: var(--green-700);
  margin-bottom: 20px;
}
.cards > .card:nth-child(3n+2) > .icon { background: var(--blue-50); color: #1D4ED8; }
.cards > .card:nth-child(3n+3) > .icon { background: var(--amber-50); color: #B45309; }

.card .h-card { margin-bottom: 10px; }
.card .h-card + p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--gray-500);
}

/* Cards on dark sections (previous .biz-card) */
.section--dark .card {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  padding: 28px 24px;
}
.section--dark .card::after { display: none; }
.section--dark .card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(37,211,102,0.3);
  transform: translateY(-2px);
  box-shadow: none;
}
.section--dark .cards > .card > .icon {
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(37,211,102,0.15);
  color: var(--green-400);
  margin-bottom: 16px;
}
.section--dark .card .h-card { font-size: 17px; color: var(--white); margin-bottom: 8px; }
.section--dark .card .h-card + p { font-size: 14.5px; line-height: 1.6; color: var(--gray-400); }
.section--dark .card .text-link { color: var(--green-400); }

/* =============================================
   PRODUCT CARDS (home)
   ============================================= */
.products {
  display: grid;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 900px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--green-200);
}
.product-card__stripe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-bar);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: 1;
}
.product-card:hover .product-card__stripe { transform: scaleX(1); }

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 28px 28px;
  flex: 1;
}
.product-card__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--gray-500);
}
.product-card__kicker .icon {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 12px;
  background: var(--amber-50);
  color: #B45309;
}
.product-card--citas .product-card__kicker .icon { background: var(--purple-50); color: #6D28D9; }

.product-card__title {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--gray-900);
}
.product-card__body > p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--gray-500);
}
.product-card__body .arrow-link { margin-top: auto; padding-top: 6px; }

.product-card__shot-wrap {
  padding-top: 20px;
  background: var(--amber-50);
  border-top: 1px solid var(--gray-200);
}
.product-card--citas .product-card__shot-wrap { background: var(--purple-50); }
.product-card__shot {
  margin: 0 28px;
  height: 210px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  border: 1px solid var(--gray-200);
  border-bottom: 0;
  box-shadow: var(--shadow-lg);
}
.product-card__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

@media (max-width: 768px) {
  .product-card__body { padding: 28px 22px 24px; }
  .product-card__shot { margin: 0 16px; height: 170px; }
}

/* Check list (previous .pricing-features) */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--gray-700);
}
.checklist .icon {
  width: 24px;
  height: 24px;
  padding: 5px;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-600);
  stroke-width: 3;
}

/* =============================================
   DEFINITION LISTS
   Default: previous status "components" list.
   In centered sections: previous detail-card grid.
   ============================================= */
.deflist {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}
.deflist__row {
  display: grid;
  gap: 4px 20px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--gray-100);
}
.deflist__row:last-child { border-bottom: none; }
.deflist dt {
  font-family: var(--font-brand);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.4;
}
.deflist dd {
  font-size: 14px;
  line-height: 1.55;
  color: var(--gray-500);
}

.section--center .deflist {
  display: grid;
  gap: 20px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: none;
}
@media (min-width: 720px) {
  .section--center .deflist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.section--center .deflist__row {
  position: relative;
  padding: 24px 24px 24px 76px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}
.section--light.section--center .deflist__row { background: var(--white); }
.section--center .deflist__row::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 24px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B9E4B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.section--center .deflist__row:nth-child(4n+2)::before { background-color: var(--blue-50); }
.section--center .deflist__row:nth-child(4n+3)::before { background-color: var(--amber-50); }
.section--center .deflist__row:nth-child(4n+4)::before { background-color: var(--purple-50); }
.section--center .deflist__row:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--green-200);
  transform: translateY(-2px);
}
.section--center .deflist dt {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}
.section--center .deflist dd { font-size: 14.5px; line-height: 1.6; }

/* =============================================
   TABLES (previous .legal-table)
   ============================================= */
.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  -webkit-overflow-scrolling: touch;
  max-width: 1100px;
  margin: 0 auto;
}
.table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.55;
}
.table th,
.table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--gray-200);
}
.table tbody tr:last-child th,
.table tbody tr:last-child td { border-bottom: none; }
.table thead th {
  background: var(--gray-50);
  font-weight: 600;
  color: var(--gray-800);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.table thead th.is-highlight {
  background: var(--green-50);
  color: var(--green-700);
}
.table tbody th {
  width: 26%;
  font-weight: 700;
  color: var(--gray-900);
}
.table td { color: var(--gray-500); }
.table td.is-highlight { color: var(--gray-800); background: #F6FEF9; }
.table th:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  background: var(--white);
}
.table thead th:first-child { background: var(--gray-50); }

@media (max-width: 768px) {
  .table { font-size: 13.5px; }
  .table th, .table td { padding: 10px; }
  .table th:first-child { box-shadow: 1px 0 0 var(--gray-200); width: 128px; min-width: 128px; }
}

.table--compact { min-width: 520px; }
.table--compact tbody th { width: 22%; }

/* =============================================
   CODE
   ============================================= */
.code {
  background: var(--gray-950);
  border: 1px solid var(--gray-800);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-width: 0;
  box-shadow: var(--shadow-xl);
}
.code__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-400);
}
.code pre {
  margin: 0;
  padding: 20px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--gray-200);
  tab-size: 2;
}
.code pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.tok-c { color: var(--gray-400); }
.tok-k { color: var(--green-400); }
.tok-s { color: #67E8F9; }
.code + .code { margin-top: 16px; }

/* =============================================
   DIAGRAM
   ============================================= */
.diagram {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 768px) { .diagram { padding: 16px; } }
.diagram svg { width: 100%; height: auto; }
.diagram text { font-family: var(--font-sans); }
.dg-box { fill: var(--white); stroke: var(--gray-300); stroke-width: 1.5; }
.dg-db { fill: var(--gray-50); stroke: var(--gray-300); stroke-width: 1.5; }
.dg-line { stroke: var(--green-300); stroke-width: 2; fill: none; }
.dg-ok { fill: var(--green-50); stroke: var(--green-500); stroke-width: 1.5; }
.dg-no { fill: #FEE2E2; stroke: var(--red-500); stroke-width: 1.5; }
.dg-t1 { fill: var(--gray-900); font-size: 14px; font-weight: 700; }
.dg-t2 { fill: var(--gray-500); font-size: 12.5px; }
.dg-tok { fill: var(--green-800); font-size: 13px; font-weight: 700; }
.dg-tno { fill: #991B1B; font-size: 13px; font-weight: 700; }
.dg-arrow { fill: var(--green-400); }
.dg-v { display: none; }
@media (max-width: 599px) {
  .dg-h { display: none; }
  .dg-v { display: block; }
}

/* =============================================
   NOTES AND CALLOUTS
   ============================================= */
.note-line {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--gray-700);
  transition: all 0.2s;
}
.note-line:hover { border-color: var(--green-300); box-shadow: var(--shadow-sm); }
.note-line .icon {
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 10px;
  background: var(--green-50);
  color: var(--green-700);
}
.note-line > span { align-self: center; }

.section--dark .note-line {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  color: var(--gray-200);
}
.section--dark .note-line:hover { border-color: rgba(37,211,102,0.3); }
.section--dark .note-line .icon { background: rgba(37,211,102,0.15); color: var(--green-400); }

.callout {
  padding: 16px 20px;
  background: var(--green-50);
  border-left: 3px solid var(--green-500);
  border-radius: var(--radius-md);
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-800);
}

/* =============================================
   CHAT (previous hero chat bubbles)
   ============================================= */
.transcript {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 26px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 28px;
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,0.7),
    0 20px 40px -15px rgba(37,211,102,0.18);
}
.transcript__row {
  display: flex;
  flex-direction: column;
  align-self: flex-start;
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 14px;
  border-top-left-radius: 4px;
  background: rgba(255,255,255,0.08);
  color: var(--white);
}
.transcript__row--biz {
  align-self: flex-end;
  background: var(--gradient-logo);
  border-radius: 14px;
  border-top-right-radius: 4px;
  box-shadow: 0 4px 14px rgba(37,211,102,0.35);
}
.transcript dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: 2px;
}
.transcript__row--biz dt { color: var(--green-50); }
.transcript dd {
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--white);
}
.transcript__time {
  align-self: flex-end;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin-top: 3px;
}
.transcript-caption { margin-top: 16px; text-align: center; }
.page-hero .transcript-caption { color: rgba(255,255,255,0.7); }

/* =============================================
   STEPS (previous "how it works")
   ============================================= */
.steps {
  display: grid;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  list-style: none;
  position: relative;
}
@media (min-width: 769px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps::before {
    content: "";
    position: absolute;
    top: 40px;
    left: 16.67%;
    right: 16.67%;
    height: 2px;
    background: linear-gradient(90deg, var(--green-200), var(--green-400), var(--green-200));
  }
}
.step {
  text-align: center;
  position: relative;
}
.step__num {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--green-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--green-600);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-md);
}
.step .h-sub {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  margin-bottom: 10px;
}
.step p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--gray-500);
  max-width: 34ch;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .steps { gap: 32px; max-width: 400px; }
}

/* Vertical variant */
.steps--list { max-width: none; margin: 0; gap: 20px; }
.steps--list::before { display: none; }
@media (min-width: 769px) {
  .steps--list { grid-template-columns: minmax(0, 1fr); }
  .steps--list::before { display: none; }
}
.steps--list .step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  text-align: left;
}
.steps--list .step__num {
  width: 44px;
  height: 44px;
  flex: none;
  margin: 0;
  font-size: 15px;
  border-width: 2px;
}
.steps--list .step p { margin: 10px 0 0; max-width: 62ch; }

/* =============================================
   FAQ (previous accordion: chevron circle, one open)
   ============================================= */
.faq {
  max-width: 740px;
  margin: 0 auto;
}
.faq__item { border-bottom: 1px solid var(--gray-200); }
.faq__item:first-child { border-top: 1px solid var(--gray-200); }
.faq__q { font-size: 17px; font-weight: 600; color: var(--gray-900); }
.faq__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--gray-900);
  text-align: left;
  line-height: 1.4;
  transition: color 0.2s;
}
.faq__btn:hover { color: var(--green-700); }
.faq__btn .icon {
  width: 24px;
  height: 24px;
  padding: 5px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-500);
  transition: all 0.3s ease;
}
.faq__btn[aria-expanded="true"] .icon {
  transform: rotate(180deg);
  background: var(--green-50);
  color: var(--green-700);
}
.faq__a {
  padding: 0 0 22px;
  animation: faq-open 0.35s ease;
}
.faq__a p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--gray-500);
}
.faq__a p + p { margin-top: 12px; }

@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* Help page: previous bordered FAQ cards with a plus sign */
.faq--cards { max-width: none; }
.faq--cards .faq__item,
.faq--cards .faq__item:first-child {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.faq--cards .faq__item:has([aria-expanded="true"]) { border-color: var(--green-500); box-shadow: var(--shadow-md); }
.faq--cards .faq__btn {
  padding: 18px 20px;
  font-size: 15.5px;
  align-items: flex-start;
}
.faq--cards .faq__btn:hover { background: var(--gray-50); color: var(--gray-900); }
.faq--cards .faq__btn .icon {
  width: 24px;
  height: 24px;
  padding: 2px;
  background: none;
  color: var(--gray-400);
  transition: transform 0.2s, color 0.2s;
}
.faq--cards .faq__btn[aria-expanded="true"] .icon {
  transform: rotate(45deg);
  background: none;
  color: var(--green-600);
}
.faq--cards .faq__a { padding: 0 20px 20px; }
.faq--cards .faq__a p { font-size: 15px; color: var(--gray-700); }

/* =============================================
   FINAL CTA
   ============================================= */
.cta-final {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, var(--green-900), var(--gray-950));
}
.cta-final::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(37,211,102,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.cta-final > .container { position: relative; z-index: 1; max-width: 640px; }
.cta-final .h-section { color: var(--white); }
.cta-final .lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray-400);
  margin-left: auto;
  margin-right: auto;
}
.cta-final .btn-row { justify-content: center; }
.cta-final .btn-primary {
  font-size: 18px;
  padding: 18px 40px;
}

/* =============================================
   TRY IT (previous dark contact CTA card)
   ============================================= */
.tryit {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 32px;
  align-items: center;
  padding: 40px;
  background: linear-gradient(135deg, #14532D 0%, #030712 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
}
.tryit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 90% 0%, rgba(37,211,102,0.3), transparent 60%);
  pointer-events: none;
}
.tryit > * { position: relative; z-index: 1; }
@media (min-width: 900px) {
  .tryit { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; padding: 48px; }
}
@media (max-width: 768px) { .tryit { padding: 28px; } }
.tryit .eyebrow {
  background: rgba(37,211,102,0.15);
  color: var(--green-400);
}
.tryit .h-sub {
  font-family: var(--font-brand);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-top: 0;
}
.tryit .body { color: rgba(255,255,255,0.8); }
.tryit__shot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 16px 16px 0;
  max-height: 290px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
}
.tryit__shot img { border-radius: 10px 10px 0 0; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--gray-950);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 64px 0 32px;
  color: var(--gray-400);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--gray-400);
  margin-top: 16px;
  max-width: 300px;
}
.footer__col h2 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 16px;
}
.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__col a {
  font-size: 14.5px;
  color: var(--gray-400);
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  max-width: 1100px;
  margin: 24px auto 0;
}
.footer__bottom p { font-size: 13px; color: var(--gray-400); }
.footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
}

/* =============================================
   FORMS
   ============================================= */
.form {
  display: grid;
  gap: 20px;
  padding: 40px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
}
@media (max-width: 768px) { .form { padding: 24px; } }
.form__row { display: grid; gap: 20px; }
@media (min-width: 720px) {
  .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.field { display: grid; gap: 8px; min-width: 0; }
.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
}
.field .optional { font-weight: 400; color: var(--gray-500); }
.input,
.select,
.textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 16px;
  line-height: 1.4;
  color: var(--gray-900);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.textarea { min-height: 140px; resize: vertical; }
.select {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--gray-400); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible {
  outline: 0;
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(37,211,102,0.15);
}
.field.is-invalid .input,
.field.is-invalid .select,
.field.is-invalid .textarea { border-color: var(--red-500); }
.field__error { font-size: 13px; color: #991B1B; }
.field__error:empty { display: none; }
.hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.form__foot .caption { flex: 1 1 240px; }
.form-status {
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
}
.form-status--ok { background: var(--green-50); border-color: var(--green-200); }
.form-status--error { background: #FEE2E2; border-color: #FCA5A5; }
.form-status h2,
.form-status h3 { font-family: var(--font-brand); font-size: 18px; font-weight: 700; color: var(--gray-900); }
.form-status p { margin-top: 6px; font-size: 15px; color: var(--gray-700); }
.btn[aria-busy="true"] { opacity: 0.7; cursor: progress; }

/* Mailboxes (previous contact cards) */
.mailboxes { display: grid; gap: 14px; list-style: none; }
.mailboxes li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.mailboxes li:hover { border-color: var(--green-400); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.mailboxes a {
  font-size: 15px;
  font-weight: 600;
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
}
.mailboxes span { font-size: 14px; line-height: 1.5; color: var(--gray-600); }

/* =============================================
   STATUS (previous status page)
   ============================================= */
.status-summary {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  border: 1px solid var(--green-200);
  border-radius: var(--radius-xl);
  font-family: var(--font-brand);
  font-size: 20px;
  font-weight: 700;
  color: var(--green-900);
}
.status-summary::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  border-radius: 50%;
  background: var(--green-500);
  box-shadow: 0 0 0 6px rgba(37,211,102,0.15);
  animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 6px rgba(37,211,102,0.18); }
  50% { box-shadow: 0 0 0 10px rgba(37,211,102,0.05); }
}
.status-list {
  margin-top: 24px;
  list-style: none;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
}
.status-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--gray-100);
}
.status-row:last-child { border-bottom: none; }
.status-row__name {
  display: block;
  font-family: var(--font-brand);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 2px;
}
.status-row__detail { display: block; font-size: 13.5px; line-height: 1.4; color: var(--gray-500); }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--gray-100);
  color: var(--gray-700);
}
.tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-400);
}
.tag--ok { background: var(--green-50); color: var(--green-800); }
.tag--ok::before { background: var(--green-500); }
.tag--bad { background: #FEE2E2; color: #991B1B; }
.tag--bad::before { background: var(--red-500); }
.status-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 20px;
}
.status-meta .btn { padding: 12px 22px; font-size: 14px; }
.status-legend { display: grid; gap: 4px; font-size: 14px; }
.status-legend dt { font-weight: 600; color: var(--gray-900); }
.status-legend dt:not(:first-child) { margin-top: 12px; }
.status-legend dd { color: var(--gray-500); line-height: 1.5; }
.status-error {
  padding: 24px;
  background: #FEE2E2;
  border: 1px solid #FCA5A5;
  border-radius: var(--radius-lg);
}
.status-error h2 { font-family: var(--font-brand); font-size: 18px; font-weight: 700; color: #991B1B; }
.status-error p { margin-top: 8px; color: var(--gray-700); }

/* =============================================
   HELP, TOC AND LEGAL (previous legal and help pages)
   ============================================= */
.toc {
  font-size: 13.5px;
  padding: 20px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}
.toc h2 {
  font-family: var(--font-brand);
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.toc ol,
.toc ul {
  list-style: none;
  counter-reset: toc;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.toc li { counter-increment: toc; }
.toc a {
  display: block;
  padding: 4px 0;
  color: var(--gray-700);
  line-height: 1.4;
  transition: color 0.15s;
}
.toc ol a::before {
  content: counter(toc) ". ";
  color: var(--gray-500);
  font-variant-numeric: tabular-nums;
}
.toc a:hover { color: var(--green-700); }

.help-block { scroll-margin-top: 96px; }
.help-block + .help-block { margin-top: 48px; }
.help-block > .h-sub {
  font-family: var(--font-brand);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--gray-900);
}

.prose {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
}
.prose > * + * { margin-top: 16px; }
.prose h2 {
  font-family: var(--font-brand);
  font-size: 24px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.01em;
  margin-top: 48px;
  scroll-margin-top: 96px;
}
.prose > h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--font-brand);
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
  margin-top: 28px;
}
.prose ul,
.prose ol {
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.prose li { line-height: 1.65; }
.prose strong { color: var(--gray-900); font-weight: 600; }
.prose a {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose a:hover { color: var(--green-800); }
.prose .table-wrap { margin: 8px 0 24px; }
.prose .table { min-width: 560px; font-size: 14.5px; }
.prose .table th:first-child { position: static; box-shadow: none; }
.prose .table tbody th,
.prose .table td:first-child { width: auto; }
.prose .table tbody th { font-weight: 600; color: var(--gray-800); background: var(--gray-50); }
@media (max-width: 720px) {
  .prose h2 { font-size: 21px; }
}

.address {
  padding: 24px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  display: grid;
  gap: 10px;
  font-size: 15px;
}
.address strong { font-family: var(--font-brand); font-size: 16px; }
.signoff {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
  font-size: 14px;
  color: var(--gray-500);
}
.meta-line { margin-top: 24px; font-size: 14px; color: var(--gray-500); }

/* =============================================
   UTILITIES
   ============================================= */
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-64 { margin-top: 64px; }
.muted { color: var(--gray-500); }
.nowrap { white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-visual .frame { transform: none; }
}
