/* ==========================================================================
   RTO SHARED SITE CHASSIS — site.css
   Load on every page. Page-specific layout/content/pulse-config stays inline
   per page; everything here is the reusable mechanics + design system.
   ========================================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { margin: 0; background: #05070c; overflow-x: hidden; }

/* ---- Shared keyframe animations ---- */
@keyframes rto-pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(1.3); } }
@keyframes rto-scan { 0% { transform: translateY(-100%); } 100% { transform: translateY(100%); } }
@keyframes rto-float { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-16px) rotate(-1deg); } }

/* ---- Base link transition ---- */
a { transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease; }

/* ---- Frosted panel / card system (reusable on any page, any section) ---- */
.rto-portal-link:hover { border-color: #45d9e8 !important; color: #eef2f7 !important; }
.rto-cta-nav:hover { background: #6ee7f2 !important; }
.rto-cta-hero:hover { box-shadow: 0 0 30px rgba(69,217,232,0.4); }
.rto-card:hover { transform: translateY(-4px); }
.rto-card-cyan:hover { border-color: #45d9e8 !important; }
.rto-card-purple:hover { border-color: #9b6bf2 !important; }
.rto-card-green:hover { border-color: #6ee7a8 !important; }

/* ---- Top-bar category tabs ---- */
.rto-tab { color: #c2cbdb; text-decoration: none; font-weight: 500; position: relative; padding-bottom: 2px; transition: color 0.2s ease; }
.rto-tab::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right 0.25s ease; }
.rto-tab:hover::after { right: 0; }
.rto-tab-cyan:hover { color: #45d9e8 !important; }
.rto-tab-purple:hover { color: #9b6bf2 !important; }
.rto-tab-green:hover { color: #6ee7a8 !important; }

/* ---- Fixed rail + dynamically-generated nav dots ---- */
#rto-rail-fixed {
  position: fixed; top: 0; left: 0; width: 88px; height: 100vh;
  background: rgba(8,11,18,0.88); backdrop-filter: blur(10px);
  border-right: 1px solid rgba(69,217,232,0.18);
  display: flex; flex-direction: column; align-items: center; padding: 0;
  z-index: 10;
}
#rto-rail-fixed .rto-rail-logo {
  position: relative; width: 100%; height: 64px; display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid rgba(69,217,232,0.18); flex-shrink: 0;
}
#rto-rail-fixed .rto-rail-logo-glow {
  position: absolute; width: 70px; height: 70px;
  background: radial-gradient(circle, rgba(69,217,232,0.35), transparent 70%);
  filter: blur(4px); animation: rto-pulse 3s ease-in-out infinite;
}
#rto-rail-fixed .rto-rail-logo img {
  position: relative; width: 38px; height: 38px; object-fit: cover;
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  border: 1px solid rgba(69,217,232,0.5); box-shadow: 0 0 14px rgba(69,217,232,0.5);
}
#rto-navdots { display: flex; flex-direction: column; gap: 26px; align-items: center; padding-top: 32px; }
.rto-navdot { appearance: none; background: none; border: none; padding: 8px; margin: -8px; cursor: pointer; }
.rto-navdot-inner {
  display: block; width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.rto-navdot:hover .rto-navdot-inner { transform: scale(1.3); }
.rto-navdot.rto-navdot--active .rto-navdot-inner { background: #45d9e8; box-shadow: 0 0 12px #45d9e8; }

/* ---- Responsive breakpoint: below this, the bespoke mobile markup takes over ---- */
@media (max-width: 680px) {
  #rto-scale-wrap { display: none !important; }
  #rto-mobile { display: block !important; }
  #rto-fixed-bg { display: none !important; }
  #rto-rail-fixed { display: none !important; }
}

/* ---- Scroll reveal system ----
   Base handles the opacity fade + timing; pick ONE variant class per element
   to control how it moves while fading. Mix variants across a page freely —
   that's what makes each page's motion feel distinct. */
.rto-reveal {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              transform 0.7s cubic-bezier(0.16,1,0.3,1),
              filter 0.7s cubic-bezier(0.16,1,0.3,1);
}
.rto-reveal.rto-inview { opacity: 1; }

.rto-reveal--rise { transform: translateY(28px); }
.rto-reveal--rise.rto-inview { transform: translateY(0); }

.rto-reveal--scale { transform: scale(0.92); }
.rto-reveal--scale.rto-inview { transform: scale(1); }

.rto-reveal--slide-left { transform: translateX(-40px); }
.rto-reveal--slide-left.rto-inview { transform: translateX(0); }

.rto-reveal--slide-right { transform: translateX(40px); }
.rto-reveal--slide-right.rto-inview { transform: translateX(0); }

.rto-reveal--blur { filter: blur(8px); }
.rto-reveal--blur.rto-inview { filter: blur(0); }

.rto-reveal--drop { transform: translateY(-24px); }
.rto-reveal--drop.rto-inview { transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .rto-reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
}

/* ==========================================================================
   INNER-PAGE CHASSIS — shared top bar, page layout, and content components
   used by every page other than the bespoke homepage canvas. Same palette/
   fonts/rail as index.html, but content flows normally (grid/flexbox +
   media queries) instead of the homepage's fixed-canvas scale trick, since
   inner pages are standard content pages rather than art-directed layouts.
   ========================================================================== */

:root {
  --rto-cyan: #45d9e8;
  --rto-purple: #9b6bf2;
  --rto-green: #6ee7a8;
  --rto-ink: #eef2f7;
  --rto-body: #c2cbdb;
  --rto-muted: #a9b5c9;
  --rto-faint: #7c869e;
}

/* ---- Contrast scrim: dims the animated circuit background uniformly so
   text sitting directly on it (outside frosted panels) stays easy to read. ---- */
#rto-fixed-bg::after {
  content: ''; position: absolute; inset: 0; background: rgba(5,7,12,0.4); pointer-events: none;
}

/* ---- Fixed top bar (desktop, >680px) ---- */
.rto-topbar {
  position: fixed; top: 0; left: 88px; right: 0; height: 64px; z-index: 20;
  background: rgba(8,11,18,0.88); backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(69,217,232,0.18);
  display: flex; align-items: stretch;
}
.rto-topbar-tabs {
  flex: 1; display: flex; align-items: center; gap: 26px; padding: 0 32px;
  border-right: 1px solid rgba(69,217,232,0.14);
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.13em; text-transform: uppercase;
  overflow-x: auto;
}
.rto-topbar-actions { display: flex; align-items: center; gap: 16px; padding: 0 32px; flex-shrink: 0; }
.rto-portal-link {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #9db0cc; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border: 1px solid rgba(69,217,232,0.3); border-radius: 4px; padding: 7px 14px; white-space: nowrap;
}
.rto-cta-nav {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 13px; color: #0a0e17; background: #45d9e8;
  border-radius: 4px; padding: 9px 18px; text-decoration: none; white-space: nowrap;
}
.rto-tab-active { color: #eef2f7 !important; }
.rto-tab-active::after { right: 0 !important; background: currentColor; }
.rto-tab-cyan.rto-tab-active { color: var(--rto-cyan) !important; }
.rto-tab-purple.rto-tab-active { color: var(--rto-purple) !important; }
.rto-tab-green.rto-tab-active { color: var(--rto-green) !important; }

/* ---- Mobile top bar + menu (<=680px) ---- */
#rto-mobile-topbar { display: none; }
.rto-mobile-menu { display: none; }

@media (max-width: 680px) {
  .rto-topbar { display: none !important; }
  #rto-mobile-topbar {
    display: flex; position: fixed; top: 0; left: 0; right: 0; height: 60px; z-index: 30;
    align-items: center; justify-content: space-between; padding: 0 18px;
    background: rgba(8,11,18,0.92); backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(69,217,232,0.18);
  }
  #rto-mobile-topbar .rto-mobile-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
  #rto-mobile-topbar .rto-mobile-logo img {
    width: 28px; height: 28px; object-fit: cover;
    clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
    border: 1px solid rgba(69,217,232,0.5); box-shadow: 0 0 10px rgba(69,217,232,0.5);
  }
  #rto-mobile-topbar .rto-mobile-logo span {
    font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--rto-faint); letter-spacing: 0.12em; text-transform: uppercase;
  }
  .rto-hamburger {
    appearance: none; background: none; border: 1px solid rgba(69,217,232,0.3); border-radius: 4px;
    width: 38px; height: 34px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
    cursor: pointer; padding: 0;
  }
  .rto-hamburger span { display: block; width: 18px; height: 2px; background: #eef2f7; transition: transform .2s ease, opacity .2s ease; }
  .rto-hamburger.rto-hamburger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .rto-hamburger.rto-hamburger--open span:nth-child(2) { opacity: 0; }
  .rto-hamburger.rto-hamburger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .rto-mobile-menu {
    display: block; position: fixed; top: 60px; left: 0; right: 0; z-index: 29;
    background: rgba(8,11,18,0.97); backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(69,217,232,0.18);
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height .3s ease, opacity .3s ease;
  }
  .rto-mobile-menu.rto-mobile-menu--open { max-height: 480px; opacity: 1; }
  .rto-mobile-menu a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 22px; color: #dfe4ee; text-decoration: none;
    font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .rto-mobile-menu a.rto-tab-active { color: var(--rto-cyan); }
  .rto-mobile-menu a:last-child { border-bottom: none; }
}

/* ---- Page content wrapper (normal flow, not the scale canvas) ---- */
.rto-page { position: relative; z-index: 1; margin-left: 88px; padding-top: 64px; font-family: 'Inter', sans-serif; color: #eef2f7; }
@media (max-width: 680px) {
  .rto-page { margin-left: 0; padding-top: 60px; }
}

.rto-section { padding: 90px 64px; position: relative; max-width: 1560px; margin-left: auto; margin-right: auto; }
.rto-section--tight { padding: 56px 64px; }
@media (max-width: 900px) { .rto-section, .rto-section--tight { padding: 56px 24px; } }
/* --alt bands keep the SAME centering/max-width as every other .rto-section (inherited,
   not overridden) — the tint/border instead runs full-bleed via a ::before that's sized
   to the viewport independently of the section's own (centered, capped) box. This avoids
   fighting individual children's own margin rules, which is what caused headings/eyebrows
   to end up pinned left while the grid below centered correctly. */
.rto-section--alt { position: relative; }
.rto-section--alt::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  background: rgba(255,255,255,0.02); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05);
  z-index: -1;
}

.rto-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  margin-bottom: 14px; text-shadow: 0 2px 10px rgba(0,0,0,0.9);
}
.rto-eyebrow--cyan { color: var(--rto-cyan); }
.rto-eyebrow--purple { color: var(--rto-purple); }
.rto-eyebrow--green { color: var(--rto-green); }

.rto-h1 {
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.05;
  margin: 0 0 18px;
  background: linear-gradient(120deg,#eef2f7 0%, #45d9e8 45%, #9b6bf2 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.rto-h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 10px; text-shadow: 0 2px 16px rgba(0,0,0,0.7); }
.rto-h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.2rem; margin: 0 0 10px; }
.rto-sub { font-size: 1rem; color: var(--rto-body); line-height: 1.7; max-width: 620px; text-shadow: 0 1px 8px rgba(0,0,0,0.55); }

/* ---- Page hero ---- */
.rto-page-hero { padding: 72px 64px 44px; position: relative; max-width: 1560px; margin-left: auto; margin-right: auto; }
@media (max-width: 900px) { .rto-page-hero { padding: 48px 24px 28px; } }

/* ---- Frosted panel system ---- */
.rto-panel {
  border: 1px solid rgba(255,255,255,0.14); border-radius: 2px;
  background: rgba(10,14,20,0.85); backdrop-filter: blur(2px);
  padding: 28px; box-sizing: border-box;
}
.rto-panel--cyan { border-color: rgba(69,217,232,0.35); }
.rto-panel--purple { border-color: rgba(155,107,242,0.35); }
.rto-panel--green { border-color: rgba(110,231,168,0.35); }
a.rto-panel { display: block; text-decoration: none; color: inherit; transition: transform .2s ease, border-color .2s ease; }
a.rto-panel:hover { transform: translateY(-3px); }
a.rto-panel.rto-panel--cyan:hover { border-color: var(--rto-cyan); }
a.rto-panel.rto-panel--purple:hover { border-color: var(--rto-purple); }
a.rto-panel.rto-panel--green:hover { border-color: var(--rto-green); }

.rto-icon-badge {
  width: 46px; height: 46px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(69,217,232,0.3); background: rgba(69,217,232,0.08); margin-bottom: 16px; flex-shrink: 0;
}
.rto-icon-badge--purple { border-color: rgba(155,107,242,0.3); background: rgba(155,107,242,0.08); }
.rto-icon-badge--green { border-color: rgba(110,231,168,0.3); background: rgba(110,231,168,0.08); }

/* ---- Buttons ---- */
.rto-btn {
  display: inline-flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer; border: none;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px; border-radius: 4px; padding: 15px 26px;
}
.rto-btn--primary { color: #0a0e17; background: linear-gradient(120deg,#45d9e8,#9b6bf2); }
.rto-btn--primary:hover { box-shadow: 0 0 30px rgba(69,217,232,0.4); }
.rto-btn--outline { color: #eef2f7; background: transparent; border: 1px solid rgba(255,255,255,0.25); }
.rto-btn--outline:hover { border-color: #45d9e8; color: #45d9e8; }

/* ---- Service row (alternating image/content) ---- */
.rto-service-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; margin-bottom: 64px; }
.rto-service-row:last-child { margin-bottom: 0; }
.rto-service-row.reverse .rto-service-media { order: -1; }
.rto-service-media {
  position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 3/2;
  border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.02);
  max-width: 480px; margin-left: auto; margin-right: auto;
}
.rto-service-media img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; transition: transform .5s ease; }
.rto-service-media:hover img { transform: scale(1.03); }
@media (max-width: 900px) {
  .rto-service-row, .rto-service-row.reverse { grid-template-columns: 1fr; gap: 24px; }
  .rto-service-row.reverse .rto-service-media { order: 0; }
  .rto-service-media, .rto-service-row.reverse .rto-service-media { max-width: 420px; margin-left: auto; margin-right: auto; }
}

.rto-feature-list { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.rto-feature-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--rto-muted); font-size: 0.95rem; line-height: 1.6; text-shadow: 0 1px 8px rgba(0,0,0,0.55); }
.rto-feature-list li::before { content: '▸'; color: var(--rto-cyan); flex-shrink: 0; margin-top: 1px; }

.rto-tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.rto-tag {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px; font-family: 'JetBrains Mono', monospace;
  background: rgba(69,217,232,0.1); border: 1px solid rgba(69,217,232,0.25); color: var(--rto-cyan);
}
.rto-tag--purple { background: rgba(155,107,242,0.1); border-color: rgba(155,107,242,0.25); color: #cbb8f7; }
.rto-tag--green { background: rgba(110,231,168,0.1); border-color: rgba(110,231,168,0.25); color: #a8ecc6; }

/* ---- Grids ---- */
.rto-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rto-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rto-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rto-grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
@media (max-width: 900px) { .rto-grid-2, .rto-grid-3, .rto-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .rto-grid-2, .rto-grid-3, .rto-grid-4 { grid-template-columns: 1fr; } }

/* ---- Stat band ---- */
.rto-stats-band {
  display: flex; flex-wrap: wrap; gap: 40px; justify-content: center; align-items: baseline;
  padding: 40px 32px; border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
.rto-stat { text-align: center; }
.rto-stat-num {
  display: block; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 2.2rem;
  background: linear-gradient(120deg,#45d9e8,#9b6bf2); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.rto-stat-label { display: block; font-size: 0.82rem; color: var(--rto-muted); margin-top: 4px; }

/* ---- Process steps ---- */
.rto-process-row { display: flex; align-items: flex-start; gap: 18px; flex-wrap: wrap; justify-content: center; }
.rto-process-step { width: 220px; text-align: center; }
.rto-process-num {
  width: 40px; height: 40px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace; font-size: 13px; border: 1px solid var(--rto-cyan); color: var(--rto-cyan);
}
.rto-process-arrow { color: rgba(255,255,255,0.25); font-size: 1.4rem; padding-top: 8px; }
@media (max-width: 700px) { .rto-process-arrow { display: none; } }

/* ---- Team ---- */
.rto-team-card { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.rto-team-photo { border-radius: 8px; overflow: hidden; border: 1px solid rgba(69,217,232,0.25); background: rgba(255,255,255,0.02); }
.rto-team-photo img { width: 100%; display: block; }
.rto-team-social { display: flex; gap: 12px; margin-top: 16px; }
.rto-team-social a { color: var(--rto-muted); display: flex; }
.rto-team-social a:hover { color: var(--rto-cyan); }
.rto-team-social svg { width: 20px; height: 20px; }
@media (max-width: 700px) { .rto-team-card { grid-template-columns: 1fr; } .rto-team-photo { max-width: 220px; } }

.rto-team-compact { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.rto-team-compact img { width: 140px; height: 140px; object-fit: cover; border-radius: 50%; border: 1px solid rgba(69,217,232,0.3); }

.rto-cert-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.rto-cert-item {
  display: flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 100px;
  border: 1px solid rgba(69,217,232,0.3); background: rgba(10,14,20,0.85); backdrop-filter: blur(2px);
  font-size: 0.92rem; font-weight: 600; color: var(--rto-ink); text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}
.rto-cert-item span { font-size: 1.15rem; }
.rto-cert-item:nth-child(3n+2) { border-color: rgba(155,107,242,0.35); }
.rto-cert-item:nth-child(3n+3) { border-color: rgba(110,231,168,0.35); }

/* ---- Forms ---- */
.rto-form-group { margin-bottom: 20px; }
.rto-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .rto-form-row { grid-template-columns: 1fr; } }
.rto-form label {
  display: block; font-family: 'Space Grotesk', sans-serif; font-size: 0.78rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; color: var(--rto-body);
}
.rto-form input[type="text"], .rto-form input[type="email"], .rto-form input[type="tel"],
.rto-form select, .rto-form textarea {
  width: 100%; padding: 13px 14px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 4px; color: #eef2f7; font-family: 'Inter', sans-serif; font-size: 0.95rem; box-sizing: border-box;
}
.rto-form textarea { resize: vertical; min-height: 110px; }
.rto-form input:focus, .rto-form select:focus, .rto-form textarea:focus {
  outline: none; border-color: var(--rto-cyan); box-shadow: 0 0 0 3px rgba(69,217,232,0.12);
}
.rto-form-note { font-size: 0.85rem; color: var(--rto-faint); margin-top: 6px; }
.rto-form input::placeholder, .rto-form textarea::placeholder { color: var(--rto-faint); opacity: 1; }

.rto-checkbox-group, .rto-radio-group { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.rto-checkbox, .rto-radio { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; color: var(--rto-body); cursor: pointer; }
.rto-checkbox input, .rto-radio input { width: 16px; height: 16px; accent-color: var(--rto-cyan); }

.rto-file-drop {
  border: 1px dashed rgba(255,255,255,0.2); border-radius: 6px; padding: 26px; text-align: center;
  color: var(--rto-muted); font-size: 0.9rem; position: relative; transition: border-color .2s ease, background .2s ease;
}
.rto-file-drop.drag-over { border-color: var(--rto-cyan); background: rgba(69,217,232,0.05); }
.rto-file-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.rto-file-drop strong { color: var(--rto-cyan); }
.file-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.file-list .file-item { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--rto-body); }
.file-list .file-item svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--rto-cyan); }
.file-list .file-size { color: var(--rto-faint); }

.rto-form .error { border-color: #ef4444 !important; }
.rto-form .field-error { color: #f87171; font-size: 0.8rem; margin-top: 6px; }
.form-success {
  display: flex; align-items: center; gap: 10px; padding: 16px; margin-top: 18px;
  background: rgba(110,231,168,0.08); border: 1px solid rgba(110,231,168,0.3); border-radius: 6px;
  color: var(--rto-green); font-size: 0.9rem;
}
.form-success svg { width: 20px; height: 20px; flex-shrink: 0; }

.rto-char-count { text-align: right; font-size: 0.78rem; color: var(--rto-faint); margin-top: 6px; font-family: 'JetBrains Mono', monospace; }
.rto-char-count.near-limit { color: #f59e0b; }
.rto-char-count.at-limit { color: #ef4444; }

/* ---- CTA band ---- */
.rto-cta-band {
  position: relative; margin: 0 auto; max-width: 1100px; padding: 56px 48px; text-align: center;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 4px;
  background: linear-gradient(120deg, rgba(69,217,232,0.16), rgba(155,107,242,0.16) 55%, rgba(110,231,168,0.12));
}
@media (max-width: 700px) { .rto-cta-band { padding: 40px 24px; } }

/* ---- Footer ---- */
.rto-footer { position: relative; z-index: 1; margin-left: 88px; border-top: 1px solid rgba(69,217,232,0.12); background: rgba(8,11,18,0.85); backdrop-filter: blur(4px); padding: 48px 64px 28px; }
@media (max-width: 680px) { .rto-footer { margin-left: 0; padding: 40px 24px 24px; } }
.rto-footer-top { display: flex; gap: 60px; flex-wrap: wrap; justify-content: space-between; margin-bottom: 32px; }
.rto-footer-brand { max-width: 320px; display: flex; flex-direction: column; gap: 12px; }
.rto-footer-brand img { width: 30px; height: 30px; object-fit: cover; clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%); }
.rto-footer-brand p { font-size: 0.85rem; color: var(--rto-faint); line-height: 1.6; }
.rto-footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.rto-footer-col h4 { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--rto-muted); margin-bottom: 14px; }
.rto-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rto-footer-col a { color: var(--rto-faint); text-decoration: none; font-size: 0.88rem; }
.rto-footer-col a:hover { color: var(--rto-cyan); }
.rto-footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--rto-faint); letter-spacing: 0.08em; }
