/* ===================================================================
   RESITAL TRAVEL -- Design System: Brutalist Mono / Flat Hairline
   Palette: Teal & Coral (light, cool) | Shape: Sharp (0-4px)
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* --- TOKENS -------------------------------------------------------- */
:root {
  --base: #F0F6F6;
  --text: #0B2E33;
  --heading: #081F23;
  --surface: #FFFFFF;
  --surface-2: #E4EEEE;
  --accent: #0D7C80;
  --coral: #E8553D;
  --muted: #5B7D82;
  --line: rgba(11, 46, 51, 0.12);
  --line-2: rgba(11, 46, 51, 0.20);
  --focus: rgba(13, 124, 128, 0.22);
  --display: 'Space Mono', monospace;
  --body: 'Outfit', sans-serif;
  --maxw: 1200px;
  --r: 2px;
  --r-md: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-snap: cubic-bezier(0.2, 0, 0, 1);
}

/* --- RESET --------------------------------------------------------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; }

/* --- INLINE ICON GUARD --------------------------------------------- */
li > svg, p > svg, a > svg, button > svg, span > svg, td > svg, label > svg {
  width: 1.1em; height: 1.1em; flex: none; vertical-align: -0.15em;
}

/* --- TYPOGRAPHY ---------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  font-weight: 700;
  color: var(--heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(1.75rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { text-wrap: pretty; max-width: 68ch; }
.label {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* --- LAYOUT -------------------------------------------------------- */
.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}
section {
  padding-block: 80px;
}
section.alt {
  background: var(--surface-2);
}

/* --- SCROLL PROGRESS BAR ------------------------------------------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 1000;
  background: var(--coral);
  transform-origin: left;
  transform: scaleX(0);
  width: 100%;
  pointer-events: none;
}

/* --- NAV (Centred Links) ------------------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s var(--ease-snap);
}
.nav.scrolled {
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 24px;
  height: 64px;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 700;
  font-size: 1.05rem; color: var(--heading);
  text-decoration: none;
}
.nav-logo svg { width: 28px; height: 28px; }
.nav-links {
  display: flex; justify-content: center; gap: 4px;
}
.nav-links a {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: var(--r);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
  position: relative;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--heading);
  background: var(--surface-2);
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 16px;
  background: var(--coral);
  color: #fff;
  border: 1px solid var(--coral);
  border-radius: var(--r);
  text-decoration: none;
  transition: transform 0.12s var(--ease-snap), background 0.15s;
}
.nav-cta:hover { background: #d14a32; text-decoration: none; }
.nav-cta:active { transform: scale(0.97); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  grid-column: 3; /* always in right slot regardless of siblings */
  width: 40px; height: 40px;
  background: none; border: 1px solid var(--line);
  border-radius: var(--r);
  align-items: center; justify-content: center;
  color: var(--heading);
}
.nav-toggle svg { width: 20px; height: 20px; }

/* Full-screen mobile menu */
.nav-menu {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: var(--surface);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.2s var(--ease-snap);
}
.nav-menu.open {
  display: flex;
  opacity: 1;
}
.nav-menu a {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--heading);
  padding: 12px 24px;
  border-radius: var(--r);
  text-decoration: none;
  transition: background 0.15s;
}
.nav-menu a:hover { background: var(--surface-2); }
.nav-menu .nav-menu-close {
  position: absolute; top: 16px; right: 24px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line);
  border-radius: var(--r); color: var(--heading);
}
.nav-menu .nav-menu-close svg { width: 20px; height: 20px; }

/* --- HERO ---------------------------------------------------------- */
.hero {
  padding: 80px 0 60px;
  text-align: center;
}
.hero-headline {
  margin-bottom: 16px;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* --- BUTTONS ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 12px 24px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--surface);
  color: var(--heading);
  text-decoration: none;
  transition: transform 0.12s var(--ease-snap), background 0.15s, border-color 0.15s;
  position: relative;
  overflow: hidden;
}
.btn:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
}
.btn-primary:hover { background: #d14a32; border-color: #d14a32; color: #fff; }
.btn-lg {
  padding: 16px 40px;
  font-size: 0.95rem;
}
.btn-full { width: 100%; justify-content: center; }

/* Click ripple (spawned by JS) */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: scale(0);
  animation: ripple-out 0.4s var(--ease-snap);
  pointer-events: none;
}
@keyframes ripple-out {
  to { transform: scale(3); opacity: 0; }
}

/* --- TABBED CONSOLE (hero device) ---------------------------------- */
.console {
  max-width: 900px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: visible;
  position: relative;
}
/* Wrapper so float-chips can escape the console without overflow:hidden issues */
.console-outer {
  position: relative;
  max-width: 936px;
  margin-inline: auto;
  padding: 16px 18px;
}
.console-outer .console {
  max-width: 100%;
  margin: 0;
}
/* ci-body: wraps ci-name + ci-meta in a flex column */
.ci-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.console-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.console-tag {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.console-tabs {
  margin-left: auto;
  display: inline-flex; gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.console-tabs button {
  border: none;
  padding: 6px 16px;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  background: transparent;
  transition: background 0.12s, color 0.12s;
  border-right: 1px solid var(--line);
}
.console-tabs button:last-child { border-right: none; }
.console-tabs button[aria-selected="true"] {
  background: var(--accent);
  color: #fff;
}
.console-tabs button:hover:not([aria-selected="true"]) {
  background: var(--surface-2);
}
.console-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 280px;
}
.console-list {
  border-right: 1px solid var(--line);
  padding: 12px 0;
}
.console-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%;
  padding: 10px 16px;
  border: none; background: none;
  font: inherit;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: background 0.12s;
  border-bottom: 1px solid var(--line);
}
.console-item:last-child { border-bottom: none; }
.console-item:hover { background: var(--surface-2); }
.console-item.active {
  background: var(--surface-2);
  border-left: 2px solid var(--accent);
}
.console-item .ci-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex: none;
}
.console-item .ci-name {
  font-weight: 600;
  font-size: 0.88rem;
}
.console-item .ci-meta {
  font-size: 0.75rem;
  color: var(--muted);
}
.console-detail {
  padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.console-detail-title {
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--heading);
}
.console-detail-body {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}
.console-detail-tags {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.console-detail-tags span {
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--accent);
  background: transparent;
}
/* Float chips (gentle float animation for Tabbed Console hero) */
.float-chip {
  position: absolute;
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--heading);
  white-space: nowrap;
  z-index: 2;
  animation: chip-float 3s ease-in-out infinite alternate;
}
.float-chip.fc-1 { top: -14px; right: -18px; }
.float-chip.fc-2 { bottom: -14px; left: -18px; }
.float-chip .fc-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  margin-right: 6px;
}
@keyframes chip-float {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

/* --- PROOF SECTION (metrics-free) ---------------------------------- */
.proof {
  padding-block: 60px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-inner {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.proof-item {
  text-align: center;
  max-width: 200px;
}
.proof-item .pi-icon {
  width: 40px; height: 40px;
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--accent);
}
.proof-item .pi-icon svg { width: 20px; height: 20px; }
.proof-item .pi-label {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--heading);
}
.proof-item .pi-desc {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 4px;
}

/* --- ALTERNATING ROWS --------------------------------------------- */
.alt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-block: 64px;
  border-bottom: 1px solid var(--line);
}
.alt-row:last-child { border-bottom: none; }
.alt-row.reverse .ar-content { order: 2; }
.alt-row.reverse .ar-visual { order: 1; }
.ar-content .label { margin-bottom: 12px; }
.ar-content h3 { margin-bottom: 12px; }
.ar-content p { color: var(--muted); margin-bottom: 16px; }
.ar-content .ar-list {
  display: flex; flex-direction: column; gap: 10px;
}
.ar-content .ar-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.92rem;
  color: var(--text);
}
.ar-content .ar-list li svg {
  flex: none; width: 18px; height: 18px;
  color: var(--accent);
  margin-top: 2px;
}
.ar-visual {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.ar-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* --- USE CASE GRID ------------------------------------------------- */
.uc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.uc-card {
  background: var(--surface);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px;
  transition: background 0.15s;
}
.uc-card:hover { background: var(--surface-2); }
.uc-card .uc-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--accent);
}
.uc-card .uc-icon svg { width: 18px; height: 18px; }
.uc-card h4 {
  font-size: 0.95rem;
  color: var(--heading);
}
.uc-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

/* --- FAQ ----------------------------------------------------------- */
.faq-list {
  max-width: 720px;
  margin-inline: auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  font-family: var(--display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--heading);
  text-align: left;
  cursor: pointer;
  gap: 16px;
}
.faq-q svg {
  flex: none; width: 18px; height: 18px;
  color: var(--muted);
  transition: transform 0.2s var(--ease-snap);
}
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease-snap);
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding-bottom: 20px;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

/* --- CTA BAND ------------------------------------------------------ */
.cta-band {
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--line);
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band p {
  color: var(--muted);
  margin-inline: auto;
  margin-bottom: 32px;
}
.cta-band .btn-primary.btn-lg {
  display: inline-flex;
  min-width: 280px;
  justify-content: center;
}

/* --- FOOTER -------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
}
.footer-brand {
  font-family: var(--display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 8px;
}
.footer-desc {
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 320px;
}
.footer-links {
  display: flex; gap: 20px; flex-wrap: wrap;
}
.footer-links a {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 2px;
}
.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.2s var(--ease-snap);
}
.footer-links a:hover { color: var(--accent); text-decoration: none; }
.footer-links a:hover::after { width: 100%; }
.footer-copy {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted);
}

/* --- FORMS (themed globally by element) ----------------------------- */
input, textarea, select {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--body);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--focus);
}
input::placeholder, textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}
textarea { resize: vertical; min-height: 120px; }
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%235B7D82' stroke-width='1.5'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  padding-right: 32px;
}
label {
  display: block;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--heading);
  margin-bottom: 6px;
}
.form-group { margin-bottom: 18px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* Form success */
.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}
.form-success.show { display: block; }
.form-success h3 {
  margin-bottom: 12px;
  color: var(--accent);
}
.form-success p {
  color: var(--muted);
  margin-inline: auto;
}

/* --- FEATURE CARDS (content pages) --------------------------------- */
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 10px;
  transition: background 0.15s;
  height: 100%;
}
.feature:hover { background: var(--surface-2); }
.feature .f-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--accent);
  transition: transform 0.15s var(--ease-snap);
}
.feature:hover .f-icon { transform: scale(1.08); }
.feature .f-icon svg { width: 18px; height: 18px; }
.feature h4 { font-size: 0.95rem; }
.feature p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}
.feature .btn { margin-top: auto; align-self: flex-start; }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.feature-grid .feature {
  border: none;
  border-radius: 0;
}

/* --- STEPS --------------------------------------------------------- */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.step:last-child { border-bottom: none; }
.step-num {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  border-right: 1px solid var(--line);
  background: var(--surface-2);
}
.step-content {
  padding: 24px;
}
.step-content h4 { margin-bottom: 6px; }
.step-content p {
  font-size: 0.88rem;
  color: var(--muted);
}

/* --- PROSE (content pages) ----------------------------------------- */
.prose ul {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
  margin-top: 18px;
}
.prose li {
  position: relative;
  padding-left: 22px;
  line-height: 1.55;
  color: var(--muted);
}
.prose li::before {
  content: "";
  position: absolute;
  left: 3px; top: 0.62em;
  width: 6px; height: 6px;
  border-radius: 0;
  background: var(--accent);
}
.prose li strong { color: var(--text); }

/* --- SLIDER/CAROUSEL ----------------------------------------------- */
[data-slider] {
  position: relative;
}
[data-slider-track] {
  display: flex;
  gap: 1px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
[data-slider-track]::-webkit-scrollbar { display: none; }
[data-slider-track] > * {
  scroll-snap-align: start;
  flex: 0 0 calc(33.333% - 0.66px);
  min-width: 280px;
  grid-column: auto !important;
}
.slider-nav {
  display: flex; gap: 4px;
}
.slider-nav button {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  color: var(--heading);
  transition: background 0.12s, opacity 0.12s;
}
.slider-nav button:hover { background: var(--surface-2); }
.slider-nav button:disabled { opacity: 0.3; cursor: default; }
.slider-nav button svg { width: 16px; height: 16px; }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.section-header h2 { margin: 0; }

/* --- SCROLL REVEAL ------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s var(--ease-snap), transform 0.3s var(--ease-snap);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- FOCUS VISIBLE ------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* --- RESPONSIVE ---------------------------------------------------- */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-inner { grid-template-columns: auto 1fr auto; }
  .console-body { grid-template-columns: 1fr; }
  .console-list { border-right: none; border-bottom: 1px solid var(--line); }
  .alt-row { grid-template-columns: 1fr; gap: 32px; }
  .alt-row.reverse .ar-content { order: 1; }
  .alt-row.reverse .ar-visual { order: 2; }
  .uc-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { margin-top: 16px; }
  .form-row { grid-template-columns: 1fr; }
  [data-slider-track] > * {
    flex: 0 0 calc(50% - 0.5px);
    min-width: 260px;
  }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding-block: 56px; }
  h1 { font-size: clamp(1.5rem, 5vw, 2.2rem); }
  h2 { font-size: clamp(1.2rem, 4vw, 1.7rem); }
  .wrap { padding-inline: 16px; }
  .hero { padding: 56px 0 40px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .console { margin-inline: 0; }
  .console-detail { padding: 16px; }
  .float-chip { display: none; }
  .proof-inner { gap: 32px; }
  .alt-row { padding-block: 40px; }
  .uc-grid { border-radius: var(--r); }
  .cta-band { padding: 56px 0; }
  .cta-band .btn-primary.btn-lg { min-width: auto; width: 100%; }
  .step { grid-template-columns: 48px 1fr; }
  [data-slider-track] > * {
    flex: 0 0 85%;
  }
}

/* --- UTILITY ------------------------------------------------------- */
.hidden { display: none !important; }

/* --- REDUCED MOTION ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .float-chip { animation: none; }
  .scroll-progress { display: none; }
}
