/*
 * VMTabs - virtual labs for schools
 * Copyright (c) 2026 VMTabs. All rights reserved.
 * Proprietary and confidential. Copying, distributing or modifying this file without written
 * permission is prohibited. See COPYRIGHT for third-party components and their licenses.
 * SPDX-License-Identifier: LicenseRef-VMTabs-Proprietary
 */
/* VMTabs public website. Same tokens as the app (app.css), kept separate so the app stylesheet stays lean. */
@font-face { font-family: "Poppins"; src: url("/static/fonts/poppins-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/static/fonts/poppins-700.woff") format("woff"); font-weight: 700; font-display: swap; }
:root {
  --bg: #eef1f7; --panel: #ffffff; --ink: #16203a; --muted: #5a647c; --line: #dbe0ea;
  --rail: #1b2247; --accent: #ee5a12; --accent-ink: #fff; --led: #1fb86a; --focus: #3b6fe0;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Poppins", var(--sans);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0d1222; --panel: #151b30; --ink: #e6e9f4; --muted: #98a1bb; --line: #263051;
    --rail: #10163a; --accent: #ff7a2e; --led: #39e08a; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #0d1222; --panel: #151b30; --ink: #e6e9f4; --muted: #98a1bb; --line: #263051;
  --rail: #10163a; --accent: #ff7a2e; --led: #39e08a; color-scheme: dark; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.site { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--panel); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0; letter-spacing: -.015em; }

/* nav */
.s-nav { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 28px; padding: 14px clamp(16px, 5vw, 56px);
  background: color-mix(in srgb, var(--rail) 94%, transparent); backdrop-filter: blur(8px); color: #fff; }
.s-nav nav { display: flex; gap: 22px; margin-left: auto; }
.s-nav nav a { color: #c9cfe6; text-decoration: none; font-size: 15px; font-weight: 500; }
.s-nav nav a:hover { color: #fff; }
.s-brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font: 700 19px var(--display); }
.s-brand .brand-mark { width: 30px; height: 30px; filter: drop-shadow(0 3px 8px #ee5a1255); }
.brand-mark .bm-bg { fill: var(--accent); } .brand-mark .bm-ink { stroke: #fff; } .brand-mark .bm-dim { stroke-opacity: .55; }
.s-brand.small { font-size: 16px; } .s-brand.small .brand-mark { width: 24px; height: 24px; }
.s-btn { display: inline-block; text-decoration: none; font: 600 15px var(--sans); padding: 9px 18px; border-radius: 10px; border: 1px solid transparent; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease; }
.s-btn.primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px #ee5a1240, inset 0 1px 0 #ffffff33; }
.s-btn.primary:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
.s-btn.ghost { color: #fff; border-color: #ffffff40; background: #ffffff0d; }
.s-btn.ghost:hover { border-color: #ffffff80; background: #ffffff1a; }
.s-btn.big { font-size: 16.5px; padding: 13px 24px; border-radius: 12px; }

/* hero: the lab bench */
.s-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center;
  padding: clamp(48px, 8vw, 104px) clamp(16px, 5vw, 56px) clamp(56px, 8vw, 112px); color: #fff; background-color: var(--rail);
  background-image: radial-gradient(circle at 1px 1px, #ffffff14 1px, transparent 1.4px), radial-gradient(ellipse 70% 90% at 90% 110%, #ee5a1238, transparent 60%),
    radial-gradient(ellipse 60% 80% at 0% 0%, #3b6fe02a, transparent 60%);
  background-size: 18px 18px, 100% 100%, 100% 100%; }
.s-tag { font: italic 500 15px var(--display); color: #ffb48a; margin: 0 0 14px; }
.s-hero h1 { font-size: clamp(36px, 5.2vw, 66px); line-height: 1.02; letter-spacing: -.035em; max-width: 14ch; }
.s-lead { font-size: clamp(17px, 1.6vw, 19.5px); color: #c9cfe6; max-width: 46ch; margin: 22px 0 30px; }
.s-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.s-hero-art { display: flex; justify-content: center; }
.site-topo { width: 100%; max-width: 560px; }
.topo .wire { stroke: #ffffff2a; stroke-width: 2; fill: none; }
.topo .flow { stroke: var(--accent); stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-dasharray: 2 26; opacity: 0;
  animation: flow 1.6s linear infinite, appear .4s ease forwards; }
.topo .node rect { fill: #252d5c; stroke: #ffffff30; stroke-width: 1.5; }
.topo .node .scr { fill: #10163a; }
.topo .node .led { fill: #39405f; animation: led-on .35s ease forwards; }
.topo .gw circle { fill: var(--accent); }
.topo .gw .ring { fill: none; stroke: var(--accent); stroke-width: 1.5; opacity: .5; transform-origin: center; transform-box: fill-box; animation: ring 2.6s ease-out infinite; }
.topo .lbl { fill: #c3c9e0; font: 500 11px var(--display); }
@keyframes flow { to { stroke-dashoffset: -28; } }
@keyframes appear { to { opacity: .9; } }
@keyframes led-on { to { fill: #39e08a; filter: drop-shadow(0 0 4px #39e08a); } }
@keyframes ring { from { transform: scale(1); opacity: .55; } to { transform: scale(2.2); opacity: 0; } }
.topo .flow.d1 { animation-delay: 1.05s, 1.05s; } .topo .node .led.d1 { animation-delay: .45s; }
.topo .flow.d2 { animation-delay: 1.2s, 1.2s; }   .topo .node .led.d2 { animation-delay: .6s; }
.topo .flow.d3 { animation-delay: 1.35s, 1.35s; } .topo .node .led.d3 { animation-delay: .75s; }
.topo .flow.d4 { animation-delay: 1.5s, 1.5s; }   .topo .node .led.d4 { animation-delay: .9s; }
.topo .flow.d5 { animation-delay: 1.65s, 1.65s; } .topo .node .led.d5 { animation-delay: 1.05s; }
.topo .flow.d6 { animation-delay: 1.8s, 1.8s; }   .topo .node .led.d6 { animation-delay: 1.2s; }

/* sections */
.s-section { padding: clamp(56px, 8vw, 96px) clamp(16px, 5vw, 56px); max-width: 1180px; margin: 0 auto; }
.s-section > h2 { font-size: clamp(28px, 3.4vw, 40px); max-width: 22ch; margin-bottom: 36px; }
.s-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: s;
  border-top: 2px solid var(--line); }
.s-steps li { position: relative; padding: 28px 28px 0 0; }
.s-steps li::before { content: ""; position: absolute; top: -2px; left: 0; width: 64px; height: 2px; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.s-num { font: 700 44px/1 var(--display); color: color-mix(in srgb, var(--accent) 85%, var(--ink)); display: block; margin-bottom: 10px; }
.s-steps h3 { font-size: 22px; margin-bottom: 8px; }
.s-steps p, .s-grid p, .s-feature-lead p, .s-schools p { color: var(--muted); margin: 0; }

.s-feature-lead { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center; padding: 28px 30px; margin-bottom: 18px;
  border-radius: 18px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 10px 30px #16203a12; }
.s-feature-lead h3 { font-size: 24px; margin: 10px 0 8px; }
.s-feature-lead p { max-width: 62ch; }
.f-ico { width: 30px; height: 30px; color: var(--accent); }
.s-segs { display: flex; align-items: center; flex-wrap: wrap; row-gap: 8px; }
.seg-cloud { font-size: 13px; font-weight: 600; color: var(--muted); padding: 5px 12px; border: 1px dashed var(--line); border-radius: 999px; }
.seg-wire { width: 22px; height: 2px; background: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.seg-chip { display: inline-flex; align-items: center; gap: 7px; font: 600 14px var(--sans); padding: 6px 14px; border-radius: 9px;
  background: color-mix(in srgb, #5b5bd6 10%, var(--panel)); border: 1px solid color-mix(in srgb, #5b5bd6 30%, var(--line)); }
.seg-chip.gw { background: color-mix(in srgb, var(--accent) 12%, var(--panel)); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.seg-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--led); box-shadow: 0 0 6px var(--led); }
.s-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 30px; padding-top: 22px; }
.s-grid h3 { font-size: 18px; margin: 10px 0 6px; }
.s-grid .f-ico { width: 26px; height: 26px; }

.s-schools { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.s-schools h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 18px; }
.s-schools p + p { margin-top: 12px; }
.s-checks { list-style: none; margin: 8px 0 0; padding: 22px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; }
.s-checks li { padding: 8px 0 8px 30px; position: relative; }
.s-checks li + li { border-top: 1px solid var(--line); }
.s-checks li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 9px; height: 9px; border-radius: 50%; background: var(--led);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--led) 22%, transparent), 0 0 8px var(--led); }

.s-foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px clamp(16px, 5vw, 56px); color: var(--muted); font-size: 14px; }
.s-foot span { flex: 1; }
.s-foot .s-copy { flex: 0 0 auto; }
.s-foot a:not(.s-brand) { color: var(--muted); }

@media (max-width: 900px) {
  .s-hero, .s-schools { grid-template-columns: minmax(0, 1fr); }
  .s-hero-art { order: -1; } .site-topo { max-width: 420px; }
  .s-steps, .s-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .s-steps li { padding-right: 0; }
  .s-feature-lead { grid-template-columns: minmax(0, 1fr); }
  .s-nav nav { display: none; }
  .s-nav .s-btn { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .topo .flow, .topo .gw .ring { animation: none; opacity: .6; }
  .topo .node .led { animation: none; fill: #39e08a; }
  .s-btn { transition: none; }
}
/* line the hero, nav and footer up with the content column on wide screens */
.s-nav, .s-hero, .s-foot { padding-left: max(clamp(16px, 5vw, 56px), calc((100% - 1180px) / 2 + 56px));
  padding-right: max(clamp(16px, 5vw, 56px), calc((100% - 1180px) / 2 + 56px)); }

/* plans */
.s-plans > h2 { margin-bottom: 10px; }
.s-plans-lead { color: var(--muted); max-width: 62ch; margin: 0 0 30px; }
.s-plan-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.s-plan { padding: 26px 26px 24px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.s-plan h3 { font-size: 22px; }
.s-plan-for { color: var(--muted); margin: 6px 0 16px; font-size: 15px; }
.s-plan ul { list-style: none; margin: 0; padding: 0; }
.s-plan ul li { position: relative; padding: 7px 0 7px 22px; font-size: 15px; border-top: 1px solid var(--line); }
.s-plan ul li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.s-plan.featured { color: #fff; background-color: var(--rail); border-color: transparent; box-shadow: 0 16px 40px #1b224740;
  background-image: radial-gradient(circle at 1px 1px, #ffffff12 1px, transparent 1.4px), radial-gradient(ellipse 80% 70% at 100% 0%, #ee5a1240, transparent 65%);
  background-size: 16px 16px, 100% 100%; }
.s-plan.featured .s-plan-for { color: #c9cfe6; }
.s-plan.featured ul li { border-top-color: #ffffff1f; }
.s-plans-note { color: var(--muted); margin: 22px 0 0; }
@media (max-width: 900px) { .s-plan-list { grid-template-columns: minmax(0, 1fr); } }

/* Hosted or on-site: two cards side by side */
.s-deploy-list { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 920px; }
@media (max-width: 900px) { .s-deploy-list { grid-template-columns: minmax(0, 1fr); } }
