/* 1200.aero landing page — "1200 Redesign v4" */

:root {
  --phoneFilter: brightness(0) invert(1);
  --logoBox: rgba(226, 233, 244, 0.88);
  --logoBlend: multiply;
  --bg: #050817;
  --fg: #f2f5fa;
  --muted: rgba(242, 245, 250, 0.72);
  --soft: rgba(242, 245, 250, 0.5);
  --glass: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  --glass2: rgba(10, 16, 36, 0.5);
  --border: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.08);
  --chip: rgba(255, 255, 255, 0.07);
  --chipH: rgba(255, 255, 255, 0.16);
  --accent: #7ff0ec;
  --accent2: #ffb79e;
  --input: rgba(5, 8, 23, 0.45);
  --shadow: rgba(0, 0, 0, 0.45);
  --blobA: rgba(2, 173, 173, 0.32);
  --blobB: rgba(255, 107, 61, 0.22);
  --tabOn: #ffffff;
  --tabOnFg: #050817;

  --teal: #19c3c0;
  --cta: linear-gradient(135deg, #d9400f, #bf2a08);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-press: 90ms;
  --t-fast: 160ms;
  --t-base: 240ms;
}

html[data-theme="light"] {
  --phoneFilter: none;
  --logoBox: rgba(255, 255, 255, 0.94);
  --bg: #f3f5fa;
  --fg: #0b1330;
  --muted: rgba(11, 19, 48, 0.7);
  --soft: rgba(11, 19, 48, 0.5);
  --glass: linear-gradient(160deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.55));
  --glass2: rgba(255, 255, 255, 0.62);
  --border: rgba(11, 19, 48, 0.1);
  --line: rgba(11, 19, 48, 0.08);
  --chip: rgba(11, 19, 48, 0.05);
  --chipH: rgba(11, 19, 48, 0.1);
  --accent: #028f8c;
  --accent2: #e2461f;
  --input: rgba(255, 255, 255, 0.85);
  --shadow: rgba(20, 30, 80, 0.14);
  --blobA: rgba(2, 173, 173, 0.22);
  --blobB: rgba(255, 107, 61, 0.18);
  --tabOn: #0b1330;
  --tabOnFg: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Urbanist", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.5s, color 0.5s;
}

a { color: var(--accent); text-decoration: none; text-underline-offset: 0.2em; }
a { transition: color var(--t-fast); }
a:hover { color: var(--fg); }
img { max-width: 100%; }
::placeholder { color: var(--soft); }
::selection { background: rgba(25, 195, 192, 0.32); color: var(--fg); }
html { scrollbar-color: var(--chipH) var(--bg); accent-color: var(--teal); }
input, textarea { caret-color: var(--teal); }

:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; animation: focusIn var(--t-fast) var(--ease-out); }
.field:focus-visible { outline: none; }

.i { flex: none; display: block; }

.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;
}

/* ---------- Keyframes ---------- */
@keyframes drift1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(12vw, 8vh) scale(1.15); } }
@keyframes drift2 { 0%, 100% { transform: translate(0, 0) scale(1.1); } 50% { transform: translate(-10vw, -6vh) scale(0.95); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marqueeRev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes approach { 0% { transform: scale(1.04) translateY(-6%) rotate(-1.2deg); } 100% { transform: scale(1.44) translateY(2.4%) rotate(0deg); } }
@keyframes zoomBlur { 0% { opacity: 0.7; } 100% { opacity: 0; } }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes streak { 0% { transform: translateY(-30%) scaleY(0.4); opacity: 0; } 30% { opacity: 0.7; } 100% { transform: translateY(120%) scaleY(1.4); opacity: 0; } }
@keyframes focusIn { from { outline-offset: 0; outline-color: transparent; } }
@keyframes iconIn { from { opacity: 0; transform: rotate(-90deg) scale(0.6); } }
@keyframes statusIn { from { opacity: 0; transform: translateY(-4px); } }
@keyframes spin { to { transform: rotate(1turn); } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Shared pieces ---------- */
.blobs { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; }
.blob-a { width: 55vw; height: 55vw; left: -15vw; top: 60vh; background: radial-gradient(circle, var(--blobA), transparent 65%); filter: blur(60px); animation: drift1 22s ease-in-out infinite; }
.blob-b { width: 50vw; height: 50vw; right: -15vw; top: 30vh; background: radial-gradient(circle, var(--blobB), transparent 65%); filter: blur(70px); animation: drift2 26s ease-in-out infinite; }

.page { position: relative; z-index: 1; }

.glass {
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.section { padding: clamp(60px, 9vw, 100px) 20px; }
.wrap { max-width: 1200px; margin: 0 auto; }
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: clamp(36px, 5vw, 56px);
  align-items: center;
}
.split-narrow { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(36px, 5vw, 64px); }


.h2 {
  font-size: clamp(32px, 4vw, 54px); line-height: 1.04; letter-spacing: -0.035em;
  font-weight: 700; margin: 0 0 22px; text-wrap: balance;
}
.h2-lg { font-size: clamp(32px, 4.6vw, 60px); margin: 0; }
.lead {
  font-size: clamp(16px, 1.6vw, 18px); line-height: 1.6; color: var(--muted);
  margin: 0 0 30px; text-wrap: pretty;
}
.center { text-align: center; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; border-radius: 999px;
  padding: 15px 26px; font-weight: 600; font-size: 16px;
  transition: transform var(--t-base) var(--ease-out), background var(--t-base), box-shadow var(--t-base);
}
.btn-cta { background: var(--cta); color: #fff; font-weight: 700; box-shadow: 0 10px 30px rgba(255, 54, 21, 0.35); }
.btn-cta:hover { color: #fff; }
.btn-teal { background: rgba(25, 195, 192, 0.14); border: 1px solid var(--accent); color: var(--fg); }
.btn .i { transition: transform var(--t-base) var(--ease-out); }
.btn-teal:hover { background: rgba(25, 195, 192, 0.26); }
.btn-warm { background: rgba(255, 107, 61, 0.14); border: 1px solid var(--accent2); color: var(--fg); }
.btn-warm:hover { background: rgba(255, 107, 61, 0.26); }

.shot { position: relative; }
.shot-glow { position: absolute; inset: 10%; filter: blur(50px); }
.shot-frame { position: relative; padding: 8px; border-radius: 26px; box-shadow: 0 30px 90px var(--shadow); }
.shot-frame img { width: 100%; display: block; border-radius: 20px; }

.icon-tile {
  flex: none; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  box-shadow: 0 8px 20px var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Scroll reveal (set up by landing.js only for off-screen elements) */
[data-reveal].reveal-pending { opacity: 0; transform: translateY(16px); }
[data-reveal].reveal-ready { transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }

/* ---------- Header ---------- */
.site-header { position: fixed; top: 12px; left: 0; right: 0; z-index: 30; padding: 0 12px; }
.nav-bar {
  max-width: 1280px; margin: 0 auto; min-height: 60px; padding: 8px 8px 8px 20px;
  display: flex; align-items: center; gap: 16px;
  background: var(--glass2);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border); border-radius: 32px;
  box-shadow: 0 10px 40px var(--shadow);
  transition: background 0.5s;
}
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 28px; width: auto; display: block; }
.nav-links {
  display: flex; gap: 2px; flex: 1; flex-wrap: wrap; justify-content: center;
  font-size: 14px; font-weight: 500;
}
.nav-links a { color: var(--muted); padding: 8px 11px; border-radius: 999px; white-space: nowrap; transition: background var(--t-fast), color var(--t-fast); }
.nav-links a:hover { background: var(--chipH); color: var(--fg); }
.nav-links a[aria-current="true"] { color: var(--fg); background: var(--chip); }
.phone-link { display: flex; align-items: center; gap: 8px; color: var(--fg); font-weight: 600; white-space: nowrap; }
.phone-link img { display: block; filter: var(--phoneFilter); }
.nav-bar .phone-link { padding: 8px 6px; font-size: 14px; }
.nav-spacer { flex: 1; display: none; }
.theme-toggle {
  flex: none; border: none; background: none; cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center; transition: transform var(--t-base) var(--ease-out);
}
.theme-toggle img { width: 62px; height: auto; display: block; }
.login {
  flex: none; background: var(--cta); color: #fff; padding: 11px 20px; border-radius: 999px;
  box-shadow: 0 8px 24px rgba(255, 54, 21, 0.35); font-size: 14px; font-weight: 700;
}
.login { transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base); }
.login:hover { color: #fff; }
.menu-btn {
  flex: none; width: 44px; height: 44px; border-radius: 50%; display: none;
  border: 1px solid var(--border); background: var(--chip); color: var(--fg);
  cursor: pointer; padding: 0; align-items: center; justify-content: center;
}
.menu-btn { transition: background var(--t-fast), transform var(--t-press); }
.menu-btn .i-close, .menu-open .menu-btn .i-open { display: none; }
.menu-open .menu-btn .i-close { display: block; }
.menu-btn .i { animation: iconIn var(--t-base) var(--ease-out); }
.mobile-menu {
  max-width: 1280px; margin: 8px auto 0; padding: 10px; border-radius: 24px;
  background: var(--glass2);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid var(--border); box-shadow: 0 20px 50px var(--shadow);
  flex-direction: column; animation: menuIn 0.25s ease-out;
  display: none;
}
.mobile-menu a { color: var(--fg); padding: 14px 16px; border-radius: 14px; font-size: 17px; font-weight: 600; }
.mobile-menu a { transition: background var(--t-fast); }
.mobile-menu a:hover { background: var(--chipH); }
.mobile-menu .phone-link { gap: 10px; font-size: 16px; border-top: 1px solid var(--line); margin-top: 6px; border-radius: 0; }

@media (max-width: 1079.98px) {
  .nav-links, .nav-bar > .phone-link { display: none; }
  .nav-spacer { display: block; }
  .menu-btn { display: flex; }
  .site-header.menu-open .mobile-menu { display: flex; }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: #02040c; }
.hero-media { position: absolute; inset: 0; }
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform-origin: 50% 46%; will-change: transform;
  animation: approach 8s cubic-bezier(0.22, 0.6, 0.36, 1) both;
}
.hero-img-blur {
  inset: -4%; width: 108%; height: 108%;
  filter: blur(10px) saturate(1.2);
  -webkit-mask-image: radial-gradient(ellipse at 50% 46%, transparent 18%, #000 62%);
  mask-image: radial-gradient(ellipse at 50% 46%, transparent 18%, #000 62%);
  will-change: transform, opacity;
  animation: approach 8s cubic-bezier(0.22, 0.6, 0.36, 1) both, zoomBlur 8s cubic-bezier(0.22, 0.6, 0.36, 1) both;
}
.streaks {
  position: absolute; left: 0; right: 0; top: 46%; bottom: 0;
  display: flex; justify-content: center; gap: 34vw; pointer-events: none; overflow: hidden;
}
.streaks span {
  width: 2px; height: 60%;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.7), transparent);
  animation: streak 1.1s linear 0s 7 both;
}
.streaks span + span { animation-delay: 0.55s; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 23, 0.7) 0%, rgba(5, 8, 23, 0.15) 30%, rgba(5, 8, 23, 0.12) 62%, var(--bg) 100%);
}
.hero-content {
  position: relative; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 110px 20px 130px; color: #fff;
}
.hero-in { animation: heroIn 1.2s var(--ease) both; }
.hero-logo {
  width: clamp(100px, 14vw, 150px); height: auto; margin-bottom: 22px;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.5)); animation-delay: 0.3s;
}
.hero h1 {
  font-size: clamp(46px, 9vw, 128px); line-height: 0.94; letter-spacing: -0.04em;
  font-weight: 700; margin: 0 0 22px; text-shadow: 0 10px 50px rgba(0, 0, 0, 0.45);
  text-wrap: balance; animation-delay: 0.6s;
}
.hero p {
  font-size: clamp(19px, 2.3vw, 26px); line-height: 1.45; color: rgba(255, 255, 255, 0.9);
  max-width: 640px; margin: 0 0 36px; text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  text-wrap: balance; animation-delay: 0.9s;
}
html[data-theme="light"] .hero-shade {
  background:
    radial-gradient(ellipse 60% 42% at 50% 52%, rgba(243, 245, 250, 0.62), rgba(243, 245, 250, 0) 100%),
    linear-gradient(180deg, rgba(243, 245, 250, 0.45) 0%, rgba(243, 245, 250, 0.08) 30%, rgba(243, 245, 250, 0.1) 62%, var(--bg) 100%);
}
html[data-theme="light"] .hero h1 { color: var(--fg); text-shadow: 0 6px 40px rgba(255, 255, 255, 0.6); }
html[data-theme="light"] .hero p { color: var(--fg); text-shadow: 0 2px 16px rgba(255, 255, 255, 0.7); }
.hero-cta {
  background: var(--cta); color: #fff; padding: 17px 32px; border-radius: 999px;
  font-weight: 700; font-size: 17px;
  box-shadow: 0 12px 36px rgba(255, 54, 21, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  animation-delay: 1.2s;
}
.hero-cta { transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base); }
.hero-cta:hover { color: #fff; }

.hud-wrap { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; padding: 0 12px; }
.hud {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 18px;
  padding: 10px 12px 10px 18px; border-radius: 28px;
  background: rgba(10, 16, 36, 0.45); border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  font-family: "JetBrains Mono", monospace; font-size: clamp(11px, 1.4vw, 13px);
  color: rgba(255, 255, 255, 0.85);
}
.hud b { color: #fff; font-weight: 500; font-variant-numeric: tabular-nums; }
.hud-phase { display: flex; align-items: center; gap: 8px; }
.hud-dot { width: 7px; height: 7px; border-radius: 50%; background: #ff6b3d; }
.hud-replay {
  border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.08); color: #fff;
  border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 12px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.hud-replay { transition: background var(--t-fast); }
.hud-replay:hover { background: rgba(255, 255, 255, 0.18); }
.hud-replay .i { transition: transform 0.5s var(--ease-out); }

/* ---------- Trusted by ---------- */
.trusted { padding: 48px 0 90px; }
.trusted-title { text-align: center; font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 24px; padding: 0 20px; }
.marquee-mask {
  display: flex; flex-direction: column; gap: 14px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-row { display: flex; gap: 14px; width: max-content; animation: marquee 80s linear infinite; }
.marquee-row.rev { animation-name: marqueeRev; }
.marquee-mask:hover .marquee-row, .marquee-mask.is-offscreen .marquee-row { animation-play-state: paused; }
.logo-box {
  flex: none; width: clamp(130px, 16vw, 180px); height: clamp(64px, 8vw, 84px);
  border-radius: 20px; background: var(--logoBox);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; padding: 12px 18px;
  box-shadow: 0 8px 24px var(--shadow);
}
.logo-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo-box img.opaque { mix-blend-mode: var(--logoBlend); }

/* ---------- Data sources ---------- */
.sources { display: flex; flex-direction: column; gap: 10px; }
.source {
  display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-radius: 18px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  transition: transform 0.35s var(--ease), border-color 0.35s;
}
.source:hover { border-color: var(--accent); }
.source .icon-tile { width: 40px; height: 40px; border-radius: 12px; }
.source-title { font-size: 16px; font-weight: 600; line-height: 1.35; }

/* ---------- Analytics ---------- */
#analytics-alerts { padding-bottom: 40px; }
.panel {
  padding: clamp(26px, 4vw, 44px); border-radius: 32px;
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 20px 60px var(--shadow);
}
.panel .h2 { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.06; letter-spacing: -0.03em; margin-bottom: 18px; }
.panel p { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0 0 22px; }
.report-list { list-style: none; margin: 0 0 30px; padding: 0; }
.report-list li {
  display: flex; gap: 14px; align-items: flex-start; padding: 11px 0;
  border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.45;
}
.report-list li::before {
  content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal); margin-top: 9px; box-shadow: 0 0 10px var(--teal);
}
.stats-img { position: relative; width: 100%; display: block; border-radius: 24px; border: 1px solid var(--border); box-shadow: 0 30px 90px var(--shadow); }

/* ---------- Alerts ---------- */
#alerts { padding-top: 60px; }
#alerts .lead + .lead { margin-top: -14px; }
.alerts-feed { display: flex; flex-direction: column; gap: 14px; }
.alert-card {
  display: flex; gap: 16px; padding: 20px; border-radius: 24px;
  box-shadow: 0 20px 50px var(--shadow);
  transition: opacity 0.7s, transform 0.7s var(--ease);
}
.alerts-feed.pending .alert-card { opacity: 0; transform: translateX(30px); }
.alerts-feed.pending .alert-card.in { opacity: 1; transform: none; }
.alert-card .icon-tile { width: 44px; height: 44px; border-radius: 14px; }
.alert-body { min-width: 0; }
.alert-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.alert-text { font-size: 14px; line-height: 1.55; color: var(--muted); overflow-wrap: anywhere; }
.alert-time { font-size: 12px; color: var(--soft); margin-top: 8px; font-variant-numeric: tabular-nums; }

/* ---------- Solutions ---------- */
.sol-head { margin-bottom: 36px; }
.sol-tabs-wrap { display: flex; justify-content: center; margin-bottom: 24px; }
.sol-tabs {
  position: relative;
  display: flex; gap: 4px; padding: 5px; border-radius: 999px;
  background: var(--chip); border: 1px solid var(--border);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.sol-tab {
  position: relative; overflow: hidden; flex: none; border: none; cursor: pointer;
  font: inherit; font-size: clamp(14px, 1.6vw, 16px); font-weight: 600;
  padding: 12px clamp(14px, 2.4vw, 26px); border-radius: 999px;
  color: var(--muted); background: transparent; white-space: nowrap;
  transition: color var(--t-base), transform var(--t-press);
  z-index: 1;
}
.sol-tab:hover { color: var(--fg); }
.sol-thumb {
  position: absolute; top: 5px; left: 0; bottom: 5px; border-radius: 999px; background: var(--tabOn);
  transition: transform 0.45s var(--ease-out), width 0.45s var(--ease-out);
}
.sol-tabs:not(.has-thumb) .sol-thumb { display: none; }
.sol-tab:focus-visible { outline-offset: -3px; }
.sol-tab[aria-selected="true"] { color: var(--tabOnFg); }
.sol-tabs:not(.has-thumb) .sol-tab[aria-selected="true"] { background: var(--tabOn); }
.sol-progress {
  position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px; border-radius: 2px;
  background: var(--teal); transform-origin: left; animation: progress 8s linear forwards;
}
.sol-stage {
  position: relative; border-radius: clamp(22px, 3vw, 32px); overflow: hidden;
  border: 1px solid var(--border); min-height: clamp(520px, 60vw, 600px);
  box-shadow: 0 40px 120px var(--shadow); background: #050817;
}
.sol-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1);
  transition: opacity 1s ease, transform 8s ease-out;
}
.sol-img.active { opacity: 1; transform: scale(1.06); }
.sol-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 8, 23, 0.1) 20%, rgba(5, 8, 23, 0.75)); }
.sol-body { position: relative; padding: clamp(14px, 3vw, 36px); min-height: clamp(520px, 60vw, 600px); display: flex; align-items: flex-end; }
.sol-card {
  max-width: 600px; width: 100%; padding: clamp(20px, 3vw, 32px); border-radius: 24px;
  background: rgba(10, 16, 36, 0.55); border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  color: #f2f5fa;
}
.sol-card-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.sol-card h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; letter-spacing: -0.02em; margin: 0; }
.sol-arrows { display: flex; gap: 8px; }
.sol-arrow {
  width: 44px; height: 44px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.sol-arrow { transition: background var(--t-fast), transform var(--t-press); }
.sol-arrow:hover { background: rgba(255, 255, 255, 0.18); }
.sol-arrow svg { transition: transform var(--t-base) var(--ease-out); }
.sol-card p { font-size: 15px; line-height: 1.65; color: rgba(242, 245, 250, 0.88); margin: 0; text-wrap: pretty; }

.swap { transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out), filter var(--t-base) var(--ease-out); }
.swap.is-swapping { opacity: 0; transform: translateY(6px); filter: blur(3px); transition-duration: 140ms; transition-timing-function: ease-in; }

/* ---------- Mobile app ---------- */
.app-head { margin-bottom: 48px; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.app-card {
  border-radius: 28px; overflow: hidden; box-shadow: 0 20px 50px var(--shadow);
  transition: transform 0.4s var(--ease);
}
.app-media { padding: 10px 10px 0; }
.app-media div {
  width: 100%; aspect-ratio: 4 / 3; border-radius: 20px; background: var(--chip);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.app-media img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
/* Phone screenshots rise out of the well and are cropped at its bottom edge */
.app-media .app-phone {
  aspect-ratio: 1 / 1; align-items: flex-start; padding-top: clamp(20px, 3vw, 32px);
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent);
  mask-image: linear-gradient(180deg, #000 72%, transparent);
}
.app-media .app-phone img {
  width: 64%; height: auto; max-height: none; border-radius: 18px 18px 0 0;
  filter: drop-shadow(0 18px 28px var(--shadow));
  transition: transform 0.5s var(--ease-out);
}
.app-text { padding: 22px 24px 28px; }
.app-title { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.app-tile { width: 40px; height: 40px; border-radius: 12px; }
.app-title h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.015em; margin: 0; }
.app-text p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---------- Testimonials ---------- */
#customers { padding-left: 0; padding-right: 0; }
.quotes-head { margin-bottom: 48px; padding: 0 20px; }
.quotes-head .h2 { margin-bottom: 14px; }
.quotes-head p { font-size: 19px; color: var(--muted); margin: 0; }
.quotes-mask {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.quotes-row { display: flex; gap: 18px; width: max-content; animation: marquee 90s linear infinite; padding: 10px 0 30px; }
.quote {
  margin: 0; width: min(400px, 80vw); flex: none; padding: clamp(22px, 3vw, 32px); border-radius: 28px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  box-shadow: 0 20px 50px var(--shadow);
}
.quote blockquote { margin: 0; font-size: clamp(17px, 1.8vw, 20px); line-height: 1.45; font-weight: 500; letter-spacing: -0.01em; text-wrap: pretty; }
.quote figcaption { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 16px; }
.quote-logo {
  width: 72px; height: 52px; border-radius: 14px; flex: none; padding: 6px;
  background: rgba(255, 255, 255, 0.94); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.quote-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.quotes-cta { display: flex; justify-content: center; margin-top: 24px; }
.quotes-cta .btn-cta { padding: 17px 30px; box-shadow: 0 12px 36px rgba(255, 54, 21, 0.4); }

/* ---------- Team ---------- */
#team { overflow: hidden; }
.team-head { max-width: 680px; margin: 0 auto 40px; }
.team-head .h2 { margin-bottom: 18px; }
.team-head .lead { margin: 0; }
.team-stage { position: relative; height: 386px; }
.team-card {
  position: absolute; left: 50%; top: 0; width: 260px; margin-left: -130px;
  transition: transform 0.7s var(--ease), opacity 0.7s, filter 0.7s;
  cursor: pointer; border-radius: 28px; overflow: hidden; padding: 0;
  border: 1px solid var(--border); box-shadow: 0 30px 70px var(--shadow); background: var(--chip);
}
.team-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.team-arrow {
  position: absolute; top: 42%; z-index: 20; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--glass2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: var(--fg); cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px var(--shadow);
}
.team-arrow { transition: background var(--t-fast), transform var(--t-press); }
.team-arrow:hover { background: var(--chipH); }
.team-info { text-align: center; margin-top: 28px; }
.team-info h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.02em; margin: 0 0 4px; }
.team-role { font-size: 16px; color: var(--muted); min-height: 22px; }
.team-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.team-dot {
  height: 8px; width: 8px; border-radius: 8px; border: none; padding: 0; cursor: pointer;
  background: var(--chipH); transition: width 0.4s, background 0.4s;
}
.team-dot[aria-current="true"] { width: 28px; background: var(--teal); }

/* ---------- Contact ---------- */
#contactUs { padding: clamp(60px, 9vw, 100px) 16px 40px; }
.contact {
  max-width: 1200px; margin: 0 auto; padding: clamp(24px, 5vw, 56px);
  border-radius: clamp(26px, 3vw, 36px);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  box-shadow: 0 40px 120px var(--shadow);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(32px, 5vw, 56px);
}
.contact h2 { font-size: clamp(38px, 5vw, 68px); line-height: 0.98; letter-spacing: -0.04em; font-weight: 700; margin: 0 0 32px; }
.contact-info { display: flex; flex-direction: column; gap: 22px; font-size: 16px; color: var(--muted); }
.contact-label { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 6px; }
.contact-info .phone-link { gap: 10px; font-size: 20px; }
.contact-info address { font-style: normal; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { padding: 12px 20px; border-radius: 999px; background: var(--chip); border: 1px solid var(--border); color: var(--fg); font-weight: 600; }
.chip { transition: background var(--t-fast), transform var(--t-press); }
.chip:hover { background: var(--chipH); }

.contact-form { display: flex; flex-direction: column; gap: 12px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.field {
  background: var(--input); border: 1px solid var(--border); border-radius: 16px; color: var(--fg);
  padding: 17px 18px; font: inherit; font-size: 16px; outline: none; min-width: 0; width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field:user-invalid { border-color: var(--accent2); }
.field:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(25, 195, 192, 0.15); }
textarea.field { resize: vertical; }
.send {
  background: var(--cta); color: #fff; border: none; border-radius: 16px; padding: 18px;
  font: inherit; font-weight: 700; font-size: 17px; cursor: pointer;
  box-shadow: 0 12px 36px rgba(255, 54, 21, 0.35);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: transform var(--t-base) var(--ease-out), opacity var(--t-base);
}
.send:disabled { opacity: 0.75; cursor: progress; transform: none; }
.send.is-loading::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff;
  animation: spin 0.7s linear infinite;
}
.form-status { margin: 0; min-height: 22px; font-size: 15px; color: var(--muted); }
.form-status.ok, .form-status.err { animation: statusIn var(--t-base) var(--ease-out); }
.form-status.ok { color: var(--accent); }
.form-status.err { color: var(--accent2); }

.footer {
  max-width: 1200px; margin: 0 auto; padding: 36px 8px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 14px; color: var(--soft);
}
.footer img { height: 26px; width: auto; }
.footer-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-meta a { color: var(--soft); text-decoration: underline; text-underline-offset: 3px; }
.footer-meta a:hover { color: var(--fg); }

/* Theme switch: cross-fade through a view transition where supported */
@supports (view-transition-name: none) {
  body { transition: none; }
}
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }

/* ---------- Pointer hovers & press feedback ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn-cta:hover, .hero-cta:hover, .login:hover { transform: translateY(-2px); }
  .send:not(:disabled):hover { transform: translateY(-1px); }
  .btn:hover .i { transform: translateX(3px); }
  .theme-toggle:hover { transform: scale(1.06); }
  .source:hover { transform: translateX(6px); }
  .app-card:hover { transform: translateY(-6px); }
  .app-card:hover .app-phone img { transform: translateY(-10px); }
  .sol-arrow:hover svg { transform: translateX(-2px); }
  #solNext:hover svg { transform: translateX(2px); }
  .hud-replay:hover .i { transform: rotate(-180deg); }
}
.btn:active, .hero-cta:active, .login:active, .send:not(:disabled):active, .chip:active,
.sol-tab:active, .sol-arrow:active, .team-arrow:active, .menu-btn:active, .theme-toggle:active, .hud-replay:active {
  transform: scale(0.97); transition-duration: var(--t-press);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  *, *::before, *::after { transition-property: color, background-color, border-color, opacity, outline-color !important; }
  [data-reveal].reveal-pending, .alerts-feed.pending .alert-card, .swap.is-swapping { transform: none; filter: none; }
  .send.is-loading::before { animation: spin 1.6s linear infinite !important; }
  .marquee-row, .quotes-row { animation: none !important; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-row [aria-hidden="true"], .quotes-row [aria-hidden="true"] { display: none; }
}
