/* superduperhosting.online — newspaper-comic landing */

:root {
  --paper: #FAF8F2;
  --paper-dim: #F2EDE2;
  --ink: #1C1915;
  --ink-soft: #6B6457;
  --night: #161210;
  --night-soft: #C9BFAF;
  --accent: #E8551F;
  --accent-soft: #FBE3D7;
  --flame-1: #FF7A2F;
  --flame-2: #FFC23D;
  --wonk: 1;
  --border: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --font-comic: "Shantell Sans", "Comic Sans MS", cursive;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-comic); line-height: 1.12; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: var(--border);
}
.topbar-inner {
  display: flex; align-items: center; gap: 28px;
  padding: 14px 28px; max-width: 1100px; margin: 0 auto;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo svg { display: block; }
.logo-word { font-family: var(--font-comic); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.logo-word span { color: var(--accent); }
.topnav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.topnav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.topnav a:hover { color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-comic); font-weight: 700; font-size: 16px;
  background: var(--accent); color: #fff;
  border: var(--border); box-shadow: var(--shadow-sm);
  padding: 9px 18px; border-radius: 10px;
  text-decoration: none; cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn.ghost { background: var(--paper); color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding-top: 96px; padding-bottom: 104px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.kicker {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); font-weight: 700;
}
.hero h1 { font-size: clamp(40px, 5.4vw, 62px); font-weight: 800; margin: 14px 0 18px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: 19px; color: var(--ink-soft); max-width: 52ch; }

.cmd-card {
  margin-top: 28px; display: inline-flex; flex-direction: column; gap: 0;
  border: var(--border); border-radius: 12px; box-shadow: var(--shadow);
  background: var(--ink); color: #F5F1E8; overflow: hidden; max-width: 100%;
}
.cmd-label {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em;
  padding: 8px 16px; background: var(--accent); color: #fff;
  border-bottom: var(--border); text-transform: uppercase; font-weight: 700;
}
.cmd-row { display: flex; align-items: center; gap: 18px; padding: 14px 16px; }
.cmd-row code { font-family: var(--font-mono); font-size: 15px; white-space: nowrap; }
.cmd-row code .dim { opacity: 0.5; }
.copy-btn {
  font-family: var(--font-comic); font-weight: 700; font-size: 14px;
  background: var(--paper); color: var(--ink); border: 2px solid var(--paper);
  border-radius: 8px; padding: 5px 12px; cursor: pointer; flex-shrink: 0;
}
.copy-btn:hover { background: var(--flame-2); border-color: var(--flame-2); }
.cmd-result {
  padding: 10px 16px 14px; font-family: var(--font-mono); font-size: 13.5px;
  border-top: 2px dashed #4a443c; display: flex; flex-direction: column; gap: 4px;
}
.cmd-result .ok { color: #7ED491; }
.cmd-result a { color: var(--flame-2); text-decoration: underline; }

.hero-aside { display: flex; flex-direction: column; gap: 14px; }

/* single-column hero: problem -> kicker + h1 -> art -> sub -> command */
.hero-single {
  max-width: 820px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.hero-problem {
  font-family: var(--font-comic); font-weight: 800; line-height: 1.02;
  font-size: clamp(40px, 6vw, 68px); margin: 0 0 18px;
  padding-bottom: 50px;
}
.hero-problem code { font-family: var(--font-mono); color: var(--accent); font-size: 0.78em; }
.hero-single .kicker { margin-bottom: 2px; }
.hero-single h1 { font-size: clamp(28px, 3.4vw, 40px); margin: 8px 0 18px; color: var(--ink-soft); font-weight: 700; }
.hero-single h1 em { color: var(--accent); }
.hero-single .hero-sub { max-width: 60ch; margin: 0 auto; }
.hero-single .cmd-card { margin-top: 26px; text-align: left; }
.hero-art {
  display: block; width: 100%; max-width: 720px; height: auto;
  border: var(--border); border-radius: 14px; box-shadow: var(--shadow);
  rotate: -0.8deg; background: #fff; margin: 56px auto 56px;
}

/* ---------- comic strip slide ---------- */
.strip-slide { padding: 120px 0; }
.strip-slide .strip { margin-top: 0; }
.strip-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.strip-head h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; margin-top: 10px; }

/* ---------- install + prompt->deploy ---------- */
.install-cta { display: flex; justify-content: center; }
.install-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  align-items: start; max-width: 860px; margin: 0 auto;
}
.install-grid .cmd-card { display: flex; width: 100%; max-width: none; }
.cfg { margin: 0; padding: 14px 16px; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.55; color: #F5F1E8; white-space: pre; overflow-x: auto; }
.cfg code { font-family: var(--font-mono); }
.cfg-actions { padding: 0 16px 14px; }
@media (max-width: 760px) { .install-grid { grid-template-columns: 1fr; } }
.flow-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; align-items: center; }
.flow-card { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.flow-shot {
  border: var(--border); border-radius: 14px; box-shadow: var(--shadow);
  overflow: hidden; background: #fff;
}
.flow-shot img { display: block; width: 100%; height: auto; }
.flow-card:first-of-type .flow-shot { rotate: -0.7deg; }
.flow-card:last-of-type .flow-shot { rotate: 0.7deg; }
.flow-card figcaption {
  font-family: var(--font-comic); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center;
}
.flow-card figcaption a { color: var(--accent); }
.flow-step {
  display: inline-grid; place-items: center; width: 26px; height: 26px; flex-shrink: 0;
  background: var(--accent); color: #fff; border: 2px solid var(--ink); border-radius: 50%; font-size: 14px;
}
.flow-arrow { font-family: var(--font-comic); font-weight: 800; font-size: 40px; color: var(--accent); text-align: center; }
@media (max-width: 760px) {
  .flow-grid { grid-template-columns: 1fr; }
  .flow-arrow { rotate: 90deg; }
}

/* ---------- comic panels ---------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.panel {
  background: #fff; border: var(--border); border-radius: 10px;
  box-shadow: var(--shadow-sm); overflow: hidden;
  display: flex; flex-direction: column;
}
.strip .panel:nth-child(odd) { rotate: calc(var(--wonk) * -0.6deg); }
.strip .panel:nth-child(even) { rotate: calc(var(--wonk) * 0.5deg); }
.panel-num {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-bottom: 2px solid var(--ink);
  background: var(--paper-dim); letter-spacing: 0.1em;
}
.bubble {
  font-family: var(--font-comic); font-weight: 500; font-size: 14.5px; line-height: 1.3;
  padding: 10px 12px 8px;
}
.bubble code { font-family: var(--font-mono); font-size: 12.5px; background: var(--accent-soft); padding: 1px 4px; border-radius: 4px; }
.panel svg { display: block; width: 100%; height: auto; margin-top: auto; }
.panel.dark { background: var(--ink); color: var(--paper); justify-content: center; text-align: center; }
.panel.dark .panel-num { background: var(--ink); color: var(--paper); border-color: var(--paper); }
.panel-psa {
  font-family: var(--font-comic); font-weight: 700; font-size: 16.5px; line-height: 1.35;
  padding: 18px 16px;
}
.panel-psa small { display: block; margin-top: 12px; font-weight: 400; font-size: 12px; opacity: 0.65; }
.panel-psa code { font-family: var(--font-mono); font-size: 14px; color: var(--flame-2); }

/* mini chat mock inside a panel */
.chat { display: flex; flex-direction: column; gap: 7px; padding: 12px; }
.chat-msg {
  font-size: 13px; line-height: 1.35; padding: 7px 11px; border-radius: 12px;
  border: 2px solid var(--ink); max-width: 88%;
}
.chat-msg.out { align-self: flex-end; background: var(--accent-soft); border-bottom-right-radius: 3px; }
.chat-msg.in { align-self: flex-start; background: var(--paper-dim); border-bottom-left-radius: 3px; }
.chat-msg code { font-family: var(--font-mono); font-size: 12px; }
.chat-msg a { color: #2456C4; }
.chat-time { font-family: var(--font-mono); font-size: 10px; color: var(--ink-soft); align-self: flex-end; }

/* ---------- sections ---------- */
.section { padding: 120px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; margin: 10px 0 14px; }
.section-head p { color: var(--ink-soft); font-size: 18px; }
.section.dim { background: var(--paper-dim); border-top: var(--border); border-bottom: var(--border); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: #fff; border: var(--border); border-radius: 12px;
  box-shadow: var(--shadow-sm); padding: 24px; position: relative;
}
.step:nth-child(2) { rotate: calc(var(--wonk) * 0.5deg); }
.step:nth-child(3) { rotate: calc(var(--wonk) * -0.4deg); }
.step-n {
  position: absolute; top: -18px; left: 20px;
  font-family: var(--font-comic); font-weight: 800; font-size: 18px;
  background: var(--accent); color: #fff; border: var(--border);
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
}
.step h3 { font-size: 21px; margin: 14px 0 10px; }
.step p { font-size: 15.5px; color: var(--ink-soft); }
.step code { font-family: var(--font-mono); font-size: 13px; background: var(--accent-soft); padding: 1px 5px; border-radius: 4px; }
.step-link {
  margin-top: 14px; font-family: var(--font-mono); font-size: 13px;
  background: var(--ink); color: #7ED491; border-radius: 8px; padding: 8px 12px;
  overflow-wrap: anywhere;
}
.step-link span { color: var(--flame-2); }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff; border: var(--border); border-radius: 12px;
  box-shadow: var(--shadow-sm); padding: 22px;
}
.feature h3 { font-size: 19px; margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.feature h3 svg { flex-shrink: 0; }
.feature p { font-size: 15px; color: var(--ink-soft); }

/* agnostic */
.agnostic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.agnostic-card {
  background: #fff; border: var(--border); border-radius: 12px;
  box-shadow: var(--shadow-sm); padding: 20px; text-align: center;
  display: flex; flex-direction: column; gap: 8px;
}
.agnostic-card.them { rotate: calc(var(--wonk) * -0.7deg); }
.agnostic-card.us { rotate: calc(var(--wonk) * 0.6deg); }
.agnostic-card svg { width: 100%; height: auto; }
.agnostic-tag {
  font-family: var(--font-comic); font-weight: 800; font-size: 17px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.agnostic-card.us .agnostic-tag { color: var(--accent); }
.agnostic-card figcaption { font-size: 14px; color: var(--ink-soft); }

/* showcase */
.builds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.build {
  background: #fff; border: var(--border); border-radius: 12px;
  box-shadow: var(--shadow-sm); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.1s ease;
  text-decoration: none; color: inherit;
}
.build:hover { transform: translateY(-3px); }
.builds .build:nth-child(odd) { rotate: calc(var(--wonk) * 0.4deg); }
.builds .build:nth-child(even) { rotate: calc(var(--wonk) * -0.4deg); }
.build-preview {
  position: relative; height: 130px; border-bottom: var(--border);
  background: repeating-linear-gradient(45deg, var(--paper-dim) 0 10px, #fff 10px 20px);
  display: grid; place-items: center; overflow: hidden;
}
.build-preview img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.build-fallback {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-comic); font-weight: 800; font-size: 40px; color: #fff;
  text-shadow: 0 2px 0 rgba(0,0,0,0.18);
}
.build-preview span {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-soft);
  background: #fff; border: 2px solid var(--ink); border-radius: 6px; padding: 3px 8px;
}
.build-body { padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.build-name { font-family: var(--font-mono); font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.build-name span { color: var(--accent); }
.build-desc { font-size: 13.5px; color: var(--ink-soft); flex: 1; }
.build-stats {
  display: flex; gap: 12px; align-items: flex-end;
  border-top: 2px dashed var(--paper-dim); padding-top: 10px;
}
.build-stat { font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); }
.build-stat b { display: block; font-size: 15px; color: var(--ink); }
.spark { display: flex; gap: 2px; align-items: flex-end; height: 26px; margin-left: auto; }
.spark i { width: 5px; background: var(--accent); border-radius: 2px 2px 0 0; display: block; }
.build-agent {
  align-self: flex-start; font-family: var(--font-comic); font-weight: 700; font-size: 11px;
  border: 2px solid var(--ink); border-radius: 999px; padding: 2px 9px; background: var(--accent-soft);
}

/* ---------- server room (dark) ---------- */
.serverroom {
  background: var(--night); color: var(--paper);
  border-top: var(--border); border-bottom: var(--border);
  padding: 84px 0; overflow: hidden;
}
.serverroom .section-head h2 { color: var(--paper); }
.serverroom .section-head p { color: var(--night-soft); }
.scene-wrap {
  border: 3px solid #3A332B; border-radius: 14px; background: #1E1915;
  box-shadow: 8px 8px 0 #000; padding: 10px;
}
.scene-wrap svg { display: block; width: 100%; height: auto; }
.uptime-row { display: flex; gap: 28px; margin-top: 30px; flex-wrap: wrap; }
.uptime {
  font-family: var(--font-mono); font-size: 13px; color: var(--night-soft);
  display: flex; align-items: baseline; gap: 10px;
}
.uptime b { font-family: var(--font-comic); font-size: 30px; color: var(--flame-2); font-weight: 800; }

@keyframes flicker {
  0%, 100% { transform: scaleY(1) scaleX(1); }
  30% { transform: scaleY(1.12) scaleX(0.94); }
  60% { transform: scaleY(0.9) scaleX(1.06); }
  80% { transform: scaleY(1.06) scaleX(0.97); }
}
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0.15; } }
@media (prefers-reduced-motion: no-preference) {
  body:not(.no-flicker) .flame { animation: flicker 0.45s infinite; transform-origin: center bottom; transform-box: fill-box; }
  body:not(.no-flicker) .blink { animation: blink 1.1s infinite; }
  body:not(.no-flicker) .blink.b2 { animation-delay: 0.35s; }
  body:not(.no-flicker) .blink.b3 { animation-delay: 0.7s; }
}

/* roadmap */
.roadmap { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.road-col {
  background: #fff; border: var(--border); border-radius: 12px;
  box-shadow: var(--shadow-sm); padding: 26px;
}
.road-col h3 { font-size: 22px; margin: 0 0 18px; display: flex; gap: 10px; align-items: center; }
.road-col h3 .pill {
  font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  border: 2px solid var(--ink); border-radius: 999px; padding: 2px 10px;
}
.road-col.shipped h3 .pill { background: #BFE8C8; }
.road-col.next h3 .pill { background: var(--flame-2); }
.road-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.road-list li { display: flex; gap: 12px; align-items: flex-start; }
.road-list .mark {
  font-family: var(--font-comic); font-weight: 800; flex-shrink: 0;
  width: 26px; height: 26px; border: 2px solid var(--ink); border-radius: 7px;
  display: grid; place-items: center; font-size: 15px; margin-top: 1px;
}
.road-col.shipped .mark { background: #BFE8C8; }
.road-col.next .mark { background: var(--paper-dim); color: var(--ink-soft); }
.road-list b { font-size: 16px; }
.road-list p { font-size: 14px; color: var(--ink-soft); margin-top: 1px; }

/* footer */
.footer { background: var(--ink); color: var(--paper); padding: 80px 0 40px; }
.footer h2 { font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; text-align: center; }
.footer h2 code { font-family: var(--font-mono); color: var(--flame-2); font-size: 0.8em; }
.footer-cta { display: flex; justify-content: center; margin-top: 30px; }
.footer .cmd-card { background: #2A251F; box-shadow: 6px 6px 0 #000; }
.footer-links {
  display: flex; gap: 26px; justify-content: center; flex-wrap: wrap;
  margin-top: 56px; padding-top: 24px; border-top: 2px dashed #4a443c;
  font-size: 14px; color: var(--night-soft);
}
.footer-links a { color: var(--night-soft); }
.footer-fineprint { text-align: center; font-family: var(--font-mono); font-size: 11.5px; color: #6B6457; margin-top: 18px; }

/* responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .steps, .features { grid-template-columns: 1fr 1fr; }
  .builds { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .topnav a:not(.btn) { display: none; }
  .strip, .steps, .features, .builds, .agnostic-grid, .roadmap { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .cmd-row code { white-space: normal; overflow-wrap: anywhere; }
}
