:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg2: #f6f6f8;
  --fg: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --line2: #e8e8ec;
  --accent: #2f6fdb;
  --accent-fg: #ffffff;
  --code-bg: #f2f2f4;
  --card: #ffffff;
  --run: #1f9d55;
  --stop: #8a8a93;
  /* app illustration, same tokens as design/main-window.html */
  --win: #fbfbfc;
  --chrome: #ececef;
  --side: #f1f1f4;
  --sel: #dfe6f5;
  --max: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161618;
    --bg2: #1d1d20;
    --fg: #f5f5f7;
    --muted: #a1a1a6;
    --line: #3a3a3c;
    --line2: #2c2c30;
    --accent: #5b8def;
    --accent-fg: #0b0b0c;
    --code-bg: #2c2c2e;
    --card: #1f1f22;
    --run: #3ecf7a;
    --win: #1e1f23;
    --chrome: #2b2c31;
    --side: #25262a;
    --sel: #2b3a5c;
  }
}

* { box-sizing: border-box; }

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

a { color: var(--accent); }

img, picture { display: block; max-width: 100%; height: auto; }

.top, main, .site-footer {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

/* header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fg);
  font-weight: 650;
  text-decoration: none;
}

.top nav { display: flex; gap: 22px; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--fg); }

/* provider tiles: same colours as the onboarding rail */
.tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  color: #fff;
  font: 700 11px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  letter-spacing: 0.02em;
  flex: none;
}
.tile.plus { background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); font-size: 18px; font-weight: 400; }

/* official service icons: Amazon EC2 (AWS Architecture Icons) and Compute Engine (Google Cloud icon library) */
.logo { display: inline-block; width: 28px; height: 28px; border-radius: 6px; flex: none; }
.logo.gcp { background: #fff; padding: 3px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
.logo.sm { width: 18px; height: 18px; border-radius: 4px; margin-right: 8px; }
.logo.gcp.sm { padding: 1.5px; }

/* hero */
.hero { padding: 40px 0 56px; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 22px;
  padding: 5px 14px 5px 6px;
  border-radius: 999px;
  background: var(--bg2);
  box-shadow: inset 0 0 0 1px var(--line2);
  color: var(--muted);
  font-size: 14px;
}
.eyebrow .logo { width: 22px; height: 22px; border-radius: 5px; }
.eyebrow .logo.gcp { padding: 2px; }
.eyebrow .logo + .logo { margin-right: 4px; }

h1 {
  margin: 0 auto;
  max-width: 16em;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.lead {
  max-width: 38em;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 30px 0 0;
}

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-fg);
  font-weight: 600;
  text-decoration: none;
}
.button:hover { filter: brightness(1.06); }

.button.secondary {
  background: transparent;
  color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--line);
}

.try { margin: 16px 0 0; color: var(--muted); font-size: 15px; }

.caption { margin: 12px 0 0; color: var(--muted); font-size: 13px; }

/* illustrated app window */
.app {
  margin: 52px auto 0;
  max-width: 1040px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--win);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18), 0 0 0 1px var(--line);
  text-align: left;
  font-size: 13px;
  line-height: 1.3;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 46px;
  padding: 0 14px;
  background: var(--chrome);
}
.lights { display: flex; gap: 8px; }
.lights i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.lights i:nth-child(2) { background: #febc2e; }
.lights i:nth-child(3) { background: #28c840; }
.app-title { font-weight: 600; }
.app-search {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: min(340px, 45%);
  height: 28px;
  padding: 0 9px;
  border-radius: 6px;
  background: var(--win);
  box-shadow: 0 0 0 0.5px var(--line);
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
}
.app-search svg { width: 15px; height: 15px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; }

.app-body { display: flex; min-height: 300px; }

.app-side {
  width: 230px;
  flex: none;
  padding: 10px 8px;
  background: var(--side);
}
.side-h { margin: 8px 8px 4px; color: var(--muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.side-h:first-child { margin-top: 2px; }
.side-row { display: flex; align-items: center; justify-content: space-between; height: 28px; padding: 0 8px; border-radius: 6px; }
.side-row > span { display: inline-flex; align-items: center; white-space: nowrap; }
.side-row b { color: var(--muted); font-weight: 400; }
.side-row.on { background: var(--sel); }

.app-table { flex: 1; min-width: 0; }
.tr {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr 1.1fr 1.1fr 1.1fr;
  gap: 12px;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line2);
}
.tr > span { display: inline-flex; align-items: center; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr.th { height: 30px; color: var(--muted); font-size: 12px; font-weight: 500; }
.tr.sel { background: var(--sel); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }

.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; flex: none; }
.dot.run { background: var(--run); }
.dot.stop { background: var(--stop); }

.app-status {
  display: flex;
  justify-content: space-between;
  height: 26px;
  align-items: center;
  padding: 0 14px;
  background: var(--chrome);
  color: var(--muted);
  font-size: 11.5px;
}

/* supported clouds strip */
.ships {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 8px 0 72px;
}
.ship { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 12px; background: var(--bg2); }
.ship .tile { width: 40px; height: 40px; border-radius: 10px; font-size: 14px; }
.ship .logo { width: 40px; height: 40px; border-radius: 9px; }
.ship .logo.gcp { padding: 5px; }
.ship div { display: flex; flex-direction: column; }
.ship b { font-size: 16px; }
.ship div span { color: var(--muted); font-size: 14px; }
.ship.more { background: transparent; box-shadow: inset 0 0 0 1px var(--line2); }

/* sections */
.section-title { margin: 0 0 12px; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.02em; line-height: 1.1; }
.section-lead { max-width: 40em; margin: 0 0 36px; color: var(--muted); font-size: 18px; }

.why { padding: 72px 0; border-top: 1px solid var(--line2); }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid3 > * { min-width: 0; }
.card code { white-space: normal; overflow-wrap: anywhere; }

.card {
  padding: 24px;
  border-radius: 14px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line2);
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

/* feature rows */
.features { padding-bottom: 24px; }

.feature {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: center;
  padding: 72px 0;
  border-top: 1px solid var(--line2);
}
.feature:nth-child(even) .copy { order: 2; }

.kicker { margin: 0 0 8px; color: var(--accent); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

h2 { margin: 0 0 14px; font-size: 30px; line-height: 1.15; letter-spacing: -0.015em; }
h3 { margin: 28px 0 8px; font-size: 17px; }

.feature .copy p:not(.kicker) { color: var(--muted); margin: 0 0 14px; }
.feature .copy p:last-child { margin-bottom: 0; }

.shot {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px var(--line);
}

.stack { position: relative; padding: 0 0 12% 10%; }
.stack .back { width: 88%; opacity: 0.9; }
.stack .front { position: absolute; right: 0; bottom: 0; width: 88%; }

code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--code-bg);
  font: 0.85em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: nowrap;
}

kbd {
  display: inline-block;
  min-width: 1.6em;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line), 0 1px 0 var(--line);
  color: var(--fg);
  font: 600 0.82em -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  text-align: center;
  white-space: nowrap;
}

.keys { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin: 20px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 15px; }
.keys kbd { margin-right: 8px; }

/* install */
.install { padding: 72px 0 88px; border-top: 1px solid var(--line2); }
.install .card h3 { margin-bottom: 12px; }

pre {
  margin: 0 0 12px;
  padding: 12px 14px;
  overflow-x: auto;
  border-radius: 8px;
  background: var(--code-bg);
}
pre code { padding: 0; background: none; font-size: 13px; }

.note { color: var(--muted); font-size: 15px; }
.card .note { font-size: 14px; }

.needs { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.needs li { margin-bottom: 8px; }
.needs b { color: var(--fg); font-weight: 600; }

/* footer */
.site-footer {
  padding: 32px 0 48px;
  border-top: 1px solid var(--line2);
  color: var(--muted);
  font-size: 15px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 12px; }

.not-found { padding: 120px 0; text-align: center; }

@media (max-width: 900px) {
  .grid3, .ships { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .tr { grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; }
  .c-acct { display: none !important; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .top nav { gap: 14px; }
  .top nav a:first-child { display: none; }
  .feature { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .feature:nth-child(even) .copy { order: 0; }
  .why, .install { padding: 48px 0; }
  .tr { grid-template-columns: 1.5fr 1fr 1.2fr; }
  .c-type { display: none !important; }
  .app-search { width: auto; flex: 1; }
  .app-title { display: none; }
}

@media (max-width: 420px) {
  .top nav a:last-child { display: none; }
  .hero { padding-top: 24px; }
  h1 { font-size: 30px; }
  .button { width: 100%; text-align: center; }
  .eyebrow { font-size: 12.5px; }
  .tr { grid-template-columns: 1.4fr 1fr; padding: 0 12px; }
  .tr > span:nth-child(4) { display: none; }
  .app-status span:first-child { display: none; }
}
