/* gpuswarm.io marketing site. The round 6 theme: a light, airy page built around liquid-glass pictures,
   a two-tone headline, small monospace labels and buttons, white panels with soft corners. */
:root {
  --bg: #fbfbfd;
  --surface: #ffffff;
  --ink: #0b0c10;
  --text: #2b2f3a;
  --muted: #6b7180;
  --grey: #8a8f98;          /* the second headline line */
  --line: #e6e8ec;
  --line-strong: #d3d7de;
  --brand: #1c3aa6;         /* the logo's blue, used for the menu */
  --accent: #1f43c4;        /* the cobalt inside the glass */
  --max: 1180px;
  --gutter: 28px;
  --radius: 18px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; color: var(--text); font-family: var(--font); font-size: 15.5px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background: linear-gradient(180deg, #f1f3fb 0, var(--bg) 520px) no-repeat var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; }

/* Header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(246, 247, 252, 0.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; color: var(--ink); letter-spacing: -0.01em; }
.brand img { height: 30px; width: auto; display: block; }
.links { display: flex; align-items: center; gap: 26px; white-space: nowrap; font-size: 14px; font-weight: 500; color: var(--brand); }
.links a:hover { color: var(--ink); }
.actions { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.actions .signin { color: var(--brand); font-weight: 500; white-space: nowrap; }
.actions .signin:hover { color: var(--ink); }

/* Buttons: small, monospace, uppercase */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 16px; border-radius: 7px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; white-space: nowrap;
  border: 1px solid transparent; transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #23262f; transform: translateY(-1px); }
.btn-secondary { background: #eceef3; color: var(--ink); }
.btn-secondary:hover { background: #e1e4eb; transform: translateY(-1px); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 11px; }

/* Section furniture */
section { padding: 84px 0; }
.head { text-align: center; max-width: 720px; margin: 0 auto; }
.label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey); }
h2 { margin-top: 10px; font-size: 32px; line-height: 1.2; letter-spacing: -0.022em; font-weight: 500; color: var(--ink); }
.head p { margin-top: 12px; color: var(--muted); }
h3 { font-size: 19px; font-weight: 500; color: var(--ink); letter-spacing: -0.012em; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 rgba(11, 12, 16, 0.02), 0 24px 48px -36px rgba(31, 67, 196, 0.22); }
.kind { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); }

/* Hero */
.hero { padding: 40px 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 16px; align-items: center; min-height: 520px; }
.hero-grid > div:first-child { position: relative; z-index: 1; }
.hero h1 { font-size: 60px; line-height: 1.04; letter-spacing: -0.035em; font-weight: 500; color: var(--ink); }
.hero h1 span { display: block; color: var(--grey); }
.lede { margin-top: 22px; max-width: 46ch; font-size: 16px; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-art { position: relative; z-index: 0; margin-right: -60px; }
.hero-art .art { position: relative; transform: scale(1.12); transform-origin: 55% 50%; }   /* picture and labels grow together */
.hero-art img {
  width: 100%;
  /* the picture's own background fades out along all four edges, so it has no visible frame */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 11%, #000 89%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 11%, #000 89%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 86%, transparent 100%);
  mask-composite: intersect;
}
/* The labels on the hero picture: a short leader line, then the word. Positions are set per label in the page. */
.tag { position: absolute; display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tag i { width: 34px; height: 1px; background: #b9bfca; }                               /* the leader line */
.tag u { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }        /* the point it marks */
.tag.rev { flex-direction: row-reverse; }                                                  /* word on the right of its point */

/* Four steps under the hero */
.steps { margin-top: 28px; border-top: 1px solid var(--line); }
.steps ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.steps li { display: flex; gap: 14px; padding: 24px 24px 8px; border-left: 1px solid var(--line); }
.steps li:first-child { border-left: 0; padding-left: 0; }
.steps .n { font-family: var(--mono); font-size: 20px; color: var(--grey); line-height: 1.2; }
.steps p { font-size: 14.5px; color: var(--muted); }
.steps b { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: 0.1em; color: var(--ink); }

/* Two ways in */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.pair .media { aspect-ratio: 2 / 1; overflow: hidden; }
.pair .media img { width: 100%; height: 100%; object-fit: cover; }
.pair .body { padding: 22px 28px 28px; }
.pair h3 { margin-top: 8px; }
.pair p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.pair .btn { margin-top: 18px; }

/* Open models */
.models { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 20px; margin-top: 44px; }
.models .stage { display: flex; flex-direction: column; }
.models .stage img { width: 100%; flex: 1; object-fit: cover; min-height: 0; }
.models .stage p { padding: 16px 24px 20px; text-align: center; font-size: 14px; color: var(--muted); }
.models .stack { display: grid; gap: 14px; }
.models .stack .panel { padding: 20px 24px; box-shadow: none; }
.models .stack p { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* What joins */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.trio .media { aspect-ratio: 16 / 10; overflow: hidden; display: grid; place-items: center; }
/* each picture's own background fades out, so the three bubbles can be shown at three sizes with no visible edge */
.trio .media img { width: 66%; -webkit-mask-image: radial-gradient(closest-side, #000 66%, transparent 100%); mask-image: radial-gradient(closest-side, #000 66%, transparent 100%); }
.trio .large .media img { width: 78%; }
.trio .small .media img { width: 46%; }
.trio .body { padding: 4px 26px 26px; }
.trio p { margin-top: 4px; font-size: 14.5px; color: var(--muted); }

/* Trust */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 44px; }
.trust > div { padding: 28px 26px; border-left: 1px solid var(--line); }
.trust > div:first-child { border-left: 0; }
.trust svg { width: 26px; height: 26px; color: var(--ink); margin-bottom: 14px; }
.trust h3 { font-size: 16px; }
.trust p { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* Whole-GPU line */
.band { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; padding: 18px 26px; background: #f1f2f6; border-radius: 14px; }
.band p { color: var(--ink); }

/* Closing */
.close { padding: 40px 0 72px; }
.close .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: center; }
.close h2 { margin: 0; font-size: 60px; line-height: 1.04; letter-spacing: -0.035em; }
.close-art img {
  width: 100%;
  /* this picture has empty background on every side, so a wide fade removes its frame without touching the bubbles */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 16%, #000 84%, transparent 100%);
  mask-composite: intersect;
}

/* Footer */
footer { border-top: 1px solid var(--line); padding: 26px 0 40px; font-size: 13.5px; color: var(--grey); }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 24px; color: var(--muted); }
footer a:hover { color: var(--ink); }

/* Smaller screens */
@media (max-width: 1180px) { .tag { display: none; } }   /* the labels need room beside the picture */
@media (max-width: 960px) {
  .links { display: none; }
  .hero { padding-top: 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .hero h1, .close h2 { font-size: 44px; }
  .hero-art { margin: 8px -12px 0; }
  .hero-art .art { transform: none; }
  .steps ul { grid-template-columns: 1fr 1fr; }
  .steps li { padding: 20px 16px 8px 0; border-left: 0; }
  .pair, .models, .trio { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust > div { border-left: 0; border-top: 1px solid var(--line); }
  .trust > div:nth-child(-n+2) { border-top: 0; }
  .trust > div:nth-child(even) { border-left: 1px solid var(--line); }
  .close .wrap { grid-template-columns: 1fr; }
  .close-art { order: -1; max-width: 520px; }
  section { padding: 64px 0; }
  h2 { font-size: 27px; }
}
@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .hero h1, .close h2 { font-size: 36px; }
  .actions .signin { display: none; }
  .cta .btn { flex: 1 1 100%; }
  .tag { font-size: 9px; letter-spacing: 0.1em; }
  .tag i { width: 16px; }
  .steps ul { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .trust > div, .trust > div:nth-child(even) { border-left: 0; border-top: 1px solid var(--line); }
  .trust > div:nth-child(2) { border-top: 1px solid var(--line); }
  .pair .body { padding: 18px 20px 22px; }
  .band { flex-direction: column; align-items: flex-start; }
  h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* Inner pages (How it works, FAQ, About): a centred heading, then plain sections */
.narrow { max-width: 820px; }
.page-head { padding: 72px 0 20px; text-align: center; }
.page-head h1 { margin-top: 12px; font-size: 48px; line-height: 1.06; letter-spacing: -0.032em; font-weight: 500; color: var(--ink); }
.page-head h1 span { display: block; color: var(--grey); }
.page-head .lede { margin: 20px auto 0; max-width: 58ch; }
.page section { padding: 56px 0; }
.page .page-head { padding: 72px 0 20px; }
.stages { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stages.three { grid-template-columns: repeat(3, 1fr); }
.stages li { padding: 22px 22px 24px; }
.stages .n { font-family: var(--mono); font-size: 13px; color: var(--grey); }
.stages h3 { margin-top: 10px; }
.stages p, .rows p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }
.rows { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.rows .panel { padding: 22px 24px 24px; }
.chip { display: inline-block; margin-top: 14px; padding: 4px 9px; border-radius: 999px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); background: #eef0f4; }
.chip.on { color: #14622f; background: #e2f3e7; }
.note { margin: 22px auto 0; max-width: 62ch; text-align: center; font-size: 14px; color: var(--muted); }
.prose h2, .faq h2 { margin-top: 44px; font-size: 24px; }
.prose h2:first-child, .faq h2:first-child { margin-top: 0; }
.prose p { margin-top: 12px; }
.prose a, .faq a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.points { margin-top: 14px; display: grid; gap: 10px; }
.points li { padding-left: 18px; position: relative; }
.points li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.points b { color: var(--ink); font-weight: 600; }
.faq details { border-bottom: 1px solid var(--line); }
.faq h2 + details { margin-top: 12px; border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-size: 16px; font-weight: 500; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--grey); }
.faq details[open] summary::after { content: "\2212"; }
.faq details div { padding: 0 0 18px; max-width: 64ch; color: var(--text); }
.page-cta { text-align: center; padding-bottom: 84px !important; }
.page-cta .cta { justify-content: center; }

/* Footer with columns */
footer .foot { align-items: flex-start; gap: 32px 48px; }
.foot-brand { flex: 1 1 220px; }
.foot-brand .brand img { height: 26px; }
.foot-brand p { margin-top: 10px; }
footer .foot nav { flex-direction: column; gap: 8px; }
footer .foot nav b { font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); margin-bottom: 4px; }
.foot-base { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }

@media (max-width: 960px) {
  .stages, .stages.three { grid-template-columns: 1fr 1fr; }
  .rows { grid-template-columns: 1fr; }
  .page-head h1 { font-size: 38px; }
}
@media (max-width: 560px) {
  .stages, .stages.three { grid-template-columns: 1fr; }
  .page-head h1 { font-size: 32px; }
}

/* Phone menu: a plain <details>, no script. Shown where the header links are hidden. */
.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; border-radius: 7px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span, .menu summary span::before, .menu summary span::after { content: ""; display: block; width: 16px; height: 1.5px; background: var(--ink); }
.menu summary span { position: relative; }
.menu summary span::before { position: absolute; top: -5px; }
.menu summary span::after { position: absolute; top: 5px; }
.menu nav { position: absolute; left: 0; right: 0; top: 68px; padding: 8px var(--gutter) 16px; background: #f6f7fc; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -22px rgba(20, 30, 70, 0.35); display: grid; }
.menu nav a { padding: 12px 0; font-size: 16px; font-weight: 500; color: var(--brand); border-bottom: 1px solid var(--line); }
.menu nav a:last-child { border-bottom: 0; }
.page-head .chip { margin-top: 20px; }
@media (max-width: 1100px) { .links { gap: 18px; font-size: 13.5px; } }
@media (max-width: 960px) { .menu { display: block; } .actions { margin-left: auto; } }

/* the live line under the home page's first buttons, and command blocks on the install page */
.live { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.live[hidden] { display: none; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #1f9d55; flex: none; }
.cmd { margin-top: 14px; padding: 16px 18px; background: #0f1222; color: #e8eaf6; border-radius: 12px; overflow-x: auto; font-family: var(--mono); font-size: 13.5px; line-height: 1.6; }
.prose code { font-family: var(--mono); font-size: 0.92em; }
.prose .cmd code { font-size: inherit; }
.signin[hidden] { display: none; }
