/* =========================================================

   AEPX TECH

   Smart water monitoring website

========================================================= */

:root {
  --bg: #f7f9fc;

  --surface: #ffffff;

  --surface-soft: #eef5ff;

  --ink: #10213f;

  --muted: #64748b;

  --muted-dark: #475569;

  --blue-900: #102a56;

  --blue-800: #123b78;

  --blue-700: #155eef;

  --blue-600: #2563eb;

  --blue-100: #dbeafe;

  --yellow: #f7c948;

  --yellow-soft: #fff7d6;

  --green: #0f9f6e;

  --green-soft: #ecfdf3;

  --red: #b42318;

  --line: #e2e8f0;

  --line-strong: #cbd5e1;

  --focus: #2563eb;

  --container: 1180px;

  --radius-sm: 10px;

  --radius-md: 16px;

  --radius-lg: 24px;

  --radius-pill: 999px;

  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);

  --shadow-md: 0 14px 36px rgba(15, 23, 42, 0.1);

  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.16);

  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  scroll-behavior: smooth;

  scroll-padding-top: 88px;
}

body {
  min-width: 320px;

  margin: 0;

  color: var(--ink);

  background: var(--bg);

  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  font-size: 1rem;

  line-height: 1.65;

  text-rendering: optimizeLegibility;

  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;

  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

p {
  max-width: 65ch;

  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;

  color: var(--ink);

  line-height: 1.1;

  letter-spacing: -0.035em;
}

h1 {
  max-width: 780px;

  font-size: clamp(2.45rem, 5.5vw, 4.5rem);

  font-weight: 850;
}

h2 {
  max-width: 800px;

  font-size: clamp(2rem, 4vw, 3.4rem);

  font-weight: 800;
}

h3 {
  font-size: 1.2rem;

  font-weight: 750;
}

:focus-visible {
  outline: 3px solid var(--focus);

  outline-offset: 4px;
}

.sr-only {
  position: absolute;

  width: 1px;

  height: 1px;

  padding: 0;

  margin: -1px;

  overflow: hidden;

  white-space: nowrap;

  border: 0;

  clip: rect(0, 0, 0, 0);
}

.skip {
  position: absolute;

  top: 8px;

  left: -9999px;

  z-index: 999;

  padding: 0.65rem 1rem;

  color: var(--blue-900);

  background: var(--yellow);

  border-radius: var(--radius-sm);

  font-weight: 800;
}

.skip:focus {
  left: 8px;
}

.wrap {
  width: min(100% - 2rem, var(--container));

  margin-inline: auto;
}

.narrow {
  max-width: 760px;
}

section {
  padding: 96px 0;
}

.alt {
  background: var(--surface-soft);

  border-block: 1px solid rgba(226, 232, 240, 0.8);
}

.kicker {
  margin: 0 0 0.7rem;

  color: var(--blue-700);

  font-size: 0.8rem;

  font-weight: 800;

  letter-spacing: 0.11em;

  text-transform: uppercase;
}

.sub {
  max-width: 650px;

  margin-bottom: 2.5rem;

  color: var(--muted);

  font-size: 1.08rem;
}

/* Header */

.site-header {
  position: sticky;

  top: 0;

  z-index: 50;

  background: rgba(255, 255, 255, 0.94);

  border-bottom: 1px solid rgba(226, 232, 240, 0.9);

  backdrop-filter: blur(16px);
}

.bar {
  display: flex;

  align-items: center;

  gap: 24px;

  min-height: 76px;
}

.logo {
  display: inline-flex;

  align-items: center;

  flex-shrink: 0;

  text-decoration: none;

  line-height: 0;
}

.logo-image {
  display: block;

  width: 178px;

  height: auto;

  max-height: 48px;

  object-fit: contain;

  object-position: left center;
}

nav {
  margin-left: auto;
}

nav ul {
  display: flex;

  align-items: center;

  gap: 6px;

  margin: 0;

  padding: 0;

  list-style: none;
}

nav a {
  display: inline-flex;

  align-items: center;

  min-height: 42px;

  padding: 0 12px;

  color: var(--muted-dark);

  border-radius: var(--radius-sm);

  font-size: 0.95rem;

  font-weight: 650;

  text-decoration: none;

  transition:
    color 180ms ease,
    background-color 180ms ease;
}

nav a:hover {
  color: var(--blue-700);

  background: var(--blue-100);
}

.nav-cta {
  margin-left: 8px;

  white-space: nowrap;
}

.menu-btn {
  display: none;

  min-height: 44px;

  margin-left: auto;

  padding: 0 16px;

  color: var(--ink);

  background: transparent;

  border: 1px solid var(--line-strong);

  border-radius: var(--radius-sm);

  font-weight: 700;

  cursor: pointer;
}

.menu-btn:hover {
  color: var(--blue-700);

  background: var(--blue-100);

  border-color: #a9c5ef;
}

/* Buttons */

.btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-height: 50px;

  padding: 0 22px;

  color: #ffffff;

  background: var(--blue-700);

  border: 0;

  border-radius: var(--radius-pill);

  font-weight: 750;

  text-align: center;

  text-decoration: none;

  cursor: pointer;

  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.btn:hover {
  color: #ffffff;

  background: var(--blue-900);

  box-shadow: var(--shadow-sm);

  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn.ghost {
  color: var(--blue-700);

  background: transparent;

  border: 1px solid #aac4ed;
}

.btn.ghost:hover {
  color: var(--blue-900);

  background: var(--blue-100);

  border-color: #8eafe2;
}

.btn.small {
  min-height: 43px;

  padding-inline: 17px;

  font-size: 0.92rem;
}

/* Hero */

.hero {
  position: relative;

  display: flex;

  align-items: center;

  min-height: 590px;

  overflow: hidden;

  padding: 96px 0 72px;

  color: #ffffff;

  background:
    radial-gradient(
      circle at 83% 12%,

      rgba(84, 145, 255, 0.36),
      transparent 29%
    ),
    linear-gradient(135deg, #102a56 0%, #155eef 100%);
}

.hero::before {
  content: "";

  position: absolute;

  top: -180px;

  right: -140px;

  width: 520px;

  height: 520px;

  border: 1px solid rgba(255, 255, 255, 0.14);

  border-radius: 50%;

  box-shadow:
    0 0 0 38px rgba(255, 255, 255, 0.035),
    0 0 0 76px rgba(255, 255, 255, 0.025);

  pointer-events: none;
}

.hero::after {
  content: "";

  position: absolute;

  bottom: -240px;

  left: -160px;

  width: 470px;

  height: 470px;

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 50%;

  pointer-events: none;
}

.hero .wrap {
  position: relative;

  z-index: 1;
}

.hero-content {
  max-width: 730px;

  padding-top: 42px;
}

.hero h1 {
  max-width: 720px;

  margin-bottom: 24px;

  color: #ffffff;

  font-size: clamp(2.6rem, 5.2vw, 4.45rem);

  line-height: 1.04;

  letter-spacing: -0.045em;
}

.hero h1 strong {
  display: block;

  color: var(--yellow);

  font-weight: 850;
}

.hero .lead {
  max-width: 610px;

  margin-bottom: 0;

  color: rgba(255, 255, 255, 0.82);

  font-size: clamp(0.98rem, 1.5vw, 1.08rem);

  line-height: 1.65;
}

.badge {
  display: inline-flex;

  align-items: center;

  min-height: 32px;

  margin-bottom: 22px;

  padding: 6px 13px;

  color: #dbeafe;

  background: rgba(255, 255, 255, 0.12);

  border: 1px solid rgba(255, 255, 255, 0.2);

  border-radius: var(--radius-pill);

  font-size: 0.76rem;

  font-weight: 750;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.actions {
  display: flex;

  flex-wrap: wrap;

  gap: 12px;

  margin: 24px 0 38px;
}

.hero .btn {
  min-height: 45px;

  padding-inline: 19px;

  font-size: 0.9rem;
}

.hero .btn:first-child {
  color: var(--blue-900);

  background: var(--yellow);
}

.hero .btn:first-child:hover {
  color: var(--blue-900);

  background: #ffd86a;
}

.hero .btn.ghost {
  color: #ffffff;

  background: transparent;

  border-color: rgba(255, 255, 255, 0.5);
}

.hero .btn.ghost:hover {
  color: #ffffff;

  background: rgba(255, 255, 255, 0.1);

  border-color: #ffffff;
}

.pillars {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 22px;

  max-width: 720px;

  margin: 0;

  padding: 0;

  list-style: none;
}

.pillars li {
  padding-left: 14px;

  border-left: 3px solid var(--yellow);
}

.pillars h2 {
  margin-bottom: 0.25rem;

  color: #ffffff;

  font-size: 0.95rem;

  letter-spacing: -0.015em;
}

.pillars p {
  margin: 0;

  color: rgba(255, 255, 255, 0.72);

  font-size: 0.83rem;

  line-height: 1.5;
}

/* Stats */

.stats {
  padding: 0;

  background: var(--surface);

  border-bottom: 1px solid var(--line);
}

.stats ul {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 0;

  margin: 0;

  padding: 28px 0;

  list-style: none;
}

.stats li {
  padding: 0 22px;

  border-right: 1px solid var(--line);
}

.stats li:first-child {
  padding-left: 0;
}

.stats li:last-child {
  padding-right: 0;

  border-right: 0;
}

.stats strong {
  display: block;

  margin-bottom: 2px;

  color: var(--blue-700);

  font-size: 1.7rem;

  font-weight: 850;

  letter-spacing: -0.04em;
}

.stats span {
  color: var(--muted);

  font-size: 0.92rem;
}

/* Grids and cards */

.grid {
  display: grid;

  gap: 22px;
}

.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.two {
  display: grid;

  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);

  gap: 56px;

  align-items: start;
}

.card {
  display: flex;

  align-items: flex-start;

  flex-direction: column;

  min-height: 100%;

  padding: 28px;

  background: var(--surface);

  border: 1px solid var(--line);

  border-radius: var(--radius-md);

  box-shadow: var(--shadow-sm);

  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.card:hover {
  border-color: #bfd3f7;

  box-shadow: var(--shadow-md);

  transform: translateY(-5px);
}

.card p {
  color: var(--muted);
}

.card.pop {
  border-color: var(--blue-600);

  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
}

.tag {
  display: inline-flex;

  align-items: center;

  min-height: 28px;

  margin-bottom: 15px;

  padding: 3px 11px;

  color: var(--blue-700);

  background: var(--blue-100);

  border-radius: var(--radius-pill);

  font-size: 0.82rem;

  font-weight: 750;
}

.ticks {
  width: 100%;

  margin: 0 0 18px;

  padding: 0;

  list-style: none;
}

.ticks li {
  position: relative;

  margin-bottom: 7px;

  padding-left: 26px;

  color: var(--muted-dark);
}

.ticks li::before {
  content: "✓";

  position: absolute;

  top: 0;

  left: 0;

  color: var(--green);

  font-weight: 900;
}

.feature-number {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  width: 42px;

  height: 42px;

  margin-bottom: 22px;

  color: var(--blue-700);

  background: var(--blue-100);

  border-radius: 50%;

  font-size: 0.85rem;

  font-weight: 800;
}

/* Founders */

.founders-heading {
  display: grid;

  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);

  gap: 70px;

  align-items: center;

  margin-bottom: 42px;
}

.founders-intro {
  position: relative;

  max-width: 420px;

  margin: 0;

  padding-left: 24px;

  color: var(--muted);

  font-size: 1.04rem;

  line-height: 1.75;
}

.founders-intro::before {
  content: "";

  position: absolute;

  top: 0.25rem;

  bottom: 0.25rem;

  left: 0;

  width: 3px;

  background: var(--yellow);

  border-radius: var(--radius-pill);
}

.founders-photo {
  position: relative;

  overflow: hidden;

  margin: 0;

  background: var(--blue-900);

  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-lg);
}

.founders-photo::after {
  content: "";

  position: absolute;

  inset: 0;

  background: linear-gradient(
    180deg,
    transparent 45%,

    rgba(16, 42, 86, 0.82) 100%
  );

  pointer-events: none;
}

.founders-photo img {
  width: 100%;

  height: auto;

  display: block;

  object-fit: contain;

  object-position: center;

  transition: transform 500ms ease;
}

.founders-photo:hover img {
  transform: scale(1.025);
}

.founders-photo figcaption {
  position: absolute;

  right: 24px;

  bottom: 20px;

  left: 24px;

  z-index: 1;

  display: flex;

  justify-content: space-between;

  gap: 16px;

  color: #ffffff;

  font-size: 0.86rem;

  font-weight: 750;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.founders-photo figcaption span:last-child {
  color: var(--yellow);
}

.founders-names {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 14px;

  margin-top: 18px;
}

.founder-name {
  display: flex;

  align-items: flex-start;

  gap: 12px;

  padding: 18px 16px;

  background: var(--surface);

  border: 1px solid var(--line);

  border-radius: var(--radius-md);
}

.founder-index {
  color: var(--blue-700);

  font-size: 0.8rem;

  font-weight: 850;
}

.founder-name h3 {
  margin: 0 0 4px;

  font-size: 1rem;

  letter-spacing: -0.02em;
}

.founder-name p {
  margin: 0;

  color: var(--muted);

  font-size: 0.88rem;
}

/* FAQ */

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

details {
  margin-bottom: 12px;

  padding: 7px 18px;

  background: var(--surface);

  border: 1px solid var(--line);

  border-radius: var(--radius-md);

  box-shadow: var(--shadow-sm);
}

details[open] {
  border-color: #bfd3f7;
}

summary {
  display: flex;

  align-items: center;

  min-height: 46px;

  color: var(--ink);

  font-weight: 750;

  cursor: pointer;
}

details p {
  margin: 0 0 14px;

  color: var(--muted);
}

/* CTA */

.cta-band {
  position: relative;

  overflow: hidden;

  color: #ffffff;

  background:
    radial-gradient(
      circle at 82% 16%,

      rgba(84, 145, 255, 0.33),
      transparent 30%
    ),
    linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);

  text-align: center;
}

.cta-band::after {
  content: "";

  position: absolute;

  right: -120px;

  bottom: -220px;

  width: 420px;

  height: 420px;

  border: 1px solid rgba(255, 255, 255, 0.15);

  border-radius: 50%;

  box-shadow:
    0 0 0 35px rgba(255, 255, 255, 0.035),
    0 0 0 70px rgba(255, 255, 255, 0.025);
}

.cta-band .wrap {
  position: relative;

  z-index: 1;
}

.cta-band .kicker {
  display: inline-flex;

  align-items: center;

  min-height: 30px;

  margin: 0 auto 18px;

  padding: 5px 12px;

  color: #dbeafe;

  background: rgba(255, 255, 255, 0.1);

  border: 1px solid rgba(255, 255, 255, 0.22);

  border-radius: var(--radius-pill);

  font-size: 0.72rem;

  letter-spacing: 0.11em;
}

.cta-band h2 {
  max-width: 720px;

  margin-inline: auto;

  color: #ffffff;
}

.cta-band p:not(.kicker) {
  margin-inline: auto;

  color: rgba(255, 255, 255, 0.78);
}

.cta-band .btn {
  color: var(--blue-900);

  background: var(--yellow);
}

.cta-band .btn:hover {
  color: var(--blue-900);

  background: #ffd86a;
}

/* Contact and form */

\#contact .two {
  align-items: center;
}

\#contact h2 {
  max-width: 480px;

  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

\#contact .sub {
  max-width: 470px;

  margin-bottom: 2rem;
}

.contact-details {
  display: grid;

  gap: 16px;

  margin-top: 24px;
}

.contact-label {
  display: block;

  margin-bottom: 4px;

  color: var(--muted);

  font-size: 0.8rem;

  font-weight: 800;

  letter-spacing: 0.08em;

  text-transform: uppercase;
}

.contact-details a {
  color: var(--blue-700);

  font-weight: 700;

  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

form {
  display: grid;

  align-content: start;

  gap: 16px;
}

\#contact form {
  padding: 28px;

  background: var(--surface);

  border: 1px solid var(--line);

  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-sm);
}

.field {
  display: grid;

  gap: 4px;
}

label {
  color: var(--ink);

  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;

  min-height: 50px;

  padding: 11px 14px;

  color: var(--ink);

  background: var(--surface);

  border: 1px solid var(--line-strong);

  border-radius: var(--radius-sm);

  outline: none;

  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #94a3b8;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue-600);

  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

textarea {
  min-height: 120px;

  resize: vertical;
}

.err {
  min-height: 1.25rem;

  margin: 2px 0 0;

  color: var(--red);

  font-size: 0.9rem;
}

.hp {
  position: absolute;

  left: -9999px;

  width: 1px;

  height: 1px;

  overflow: hidden;
}

\#ok {
  padding: 15px;

  color: var(--green);

  background: var(--green-soft);

  border: 1px solid #a7f3d0;

  border-radius: var(--radius-sm);

  font-weight: 700;
}

/* Footer */

.site-footer {
  padding: 58px 0 24px;

  color: var(--muted);

  background: var(--surface);

  border-top: 1px solid var(--line);

  font-size: 0.95rem;
}

.footer-grid {
  display: grid;

  grid-template-columns: minmax(280px, 1.7fr) repeat(3, minmax(130px, 1fr));

  gap: 56px;

  align-items: start;
}

.footer-brand {
  max-width: 340px;
}

.footer-logo {
  display: inline-flex;

  align-items: center;

  text-decoration: none;

  line-height: 0;
}

.footer-logo img {
  display: block;

  width: 190px;

  height: auto;

  max-height: 56px;

  object-fit: contain;

  object-position: left center;
}

.footer-brand p {
  max-width: 330px;

  margin: 18px 0 0;

  color: var(--muted);

  font-size: 0.95rem;

  line-height: 1.7;
}

.footer-column h2 {
  margin: 0 0 20px;

  color: var(--ink);

  font-size: 1rem;

  font-weight: 800;

  letter-spacing: -0.01em;
}

.footer-column ul {
  display: grid;

  gap: 13px;

  margin: 0;

  padding: 0;

  list-style: none;
}

.footer-column li {
  margin: 0;

  padding: 0;
}

.footer-column a,
.footer-bottom a {
  color: var(--muted);

  text-decoration: none;

  transition: color 180ms ease;
}

.footer-column a:hover,
.footer-bottom a:hover {
  color: var(--blue-700);
}

.footer-bottom {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 24px;

  margin-top: 46px;

  padding-top: 20px;

  color: var(--muted);

  border-top: 1px solid var(--line);

  font-size: 0.85rem;
}

.footer-bottom p {
  margin: 0;
}

/* Video modal */

.video-open-btn {
  border: 0;

  font: inherit;
}

.video-modal {
  position: fixed;

  inset: 0;

  z-index: 200;

  display: grid;

  place-items: center;

  padding: 20px;
}

.video-modal[hidden] {
  display: none;
}

.video-modal-backdrop {
  position: absolute;

  inset: 0;

  background: rgba(5, 20, 45, 0.78);

  backdrop-filter: blur(5px);
}

.video-modal-content {
  position: relative;

  z-index: 1;

  width: min(900px, 100%);

  overflow: hidden;

  background: var(--surface);

  border: 1px solid var(--line);

  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-lg);
}

.video-modal-header {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

  padding: 16px 18px;

  background: var(--blue-900);
}

.video-modal-header h2 {
  margin: 0;

  color: #ffffff;

  font-size: 1.1rem;

  letter-spacing: -0.02em;
}

.video-modal-close {
  display: grid;

  flex: 0 0 auto;

  place-items: center;

  width: 38px;

  height: 38px;

  color: #ffffff;

  background: transparent;

  border: 0;

  border-radius: var(--radius-sm);

  font-size: 1.6rem;

  line-height: 1;

  cursor: pointer;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.product-demo-video {
  display: block;

  width: 100%;

  max-height: 70vh;

  background: #071a38;

  object-fit: contain;
}

.video-modal-note {
  margin: 0;

  padding: 12px 18px 16px;

  color: var(--muted);

  font-size: 0.82rem;
}

body.video-modal-open {
  overflow: hidden;
}

/* Website assistant */

.assistant-launcher {
  position: fixed;

  right: 16px;

  bottom: calc(16px + env(safe-area-inset-bottom, 0px));

  z-index: 80;

  display: inline-flex;

  align-items: center;

  gap: 9px;

  min-height: 48px;

  padding: 0 15px;

  color: #ffffff;

  background: var(--blue-700);

  border: 0;

  border-radius: var(--radius-pill);

  box-shadow: var(--shadow-md);

  font: inherit;

  font-size: 0.86rem;

  font-weight: 750;

  cursor: pointer;

  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.assistant-launcher:hover {
  background: var(--blue-900);

  box-shadow: var(--shadow-lg);

  transform: translateY(-2px);
}

.assistant-launcher-icon {
  display: grid;

  place-items: center;

  width: 24px;

  height: 24px;

  color: var(--blue-900);

  background: var(--yellow);

  border-radius: 50%;

  font-size: 0.85rem;

  font-weight: 900;
}

.assistant-panel {
  position: fixed;

  right: 20px;

  bottom: calc(90px + env(safe-area-inset-bottom, 0px));

  z-index: 80;

  display: flex;

  flex-direction: column;

  width: min(410px, calc(100vw - 40px));

  min-height: 0;

  max-height: min(680px, calc(100vh - 110px));

  padding: 0;

  overflow: hidden;

  background: var(--surface);

  border: 1px solid var(--line);

  border-radius: 20px;

  box-shadow: var(--shadow-lg);
}

.assistant-panel[hidden] {
  display: none;
}

.assistant-header {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 16px;

  padding: 16px 16px 15px 20px;

  color: #ffffff;

  background: var(--blue-900);
}

.assistant-eyebrow {
  margin: 0 0 3px;

  color: #bfdbfe;

  font-size: 0.68rem;

  font-weight: 800;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}

.assistant-header h2 {
  margin: 0;

  color: #ffffff;

  font-size: 1.15rem;

  letter-spacing: -0.02em;
}

.assistant-close {
  display: grid;

  place-items: center;

  width: 42px;

  height: 42px;

  color: #ffffff;

  background: transparent;

  border: 0;

  border-radius: var(--radius-sm);

  font-size: 1.55rem;

  line-height: 1;

  cursor: pointer;
}

.assistant-close:hover {
  background: rgba(255, 255, 255, 0.13);
}

.assistant-messages {
  display: flex;

  flex: 0 1 auto;

  flex-direction: column;

  gap: 12px;

  min-height: 0;

  max-height: 300px;

  overflow-y: auto;

  padding: 18px;

  background: var(--bg);

  overscroll-behavior: contain;
}

.assistant-message {
  max-width: 90%;

  padding: 11px 13px;

  border-radius: 14px;

  line-height: 1.48;
}

.assistant-message p {
  margin: 0;

  color: inherit;

  font-size: 0.92rem;
}

.assistant-message-bot {
  align-self: flex-start;

  color: var(--ink);

  background: var(--surface);

  border: 1px solid var(--line);
}

.assistant-message-user {
  align-self: flex-end;

  color: var(--blue-900);

  background: var(--yellow-soft);

  border: 1px solid #ecd37b;
}

.assistant-message-author {
  display: block;

  margin-bottom: 4px;

  font-size: 0.69rem;

  font-weight: 850;

  letter-spacing: 0.04em;

  text-transform: uppercase;
}

.assistant-message-bot .assistant-message-author {
  color: var(--blue-700);
}

.assistant-message-user .assistant-message-author {
  color: var(--blue-800);
}

.assistant-quick-actions {
  display: flex;

  flex-wrap: wrap;

  gap: 7px;

  padding: 12px 16px;

  border-top: 1px solid var(--line);
}

.assistant-quick-button {
  min-height: 38px;

  padding: 5px 11px;

  color: var(--blue-700);

  background: var(--surface);

  border: 1px solid #bfd3f7;

  border-radius: var(--radius-pill);

  font: inherit;

  font-size: 0.78rem;

  font-weight: 650;

  cursor: pointer;
}

.assistant-quick-button:hover {
  color: var(--blue-900);

  background: var(--blue-100);

  border-color: var(--blue-600);
}

.assistant-form {
  display: flex;

  gap: 8px;

  padding: 12px 16px 10px;

  border-top: 1px solid var(--line);
}

.assistant-form input {
  min-width: 0;

  min-height: 44px;

  padding: 9px 12px;
}

.assistant-send {
  min-width: 66px;

  min-height: 44px;

  padding: 0 13px;

  color: #ffffff;

  background: var(--blue-700);

  border: 0;

  border-radius: var(--radius-sm);

  font: inherit;

  font-size: 0.86rem;

  font-weight: 750;

  cursor: pointer;
}

.assistant-send:hover {
  background: var(--blue-900);
}

.assistant-disclaimer {
  margin: 0;

  padding: 0 16px 14px;

  color: var(--muted);

  font-size: 0.72rem;

  line-height: 1.4;
}

/* Legal pages */

.wrap.narrow h2 {
  margin-top: 2.25rem;

  font-size: clamp(1.45rem, 3vw, 2rem);
}

.wrap.narrow a {
  color: var(--blue-700);

  font-weight: 700;
}

.wrap.narrow a:hover {
  color: var(--blue-900);
}

/* =========================================================

   BOOK PRODUCT CTA

========================================================= */

.product-cta {
  margin-top: 56px;

  padding: 56px 32px;

  border-radius: var(--radius-lg);

  background: linear-gradient(135deg, var(--blue-900) 0%, #1761ed 100%);

  text-align: center;

  color: #ffffff;

  box-shadow: 0 18px 45px rgba(16, 42, 86, 0.16);
}

.product-cta-content {
  max-width: 650px;

  margin: 0 auto;
}

.product-cta-label {
  display: inline-block;

  margin-bottom: 14px;

  color: #ffd044;

  font-size: 13px;

  font-weight: 800;

  letter-spacing: 0.12em;

  text-transform: uppercase;
}

.product-cta h3 {
  margin: 0 0 14px;

  color: #ffffff;

  font-size: clamp(28px, 4vw, 42px);

  line-height: 1.15;
}

.product-cta-content > p:not(.product-coming-soon) {
  max-width: 560px;

  margin: 0 auto 26px;

  color: rgba(255, 255, 255, 0.82);

  font-size: 16px;

  line-height: 1.7;
}

/* Book Product button */

.product-book-button {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-height: 48px;

  padding: 13px 26px;

  border: 0;

  border-radius: var(--radius-pill);

  background: #ffd044;

  color: var(--blue-900);

  font: inherit;

  font-size: 15px;

  font-weight: 800;

  cursor: pointer;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.product-book-button:hover {
  background: #ffda68;

  transform: translateY(-2px);

  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.product-book-button:active {
  transform: translateY(0);
}

.product-book-button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.8);

  outline-offset: 4px;
}

/* Button after clicking */

.product-book-button:disabled {
  cursor: default;

  background: #ffffff;

  color: #1761ed;

  transform: none;

  box-shadow: none;
}

/* Coming soon message */

.product-cta .product-coming-soon {
  margin: 18px auto 0;

  color: #ffffff;

  font-size: 14px;

  font-weight: 600;

  line-height: 1.5;
}

/* Mobile */

/* Tablet */

@media (max-width: 980px) {
  .menu-btn {
    display: block;
  }

  nav {
    position: absolute;

    top: 100%;

    right: 0;

    left: 0;

    display: none;

    margin: 0;

    padding: 10px 1rem 16px;

    background: rgba(255, 255, 255, 0.98);

    border-bottom: 1px solid var(--line);

    box-shadow: var(--shadow-sm);
  }

  nav.open {
    display: block;
  }

  nav ul {
    align-items: stretch;

    flex-direction: column;

    gap: 4px;
  }

  nav a {
    justify-content: flex-start;

    width: 100%;

    min-height: 46px;
  }

  .nav-cta {
    justify-content: center;

    margin: 5px 0 0;
  }

  .two {
    grid-template-columns: 1fr;

    gap: 42px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;

    max-width: 420px;
  }

  .logo-image {
    width: 155px;

    max-height: 44px;
  }
}

/* Medium screens */

@media (max-width: 850px) {
  .three {
    grid-template-columns: 1fr;
  }

  .four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .founders-heading {
    grid-template-columns: 1fr;

    gap: 18px;

    align-items: start;
  }

  .founders-intro {
    max-width: 650px;
  }

  .founders-names {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */

@media (max-width: 700px) {
  html {
    scroll-padding-top: 76px;
  }

  .wrap {
    width: min(100% - 1.25rem, var(--container));
  }

  section {
    padding: 70px 0;
  }

  .bar {
    position: relative;

    display: flex;

    justify-content: center;

    width: calc(100% - 20px);

    min-height: 64px;

    padding: 0 48px;
  }

  .logo {
    margin: 0 auto;
  }

  .logo-image {
    width: 145px;

    max-width: 100%;

    max-height: 42px;
  }

  .menu-btn {
    position: absolute;

    top: 50%;

    right: 0;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 36px;

    margin: 0;

    padding: 0 10px;

    border-radius: 8px;

    font-size: 0.78rem;

    line-height: 1;

    transform: translateY(-50%);
  }

  .nav-cta {
    display: none;
  }

  nav {
    top: 100%;
  }

  .hero {
    min-height: auto;

    padding: 72px 0 58px;
  }

  .hero-content {
    padding-top: 12px;
  }

  .hero h1 {
    max-width: 600px;

    margin-bottom: 20px;

    font-size: clamp(2.35rem, 11vw, 3.4rem);

    line-height: 1.06;
  }

  .hero .lead {
    font-size: 0.98rem;
  }

  .actions {
    align-items: stretch;

    flex-direction: column;

    margin-bottom: 36px;
  }

  .actions .btn {
    width: 100%;
  }

  .pillars {
    grid-template-columns: 1fr;

    gap: 16px;
  }

  .stats ul {
    grid-template-columns: repeat(2, 1fr);

    gap: 22px 0;

    padding: 24px 0;
  }

  .stats li {
    padding: 0 14px;
  }

  .stats li:nth-child(odd) {
    padding-left: 0;
  }

  .stats li:nth-child(even) {
    padding-right: 0;

    border-right: 0;
  }

  .stats li:nth-child(-n + 2) {
    padding-bottom: 20px;

    border-bottom: 1px solid var(--line);
  }

  .card {
    padding: 23px;
  }

  .founders-photo {
    width: 100%;

    background: var(--blue-900);
  }

  .founders-photo img {
    width: 100%;

    height: auto;

    aspect-ratio: auto;

    object-fit: contain;

    object-position: center;

    background: var(--blue-900);
  }

  .founders-photo:hover img {
    transform: none;
  }

  .founders-photo figcaption {
    right: 14px;

    bottom: 14px;

    left: 14px;

    flex-direction: column;

    gap: 2px;

    font-size: 0.7rem;
  }

  #contact form {
    padding: 21px;
  }

  #contact h2 {
    font-size: 2.35rem;
  }

  .site-footer {
    padding: 42px 0 96px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;

    gap: 34px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-logo img {
    width: 165px;

    max-height: 48px;
  }

  .footer-brand p {
    margin-top: 14px;

    font-size: 0.9rem;
  }

  .footer-bottom {
    align-items: flex-start;

    flex-direction: column;

    gap: 10px;

    margin-top: 34px;
  }

  .video-modal {
    padding: 10px;
  }

  .video-modal-content {
    border-radius: var(--radius-md);
  }

  .video-modal-header {
    padding: 13px 14px;
  }

  .video-modal-header h2 {
    font-size: 0.98rem;
  }

  .product-demo-video {
    max-height: 62vh;
  }

  .video-modal-note {
    padding: 10px 14px 13px;

    font-size: 0.76rem;
  }

  .assistant-launcher {
    right: 12px;

    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }

  .assistant-launcher-label {
    display: none;
  }

  .assistant-panel {
    right: 10px;

    bottom: calc(76px + env(safe-area-inset-bottom, 0px));

    width: calc(100vw - 20px);

    max-height: calc(100vh - 100px);
  }

  .assistant-messages {
    max-height: 42vh;
  }

  /* Product booking CTA */

  .product-cta {
    margin-top: 38px;

    padding: 40px 20px;

    border-radius: 18px;
  }

  .product-cta h3 {
    font-size: 28px;
  }

  .product-cta-content > p:not(.product-coming-soon) {
    font-size: 15px;
  }

  .product-book-button {
    width: 100%;

    max-width: 280px;
  }
}

@media (max-width: 520px) {
  h2 {
    font-size: 2.1rem;
  }

  .four,
  .founders-names {
    grid-template-columns: 1fr;
  }

  .assistant-form {
    gap: 6px;
  }

  .assistant-send {
    min-width: 60px;

    padding-inline: 10px;
  }
}

@media (max-width: 420px) {
  .bar {
    width: calc(100% - 14px);

    padding: 0 42px;
  }

  .logo-image {
    width: 132px;

    max-height: 38px;
  }

  .menu-btn {
    min-height: 34px;

    padding: 0 9px;

    font-size: 0.74rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-column h2 {
    margin-bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;

    transition: none !important;
  }
}
