/* Shared style of the static pages (GPU guides, FAQ, listing page). Same look as terms.html / privacy.html. */
:root { --bg:#050607; --fg:#EDEFF2; --muted:#9aa3ad; --subtle:#6f7883; --line:#1c2127; --accent:#CEEFFF; }
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--fg); font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif; line-height:1.6; -webkit-font-smoothing:antialiased; }
.wrap { max-width:760px; margin:0 auto; padding:64px 24px 96px; }
.back, .meta, dt, .cta, .cta-ghost, .tag, .hd-tag, .hd-link, .hd-cta { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; }
/* Site header: mirrors the home page header (src/components.css .hd*): 66px tall, 1240px max, 7vw edge,
   logo + "Reserved GPU capacity" tag, links and a filled Book a call; below 880px only the logo and the button stay. */
.hd { position:sticky; top:0; z-index:10; background:rgba(5,6,7,.86); -webkit-backdrop-filter:blur(14px) saturate(120%); backdrop-filter:blur(14px) saturate(120%); border-bottom:1px solid var(--line); }
.hd-inner { max-width:1240px; margin:0 auto; padding:0 7vw; height:66px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.hd-brand { display:flex; align-items:center; gap:14px; text-decoration:none; }
.hd-logo { display:block; height:16px; width:auto; filter:brightness(0) invert(1); }
.hd-tag { font-size:9.5px; font-weight:500; letter-spacing:.18em; text-transform:uppercase; color:var(--subtle); white-space:nowrap; border-left:1px solid rgba(255,255,255,.16); padding-left:14px; }
.hd-nav { display:flex; align-items:center; gap:30px; }
.hd-link { font-size:13px; color:var(--muted); text-decoration:none; }
.hd-link:hover, .hd-link[aria-current="page"] { color:var(--fg); }
.hd-cta { font-size:13px; font-weight:500; white-space:nowrap; padding:11px 16px; background:var(--fg); color:var(--bg); text-decoration:none; }
.hd-cta:hover { background:#fff; }
.hd + .wrap { padding-top:24px; }
@media (max-width:880px) { .hd-link, .hd-tag { display:none; } }
@media (max-width:1000px) { .hd-tag { display:none; } } /* the tag text is longer since 14.10, it goes first */
@media (max-width:820px) { .hd-inner { padding:0 22px; } }
.back { font-size:11px; letter-spacing:.13em; text-transform:uppercase; color:var(--subtle); text-decoration:none; }
.back:hover { color:var(--accent); }
h1 { font-size:32px; line-height:1.2; letter-spacing:-.02em; margin:32px 0 8px; font-weight:600; }
.meta { font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--subtle); margin-bottom:36px; padding-bottom:24px; border-bottom:1px solid var(--line); }
h2 { font-size:18px; line-height:1.3; margin:40px 0 12px; font-weight:600; }
p, li, dd { color:var(--muted); font-size:15px; }
.lead { color:var(--fg); font-size:17px; }
ul, ol { padding-left:20px; }
li { margin-bottom:6px; }
a { color:var(--accent); }
dl.facts { display:grid; grid-template-columns:170px 1fr; gap:12px 20px; margin:20px 0 0; padding:20px; border:1px solid var(--line); }
dt { font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--subtle); padding-top:3px; }
dd { margin:0; }
.cta-row { display:flex; flex-wrap:wrap; align-items:center; gap:14px 22px; margin:30px 0 6px; }
.cta { display:inline-block; padding:12px 20px; background:var(--fg); color:var(--bg); font-size:13px; text-decoration:none; }
.cta:hover { background:#fff; }
.cta-ghost { display:inline-block; padding:11px 19px; border:1px solid rgba(255,255,255,.16); color:var(--fg); font-size:13px; text-decoration:none; }
.cta-ghost:hover { border-color:var(--fg); }
.note { font-size:13px; color:var(--subtle); }
.related { margin-top:48px; padding-top:20px; border-top:1px solid var(--line); }
.related a { display:inline-block; margin:0 18px 8px 0; font-size:14px; }
.faq h2 { font-size:16px; margin-top:32px; }
footer { margin-top:56px; padding-top:24px; border-top:1px solid var(--line); font-size:13px; color:var(--subtle); }
@media (max-width:560px) {
  h1 { font-size:27px; }
  dl.facts { grid-template-columns:1fr; gap:2px 0; }
  dd { margin-bottom:12px; }
}
/* Booking page (call.html). The page fits the screen and does not scroll itself, so the calendar frame
   stays in place; only Google's content scrolls inside it when a week has more slots than fit.
   Google's layout is 704-752px tall at frame widths 700-1000px, stacks into ~1200px below ~650px and
   grows again above ~1050px, hence the 720-1000px frame column on wide screens. */
.call { display:grid; grid-template-columns:340px minmax(720px,1000px); grid-template-rows:minmax(0,1fr); justify-content:center; gap:48px; padding:24px; height:100vh; height:100dvh; }
.call-side { overflow-y:auto; padding-top:16px; }
.call-top { display:flex; justify-content:space-between; align-items:baseline; gap:12px; }
.call-open { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:11px; letter-spacing:.08em; text-transform:uppercase; text-decoration:none; }
/* Host photo sits in our column, not in Google's frame: the inverted frame would show it as a negative */
.call-head { display:grid; grid-template-columns:56px 1fr; grid-template-areas:"title title" "photo name" "photo role"; column-gap:14px; }
.call-head h1 { grid-area:title; margin:22px 0 20px; }
.call-photo { grid-area:photo; width:56px; height:56px; border-radius:50%; object-fit:cover; }
.call-name { grid-area:name; align-self:end; color:var(--fg); font-size:16px; font-weight:600; line-height:1.3; }
.call-role { grid-area:role; align-self:start; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--subtle); line-height:1.8; }
.call-for { margin:20px 0 0; padding-top:16px; border-top:1px solid var(--line); }
.call-frame { position:relative; overflow:hidden; background:#000; border:1px solid var(--line); }
/* Google's booking page has no dark theme (with the system dark scheme it stays white), so the frame is
   inverted and hue-rotate turns the blues back to blue. The inversion would also turn the profile photo in
   Google's header into a negative, so the top 70px of Google's page (photo and name line) are cropped off:
   at frame widths 300-1160px the photo ends at 46-64px and the next line starts at 72-88px (measured 08.10).
   The iframe starts 58px above the frame and a 12px black strip covers 58-70px, so the first visible line
   keeps some air. The booking dialog loses at most its title line on phones; date and time stay visible. */
.call-frame::before { content:''; position:absolute; top:0; left:0; right:0; height:12px; background:#000; z-index:1; }
.call-frame iframe { position:absolute; top:-58px; left:0; width:100%; height:calc(100% + 58px); border:0; filter:invert(1) hue-rotate(180deg); }
@media (max-width:1159px) {
  .call { display:flex; flex-direction:column; gap:0; padding:0; }
  .call-side { flex:none; overflow:visible; padding:14px 16px 12px; }
  .call-head { grid-template-columns:44px auto 1fr; grid-template-areas:"photo title title" "photo name role"; column-gap:12px; align-items:center; margin-top:12px; }
  .call-head h1 { font-size:22px; line-height:1.15; margin:0; }
  .call-photo { width:44px; height:44px; }
  .call-name { align-self:center; font-size:13px; font-weight:500; }
  .call-role { align-self:center; font-size:10px; }
  .call-for { margin:10px 0 0; padding-top:0; border-top:0; font-size:13px; line-height:1.45; }
  .call-frame { flex:1; min-height:400px; border-width:1px 0 0; }
}
/* Short request form on the static pages (site.js sends it to /api/rfq). */
.rfq { margin:20px 0 0; padding:20px; border:1px solid var(--line); display:grid; grid-template-columns:1fr 1fr; gap:14px 16px; }
.rfq .full { grid-column:1 / -1; }
.rfq label { display:block; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--subtle); margin-bottom:6px; }
.rfq input, .rfq textarea { width:100%; padding:10px 12px; background:#0b0d10; border:1px solid var(--line); color:var(--fg); font:15px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif; }
.rfq textarea { min-height:96px; resize:vertical; }
.rfq input:focus, .rfq textarea:focus { outline:none; border-color:var(--accent); }
.rfq .err input, .rfq .err textarea { border-color:#e5484d; }
.rfq button { justify-self:start; padding:12px 20px; background:var(--fg); color:var(--bg); border:0; font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:13px; cursor:pointer; }
.rfq button:disabled { opacity:.6; cursor:default; }
.rfq .hp { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.rfq-msg { margin:0; align-self:center; font-size:13px; color:var(--subtle); }
.rfq-done { margin:20px 0 0; padding:20px; border:1px solid var(--line); }
.answer { margin:0 0 8px; padding:16px 20px; border-left:2px solid var(--accent); background:#0b0d10; }
.answer p { margin:0; color:var(--fg); font-size:16px; }
table.grid { width:100%; border-collapse:collapse; margin:16px 0 0; font-size:14px; }
table.grid th, table.grid td { text-align:left; padding:10px 12px; border-bottom:1px solid var(--line); color:var(--muted); vertical-align:top; }
table.grid th { font-family:ui-monospace,SFMono-Regular,Menlo,monospace; font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:var(--subtle); font-weight:500; }
.table-scroll { overflow-x:auto; }
@media (max-width:560px) { .rfq { grid-template-columns:1fr; padding:16px; } }
/* Byline under the date line (20.10.2026, Dima: the articles and the index go out under his name). */
.byline { margin:-24px 0 32px; font-size:13px; color:var(--subtle); }
/* The index chart (build/live.mjs draws it from offers.json once four weeks have a B300 rate). */
.chart { margin:20px 0 0; }
.chart svg { display:block; width:100%; height:auto; }
.chart-grid { stroke:var(--line); stroke-width:1; }
.chart-label { fill:var(--subtle); font:11px ui-monospace,SFMono-Regular,Menlo,monospace; }
.chart-band { fill:rgba(206,239,255,.12); stroke:none; }
.chart-line { fill:none; stroke:var(--accent); stroke-width:2; }
.chart-dot { fill:var(--accent); }
.chart figcaption { margin-top:8px; font-size:13px; color:var(--subtle); }
/* Index subscription (site.js sends it to /api/subscribe): the request form's look, a consent line across. */
.rfq .check { grid-column:1 / -1; display:flex; gap:10px; align-items:flex-start; }
.rfq .check input { width:auto; margin-top:4px; }
.rfq .check label { font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif; font-size:14px; letter-spacing:0; text-transform:none; color:var(--muted); margin:0; }
.rfq .err.check label { color:#e5484d; }
.author { margin-top:40px; padding:16px 20px; border:1px solid var(--line); }
.author p { margin:0; font-size:14px; }
