﻿/* Floating glass-pill header */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  padding: 1.5rem 0;
  pointer-events: none;
  transition: padding .45s cubic-bezier(.22, 1, .36, 1);
}
.site-header.scrolled { padding: .75rem 0; }
.site-header > .container {
  pointer-events: none;
  position: relative;
}
.nav-shell {
  pointer-events: auto;
  position: relative;
  z-index: 2;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  box-shadow: none;
  padding: .35rem .65rem;
  transition:
    background .45s cubic-bezier(.22, 1, .36, 1),
    border-color .45s cubic-bezier(.22, 1, .36, 1),
    box-shadow .45s cubic-bezier(.22, 1, .36, 1),
    padding .45s cubic-bezier(.22, 1, .36, 1),
    backdrop-filter .45s cubic-bezier(.22, 1, .36, 1);
}
.site-header.scrolled .nav-shell,
.site-header.nav-open .nav-shell {
  background: rgba(255, 255, 255, .94);
  border-color: rgba(15, 23, 42, .08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 14px 36px -18px rgba(11, 31, 51, .28);
  padding: .45rem .85rem;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 48px;
}
.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo {
  display: block;
  height: 36px;
  width: auto;
  object-fit: contain;
}
.brand-name {
  display: none;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: -.02em;
  color: #fff;
  white-space: nowrap;
  line-height: 1;
  transition: color .2s ease;
}
@media (min-width: 640px) {
  .brand-name { display: inline; }
}
.brand:hover .brand-name { color: #90CAF9; }
.site-header.scrolled .brand-name,
.site-header.nav-open .brand-name {
  color: var(--dark);
}
.site-header.scrolled .brand:hover .brand-name,
.site-header.nav-open .brand:hover .brand-name {
  color: var(--primary);
}

.nav-desktop { display: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: #94A3B8;
  font-weight: 500;
  font-size: .9rem;
  white-space: nowrap;
  transition: color .2s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:active {
  color: #fff;
  font-weight: 600;
}
.site-header.scrolled .nav-links a {
  color: #64748B;
}
.site-header.scrolled .nav-links a:hover,
.site-header.scrolled .nav-links a:active {
  color: var(--primary);
}
.nav-links a:focus-visible {
  outline: 2px solid rgba(30, 136, 229, .55);
  outline-offset: 4px;
  border-radius: 4px;
}

.nav-actions-desktop {
  display: none;
  align-items: center;
  gap: .65rem;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--primary) 0%, #42A5F5 45%, var(--cyan) 100%);
  color: #fff !important;
  font-weight: 600;
  font-size: .875rem;
  box-shadow: 0 10px 24px rgba(30, 136, 229, .28);
  white-space: nowrap;
  transition: opacity .2s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.nav-cta:hover {
  color: #fff !important;
  opacity: .9;
}
.nav-cta--ghost {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .22);
  color: #fff !important;
  box-shadow: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav-cta--ghost:hover {
  background: rgba(255, 255, 255, .18);
  border-color: rgba(255, 255, 255, .35);
  opacity: 1;
  color: #fff !important;
}
.nav-cta--book {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-color: transparent;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(245, 166, 35, .28);
  font-weight: 800;
}
.nav-cta--book:hover {
  opacity: 1;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(245, 166, 35, .35);
}
.site-header.scrolled .nav-cta--book,
.site-header.nav-open .nav-cta--book {
  color: #fff !important;
}
.site-header.scrolled .nav-cta--ghost,
.site-header.nav-open .nav-cta--ghost {
  background: rgba(30, 136, 229, .08);
  border-color: rgba(30, 136, 229, .22);
  color: var(--primary) !important;
}
.site-header.scrolled .nav-cta--ghost:hover,
.site-header.nav-open .nav-cta--ghost:hover {
  background: rgba(30, 136, 229, .14);
  border-color: rgba(30, 136, 229, .35);
  color: var(--primary-dark) !important;
}
.nav-cta:focus-visible {
  outline: 2px solid rgba(30, 136, 229, .55);
  outline-offset: 2px;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.nav-toggle:hover {
  background: rgba(255, 255, 255, .16);
}
.site-header.scrolled .nav-toggle,
.site-header.nav-open .nav-toggle {
  background: rgba(30, 136, 229, .08);
  border-color: rgba(30, 136, 229, .18);
  color: var(--primary);
}
.nav-toggle:focus-visible {
  outline: 2px solid rgba(30, 136, 229, .55);
  outline-offset: 2px;
}

.nav-burger {
  position: relative;
  display: block;
  width: 18px;
  height: 14px;
}
.nav-burger span {
  position: absolute;
  inset-inline: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), opacity .2s ease, top .28s cubic-bezier(.22, 1, .36, 1);
}
.nav-burger span:nth-child(1) { top: 0; }
.nav-burger span:nth-child(2) { top: 6px; }
.nav-burger span:nth-child(3) { top: 12px; }
.site-header.nav-open .nav-burger span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}
.site-header.nav-open .nav-burger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.site-header.nav-open .nav-burger span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

.nav-mobile {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  top: calc(100% + .55rem);
  z-index: 1;
  padding: 1rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(15, 23, 42, .08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 22px 48px -18px rgba(11, 31, 51, .35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(.98);
  transform-origin: top center;
  transition:
    opacity .28s cubic-bezier(.22, 1, .36, 1),
    transform .28s cubic-bezier(.22, 1, .36, 1),
    visibility .28s;
}
.site-header.nav-open .nav-mobile {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: none;
}
.nav-mobile-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.nav-mobile-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .8rem .9rem;
  border-radius: .75rem;
  background: rgba(15, 23, 42, .03);
  border: 1px solid transparent;
  color: #334155;
  font-weight: 600;
  font-size: .92rem;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.site-header.nav-open .nav-mobile-item {
  animation: navItemIn .35s ease both;
  animation-delay: calc(var(--i, 0) * 55ms);
}
.nav-mobile-item:hover {
  background: rgba(30, 136, 229, .08);
  color: var(--primary-dark);
}
.nav-mobile-item:active {
  background: rgba(30, 136, 229, .12);
  border-color: rgba(30, 136, 229, .28);
  color: var(--primary-dark);
}
.nav-mobile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: .55rem;
  background: rgba(30, 136, 229, .12);
  color: var(--primary);
  flex-shrink: 0;
}
.nav-mobile-label { flex: 1; }
.nav-mobile-indicator {
  display: inline-flex;
  color: #94A3B8;
}
.nav-mobile-item .nav-check { display: none; color: var(--primary); }
.nav-mobile-item:active .nav-check { display: block; }
.nav-mobile-item:active .nav-chevron { display: none; }
.nav-mobile-actions {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding-top: .85rem;
  border-top: 1px solid rgba(15, 23, 42, .08);
}
.nav-mobile-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .8rem 1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--primary) 0%, #42A5F5 45%, var(--cyan) 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 0 10px 24px rgba(30, 136, 229, .28);
  transition: opacity .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.nav-mobile-primary:hover {
  color: #fff !important;
  opacity: .9;
}
.nav-mobile-primary--ghost {
  background: rgba(30, 136, 229, .08);
  border-color: rgba(30, 136, 229, .22);
  color: var(--primary) !important;
  box-shadow: none;
}
.nav-mobile-primary--book {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-color: transparent;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(245, 166, 35, .28);
  font-weight: 800;
}
.nav-mobile-primary--book:hover {
  color: #fff !important;
  opacity: .95;
  box-shadow: 0 14px 30px rgba(245, 166, 35, .35);
}
.nav-mobile-primary--ghost:hover {
  background: rgba(30, 136, 229, .14);
  border-color: rgba(30, 136, 229, .35);
  color: var(--primary-dark) !important;
  opacity: 1;
}

@keyframes navItemIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-mobile-item,
  .site-header.nav-open .nav-mobile-item { animation: none; }
  .site-header,
  .nav-shell,
  .nav-mobile,
  .nav-burger span,
  .brand-logo,
  .nav-cta { transition: none; }
}

@media (min-width: 1024px) {
  .nav-desktop { display: block; }
  .nav-actions-desktop { display: flex; }
  .nav-toggle,
  .nav-mobile { display: none !important; }
  .site-header:not(.scrolled) .nav-shell {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    padding: .35rem 0;
    backdrop-filter: none;
  }
}

.section-eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .75rem; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary-dark);
  font-size: .8rem; font-weight: 800; margin-bottom: .85rem;
}
.section-title { letter-spacing: -.02em; }

/* =========================================================
   Hero — typography-led, product architecture, RTL-first
   ========================================================= */
.hero {
  --hero-ink: #f7fafc;
  --hero-mute: rgba(247, 250, 252, .68);
  --hero-faint: rgba(247, 250, 252, .42);
  --hero-line: rgba(255, 255, 255, .1);
  --hero-surface: rgba(255, 255, 255, .035);
  --hero-surface-strong: rgba(255, 255, 255, .06);
  --hero-title-size: clamp(2.15rem, 1.45rem + 2.5vw, 3.5rem);
  --hero-desc-size: clamp(1rem, .92rem + .35vw, 1.125rem);
  --hero-pad-top: clamp(6.5rem, 5.2rem + 3.5vw, 8.25rem);
  --hero-pad-bottom: clamp(2.75rem, 2rem + 2.5vw, 4.5rem);
  --hero-tx: 0px;
  --hero-ty: 0px;

  position: relative;
  isolation: isolate;
  overflow: clip;
  color: var(--hero-ink);
  background: #071525;
  padding: var(--hero-pad-top) 0 var(--hero-pad-bottom);
  min-height: min(100svh, 48rem);
  display: flex;
  align-items: center;
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-atmosphere-base {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 78% 18%, rgba(30, 136, 229, .22), transparent 58%),
    radial-gradient(ellipse 50% 45% at 12% 82%, rgba(79, 195, 247, .1), transparent 55%),
    linear-gradient(155deg, #071525 0%, #0a1c30 48%, #0d2438 100%);
}

.hero-atmosphere-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: .9;
}

.hero-atmosphere-fade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 75% at 40% 45%, transparent 30%, rgba(7, 21, 37, .55) 100%),
    linear-gradient(180deg, rgba(7, 21, 37, .2) 0%, transparent 22%, transparent 78%, rgba(7, 21, 37, .5) 100%);
}

.hero-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(16rem, .8fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-visual-shift {
  min-width: 0;
  width: 100%;
  justify-self: end;
  transform: translate3d(var(--hero-tx), var(--hero-ty), 0);
  will-change: transform;
  transition: transform .08s linear;
}

.hero-rail {
  min-width: 0;
  max-width: 42rem;
  padding-bottom: .25rem;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1.15rem;
  padding: .35rem .85rem .35rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .72);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.4;
}
.hero-label-dot {
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 .25rem rgba(79, 195, 247, .18);
  flex-shrink: 0;
  animation: heroLabelPulse 2.4s ease-in-out infinite;
}
@keyframes heroLabelPulse {
  0%, 100% { box-shadow: 0 0 0 .2rem rgba(79, 195, 247, .16); opacity: 1; }
  50% { box-shadow: 0 0 0 .35rem rgba(79, 195, 247, .08); opacity: .85; }
}

.hero-title {
  margin: 0 0 1rem;
  max-width: none;
  color: #fff;
  font-size: var(--hero-title-size);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.02em;
  text-wrap: pretty;
  overflow-wrap: break-word;
}

.hero-desc {
  margin: 0 0 2rem;
  max-width: 30rem;
  color: var(--hero-mute);
  font-size: var(--hero-desc-size);
  font-weight: 500;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1.75rem;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 3.15rem;
  padding: .85rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform .3s cubic-bezier(.22, 1, .36, 1),
    background .25s ease,
    border-color .25s ease,
    box-shadow .3s ease,
    color .2s ease,
    opacity .2s ease;
}

.hero-btn .solar-icon {
  flex-shrink: 0;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}

.hero-btn--primary {
  background: linear-gradient(135deg, var(--primary) 0%, #42A5F5 48%, var(--cyan) 100%);
  color: #fff;
  box-shadow:
    0 12px 28px rgba(30, 136, 229, .32),
    inset 0 1px 0 rgba(255, 255, 255, .22);
}

.hero-btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow:
    0 16px 34px rgba(30, 136, 229, .4),
    inset 0 1px 0 rgba(255, 255, 255, .28);
}

.hero-btn--primary:hover .solar-icon {
  transform: translateX(-3px);
}

.hero-btn--ghost {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}

.hero-btn--ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .4);
  transform: translateY(-2px);
  box-shadow:
    0 12px 28px rgba(7, 21, 37, .25),
    inset 0 1px 0 rgba(255, 255, 255, .12);
}

.hero-btn:focus-visible {
  outline: 2px solid rgba(79, 195, 247, .65);
  outline-offset: 3px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: rgba(247, 250, 252, .88);
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.hero-proof-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: rgba(79, 195, 247, .14);
  color: var(--cyan);
  flex-shrink: 0;
}

.hero-proof li:nth-child(2) .hero-proof-icon {
  background: rgba(30, 136, 229, .16);
  color: #90CAF9;
}

.hero-proof li:nth-child(3) .hero-proof-icon {
  background: rgba(245, 166, 35, .16);
  color: var(--accent);
}

.hero-proof li:nth-child(4) .hero-proof-icon {
  background: rgba(22, 163, 74, .14);
  color: #4ade80;
}

/* Product architecture canvas */
.hero-canvas {
  position: relative;
  min-width: 0;
  width: 100%;
  max-width: 22.5rem;
  margin-inline-start: auto;
  justify-self: end;
}

.hero-canvas-glow {
  position: absolute;
  inset: 8% 4% auto;
  height: 55%;
  background: radial-gradient(circle at 50% 40%, rgba(30, 136, 229, .28), transparent 70%);
  filter: blur(18px);
  z-index: 0;
}

.hero-stack {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  padding: 1.15rem 1.05rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px;
  background: rgba(255, 255, 255, .025);
}

.hero-stack-label {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, .4);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
}

.hero-layer {
  position: relative;
  padding: .85rem .9rem;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 12px;
  background: rgba(255, 255, 255, .02);
}

.hero-layer--edge,
.hero-layer--data {
  opacity: .72;
}

.hero-layer--core,
.hero-layer.is-active {
  opacity: 1;
  border-color: rgba(30, 136, 229, .32);
  background: rgba(30, 136, 229, .1);
}

.hero-layer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .7rem;
}

.hero-layer-tag {
  color: rgba(255, 255, 255, .35);
  font-size: .72rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.hero-layer-name {
  color: rgba(255, 255, 255, .9);
  font-size: .95rem;
  font-weight: 800;
}

.hero-layer-body {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: .2rem .55rem;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 999px;
  background: rgba(7, 21, 37, .35);
  color: rgba(255, 255, 255, .72);
  font-size: .72rem;
  font-weight: 700;
}

.hero-chip--accent {
  border-color: rgba(245, 166, 35, .35);
  background: rgba(245, 166, 35, .12);
  color: #ffd48a;
}

.hero-layer-note {
  margin: .75rem 0 0;
  color: rgba(255, 255, 255, .5);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.5;
}

.hero-connector {
  display: flex;
  justify-content: center;
  height: 1.1rem;
}

.hero-connector span {
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(30, 136, 229, .55), rgba(255, 255, 255, .08));
}

/* ---- Breakpoints: recompose, don't just shrink ---- */

@media (max-width: 1200px) {
  .hero-shell {
    gap: 2.5rem;
  }
}

@media (max-width: 1024px) {
  .hero {
    --hero-title-size: clamp(2rem, 1.45rem + 1.9vw, 2.85rem);
    min-height: auto;
    align-items: stretch;
  }

  .hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 20rem);
    align-items: center;
    gap: 2rem;
  }

  .hero-canvas {
    max-width: none;
  }

  .hero-stack {
    padding: 1rem;
  }
}

@media (max-width: 768px) {
  .hero {
    --hero-pad-top: 7.35rem;
    --hero-pad-bottom: 3rem;
    --hero-title-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.4rem);
  }

  .hero-shell {
    grid-template-columns: 1fr;
    gap: 2.1rem;
    align-items: start;
  }

  .hero-rail {
    max-width: none;
  }

  .hero-canvas {
    max-width: none;
    margin-inline: 0;
    justify-self: stretch;
  }

  .hero-stack {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .55rem;
    align-items: stretch;
  }

  .hero-stack-label {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .hero-connector {
    display: none;
  }

  .hero-layer-note {
    display: none;
  }

  .hero-layer {
    min-height: 100%;
  }

  .hero-layer-body {
    gap: .3rem;
  }

  .hero-chip {
    font-size: .68rem;
    padding: .15rem .45rem;
  }
}

@media (max-width: 640px) {
  .hero {
    --hero-pad-top: 7.85rem;
    --hero-pad-bottom: 3rem;
    min-height: auto;
  }

  .hero-label {
    margin-bottom: 1.35rem;
  }

  .hero-title {
    margin-bottom: 1.1rem;
    line-height: 1.2;
  }

  .hero-desc {
    margin-bottom: 2.1rem;
    max-width: 34em;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: .95rem;
    margin-bottom: 1.85rem;
  }

  .hero-btn {
    width: 100%;
    min-height: 3.25rem;
    padding: .9rem 1.25rem;
    font-size: .95rem;
  }

  .hero-proof {
    gap: .65rem;
  }

  .hero-proof li {
    font-size: .75rem;
  }

  .hero-proof-icon {
    width: 1.4rem;
    height: 1.4rem;
  }

  .hero-shell {
    gap: 2rem;
  }

  .hero-stack {
    grid-template-columns: 1fr;
    gap: 0;
    padding: .85rem;
    border-radius: 16px;
  }

  .hero-connector {
    display: flex;
    height: .85rem;
  }

  .hero-stack-label {
    margin-bottom: .75rem;
  }

  .hero-layer {
    padding: .7rem .8rem;
  }

  .hero-layer-meta {
    margin-bottom: .45rem;
  }

  .hero-layer-body .hero-chip:nth-child(n + 3) {
    display: none;
  }
}

@media (max-width: 390px) {
  .hero {
    --hero-title-size: 1.85rem;
  }

  .hero-proof li:nth-child(4) {
    display: none;
  }
}

@media (min-width: 1440px) {
  .hero-shell {
    gap: 5rem;
  }

  .hero-rail {
    max-width: 46rem;
  }
}

@media (min-width: 1920px) {
  .hero {
    --hero-title-size: 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-btn {
    transition: none;
  }
  .hero-btn:hover {
    transform: none;
  }
  .hero-label-dot {
    animation: none;
  }
  .hero-atmosphere-canvas {
    display: none;
  }
  .hero-visual-shift {
    transform: none !important;
    transition: none !important;
  }
}

/* Features */
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.15rem;
}
.feature-card {
  text-align: center; padding: 1.75rem 1.25rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff 0%, #F8FBFF 100%);
}
.feature-card .icon-chip { margin: 0 auto 1.1rem; }
.feature-card h3 { margin: 0 0 .5rem; font-size: 1.12rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .92rem; }

@media (max-width: 980px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }

/* About */
.about-box {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.2rem; align-items: center;
}
.about-panel {
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, #071525, #1565C0);
  color: #fff; border-radius: 28px; padding: 2.3rem; min-height: 300px;
  display: flex; flex-direction: column; justify-content: center;
  box-shadow: 0 20px 50px rgba(11,31,51,.18);
}
.about-panel h3 {
  display: flex; align-items: center; gap: .5rem;
  color: var(--accent); margin-top: 0; font-size: 1.35rem;
}
.about-metrics {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: 1.25rem;
}
.about-metrics div {
  background: rgba(255,255,255,.08); border-radius: 14px; padding: .85rem;
  border: 1px solid rgba(255,255,255,.1);
}
.about-metrics strong { display: block; font-size: 1.25rem; color: var(--accent); }
.about-metrics span { font-size: .8rem; color: rgba(255,255,255,.7); }
@media (max-width: 800px) { .about-box { grid-template-columns: 1fr; } }

/* Plans */
.plans-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.85rem;
}
.plan-card {
  position: relative; padding: 1.85rem 1.45rem; border-radius: 24px;
  border: 1.5px solid var(--border);
  background: linear-gradient(180deg, #fff, #FBFCFE);
  display: flex; flex-direction: column; height: 100%;
}
.plan-card.featured {
  border-color: rgba(30,136,229,.55);
  box-shadow: 0 18px 44px rgba(30,136,229,.16);
  transform: scale(1.025);
  background: linear-gradient(180deg, #fff, #F0F7FF);
}
.plan-card .featured-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff; padding: .28rem .95rem; border-radius: 999px;
  font-size: .78rem; font-weight: 800;
  display: inline-flex; align-items: center; gap: .3rem;
  box-shadow: 0 8px 18px rgba(245,166,35,.3);
}
.plan-card h3 {
  margin: 0 0 1rem; font-size: 1.35rem;
  display: flex; align-items: center; gap: .45rem;
}
.plan-card ul {
  list-style: none; padding: 0; margin: 1rem 0 0;
  flex: 1;
}
.plan-card li {
  padding: .32rem 0; border-bottom: 1px dashed var(--border);
  display: flex; gap: .45rem; align-items: flex-start;
  font-size: .88rem;
}
.plan-card li:last-child { border-bottom: 0; }
.plan-card li .check { color: var(--success); margin-top: 1px; }
.plan-feature-line {
  display: inline;
  line-height: 1.4;
  font-size: inherit;
}
.plan-feature-label {
  color: var(--muted);
  font-weight: 500;
}
.plan-feature-sep {
  color: var(--muted);
  margin-inline: .1em;
  font-weight: 500;
}
.plan-feature-value {
  color: var(--dark);
  font-weight: 700;
}
.plan-price-wrap { min-height: 74px; }
.plan-footer {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: .95rem;
}
.plan-desc {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.7;
  white-space: pre-line;
  text-align: center;
}
@media (max-width: 900px) {
  .plans-grid { grid-template-columns: 1fr; }
  .plan-card.featured { transform: none; }
}

/* Domains */
.domains-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem;
}
.domain-chip {
  text-align: center; padding: 1.55rem 1rem; border-radius: 20px;
  background: #fff; border: 1px solid var(--border);
  font-size: 1.45rem; font-weight: 800; color: var(--primary);
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
}
.domain-chip .solar-icon { color: var(--accent); }
.domain-chip--more {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1.5px solid transparent;
  background:
    linear-gradient(165deg, #1E88E5 0%, #1565C0 48%, #0D47A1 100%);
  color: #fff;
  box-shadow:
    0 14px 32px -12px rgba(21, 101, 192, .45),
    inset 0 1px 0 rgba(255, 255, 255, .22);
}
.domain-chip--more .solar-icon {
  color: #fff;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .15));
}
.domain-chip-more-glow {
  position: absolute;
  inset: -40% -20% auto auto;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 195, 247, .45) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.domain-chip-more-text {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.2;
}
@media (max-width: 700px) { .domains-row { grid-template-columns: repeat(2, 1fr); } }

/* Software */
.software-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.software-item {
  background: #fff; border: 1px solid var(--border); border-radius: 18px;
  padding: 1.5rem 1.1rem; text-align: center; font-weight: 700;
  display: flex; flex-direction: column; align-items: center; gap: .75rem;
}
.software-item .icon-chip { margin-bottom: .15rem; }
@media (max-width: 800px) { .software-grid { grid-template-columns: repeat(2, 1fr); } }

/* Clients */
.clients-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.client-card {
  padding: 1.4rem;
  background: linear-gradient(180deg, #fff, #FAFCFF);
  border-radius: 20px;
}
.client-card .quote-icon { color: var(--primary); opacity: .35; margin-bottom: .5rem; }
.client-card blockquote { margin: 0 0 1rem; color: var(--muted); font-style: normal; line-height: 1.75; }
.client-card .client-meta {
  display: flex; align-items: center; gap: .55rem; font-weight: 800; color: var(--dark);
}
.client-card .client-name-link {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
.client-card .client-name-link:hover {
  color: var(--primary);
}
@media (max-width: 800px) { .clients-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq-list { display: grid; gap: .8rem; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.faq-item:hover { border-color: rgba(30,136,229,.28); }
.faq-item.open {
  border-color: rgba(30,136,229,.4);
  box-shadow: 0 10px 28px rgba(30,136,229,.08);
}
.faq-q {
  width: 100%; text-align: right; background: transparent; border: 0; cursor: pointer;
  padding: 1.05rem 1.25rem; font-family: inherit; font-weight: 800; font-size: 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--text);
}
.faq-a { color: var(--muted); }
.faq-item.open .faq-q { color: var(--primary); }

/* Contact — white surface, link-led */
.contact-section {
  --contact-ink: var(--dark);
  --contact-mute: var(--muted);
  --contact-faint: #8a97a6;
  --contact-line: var(--border);
  --contact-surface: #fff;
  --contact-surface-hover: #f8fbff;
  padding: clamp(3.5rem, 2.6rem + 2.5vw, 5rem) 0;
  color: var(--contact-ink);
  background: #fff;
}
.contact-shell {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem);
}
.contact-header {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}
.contact-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 1rem;
  padding: .35rem .85rem;
  border-radius: 999px;
  border: 1px solid rgba(30, 136, 229, .16);
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.contact-title {
  margin: 0 0 .85rem;
  font-size: clamp(1.85rem, 1.4rem + 1.8vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.2;
  color: var(--dark);
}
.contact-lead {
  margin: 0;
  color: var(--contact-mute);
  font-size: clamp(1rem, .94rem + .25vw, 1.1rem);
  line-height: 1.85;
  font-weight: 500;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}
.contact-link {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.3rem;
  border-radius: 20px;
  border: 1px solid var(--contact-line);
  background: var(--contact-surface);
  color: var(--dark);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-sm);
  transition:
    transform .35s cubic-bezier(.22, 1, .36, 1),
    border-color .3s ease,
    background .3s ease,
    box-shadow .35s ease,
    color .2s ease;
}
.contact-link:hover,
.contact-link:focus-visible {
  color: var(--dark);
  background: var(--contact-surface-hover);
  border-color: rgba(30, 136, 229, .35);
  transform: translateY(-4px);
  box-shadow:
    0 18px 40px -18px rgba(11, 31, 51, .16),
    0 0 0 1px rgba(30, 136, 229, .1);
}
.contact-link:focus-visible {
  outline: 2px solid rgba(30, 136, 229, .55);
  outline-offset: 3px;
}
.contact-link--priority {
  border-color: rgba(245, 166, 35, .32);
  background:
    linear-gradient(145deg, rgba(245, 166, 35, .08), #fff 55%);
}
.contact-link--priority:hover,
.contact-link--priority:focus-visible {
  border-color: rgba(245, 166, 35, .55);
  box-shadow:
    0 20px 44px -18px rgba(245, 166, 35, .28),
    0 0 0 1px rgba(245, 166, 35, .14);
}
.contact-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 15px;
  background: var(--primary-soft);
  border: 1px solid rgba(30, 136, 229, .12);
  color: var(--primary);
  flex-shrink: 0;
  transition:
    transform .35s cubic-bezier(.22, 1, .36, 1),
    background .3s ease,
    border-color .3s ease,
    color .3s ease,
    box-shadow .3s ease;
}
.contact-link--priority .contact-link-icon {
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-color: rgba(245, 166, 35, .28);
}
.contact-link:hover .contact-link-icon,
.contact-link:focus-visible .contact-link-icon {
  transform: scale(1.06);
  background: linear-gradient(145deg, var(--primary), var(--cyan));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px -8px rgba(30, 136, 229, .45);
}
.contact-link--priority:hover .contact-link-icon,
.contact-link--priority:focus-visible .contact-link-icon {
  background: linear-gradient(145deg, var(--accent), var(--accent-dark));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 22px -8px rgba(245, 166, 35, .45);
}
.contact-link-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .2rem;
  min-width: 0;
  text-align: start;
}
.contact-link-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--contact-faint);
  letter-spacing: .01em;
  transition: color .25s ease;
}
.contact-link:hover .contact-link-label,
.contact-link:focus-visible .contact-link-label {
  color: var(--muted);
}
.contact-link-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.35;
  word-break: break-word;
  color: var(--dark);
}
.contact-link-action {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
  padding: .4rem .75rem;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
  transition:
    transform .35s cubic-bezier(.22, 1, .36, 1),
    background .3s ease,
    border-color .3s ease,
    color .25s ease;
}
.contact-link-action .solar-icon {
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.contact-link:hover .contact-link-action,
.contact-link:focus-visible .contact-link-action {
  background: var(--primary-soft);
  border-color: rgba(30, 136, 229, .18);
  color: var(--primary-dark);
  transform: translateX(-3px);
}
.contact-link:hover .contact-link-action .solar-icon,
.contact-link:focus-visible .contact-link-action .solar-icon {
  transform: translateX(-3px);
}
.contact-link--priority .contact-link-action {
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.contact-link--priority:hover .contact-link-action,
.contact-link--priority:focus-visible .contact-link-action {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-color: transparent;
  color: #fff;
}

.contact-social {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: .25rem;
}
.contact-social-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    to left,
    transparent,
    var(--border) 20%,
    var(--border) 80%,
    transparent
  );
}
.contact-social-label {
  margin: 0;
  flex-shrink: 0;
  color: var(--contact-faint);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.contact-social-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem;
}
.contact-social-pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--contact-line);
  background: #fff;
  color: var(--dark);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition:
    transform .3s cubic-bezier(.22, 1, .36, 1),
    background .25s ease,
    border-color .25s ease,
    color .25s ease,
    box-shadow .3s ease;
}
.contact-social-pill i {
  font-size: 1rem;
  width: 1.1rem;
  text-align: center;
  color: var(--primary);
  transition: color .25s ease, transform .3s ease, filter .25s ease;
}
.contact-social-pill:hover,
.contact-social-pill:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, #42A5F5 48%, var(--cyan) 100%);
  border-color: transparent;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -14px rgba(30, 136, 229, .45);
}
.contact-social-pill:hover i,
.contact-social-pill:focus-visible i {
  color: #fff;
  filter: brightness(0) invert(1);
  transform: scale(1.08);
}
.contact-social-pill:focus-visible {
  outline: 2px solid rgba(30, 136, 229, .55);
  outline-offset: 3px;
}
.contact-social-empty {
  margin: 0;
  color: var(--contact-faint);
  font-weight: 600;
  font-size: .9rem;
}

@media (max-width: 820px) {
  .contact-links {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .contact-section {
    padding-block: 3.25rem 2.75rem;
  }
  .contact-link {
    grid-template-columns: auto minmax(0, 1fr);
    gap: .85rem;
    padding: 1.1rem 1rem;
    border-radius: 18px;
  }
  .contact-link-action {
    display: none;
  }
  .contact-link-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 13px;
  }
  .contact-link-value {
    font-size: .98rem;
  }
  .contact-social-pill {
    padding: .62rem .95rem;
    font-size: .84rem;
  }
  .contact-kicker {
    margin-bottom: .85rem;
  }
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, #071525, #0B1F33);
  color: rgba(255,255,255,.8); padding: 3.2rem 0 1.6rem; margin-top: 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1rem;
  color: #fff !important;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
}
.footer-brand:hover {
  color: #fff !important;
}
.footer-brand-logo {
  display: block;
  height: 36px;
  width: auto;
  object-fit: contain;
}
.site-footer h4 {
  color: #fff; margin: 0 0 1rem;
  display: flex; align-items: center; gap: .45rem;
}
.site-footer a { color: rgba(255,255,255,.8); transition: color .2s; }
.site-footer a:hover { color: var(--accent); }
.footer-link {
  display: flex; align-items: center; gap: .45rem; margin: .45rem 0;
}
.footer-link i {
  width: 1.1rem;
  text-align: center;
  font-size: 1rem;
  flex-shrink: 0;
  color: inherit;
  -webkit-text-fill-color: currentColor;
  transition: color .2s ease, -webkit-text-fill-color .2s ease;
}
.social-links {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  transition: color .2s, transform .2s;
}
.social-link i {
  width: 1.15rem;
  text-align: center;
  font-size: 1.05rem;
  color: inherit;
  -webkit-text-fill-color: currentColor;
  transition: color .2s ease, -webkit-text-fill-color .2s ease;
}
.social-link:hover {
  color: var(--accent);
  transform: translateX(-2px);
}
.card .social-link {
  color: var(--dark);
}
.card .social-link:hover {
  color: var(--primary);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.2rem;
  text-align: center; font-size: .9rem;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* Back to top */
.back-to-top {
  position: fixed;
  inset-inline-end: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, #42A5F5 48%, var(--cyan) 100%);
  box-shadow: 0 10px 28px rgba(30, 136, 229, .35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(.92);
  transition: opacity .28s ease, transform .28s ease, visibility .28s ease, box-shadow .2s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.back-to-top:hover {
  color: #fff;
  box-shadow: 0 14px 32px rgba(30, 136, 229, .45);
  transform: translateY(-2px);
}
.back-to-top:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(30, 136, 229, .28), 0 10px 28px rgba(30, 136, 229, .35);
}
.back-to-top .solar-icon {
  transition: transform .25s ease;
}
.back-to-top:hover .solar-icon {
  transform: translateY(-2px);
}
@media (max-width: 600px) {
  .back-to-top {
    inset-inline-end: 1rem;
    bottom: 1rem;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
  }
}

.page-hero-mini {
  background: linear-gradient(145deg, #071525, #1565C0);
  color: #fff; padding: 6.5rem 0 2.2rem; margin-bottom: -1rem;
}
.page-hero-mini h1 { margin: 0 0 .4rem; }
.page-hero-mini p { margin: 0; color: rgba(255,255,255,.8); }

/* Terms rich content */
.terms-content {
  color: var(--muted);
  line-height: 1.85;
}
.terms-content > *:first-child { margin-top: 0; }
.terms-content > *:last-child { margin-bottom: 0; }
.terms-content p { margin: 0 0 .85rem; }
.terms-content h1,
.terms-content h2,
.terms-content h3 {
  color: var(--dark);
  margin: 1.1rem 0 .55rem;
  line-height: 1.35;
}
.terms-content h1 { font-size: 1.35rem; }
.terms-content h2 { font-size: 1.2rem; }
.terms-content h3 { font-size: 1.05rem; }
.terms-content ul,
.terms-content ol {
  margin: 0 0 .85rem;
  padding-inline-start: 1.35rem;
}
.terms-content li { margin: .25rem 0; }
.terms-content blockquote {
  margin: 0 0 .85rem;
  padding: .7rem 1rem;
  border-inline-start: 3px solid var(--primary);
  background: rgba(30,136,229,.06);
  color: var(--dark);
}
.terms-content a {
  color: var(--primary);
  text-decoration: underline;
}
.terms-content strong,
.terms-content b { color: var(--dark); font-weight: 800; }
.terms-content span.color {
  color: var(--color);
}


/* Booking page */
[x-cloak] { display: none !important; }
body.booking-terms-open { overflow: hidden; }

.booking-page__container { max-width: 1040px; }
.booking-page__form {
  position: relative;
  border-radius: 22px;
  padding: 1.6rem 1.5rem 1.4rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-width: 0;
  max-width: 100%;
}
.booking-page__section {
  padding: 1.15rem 0 1.35rem;
  border-bottom: 1px solid var(--border);
}
.booking-page__section:last-of-type { border-bottom: 0; }
.booking-page__section-title {
  margin: 0 0 .45rem;
  font-size: 1.15rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.booking-page__section-title em { color: var(--danger); font-style: normal; }
.booking-page__section-sub {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .95rem;
}
.booking-page__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.booking-field { display: flex; flex-direction: column; gap: .4rem; }
.booking-field > span { font-weight: 700; font-size: .92rem; color: var(--text); }
.booking-field em { color: var(--danger); font-style: normal; }
.booking-field input[type="text"],
.booking-field input[type="email"],
.booking-field input[type="tel"] {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: .8rem 1rem;
  font: inherit;
  background: #fff;
  color: var(--text);
}
.booking-field input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.booking-hint { color: var(--muted); font-size: .8rem; }
/* Visually hidden honeypot — never use off-screen left/right (causes mobile horizontal gap) */
.booking-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Phone: LTR row so dial stays at the visual end (left); isolate dial so "+" stays +967 */
.phone-field { position: relative; }
.phone-input {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
  direction: ltr;
  min-width: 0;
  width: 100%;
}
.phone-input.is-open,
.phone-input:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.phone-input__trigger {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 0;
  background: #F8FAFC;
  padding: .75rem .65rem;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
  flex-shrink: 0;
  direction: ltr;
}
.phone-input__flag { font-size: 1.15rem; line-height: 1; }
.phone-input__code {
  font-size: .92rem;
  font-variant-numeric: tabular-nums;
  direction: ltr;
  unicode-bidi: isolate;
}
.phone-input__caret {
  font-size: .7rem;
  color: var(--muted);
}
.phone-input__divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}
.phone-input__number {
  flex: 1;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  min-width: 0;
  padding: .75rem .9rem !important;
  direction: ltr;
  text-align: left;
  unicode-bidi: isolate;
}
.phone-dropdown {
  position: absolute;
  top: calc(100% + .4rem);
  left: 0;
  width: min(340px, 100%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  z-index: 30;
  overflow: hidden;
}
.phone-dropdown__search { padding: .65rem .65rem .35rem; }
.phone-dropdown__search input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .55rem .7rem;
  font: inherit;
}
.phone-dropdown__list {
  list-style: none;
  margin: 0;
  padding: .25rem;
  max-height: min(50vh, 280px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  touch-action: pan-y;
}
.phone-dropdown__list > li {
  content-visibility: auto;
  contain-intrinsic-size: auto 44px;
}
.phone-dropdown__option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: .55rem;
  border: 0;
  background: transparent;
  padding: .55rem .7rem;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  color: var(--dark);
  text-align: start;
  min-height: 44px;
}
.phone-dropdown__option:hover,
.phone-dropdown__option.is-active { background: var(--primary-soft); color: var(--primary-dark); }
.phone-dropdown__flag {
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}
.phone-dropdown__name {
  flex: 1;
  min-width: 0;
  font-weight: 600;
  font-size: .9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.phone-dropdown__dial {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  font-size: .88rem;
  color: var(--muted);
  direction: ltr;
  unicode-bidi: isolate;
}
.phone-dropdown__option.is-active .phone-dropdown__dial { color: var(--primary-dark); }
.phone-dropdown__empty {
  padding: .8rem;
  text-align: center;
  color: var(--muted);
  font-size: .88rem;
}

/* Plan cards */
.booking-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 1rem;
  min-width: 0;
}
.booking-plan-card {
  position: relative;
  text-align: right;
  border: 1.5px solid var(--border);
  border-radius: 18px;
  background: #fff;
  padding: 1.15rem 1.1rem 1rem;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  font: inherit;
  color: inherit;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}
@media (hover: hover) and (pointer: fine) {
  .booking-plan-card:hover {
    border-color: rgba(30,136,229,.45);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
  }
}
.booking-plan-card.is-featured {
  background: linear-gradient(180deg, #fff, #F7FBFF);
}
.booking-plan-card.is-selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft), var(--shadow-sm);
}
.booking-plan-card__check {
  position: absolute;
  top: .85rem;
  left: .85rem;
  color: var(--border);
  line-height: 0;
  transition: color .2s ease;
}
.booking-plan-card.is-selected .booking-plan-card__check { color: var(--primary); }
.booking-plan-card__badge {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: .75rem;
  font-weight: 800;
  padding: .25rem .55rem;
  border-radius: 999px;
  margin-bottom: .55rem;
}
.booking-plan-card h3 {
  margin: 0 0 .45rem;
  font-size: 1.15rem;
  color: var(--dark);
  overflow-wrap: anywhere;
}
.booking-plan-card__price { display: flex; align-items: baseline; gap: .35rem; flex-wrap: wrap; }
.booking-plan-card__desc {
  margin: .75rem 0 .5rem;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.6;
}
.booking-plan-card__features {
  list-style: none;
  margin: .75rem 0 0;
  padding: 0;
  display: grid;
  gap: .45rem;
}
.booking-plan-card__features li {
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  font-size: .9rem;
  color: var(--text);
  line-height: 1.45;
}
.booking-plan-card__features .solar-icon { color: var(--primary); flex-shrink: 0; margin-top: .1rem; }
.booking-plan-card__features .is-muted { color: var(--muted); }
.booking-plan-card__features .plan-feature-label { color: var(--muted); font-weight: 500; }
.booking-plan-card__features .plan-feature-sep { color: var(--muted); }
.booking-plan-card__features .plan-feature-value { color: var(--dark); font-weight: 700; }
.booking-plan-error {
  margin: .85rem 0 0;
  color: var(--danger);
  font-weight: 700;
  font-size: .9rem;
}

.booking-agree {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}
.booking-agree input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: .2rem;
  accent-color: var(--primary);
  flex-shrink: 0;
}
.booking-agree__link {
  border: 0;
  background: none;
  padding: 0;
  color: var(--primary);
  font: inherit;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

/* Terms modal — same spacing as project .modal / .modal-backdrop */
.booking-terms-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.booking-terms-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 51, .55);
  backdrop-filter: blur(4px);
}
.booking-terms-modal__panel {
  position: relative;
  z-index: 1;
  width: min(820px, 100%);
  max-height: min(90vh, 920px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.booking-terms-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #F7FBFF, #fff);
}
.booking-terms-modal__header h2 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--dark);
}
.booking-terms-modal__close {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  line-height: 0;
  padding: .15rem;
}
.booking-terms-modal__body {
  padding: 1.25rem;
  overflow: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
.booking-terms-modal__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
  margin-bottom: .85rem;
}
.booking-terms-modal__card:last-child { margin-bottom: 0; }
.booking-terms-modal__card h3 {
  margin: 0 0 .65rem;
  color: var(--primary);
  font-size: 1.05rem;
}
.booking-terms-modal__footer {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  background: #F8FAFC;
}

.booking-page__actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 1.25rem;
}
.booking-page__success-panel,
.booking-page__disabled {
  text-align: center;
  padding: 2.2rem 1.5rem;
  border-radius: 22px;
}
.booking-page__success-icon,
.booking-page__disabled-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #ECFDF5;
  color: var(--success);
}
.booking-page__disabled-icon {
  background: var(--primary-soft);
  color: var(--primary);
}
.booking-page__success-panel h2,
.booking-page__disabled h2 {
  margin: 0 0 .75rem;
  color: var(--dark);
  font-size: 1.45rem;
}
.booking-page__success-text,
.booking-page__disabled p {
  margin: 0 auto 1.35rem;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.85;
  white-space: pre-line;
}
.booking-page__success-ref {
  margin: -.5rem auto 1.25rem;
  font-weight: 800;
  color: var(--primary);
}
.booking-form__error,
.booking-form__success {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  font-size: .95rem;
  line-height: 1.7;
}
.booking-form__error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}
.booking-form__error-title {
  margin: 0 0 .55rem;
  font-weight: 800;
  font-size: 1rem;
  color: var(--danger);
}
.booking-form__error-list {
  margin: 0;
  padding: 0 1.15rem 0 0;
  list-style: disc;
  display: grid;
  gap: .35rem;
  font-weight: 600;
  color: #7F1D1D;
}
.booking-form__error-list li::marker {
  color: var(--danger);
}
.booking-form__success {
  background: #F0FDF4;
  color: var(--success);
  border: 1px solid #BBF7D0;
  font-weight: 700;
}
.btn-ghost {
  background: transparent; color: var(--muted); border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg); color: var(--text); }

.booking-turnstile-field {
  margin-top: 1rem;
  width: 100%;
  display: flex;
  justify-content: center;
}
.booking-turnstile-field .cf-turnstile {
  width: auto;
  max-width: 100%;
}

@media (max-width: 760px) {
  .booking-page__grid { grid-template-columns: 1fr; }
  .booking-page__form { padding: 1.15rem 1rem; }
  .booking-plans { grid-template-columns: 1fr; }

  /* Prevent iOS zoom on focus; keep layout sizes unchanged */
  .booking-field input[type="text"],
  .booking-field input[type="email"],
  .booking-field input[type="tel"],
  .phone-input__number,
  .phone-dropdown__search input {
    font-size: 16px;
  }

  .phone-dropdown {
    left: 0;
    right: 0;
    width: 100%;
  }

  .booking-page__actions .btn,
  .booking-page__success-panel .btn,
  .booking-page__disabled .btn {
    width: 100%;
  }

  .booking-page__success-panel,
  .booking-page__disabled {
    padding: 1.75rem 1.25rem;
  }
}

