/* ApexKube — mobile-first styles */

:root {
  --bg: #060b18;
  --bg-2: #0a1428;
  --surface: rgba(148, 180, 255, 0.045);
  --surface-2: rgba(148, 180, 255, 0.085);
  --border: rgba(148, 190, 255, 0.14);
  --border-strong: rgba(34, 211, 238, 0.45);
  --text: #e8eefa;
  --muted: #9cadca;
  --faint: #6c7d9c;
  --cyan: #22d3ee;
  --cyan-2: #67e8f9;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --grad: linear-gradient(120deg, #22d3ee 0%, #3b82f6 50%, #8b5cf6 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1160px;
  --header-h: 64px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 6.5vw + 0.6rem, 4.1rem); letter-spacing: -0.035em; line-height: 1.06; }
h2 { font-size: clamp(1.75rem, 3vw + 1rem, 2.6rem); }
h3 { font-size: 1.2rem; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
}
.narrow { max-width: 820px; }
.center { text-align: center; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--cyan); color: #04101f; padding: 10px 16px; border-radius: 8px;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: calc(12px + env(safe-area-inset-top)); }

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

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 16px/1 var(--font); text-decoration: none; white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: var(--grad); color: #04101f;
  box-shadow: 0 10px 30px -10px rgba(34, 211, 238, 0.6);
}
.btn-ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 17px; white-space: normal; text-align: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

@media (hover: hover) {
  .btn-primary:hover { box-shadow: 0 14px 38px -10px rgba(34, 211, 238, 0.8); transform: translateY(-1px); }
  .btn-ghost:hover { border-color: var(--border-strong); background: var(--surface-2); }
}

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding-top: env(safe-area-inset-top);
  background: rgba(6, 11, 24, 0.75);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark { font: 700 1.3rem/1 var(--font-display); letter-spacing: -0.02em; }
.wordmark span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-toggle {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-right: -8px;
  background: none; border: 0; border-radius: 12px; color: var(--text); cursor: pointer;
}
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close, .nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.site-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  padding: 8px max(20px, env(safe-area-inset-right)) 24px max(20px, env(safe-area-inset-left));
  background: rgba(6, 11, 24, 0.97);
  border-bottom: 1px solid var(--border);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
.nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
.site-nav ul { list-style: none; margin-bottom: 16px; }
.site-nav li a {
  display: flex; align-items: center; min-height: 54px;
  font-size: 1.15rem; font-weight: 500; text-decoration: none;
  border-bottom: 1px solid var(--border);
}
.site-nav a[aria-current="page"] { color: var(--cyan-2); }
.site-nav .btn { width: 100%; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; display: flex; align-items: center; gap: 28px;
    padding: 0; background: none; border: 0;
    opacity: 1; visibility: visible; transform: none;
  }
  .site-nav ul { display: flex; gap: 28px; margin: 0; }
  .site-nav li a { min-height: 44px; font-size: 0.97rem; border: 0; color: var(--muted); transition: color 0.2s; }
  .site-nav li a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
  .site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--cyan); }
  .site-nav .btn { width: auto; }
}

/* ---------- Backgrounds ---------- */
.bg-grid { position: relative; isolation: isolate; overflow: hidden; }
.bg-grid::before, .bg-grid::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bg-grid::before {
  background-image:
    linear-gradient(rgba(148, 190, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 190, 255, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 30%, transparent 75%);
}
.bg-grid::after {
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(139, 92, 246, 0.18), transparent 70%),
    radial-gradient(600px 400px at 10% 0%, rgba(34, 211, 238, 0.14), transparent 70%);
}

/* ---------- Hero ---------- */
.hero { padding: 48px 0 24px; }
.hero-grid { display: grid; gap: 40px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; margin-bottom: 22px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  color: var(--cyan-2); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6); animation: pulse 2s infinite;
}
.lead { font-size: clamp(1.05rem, 0.6vw + 0.95rem, 1.25rem); color: var(--muted); max-width: 40em; margin-bottom: 28px; }
.hero-points {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px;
  margin-top: 32px; color: var(--muted); font-size: 0.95rem;
}
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--cyan); }

.hero-visual { max-width: 460px; width: 100%; margin: 0 auto; }
.hero-svg { width: 100%; height: auto; overflow: visible; }
.hero-svg .orbit { fill: none; stroke: rgba(148, 190, 255, 0.14); stroke-dasharray: 2 7; }
.hero-svg .links path { stroke: rgba(34, 211, 238, 0.55); stroke-width: 1.5; fill: none; }
.hero-svg .flow { stroke-dasharray: 5 9; animation: flow 1.6s linear infinite; }
.hero-svg .float { animation: float 6s ease-in-out infinite; }
.hero-svg .apex-spark { fill: #ecfeff; filter: drop-shadow(0 0 6px #22d3ee); animation: twinkle 2.4s ease-in-out infinite; }
.hero-svg .node rect { fill: #0b1631; stroke: rgba(148, 190, 255, 0.35); stroke-width: 1; }
.hero-svg .node text { fill: var(--text); font: 600 13px var(--font); text-anchor: middle; }
.hero-svg .node-llm rect { fill: rgba(34, 211, 238, 0.14); stroke: var(--cyan); }
.hero-svg .node-llm text { fill: var(--cyan-2); }

@media (min-width: 960px) {
  .hero { padding: 88px 0 110px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 56px; }
  .hero-visual { max-width: none; }
}

.page-hero { padding: 48px 0 0; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw + 0.8rem, 3.5rem); max-width: 16em; }
@media (min-width: 960px) { .page-hero { padding: 96px 0 56px; } }

.pill-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-nav a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border: 1px solid var(--border); border-radius: 999px; background: var(--surface);
  font-size: 0.9rem; text-decoration: none; color: var(--muted);
}
.pill-nav a:hover { color: var(--text); border-color: var(--border-strong); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
@media (min-width: 960px) { .section { padding: 104px 0; } }
.section-alt {
  background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.06) 30%, rgba(139, 92, 246, 0.05) 70%, transparent);
}
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head p:not(.kicker) { color: var(--muted); }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; }
.section-head-row h2 { margin: 0; }
.kicker {
  margin-bottom: 10px; color: var(--cyan);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
}
.text-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  color: var(--cyan-2); font-weight: 600; text-decoration: none;
}

.split { display: grid; gap: 40px; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; } }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  position: relative; display: flex; flex-direction: column;
  padding: 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
  transition: border-color 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
}
.card h3 { margin-top: 18px; }
.card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 0; }
.card-link { text-decoration: none; }
.card-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 18px;
  color: var(--cyan-2); font-weight: 600; font-size: 0.95rem;
}
@media (hover: hover) {
  .card:hover { border-color: var(--border-strong); background: var(--surface-2); transform: translateY(-3px); }
  .card-link:hover .card-more .icon { transform: translateX(3px); }
}
.card-more .icon { transition: transform 0.2s ease; }

.card-icon {
  display: grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 14px;
  color: var(--cyan-2);
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.16), rgba(139, 92, 246, 0.16));
  border: 1px solid rgba(34, 211, 238, 0.28);
}
.card-icon .icon { width: 24px; height: 24px; }
.card-icon-lg { width: 60px; height: 60px; border-radius: 16px; }
.card-icon-lg .icon { width: 30px; height: 30px; }

.tag {
  display: inline-block; margin-bottom: 14px; padding: 4px 10px;
  border-radius: 999px; background: rgba(139, 92, 246, 0.16); color: #c4b5fd;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em;
}
.card > .tag { align-self: flex-start; }

.checklist { list-style: none; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.checklist .icon { color: var(--cyan); margin-top: 0.15em; }
.section-head .checklist { margin-top: 24px; }

/* ---------- Agent harness layers ---------- */
.layers { display: flex; flex-direction: column; }
.layer {
  padding: 22px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
}
.layer-core {
  border: 1px solid transparent;
  background: linear-gradient(#0c1730, #0c1730) padding-box, var(--grad) border-box;
  box-shadow: 0 20px 60px -24px rgba(34, 211, 238, 0.45);
}
.layer-head { display: flex; gap: 16px; align-items: flex-start; }
.layer h3 { margin: 2px 0 4px; }
.layer p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  padding: 5px 12px; border-radius: 999px; font-size: 0.82rem;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--muted);
}
.layer-core .chip { color: var(--cyan-2); border-color: rgba(34, 211, 238, 0.3); }
.connector { position: relative; height: 36px; margin-left: 46px; width: 2px; background: linear-gradient(var(--cyan), var(--violet)); opacity: 0.6; }
.connector span {
  position: absolute; left: -3px; top: 0; width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan-2); box-shadow: 0 0 10px var(--cyan);
  animation: travel 1.8s ease-in-out infinite;
}

/* ---------- Process steps ---------- */
.steps { list-style: none; display: grid; gap: 16px; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative; padding: 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border);
}
.step h3 { margin-top: 18px; }
.step p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.step-num {
  position: absolute; top: 20px; right: 22px;
  font: 800 2rem/1 var(--font-display); letter-spacing: -0.04em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.55;
}

/* ---------- Services page ---------- */
.service-list { display: grid; gap: 20px; }
.service {
  display: grid; gap: 28px; padding: 28px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
}
.service h2 { font-size: clamp(1.5rem, 2vw + 1rem, 2rem); margin-top: 20px; }
.service-intro > p { color: var(--muted); }
.best-for {
  margin: 20px 0 0; padding: 14px 16px; border-radius: var(--radius-sm);
  background: rgba(34, 211, 238, 0.07); border-left: 3px solid var(--cyan);
  font-size: 0.95rem;
}
.best-for strong { color: var(--cyan-2); }
.service .checklist { align-content: center; }
@media (min-width: 900px) {
  .service { grid-template-columns: 1fr 1fr; gap: 56px; padding: 44px; align-items: center; }
}

.table-wrap {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
}
.compare { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.compare th, .compare td { padding: 14px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-size: 0.9rem; color: var(--cyan-2); white-space: nowrap; }
.compare thead .icon { display: inline-block; vertical-align: -0.25em; margin-right: 4px; }
.compare tbody th { color: var(--text); font-weight: 600; }
.compare td { color: var(--muted); }
@media (min-width: 700px) { .compare th, .compare td { padding: 18px 24px; } }
/* Phones: one block per factor, with Local and Hosted side by side */
@media (max-width: 639px) {
  .compare thead { display: none; }
  .compare tr { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
  .compare tbody tr:last-child { border-bottom: 0; }
  .compare th, .compare td { border: 0; }
  .compare tbody th { grid-column: 1 / -1; padding: 16px 16px 2px; }
  .compare td { padding: 6px 16px 16px; }
  .compare td::before {
    content: attr(data-label); display: block; margin-bottom: 2px;
    color: var(--cyan-2); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em;
  }
}

.note {
  display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 0;
  color: var(--muted); font-size: 0.97rem;
}
.note .icon { color: var(--violet); margin-top: 0.2em; }
.note strong { color: var(--text); }

.faqs { border-top: 1px solid var(--border); }
.faq { border-bottom: 1px solid var(--border); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 14px 0; cursor: pointer; list-style: none;
  font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border); color: var(--cyan-2); font-size: 1.2rem; font-weight: 400;
  transition: transform 0.2s ease;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- Solutions page ---------- */
.solution-head { display: flex; gap: 16px; align-items: flex-start; }
.solution-head .tag { margin-bottom: 6px; }
.solution h2 { font-size: 1.35rem; margin: 0; }
.solution dl { display: grid; gap: 16px; margin: 22px 0 0; }
.solution dt {
  margin-bottom: 4px; color: var(--faint);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.solution dd { margin: 0; color: var(--muted); font-size: 0.97rem; }
.solution .outcome {
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: rgba(34, 211, 238, 0.07); border: 1px solid rgba(34, 211, 238, 0.2);
}
.solution .outcome dt { color: var(--cyan); }
.solution .outcome dd { color: var(--text); }

/* ---------- About page ---------- */
.prose p:not(.kicker) { color: var(--muted); }
.name-cards { display: grid; gap: 16px; }
.name-word { display: block; font: 800 2.4rem/1 var(--font-display); letter-spacing: -0.04em; margin-bottom: 12px; }

.contact-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 40px 22px; border-radius: 24px;
  border: 1px solid transparent;
  background:
    radial-gradient(500px 260px at 50% 0%, rgba(34, 211, 238, 0.14), transparent 70%) padding-box,
    linear-gradient(#0b1530, #0b1530) padding-box,
    var(--grad) border-box;
  box-shadow: 0 30px 80px -30px rgba(34, 211, 238, 0.4);
}
.contact-card .card-icon { margin-bottom: 18px; }
.contact-card > p:not(.kicker) { color: var(--muted); max-width: 34em; margin-bottom: 26px; }
.contact-card .btn { max-width: 100%; }
.contact-tips { width: 100%; max-width: 520px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); text-align: left; }
.contact-tips h3 { font-size: 1rem; color: var(--muted); }
.contact-tips .checklist { font-size: 0.97rem; }
@media (min-width: 700px) { .contact-card { padding: 56px 48px; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  padding: 44px 22px; border-radius: 24px;
  background:
    radial-gradient(500px 300px at 15% 0%, rgba(34, 211, 238, 0.22), transparent 70%),
    radial-gradient(500px 300px at 90% 100%, rgba(139, 92, 246, 0.25), transparent 70%),
    #0b1530;
  border: 1px solid var(--border);
}
.cta-band p { color: var(--muted); max-width: 36em; margin: 0 auto 26px; }
.cta-band .btn-row { justify-content: center; }
@media (min-width: 700px) { .cta-band { padding: 72px 48px; } }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 52px 0 calc(28px + env(safe-area-inset-bottom));
  background: #050915;
  font-size: 0.95rem;
}
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand p { color: var(--muted); margin-top: 14px; max-width: 26em; }
.site-footer h3 {
  font-size: 0.78rem; color: var(--faint); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px;
}
.site-footer ul { list-style: none; }
.site-footer li a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px;
  color: var(--muted); text-decoration: none; word-break: break-word;
}
.site-footer li a:hover { color: var(--text); }
.footer-grid > div:last-child { grid-column: 1 / -1; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--faint); font-size: 0.85rem; }
.footer-bottom p { margin: 0; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 0.8fr 1.1fr; }
  .footer-brand, .footer-grid > div:last-child { grid-column: auto; }
}

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}
@keyframes flow { to { stroke-dashoffset: -28; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@keyframes travel { 0% { top: 0; opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { top: calc(100% - 8px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
