/* 1STKLASS LTD — corporate site. No framework, no build step, no tracking. */

:root {
  --bg: #0b0d17;
  --bg-raised: #12152a;
  --bg-sunken: #070812;
  --line: #22263f;
  --text: #eef0f8;
  --text-muted: #a2a8c3;
  --brand-cyan: #3fa9f5;
  --brand-orange: #f7931e;
  --brand-magenta: #ec2f7b;
  --focus: #7cc6ff;
  --maxw: 1080px;
  --radius: 14px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

a { color: var(--focus); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand-cyan); color: #04121f; padding: 10px 16px;
  font-weight: 600; border-radius: 0 0 8px 0; z-index: 100;
}
.skip:focus { left: 0; }

/* ---------- header ---------- */

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 13, 23, .88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img { width: 38px; height: 38px; border-radius: 10px; display: block; }
.brand .brand-text { display: block; line-height: 1.25; }
.brand .brand-text strong { display: block; font-size: 17px; letter-spacing: .06em; font-weight: 700; }
.brand .brand-text > span { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }

.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--text-muted); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a:focus-visible { color: var(--text); }
/* Below ~700px the brand and the nav cannot share a row without colliding,
   so the header becomes two rows: brand, then the full nav underneath. */
@media (max-width: 700px) {
  .site-head .wrap {
    flex-direction: column; align-items: flex-start;
    gap: 0; min-height: 0; padding-top: 12px; padding-bottom: 10px;
  }
  .brand .brand-text strong,
  .brand .brand-text > span { white-space: nowrap; }
  .nav { width: 100%; gap: 20px; margin-top: 12px; flex-wrap: wrap; }
  .nav a { font-size: 14px; }
}
@media (max-width: 380px) {
  .nav { gap: 14px; }
  .nav a { font-size: 13px; }
}

/* ---------- hero ---------- */

.hero { position: relative; padding: 86px 0 74px; overflow: hidden; }
@media (max-width: 700px) { .hero { padding: 54px 0 48px; } section { padding: 48px 0; } }
.hero::before {
  content: ""; position: absolute; inset: -40% -20% auto -20%; height: 620px;
  background:
    radial-gradient(50% 55% at 22% 40%, rgba(63,169,245,.22), transparent 70%),
    radial-gradient(45% 50% at 78% 30%, rgba(236,47,123,.18), transparent 70%),
    radial-gradient(40% 45% at 55% 70%, rgba(247,147,30,.14), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; }

.eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 700; color: var(--text-muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; margin-bottom: 22px;
  background: var(--bg-raised);
}
h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.08; letter-spacing: -.02em; font-weight: 800;
}
.lede { font-size: clamp(17px, 2.2vw, 20px); color: var(--text-muted); max-width: 62ch; margin: 0 0 30px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; font-weight: 650; font-size: 15px;
  text-decoration: none; border: 1px solid transparent;
}
.btn-primary {
  color: #04121f;
  background: linear-gradient(95deg, var(--brand-cyan), var(--brand-orange) 62%, var(--brand-magenta));
}
.btn-primary:hover { color: #04121f; filter: brightness(1.08); }
.btn-ghost { color: var(--text); border-color: var(--line); background: var(--bg-raised); }
.btn-ghost:hover { color: #fff; border-color: var(--text-muted); }

/* ---------- sections ---------- */

section { padding: 62px 0; border-top: 1px solid var(--line); }
section:first-of-type { border-top: 0; }
h2 { font-size: clamp(24px, 3.4vw, 32px); line-height: 1.2; letter-spacing: -.015em; margin: 0 0 14px; font-weight: 750; }
h3 { font-size: 18px; margin: 0 0 8px; font-weight: 680; }
p { margin: 0 0 16px; }
.muted { color: var(--text-muted); }
.section-lede { color: var(--text-muted); max-width: 64ch; margin-bottom: 34px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.card {
  background: var(--bg-raised); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.card p:last-child { margin-bottom: 0; }
.card .dot { width: 30px; height: 4px; border-radius: 3px; margin-bottom: 16px; display: block; }
.dot-1 { background: var(--brand-cyan); }
.dot-2 { background: var(--brand-orange); }
.dot-3 { background: var(--brand-magenta); }

/* ---------- product ---------- */

.product {
  display: grid; gap: 30px; align-items: center;
  grid-template-columns: 1.15fr .85fr;
  background: var(--bg-raised); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px;
}
@media (max-width: 800px) { .product { grid-template-columns: 1fr; padding: 26px; } }
.product ul { margin: 0 0 22px; padding-left: 20px; color: var(--text-muted); }
.product li { margin-bottom: 7px; }
.product-visual {
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-sunken);
  padding: 26px; text-align: center;
}
.product-visual .big {
  font-size: 30px; font-weight: 800; letter-spacing: -.01em;
  background: linear-gradient(95deg, var(--brand-cyan), var(--brand-orange) 60%, var(--brand-magenta));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.product-visual .small { font-size: 13px; color: var(--text-muted); margin-top: 6px; }

/* ---------- details table ---------- */

.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.facts li {
  display: grid; grid-template-columns: 210px 1fr; gap: 18px;
  padding: 15px 0; border-bottom: 1px solid var(--line); align-items: baseline;
}
@media (max-width: 620px) { .facts li { grid-template-columns: 1fr; gap: 3px; } }
.facts dt, .facts .k {
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 700;
}
.facts .v { font-size: 16px; }

/* ---------- footer ---------- */

.site-foot { border-top: 1px solid var(--line); background: var(--bg-sunken); padding: 40px 0 52px; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 26px; justify-content: space-between; align-items: flex-start; }
.site-foot p { color: var(--text-muted); font-size: 14px; max-width: 46ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; }
.foot-links a:hover { color: var(--text); }
.legal-line { margin-top: 26px; font-size: 13px; color: var(--text-muted); }

/* ---------- inner pages ---------- */

.page { padding: 56px 0 30px; }
.page h1 { font-size: clamp(28px, 4.6vw, 40px); }
.prose { max-width: 70ch; }
.prose h2 { font-size: 21px; margin-top: 36px; }
.prose ul { padding-left: 20px; color: var(--text-muted); }
.prose li { margin-bottom: 7px; }
.updated { font-size: 13px; color: var(--text-muted); }
