/* ==========================================================================
   PyCloud — Design System
   Premium dark SaaS. Single stylesheet, no framework, no build step.
   Sections: 1 tokens · 2 reset · 3 type · 4 layout · 5 buttons · 6 header
   7 hero · 8 dashboard mockup · 9 cards/features · 10 steps · 11 static IP
   12 trial/CTA · 13 pricing · 14 FAQ · 15 prose/legal · 16 contact
   17 footer · 18 utilities/motion
   ========================================================================== */

/* 1 — Tokens ------------------------------------------------------------- */
:root {
  /* Brand palette (approved) */
  --bg: #050f1e;
  --bg-2: #071628;
  --card: #112240;
  --blue: #3b82f6;
  --cyan: #06b6d4;
  --text: #f1f5f9;
  --muted: #94a3b8;

  /* Derived */
  --text-soft: #c7d4e3;
  --muted-dim: #7c8fa6;
  --accent: #7dd3fc;
  --ok: #34d399;
  --warn: #fbbf24;
  --danger: #f87171;

  --line: rgba(148, 163, 184, 0.13);
  --line-2: rgba(148, 163, 184, 0.22);
  --line-3: rgba(148, 163, 184, 0.34);

  --surface-1: linear-gradient(180deg, rgba(17, 34, 64, 0.72), rgba(10, 23, 42, 0.55));
  --surface-2: linear-gradient(180deg, rgba(17, 34, 64, 0.9), rgba(9, 21, 39, 0.8));

  --container: 1180px;
  --gutter: clamp(20px, 4vw, 32px);
  --section-y: clamp(64px, 8vw, 112px);

  --r-xs: 7px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 24px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(2, 8, 20, 0.5);
  --shadow-md: 0 18px 40px -24px rgba(2, 8, 20, 0.9);
  --shadow-lg: 0 44px 100px -40px rgba(2, 8, 20, 0.95);

  --font-sans: "Inter", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "DM Sans", "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 68px;
}

/* 2 — Reset -------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
figure { margin: 0; }
pre { margin: 0; }
hr { border: 0; border-top: 1px solid var(--line); }

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

::selection { background: rgba(59, 130, 246, 0.35); color: #fff; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  background: var(--blue);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  font-size: 14px;
  font-weight: 600;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0; }

/* 3 — Typography --------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.022em;
  text-wrap: balance;
}

p { margin: 0; }

.h1 {
  font-size: clamp(2.05rem, 1.35rem + 4.3vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -0.032em;
}

.h2 {
  font-size: clamp(1.8rem, 1.15rem + 2.1vw, 2.7rem);
  line-height: 1.1;
  letter-spacing: -0.024em;
}

.h3 {
  font-size: clamp(1.075rem, 1rem + 0.25vw, 1.2rem);
  line-height: 1.35;
  letter-spacing: -0.012em;
  font-weight: 600;
}

.h4 {
  font-size: 0.98rem;
  line-height: 1.4;
  letter-spacing: -0.005em;
  font-weight: 600;
}

.lead {
  font-size: clamp(1rem, 0.96rem + 0.22vw, 1.14rem);
  line-height: 1.68;
  color: #9fb0c4;
  text-wrap: pretty;
}
.lead a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lead a:hover { color: #bae6fd; }

.eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 9px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
  vertical-align: middle;
}

.grad-text {
  background: linear-gradient(100deg, #60a5fa 0%, #22d3ee 55%, #7dd3fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mono { font-family: var(--font-mono); }

/* 4 — Layout ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 880px; }
.container--tight { max-width: 760px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 5vw, 72px); }
.section--alt {
  background: linear-gradient(180deg, rgba(7, 22, 40, 0.55), rgba(5, 15, 30, 0));
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 740px;
  margin: 0 auto clamp(36px, 4.6vw, 58px);
  text-align: center;
}
.section-head .lead { margin-top: 14px; }
.section-head--left {
  margin-inline: 0;
  text-align: left;
  margin-bottom: clamp(26px, 3vw, 36px);
}
.section-head--left .lead { margin-top: 12px; }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.stack-lg > * + * { margin-top: clamp(18px, 2.4vw, 28px); }
.stack > * + * { margin-top: 14px; }

@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 5vw, 44px); }
}

/* 5 — Buttons ------------------------------------------------------------ */
.btn {
  --btn-h: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: var(--btn-h);
  padding-inline: 22px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.22s var(--ease), background 0.22s, border-color 0.22s,
    box-shadow 0.22s, color 0.22s;
}
.btn svg { flex: none; }

.btn-primary {
  background: linear-gradient(180deg, #4c8ef9 0%, #2f74e8 100%);
  border-color: rgba(147, 197, 253, 0.34);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 10px 26px -12px rgba(59, 130, 246, 0.85);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #5b9bfb 0%, #3b80ee 100%);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3),
    0 16px 34px -14px rgba(59, 130, 246, 0.95);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line-2);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line-3);
  transform: translateY(-1px);
}

.btn-quiet {
  background: transparent;
  color: var(--muted);
  padding-inline: 4px;
  height: auto;
}
.btn-quiet:hover { color: var(--text); }

.btn-sm { --btn-h: 40px; padding-inline: 16px; font-size: 0.875rem; border-radius: 9px; }
.btn-lg { --btn-h: 54px; padding-inline: 28px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.btn-row--center { justify-content: center; }

@media (max-width: 560px) {
  .hero-copy .btn-row,
  .cta-band .btn-row,
  .trial-panel .btn-row {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-copy .btn-row .btn,
  .cta-band .btn-row .btn,
  .trial-panel .btn-row .btn { width: 100%; }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: gap 0.22s var(--ease), color 0.22s;
}
.text-link:hover { gap: 11px; color: #bae6fd; }

/* 6 — Header ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: transparent;
  transition: border-color 0.3s;
}
/* The blur lives on a pseudo-element, not on the header itself. A backdrop-filter
   on the header would make it a containing block for the fixed mobile drawer. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(5, 15, 30, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled::before {
  background: rgba(5, 15, 30, 0.92);
  box-shadow: inset 0 -1px 0 var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  padding: 6px 0;
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #3b82f6 0%, #06b6d4 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 6px 18px -8px rgba(6, 182, 212, 0.8);
  color: #fff;
  flex: none;
}
.brand-mark svg { width: 19px; height: 19px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}
.brand-tag {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.28);
  border-radius: var(--r-pill);
  padding: 2px 7px;
  margin-left: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav-list a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-list a[aria-current="page"] { color: var(--text); }
.nav-list a[aria-current="page"]::after {
  content: "";
  display: block;
  height: 2px;
  margin: 5px auto -3px;
  width: 16px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: 14px; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  flex: none;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.28s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 25px; }
.nav-open .nav-toggle span:nth-child(1),
.nav-toggle.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2),
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3),
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0;
    display: block;
    margin: 0;
    padding: 18px var(--gutter) 40px;
    background: #061220;
    background-image: linear-gradient(180deg, #071b2e, #050f1c);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
  }
  .nav-open .site-nav,
  .site-nav.is-open {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a {
    padding: 15px 2px;
    font-size: 1.06rem;
    font-weight: 500;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    color: var(--text);
  }
  .nav-list a[aria-current="page"] { color: var(--accent); }
  .nav-list a[aria-current="page"]::after { display: none; }
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 22px 0 0;
  }
  .nav-actions .btn { width: 100%; }
  body.nav-open { overflow: hidden; }
}

/* 7 — Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(52px, 6.5vw, 92px);
  padding-bottom: clamp(44px, 5vw, 72px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(148, 163, 184, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 0%, transparent 78%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  top: -22%;
  left: 50%;
  width: min(1100px, 130%);
  height: 620px;
  transform: translateX(-50%);
  background: radial-gradient(50% 50% at 50% 50%, rgba(59, 130, 246, 0.2), transparent 70%),
    radial-gradient(40% 40% at 62% 40%, rgba(6, 182, 212, 0.14), transparent 70%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

.hero-copy {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}
.hero-copy .h1 { margin-bottom: 20px; }
.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1.06rem, 0.98rem + 0.6vw, 1.4rem);
  font-weight: 500;
  line-height: 1.4;
  color: #dbe5f1;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
  text-wrap: balance;
}
.hero-copy .lead {
  max-width: 660px;
  margin: 0 auto;
  font-size: clamp(0.975rem, 0.95rem + 0.16vw, 1.06rem);
  color: #98a9bd;
}
.hero-copy .btn-row { margin-top: 30px; }
.hero-note {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--muted-dim);
}

.highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(36px, 4.5vw, 60px);
  border-block: 1px solid var(--line);
}
.highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #b8c6d8;
  border-left: 1px solid var(--line);
}
.highlights li:first-child { border-left: 0; }
.highlights svg { flex: none; color: var(--accent); opacity: 0.9; }

@media (max-width: 860px) {
  .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .highlights li:nth-child(odd) { border-left: 0; }
  .highlights li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .hero-br { display: none; }
  .highlights li { padding: 14px 10px; font-size: 0.8rem; gap: 8px; }
}

/* 8 — Dashboard mockup --------------------------------------------------- */
.mock-wrap {
  position: relative;
  margin-top: clamp(38px, 5vw, 64px);
}
.mock-wrap::before {
  content: "";
  position: absolute;
  inset: -6% -4% -18%;
  background: radial-gradient(55% 60% at 50% 30%, rgba(59, 130, 246, 0.22), transparent 72%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.mock {
  position: relative;
  z-index: 1;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: #08172a;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding-inline: 14px;
  background: rgba(7, 22, 40, 0.92);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}
.mock-dot { width: 8px; height: 8px; border-radius: 50%; background: #22405f; flex: none; }
.mock-url {
  min-width: 0;
  margin-left: 10px;
  padding: 3px 11px;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: #8ca0b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #7dd3fc;
  flex: none;
}
.mock-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}

.mock-body {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
}
.mock-side {
  padding: 16px 12px;
  background: rgba(5, 15, 30, 0.55);
  border-right: 1px solid rgba(148, 163, 184, 0.1);
}
.mock-side-title {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
  padding-inline: 8px;
  margin-bottom: 9px;
}
.mock-env {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  margin-bottom: 2px;
  border-radius: 7px;
  font-size: 0.73rem;
  color: #94a3b8;
}
.mock-env.is-active {
  background: rgba(59, 130, 246, 0.14);
  color: #dbeafe;
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.26);
}
.mock-env-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--ok); flex: none; }
.mock-side-sep { height: 1px; background: rgba(148, 163, 184, 0.1); margin: 12px 6px; }
.mock-nav-item { padding: 4px 9px; font-size: 0.7rem; color: #64748b; }

.mock-main { padding: 18px; min-width: 0; }
.mock-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 15px;
}
.mock-title { font-family: var(--font-mono); font-size: 0.83rem; color: #e2e8f0; }
.mock-sub { margin-top: 3px; font-size: 0.68rem; color: #7c8fa6; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  font-size: 0.66rem;
  font-weight: 600;
  white-space: nowrap;
  flex: none;
}
.status-run {
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.12);
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.28);
}
.status-run i { width: 5px; height: 5px; border-radius: 50%; background: var(--ok); }

.mock-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.mock-tile {
  padding: 9px 10px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 8px;
  background: rgba(17, 34, 64, 0.5);
  min-width: 0;
}
.mock-tile > span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #64748b;
}
.mock-tile strong {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock-tile strong.mono { font-size: 0.7rem; letter-spacing: -0.02em; color: #a5f3fc; }

.mock-actions { display: flex; gap: 7px; margin-bottom: 14px; }
.mock-btn {
  padding: 6px 15px;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.68rem;
  font-weight: 600;
  color: #cbd5e1;
}
.mock-btn--stop {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.3);
  color: #fca5a5;
}

.mock-logs {
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 8px;
  background: rgba(3, 10, 20, 0.62);
  overflow: hidden;
}
.mock-logs-head {
  padding: 7px 11px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}
.mock-logs pre {
  padding: 10px 11px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  line-height: 1.8;
  color: #93a7bd;
  overflow-x: auto;
}
.log-t { color: #5b7290; }
.log-i { color: #38bdf8; }

.mock-caption {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  text-align: center;
  font-size: 0.72rem;
  color: #64748b;
}

@media (max-width: 760px) {
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .mock-url { font-size: 0.6rem; }
}
@media (max-width: 560px) {
  .mock-main { padding: 13px; }
  .mock-tiles { grid-template-columns: 1fr 1fr; }
  .mock-tiles .mock-tile:last-child { grid-column: 1 / -1; }
  .mock-logs pre { font-size: 0.6rem; }
  .mock-live { display: none; }
}

/* Phone mockup ----------------------------------------------------------- */
.device-pair {
  position: relative;
  padding-bottom: 8px;
}
.device-pair .phone {
  position: absolute;
  right: -8px;
  bottom: 0;
  width: 142px;
  z-index: 2;
  box-shadow: 0 34px 70px -22px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(148, 163, 184, 0.1);
}
.phone {
  border-radius: 26px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: #06121f;
  padding: 7px;
  box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.phone-screen {
  border-radius: 20px;
  background: linear-gradient(180deg, #0a1a2e, #06101d);
  padding: 12px 11px 14px;
  overflow: hidden;
}
.phone-notch {
  width: 46px;
  height: 4px;
  border-radius: 3px;
  background: rgba(148, 163, 184, 0.25);
  margin: 2px auto 12px;
}
.phone-title {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: #e2e8f0;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.phone-sub { font-size: 0.55rem; color: #7c8fa6; margin-bottom: 9px; }
.phone-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 6px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  font-size: 0.55rem;
  color: #93a7bd;
}
.phone-row b { color: #e2e8f0; font-weight: 600; }
.phone-actions { display: flex; gap: 5px; margin-top: 9px; }
.phone-actions span {
  flex: 1;
  text-align: center;
  padding: 5px 0;
  border-radius: 5px;
  font-size: 0.54rem;
  font-weight: 600;
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #cbd5e1;
}
.phone-actions span:last-child {
  background: rgba(248, 113, 113, 0.13);
  border-color: rgba(248, 113, 113, 0.3);
  color: #fca5a5;
}
.phone-log {
  margin-top: 9px;
  border-radius: 6px;
  background: rgba(3, 10, 20, 0.65);
  padding: 7px 8px;
  font-family: var(--font-mono);
  font-size: 0.48rem;
  line-height: 1.7;
  color: #7f95ad;
  white-space: nowrap;
  overflow: hidden;
}

@media (max-width: 640px) {
  .device-pair { padding-bottom: 0; }
  .device-pair .phone {
    position: static;
    width: 152px;
    margin: 18px auto 0;
  }
}

/* 9 — Cards & features --------------------------------------------------- */
.card {
  position: relative;
  padding: clamp(20px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-1);
  transition: border-color 0.28s, transform 0.28s var(--ease), background 0.28s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  border-radius: var(--r-md) var(--r-md) 0 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}
.card:hover {
  border-color: rgba(59, 130, 246, 0.32);
  background: var(--surface-2);
}
.card--lift:hover { transform: translateY(-3px); }

.card p {
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.62;
  color: #98a9bd;
}

.card-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.18), rgba(6, 182, 212, 0.07));
  border: 1px solid rgba(59, 130, 246, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.feature {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-1);
  transition: border-color 0.28s, background 0.28s;
}
.feature:hover { border-color: rgba(59, 130, 246, 0.3); background: var(--surface-2); }
.feature-top {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 9px;
}
.feature-ico {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--accent);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.2);
}
.feature-ico svg { width: 16px; height: 16px; }
.feature h3 { font-size: 0.98rem; }
.feature p { margin: 0; font-size: 0.875rem; line-height: 1.6; color: #93a5ba; }

.feature--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  border-color: rgba(6, 182, 212, 0.22);
  background: radial-gradient(120% 140% at 0% 0%, rgba(6, 182, 212, 0.1), transparent 60%),
    var(--surface-1);
}
.feature--wide .feature-top { margin-bottom: 8px; }
.feature--wide p { max-width: 62ch; }
.ip-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 9px;
  border: 1px solid rgba(6, 182, 212, 0.28);
  background: rgba(3, 12, 24, 0.55);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #a5f3fc;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature--wide { grid-template-columns: 1fr; }
  .ip-chip { font-size: 0.72rem; }
}

/* 10 — Steps ------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-1);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 15px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.28);
}
.step h3 { margin-bottom: 7px; }
.step p { font-size: 0.875rem; line-height: 1.6; color: #93a5ba; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 38px;
  right: -8px;
  width: 8px;
  height: 1px;
  background: var(--line-2);
}

@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step::after { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

/* 11 — Static IP block --------------------------------------------------- */
.ip-panel {
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(6, 182, 212, 0.22);
  background: radial-gradient(130% 110% at 10% 0%, rgba(6, 182, 212, 0.13), transparent 58%),
    linear-gradient(180deg, rgba(17, 34, 64, 0.7), rgba(8, 20, 37, 0.75));
  box-shadow: 0 30px 80px -50px rgba(6, 182, 212, 0.6);
}
.ip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

/* Understated availability labels (IPv6 now, IPv4 later) */
.ip-availability {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  color: #93a5ba;
}
.ip-availability li { display: inline-flex; align-items: center; gap: 8px; }
.ip-availability .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: none;
}
.ip-availability .dot--now {
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.14);
}
.ip-availability .dot--soon {
  background: var(--warn);
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.12);
}
.ip-availability strong { color: #d5e0ec; font-weight: 600; }
.ip-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.ip-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(52, 211, 153, 0.26);
  background: rgba(52, 211, 153, 0.1);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6ee7b7;
  white-space: nowrap;
}
.ip-address {
  padding: 13px 15px;
  margin-bottom: 14px;
  border-radius: 9px;
  border: 1px solid rgba(6, 182, 212, 0.24);
  background: rgba(3, 12, 24, 0.6);
  font-family: var(--font-mono);
  font-size: clamp(1.02rem, 1.8vw, 1.3rem);
  letter-spacing: -0.01em;
  color: #a5f3fc;
  overflow-x: auto;
}
.ip-rows { margin-bottom: 16px; }
.ip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 2px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  font-size: 0.82rem;
}
.ip-row span { color: var(--muted-dim); }
.ip-row strong { color: #d5e0ec; font-weight: 500; text-align: right; }
.ip-row strong.mono { font-size: 0.78rem; }

.check-list { display: grid; gap: 10px; }
.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: #b6c5d6;
  line-height: 1.55;
}
.check-list svg { flex: none; margin-top: 3px; color: var(--ok); }
.check-list--accent svg { color: var(--accent); }

.notice {
  display: flex;
  gap: 11px;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(148, 163, 184, 0.05);
  font-size: 0.82rem;
  line-height: 1.6;
  color: #9fb0c4;
}
.notice svg { flex: none; margin-top: 2px; color: var(--muted-dim); }
.notice strong { color: #d5e0ec; font-weight: 600; }
.notice a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.notice--warn {
  border-color: rgba(251, 191, 36, 0.24);
  background: rgba(251, 191, 36, 0.06);
  color: #e6d3a5;
}
.notice--warn svg { color: var(--warn); }

/* 12 — Trial panel & final CTA -------------------------------------------- */
.trial-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 5vw, 64px) clamp(22px, 4vw, 56px);
  border-radius: var(--r-xl);
  border: 1px solid rgba(59, 130, 246, 0.26);
  background: radial-gradient(100% 120% at 50% 0%, rgba(59, 130, 246, 0.18), transparent 60%),
    linear-gradient(180deg, #0b1c33, #071223);
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.trial-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(148, 163, 184, 0.13) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 0%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 0%, #000, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}
.trial-panel > * { position: relative; }
.trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  margin-bottom: 20px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(52, 211, 153, 0.3);
  background: rgba(52, 211, 153, 0.1);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #6ee7b7;
}
.benefit-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin: 26px auto 30px;
  max-width: 720px;
}
.benefit-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.875rem;
  color: #c3d2e2;
}
.benefit-list svg { flex: none; color: var(--ok); }
.fine-print {
  margin-top: 18px;
  font-size: 0.76rem;
  line-height: 1.65;
  color: #7c8fa6;
  max-width: 620px;
  margin-inline: auto;
}
.trial-panel .fine-print { color: #8296ac; }

.cta-band { text-align: center; position: relative; padding-block: clamp(56px, 7vw, 96px); }
.cta-band::before {
  content: "";
  position: absolute;
  inset: auto 0 -20% 0;
  height: 420px;
  background: radial-gradient(50% 60% at 50% 100%, rgba(59, 130, 246, 0.16), transparent 72%);
  pointer-events: none;
}
.cta-band > .container { position: relative; }
.cta-band .lead { max-width: 560px; margin: 14px auto 0; }

/* 13 — Pricing ----------------------------------------------------------- */
.price-card {
  position: relative;
  max-width: 480px;
  margin-inline: auto;
  padding: clamp(26px, 3.4vw, 38px);
  border-radius: var(--r-xl);
  border: 1px solid rgba(59, 130, 246, 0.34);
  background: radial-gradient(110% 90% at 50% 0%, rgba(59, 130, 246, 0.16), transparent 62%),
    linear-gradient(180deg, #0c1e36, #071323);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  text-align: center;
}
.price-card__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.price { display: flex; align-items: flex-start; justify-content: center; gap: 3px; margin: 16px 0 6px; }
.price .cur { font-family: var(--font-display); font-size: 2.15rem; font-weight: 600; color: #dbe5f1; margin-top: 0.16em; }
.price .amt { font-family: var(--font-display); font-size: clamp(3.4rem, 8vw, 4.2rem); font-weight: 700; line-height: 1; letter-spacing: -0.04em; }
.price-note { font-size: 0.85rem; color: var(--muted); }
.price-divider { height: 1px; background: var(--line); margin: 24px 0; }
.price-card .check-list { text-align: left; margin-bottom: 26px; }
.price-card .check-list li { font-size: 0.875rem; }

.plan-note {
  max-width: 480px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted-dim);
}

.soon-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 780px;
  margin: clamp(30px, 4vw, 46px) auto 0;
  padding: 22px 26px;
  border: 1px dashed rgba(148, 163, 184, 0.26);
  border-radius: var(--r-md);
  background: rgba(148, 163, 184, 0.035);
}
.soon-card h3 { margin-bottom: 4px; }
.soon-card p { font-size: 0.85rem; color: var(--muted-dim); }
.badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(251, 191, 36, 0.3);
  background: rgba(251, 191, 36, 0.08);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fcd34d;
  white-space: nowrap;
}

.matrix { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.matrix th,
.matrix td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.matrix th { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-dim); font-weight: 600; }
.matrix td { color: #b6c5d6; }
.matrix td:last-child { color: #d5e0ec; }
.matrix tr:last-child td { border-bottom: 0; }
@media (max-width: 620px) {
  .matrix { font-size: 0.8rem; }
  .matrix th, .matrix td { padding: 10px 9px; }
  .matrix .mono { font-size: 0.68rem; }
}
.matrix-wrap { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-1); overflow-x: auto; }

/* 14 — FAQ --------------------------------------------------------------- */
.faq-group + .faq-group { margin-top: clamp(34px, 4vw, 48px); }
.faq-group__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
}
.faq-group__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-2), transparent);
}

.faq {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 2px;
  cursor: pointer;
  list-style: none;
  font-size: 1rem;
  font-weight: 500;
  color: #e5edf7;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: #fff; }
.faq summary:focus-visible { outline-offset: -2px; }

.faq-icon {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--accent);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transform: translateY(-50%);
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.faq-icon::after { transform: translateY(-50%) rotate(90deg); }
.faq[open] .faq-icon::after { transform: translateY(-50%) rotate(0deg); opacity: 0; }
.faq[open] summary { color: #fff; }

.faq-a {
  padding: 0 2px 22px;
  max-width: 74ch;
  font-size: 0.9375rem;
  line-height: 1.72;
  color: #98a9bd;
}
.faq-a p + p { margin-top: 10px; }
.faq-a a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.faq-a ul { margin-top: 8px; padding-left: 18px; list-style: disc; }
.faq-a li { margin-bottom: 5px; }
.faq-a strong { color: #dbe5f1; font-weight: 600; }

/* Resource table inside an answer */
.faq-a .matrix-wrap {
  margin: 14px 0 16px;
  background: rgba(3, 12, 24, 0.45);
}
.faq-a .matrix { font-size: 0.84rem; }
.faq-a .matrix th,
.faq-a .matrix td { padding: 9px 13px; }
.faq-a .matrix td:first-child { color: #93a5ba; }
.faq-a .matrix th { background: rgba(148, 163, 184, 0.05); }

/* 15 — Prose / legal ----------------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: clamp(46px, 6vw, 82px) clamp(28px, 3.4vw, 44px);
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: -40% 0 auto;
  height: 460px;
  background: radial-gradient(45% 60% at 50% 40%, rgba(59, 130, 246, 0.16), transparent 70%);
  pointer-events: none;
}
.page-hero > .container { position: relative; }
.page-hero h1 { font-size: clamp(1.95rem, 1.35rem + 2.5vw, 3.25rem); line-height: 1.06; }
.page-hero .lead { max-width: 680px; margin: 18px auto 0; }
.page-hero .btn-row { margin-top: 28px; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.75rem;
  color: var(--muted-dim);
}
.crumbs a { color: var(--muted-dim); transition: color 0.2s; }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-current] { color: #b6c5d6; }

.prose {
  max-width: 740px;
  margin-inline: auto;
  font-size: 0.9875rem;
  line-height: 1.78;
  color: #a9b8ca;
}
.prose h2 {
  margin: clamp(32px, 4vw, 46px) 0 14px;
  font-size: clamp(1.28rem, 1.1rem + 0.55vw, 1.55rem);
  color: var(--text);
  letter-spacing: -0.018em;
  scroll-margin-top: 90px;
}
.prose h3 {
  margin: 26px 0 10px;
  font-size: 1.03rem;
  color: #e2e8f0;
  font-weight: 600;
}
.prose > h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 15px; }
.prose ul { margin: 0 0 18px; padding-left: 20px; list-style: disc; }
.prose ol { margin: 0 0 18px; padding-left: 22px; list-style: decimal; }
.prose li { margin-bottom: 7px; }
.prose li::marker { color: #64748b; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: #bae6fd; }
.prose strong { color: #e2e8f0; font-weight: 600; }
.prose blockquote {
  margin: 0 0 18px;
  padding: 14px 18px;
  border-left: 2px solid rgba(59, 130, 246, 0.5);
  background: rgba(59, 130, 246, 0.06);
  border-radius: 0 8px 8px 0;
  font-size: 0.94rem;
  color: #b6c5d6;
}

.draft-banner {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  padding: 14px 17px;
  border: 1px solid rgba(251, 191, 36, 0.26);
  border-radius: 11px;
  background: rgba(251, 191, 36, 0.06);
  font-size: 0.82rem;
  line-height: 1.6;
  color: #e6d3a5;
}
.draft-banner svg { flex: none; margin-top: 1px; color: var(--warn); }
.draft-banner strong { color: #fcd34d; }

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--muted-dim);
}

.toc {
  padding: 18px 22px;
  margin-bottom: 34px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(148, 163, 184, 0.03);
}
.toc p {
  margin-bottom: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.toc ol {
  columns: 2;
  column-gap: 28px;
  margin: 0;
  padding-left: 18px;
  list-style: decimal;
  font-size: 0.85rem;
}
.toc li { margin-bottom: 6px; color: #93a5ba; }
.toc a { color: #a9b8ca; }
.toc a:hover { color: var(--accent); }
@media (max-width: 620px) {
  .toc ol { columns: 1; }
}

.ph {
  color: #fcd34d;
  border-bottom: 1px dashed rgba(251, 191, 36, 0.6);
  padding-bottom: 1px;
}
.review-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 7px;
  border-radius: 5px;
  border: 1px solid rgba(251, 191, 36, 0.28);
  background: rgba(251, 191, 36, 0.08);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fcd34d;
  white-space: nowrap;
  vertical-align: middle;
}

/* 16 — Contact ----------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(22px, 3vw, 40px);
  align-items: start;
}
.contact-card {
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-1);
}
.contact-card h2 { font-size: 1.15rem; margin-bottom: 6px; }
.contact-card > p { font-size: 0.875rem; color: #93a5ba; margin-bottom: 18px; }
.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
}
.contact-line svg { flex: none; margin-top: 3px; color: var(--muted-dim); }
.contact-line__label {
  display: block;
  margin-bottom: 2px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
.contact-line__value { color: #d5e0ec; line-height: 1.55; }

.topic-list { display: grid; gap: 12px; }
.topic {
  display: flex;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(148, 163, 184, 0.03);
}
.topic svg { flex: none; margin-top: 2px; color: var(--accent); }
.topic h3 { font-size: 0.9rem; margin-bottom: 3px; }
.topic p { font-size: 0.82rem; line-height: 1.55; color: #93a5ba; }

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* 17 — Footer ------------------------------------------------------------ */
.site-footer {
  position: relative;
  margin-top: clamp(24px, 4vw, 48px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(7, 22, 40, 0.5), rgba(4, 11, 21, 0.95));
  padding-top: clamp(46px, 5vw, 70px);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  padding-bottom: clamp(34px, 4vw, 48px);
}
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p {
  max-width: 34ch;
  font-size: 0.85rem;
  line-height: 1.65;
  color: #8ba0b6;
}
.footer-tagline {
  display: block;
  margin-top: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
}
.footer-col h4 {
  margin-bottom: 12px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #71859d;
}
.footer-col a,
.footer-col span.soon {
  display: block;
  padding: 6px 0;
  font-size: 0.85rem;
  color: #a9b8ca;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }
.footer-col span.soon { color: #64748b; }
.footer-col .soon em {
  font-style: normal;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #a1863f;
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 4px;
  padding: 1px 5px;
  margin-left: 6px;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px 26px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: #71859d;
}
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-bottom a { color: #71859d; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--text); }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* 18 — Utilities & motion ------------------------------------------------ */
/* Keeps protocol names correctly cased inside uppercase-tracked labels */
.cased { text-transform: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 14px; }
.mt-4 { margin-top: 22px; }
.mt-5 { margin-top: 32px; }
.mt-6 { margin-top: 44px; }
.maxw-680 { max-width: 680px; }
.mx-auto { margin-inline: auto; }

.divider {
  height: 1px;
  margin-block: clamp(36px, 5vw, 64px);
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 120;
  width: max-content;
  max-width: min(92vw, 470px);
  padding: 13px 18px;
  border-radius: 11px;
  border: 1px solid rgba(251, 191, 36, 0.34);
  background: #0d2038;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8);
  font-size: 0.84rem;
  line-height: 1.5;
  color: #e2e8f0;
  opacity: 0;
  transform: translate(-50%, 14px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.contact-email { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

[id] { scroll-margin-top: 88px; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; }

  .hero-copy > * { animation: rise 0.75s var(--ease) both; }
  .hero-copy > *:nth-child(1) { animation-delay: 0.02s; }
  .hero-copy > *:nth-child(2) { animation-delay: 0.08s; }
  .hero-copy > *:nth-child(3) { animation-delay: 0.14s; }
  .hero-copy > *:nth-child(4) { animation-delay: 0.2s; }
  .hero-copy > *:nth-child(5) { animation-delay: 0.26s; }
  .hero-copy > *:nth-child(6) { animation-delay: 0.32s; }
}

/* 19 — Process flow (How It Works) --------------------------------------- */
.flow {
  position: relative;
  display: grid;
  max-width: 830px;
  margin-inline: auto;
}
.flow-item {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 26px);
  padding-bottom: clamp(30px, 4vw, 44px);
}
.flow-item:last-child { padding-bottom: 0; }
.flow-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 58px;
  bottom: 4px;
  width: 1px;
  background: linear-gradient(180deg, var(--line-2), rgba(148, 163, 184, 0.04));
}
.flow-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.28);
  box-shadow: 0 0 0 6px var(--bg);
  position: relative;
  z-index: 1;
}
.section--alt .flow-num { box-shadow: 0 0 0 6px #061426; }
.flow-body { padding-top: 4px; }
.flow-body p { max-width: 64ch; }
.flow-body ul { max-width: 64ch; }
.flow-body .h3 { margin-bottom: 8px; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); }
.flow-body p { font-size: 0.94rem; line-height: 1.68; color: #98a9bd; }
.flow-body ul {
  margin-top: 12px;
  display: grid;
  gap: 7px;
}
.flow-body ul li {
  position: relative;
  padding-left: 16px;
  font-size: 0.875rem;
  color: #93a5ba;
}
.flow-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(125, 211, 252, 0.55);
}

/* Negative list (what PyCloud does not do) */
.check-list--x svg { color: #f87171; }

/* 20 — Simple two-up split of responsibilities --------------------------- */
.resp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.resp-card {
  padding: clamp(20px, 2.4vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface-1);
}
.resp-card h3 { margin-bottom: 4px; }
.resp-card > p { font-size: 0.85rem; color: var(--muted-dim); margin-bottom: 16px; }
.resp-card--you { border-color: rgba(59, 130, 246, 0.24); }
@media (max-width: 700px) {
  .resp-grid { grid-template-columns: 1fr; }
}

/* 21 — Forms (contact page) --------------------------------------------- */
.form-card {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: radial-gradient(120% 90% at 0% 0%, rgba(59, 130, 246, 0.08), transparent 55%),
    var(--surface-1);
}
.form-head { margin-bottom: 22px; }
.form-head h2 { font-size: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem); margin-bottom: 7px; }
.form-head p { font-size: 0.875rem; line-height: 1.6; color: #93a5ba; max-width: 54ch; }

.form { display: grid; gap: 16px; }
.form[hidden] { display: none; }
#contactFormWrap[hidden] { display: none; }
.form-success[hidden] { display: none; }
.field { display: grid; gap: 7px; min-width: 0; }
.field > label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #c7d4e3;
  letter-spacing: 0.005em;
}
.field .req { color: var(--accent); margin-left: 3px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: rgba(3, 12, 24, 0.55);
  color: var(--text);
  font-family: inherit;
  font-size: 0.925rem;
  line-height: 1.5;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input::placeholder,
.field textarea::placeholder { color: #5f7389; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--line-3); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
  background: rgba(3, 12, 24, 0.8);
}
.field input:user-invalid,
.field textarea:user-invalid { border-color: rgba(248, 113, 113, 0.6); }

.field textarea {
  min-height: 156px;
  resize: vertical;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 14px;
  cursor: pointer;
}
.field select option { background: #0b1a2e; color: var(--text); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 620px) {
  .field-row { grid-template-columns: 1fr; }
}

.field-hint { font-size: 0.72rem; line-height: 1.5; color: #7c8fa6; }

.form-note { font-size: 0.75rem; line-height: 1.55; color: #7c8fa6; }
.form-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.form-actions .btn { min-width: 170px; }
@media (max-width: 620px) {
  .form-actions { flex-direction: column; align-items: stretch; }
  .form-actions .btn { width: 100%; }
  .form-actions__alt { text-align: center; }
}
.form-actions__alt { font-size: 0.78rem; color: #7c8fa6; }
.form-actions__alt a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 2px;
  padding: 11px 14px;
  border-radius: 9px;
  border: 1px solid rgba(248, 113, 113, 0.3);
  background: rgba(248, 113, 113, 0.08);
  font-size: 0.82rem;
  line-height: 1.55;
  color: #fecaca;
}
.form-status a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

.form-success { padding: 6px 0 2px; }
.form-success__icon {
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.32);
}
.form-success h2 { font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); margin-bottom: 8px; }
.form-success p { font-size: 0.9rem; line-height: 1.65; color: #93a5ba; max-width: 52ch; }
.form-success .btn { margin-top: 20px; }

.contact-grid--form { grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); }
.contact-side { display: grid; gap: 14px; }
.contact-side .contact-card h3 { font-size: 1rem; margin-bottom: 4px; }

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}
.email-link:hover { color: #bae6fd; }

@media (max-width: 900px) {
  .contact-grid--form { grid-template-columns: minmax(0, 1fr); }
}

/* 22 — Cookie consent ---------------------------------------------------- */
.consent {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 130;
  width: min(760px, calc(100vw - 28px));
  padding: 20px 22px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(8, 20, 36, 0.98);
  box-shadow: 0 30px 80px -26px rgba(0, 0, 0, 0.95), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.consent[hidden] { display: none; }
.consent__title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.consent__text {
  margin: 0;
  max-width: 64ch;
  font-size: 0.81rem;
  line-height: 1.62;
  color: #93a5ba;
}
.consent__text a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}
.consent__actions .btn { --btn-h: 40px; padding-inline: 16px; font-size: 0.84rem; }
.consent__panel {
  margin-top: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}
.consent__panel[hidden] { display: none; }
.consent-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
}
.consent-row + .consent-row { border-top: 1px solid rgba(148, 163, 184, 0.09); }
.consent-row__label { font-size: 0.84rem; font-weight: 600; color: #dbe5f1; }
.consent-row__desc { margin-top: 2px; font-size: 0.75rem; line-height: 1.5; color: #7c8fa6; max-width: 52ch; }
.consent-row__always {
  flex: none;
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid rgba(52, 211, 153, 0.28);
  background: rgba(52, 211, 153, 0.08);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6ee7b7;
  white-space: nowrap;
}

.switch {
  position: relative;
  display: inline-flex;
  flex: none;
  width: 40px;
  height: 24px;
  margin-top: 2px;
  cursor: pointer;
}
.switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}
.switch__track {
  width: 40px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(148, 163, 184, 0.18);
  transition: background 0.2s, border-color 0.2s;
}
.switch__track::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: transform 0.22s var(--ease), background 0.2s;
}
.switch input:checked + .switch__track {
  background: rgba(59, 130, 246, 0.9);
  border-color: rgba(59, 130, 246, 0.9);
}
.switch input:checked + .switch__track::after { transform: translateX(16px); background: #fff; }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--accent); outline-offset: 3px; }

.footer-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.75rem;
  color: #71859d;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--text); }

@media (max-width: 560px) {
  .consent { padding: 17px 16px; bottom: 12px; }
  .consent__actions { flex-direction: column; align-items: stretch; }
  .consent__actions .btn { width: 100%; }
}

@media print {
  .site-header, .site-footer, .toast, .btn { display: none !important; }
  body { background: #fff; color: #111; }
  .card, .feature, .step, .trial-panel, .price-card { border-color: #ddd; background: #fff; box-shadow: none; }
}

/* PyCloud official PNG branding: header and footer only. */
.brand .brand-logo {
  display: block;
  width: auto;
  height: 56px;
  max-width: 190px;
  object-fit: contain;
}
.footer-brand .brand-logo {
  height: 69px;
  max-width: 230px;
}
@media (max-width: 640px) {
  .site-header .brand-logo {
    height: 46px;
    max-width: 155px;
  }
  .footer-brand .brand-logo {
    height: 58px;
    max-width: 195px;
  }
}
