/* Stormglass by Canestack Labs. Grey surfaces, Sunrise accents: gold (cost), coral (observability), magenta (security). */
:root {
  --c1: #FFB020;
  --c2: #FF6B4A;
  --c3: #E2457F;
  --grad: linear-gradient(90deg, var(--c1), var(--c2), var(--c3));

  /* Dark greys (default) */
  --bg: #0F1012;
  --bg-alt: #151619;
  --panel: #1A1B1F;
  --raised: #212227;
  --line: #2A2C31;
  --text: #F2F2F3;
  --muted: #A3A6AD;
  --faint: #6E727A;
  --link: #FF8F75;
  --tick: #FF8F75;
  --ok: #5BC88A;
  --warn: #FFB020;
  --code-bg: #0B0C0E;
  --shot-bg: #1A1B1F;
  --glow: .22;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px rgba(0, 0, 0, .35);
  --radius: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  --display: "Space Grotesk", var(--font);
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --bg: #FFFFFF; --bg-alt: #F5F5F6; --panel: #FFFFFF; --raised: #F5F5F6; --line: #E4E4E7;
    --text: #111214; --muted: #55585F; --faint: #7A7D84;
    --link: #B93A1E; --tick: #C8401F; --ok: #1A7F45; --warn: #8A5A00;
    --code-bg: #F5F5F6; --shot-bg: #F5F5F6; --glow: .16;
    --shadow: 0 1px 2px rgba(17, 18, 20, .06), 0 16px 40px rgba(17, 18, 20, .08);
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --bg: #FFFFFF; --bg-alt: #F5F5F6; --panel: #FFFFFF; --raised: #F5F5F6; --line: #E4E4E7;
  --text: #111214; --muted: #55585F; --faint: #7A7D84;
  --link: #B93A1E; --tick: #C8401F; --ok: #1A7F45; --warn: #8A5A00;
  --code-bg: #F5F5F6; --shot-bg: #F5F5F6; --glow: .16;
  --shadow: 0 1px 2px rgba(17, 18, 20, .06), 0 16px 40px rgba(17, 18, 20, .08);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
code, kbd, pre { font-family: var(--mono); font-size: .88em; }
kbd { border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 0 5px; background: var(--raised); }
:focus-visible { outline: 2px solid var(--c2); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.025em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 600; }
h3 { font-size: 1.18rem; font-weight: 600; letter-spacing: -.015em; }
p { margin: 0 0 1em; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 12px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 32px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font: 600 1.3rem/1 var(--display); letter-spacing: -.045em; }
.brand:hover { text-decoration: none; }
.brand img { height: 30px; width: auto; }
.brand small { font: 500 .78rem/1 var(--font); letter-spacing: 0; color: var(--faint); margin-left: 2px; }
.logo-on-light { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .logo-on-light { display: block; }
  :root:not([data-theme="dark"]) .logo-on-dark { display: none; }
}
:root[data-theme="light"] .logo-on-light { display: block; }
:root[data-theme="light"] .logo-on-dark { display: none; }
.top-nav { display: flex; gap: 26px; }
.top-nav a { color: var(--muted); font-size: .95rem; }
.top-nav a:hover, .top-nav a[aria-current] { color: var(--text); text-decoration: none; }
.top-nav a[aria-current] { font-weight: 600; }
.top-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 9px; background: transparent; color: var(--muted); cursor: pointer; }
.icon-btn:hover { color: var(--text); background: var(--raised); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.i-moon { display: none; }
:root[data-light] .i-sun { display: none; }
:root[data-light] .i-moon { display: block; }
.menu-btn { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 10px; border: 1px solid var(--line); font: 600 .95rem/1.2 var(--font); color: var(--text); background: var(--panel); cursor: pointer; }
.btn:hover { text-decoration: none; border-color: var(--faint); background: var(--raised); }
.btn-primary { background: var(--grad); border-color: transparent; color: #111214; box-shadow: 0 6px 20px -6px color-mix(in srgb, var(--c2) 70%, transparent); }
.btn-primary:hover { background: var(--grad); border-color: transparent; filter: brightness(1.06) saturate(1.05); }
.btn-sm { padding: 7px 13px; font-size: .88rem; border-radius: 9px; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Sections */
section { padding: 88px 0; }
.band { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin-bottom: 14px; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
#kubernetes .kicker::before, #docker .kicker::before { background: var(--c2); }
#cloud .kicker::before { background: var(--c1); }
#privacy .kicker::before { background: var(--c3); }
#platforms .kicker::before { background: var(--faint); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.06rem; }

/* Hero */
.hero { padding: 80px 0 0; position: relative; overflow: hidden; }
.hero h1 { max-width: 860px; }
.hero .lede { margin-bottom: 28px; }
.hero-note { margin-top: 14px; font-size: .9rem; color: var(--muted); }
.hero-shot { margin-top: 56px; position: relative; }
.hero-shot::before { content: ""; position: absolute; inset: -12% -6% auto; height: 70%; z-index: -1; filter: blur(60px); opacity: var(--glow); background: radial-gradient(40% 60% at 25% 50%, var(--c1), transparent 70%), radial-gradient(40% 60% at 50% 40%, var(--c2), transparent 70%), radial-gradient(40% 60% at 75% 50%, var(--c3), transparent 70%); }
.hero-shot { overflow: visible; isolation: isolate; }
.hero-shot img { border-radius: var(--radius); }
.hero .rule { height: 3px; width: 72px; border-radius: 3px; background: var(--grad); margin-bottom: 26px; }

/* Screenshots */
.shot { margin: 0; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--shot-bg); }
.shot img { width: 100%; border-radius: calc(var(--radius) - 1px); }
figcaption { font-size: .86rem; color: var(--muted); padding-top: 10px; }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); margin-top: 48px; background: var(--bg-alt); overflow: hidden; }
.facts div { padding: 20px 22px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts strong { display: block; font: 600 1rem/1.3 var(--display); letter-spacing: -.01em; margin-bottom: 2px; }
.facts span { color: var(--muted); font-size: .9rem; }

/* Feature rows */
.row { display: grid; grid-template-columns: 4fr 7fr; gap: 56px; align-items: center; padding: 44px 0; }
.row + .row { border-top: 1px solid var(--line); }
.row.flip { grid-template-columns: 7fr 4fr; }
.row.flip .row-text { order: 2; }
.row-text p { color: var(--muted); }
.row-text h3 { font-size: 1.45rem; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 26px; margin: 7px 0; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: .5em; width: 10px; height: 5px; border-left: 2px solid var(--tick); border-bottom: 2px solid var(--tick); transform: rotate(-45deg); }
.row-text .ticks li { color: var(--text); font-size: .96rem; }

.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.trio h3 { font-size: 1.02rem; margin: 16px 0 4px; }
.trio p { font-size: .92rem; color: var(--muted); margin: 0; }

.tag { display: inline-block; font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); vertical-align: 2px; white-space: nowrap; }
.tag-ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 45%, transparent); }
.tag-soon { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 45%, transparent); }

.providers { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.providers li { border: 1px solid var(--line); border-radius: 10px; padding: 8px 13px; font-size: .92rem; display: flex; gap: 8px; align-items: center; background: var(--panel); }

pre.code { background: var(--code-bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; overflow-x: auto; margin: 14px 0 0; color: var(--text); line-height: 1.55; }

/* Platforms */
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.platform { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--panel); display: flex; flex-direction: column; }
.platform svg.os { width: 28px; height: 28px; fill: var(--text); margin-bottom: 14px; }
.platform h3 { margin-bottom: 4px; }
.platform p { color: var(--muted); font-size: .92rem; }
.platform .btn-row { margin-top: auto; }
.platform .btn { flex: 1 1 auto; }

/* FAQ */
.faq { max-width: 840px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 32px 20px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.35rem; font-weight: 400; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 20px; color: var(--muted); }
.faq details > div p:last-child { margin: 0; }

/* Closing call to action */
.cta { text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 50%; top: 50%; width: 760px; height: 260px; transform: translate(-50%, -50%); filter: blur(70px); opacity: var(--glow); background: var(--grad); border-radius: 50%; z-index: -1; }
.cta { isolation: isolate; }
.cta .lede { margin: 0 auto 26px; }
.cta .btn-row { justify-content: center; }

/* Pricing */
.toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 11px; padding: 4px; background: var(--bg-alt); margin-bottom: 30px; }
.toggle button { border: 0; background: transparent; color: var(--muted); font: 600 .9rem var(--font); padding: 8px 15px; border-radius: 8px; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--panel); color: var(--text); box-shadow: 0 0 0 1px var(--line), 0 1px 3px rgba(0, 0, 0, .12); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.tier { border: 1px solid var(--line); border-radius: 16px; padding: 28px; background: var(--panel); display: flex; flex-direction: column; position: relative; }
.tier.pick { border-color: transparent; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: var(--shadow); }
.tier h2 { font-size: 1.3rem; margin: 0; display: flex; align-items: center; gap: 8px; }
.tier .for { color: var(--muted); font-size: .92rem; margin: 4px 0 18px; }
.price { font: 600 2.6rem/1 var(--display); letter-spacing: -.03em; }
.price small { font: 500 .95rem var(--font); color: var(--muted); letter-spacing: 0; }
.price-note { color: var(--muted); font-size: .88rem; min-height: 2.6em; margin: 10px 0 18px; }
.tier .btn { width: 100%; margin-bottom: 22px; }
.tier .ticks li { font-size: .94rem; }
.tier .ticks li.no { color: var(--faint); }
.tier .ticks li.no::before { border: 0; height: 2px; width: 9px; background: var(--faint); transform: none; top: .75em; }
.seats { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); margin: -8px 0 16px; }
.seats input { width: 72px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--text); font: inherit; }
.price-foot { margin-top: 18px; font-size: .88rem; color: var(--muted); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
table.compare { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 620px; }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { background: var(--bg-alt); position: sticky; top: 0; font-size: .9rem; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; width: 17%; }
.compare tr.group th { background: var(--bg-alt); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding-top: 16px; }
.compare tbody tr:last-child td { border-bottom: 0; }
.y { color: var(--ok); font-weight: 700; }
.n { color: var(--faint); }

/* Features page */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.toc a { border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: .9rem; color: var(--text); background: var(--panel); }
.toc a:hover { text-decoration: none; border-color: var(--faint); }
.fgroup { display: grid; grid-template-columns: 260px 1fr; gap: 44px; padding: 44px 0; border-top: 1px solid var(--line); }
.fgroup h2 { font-size: 1.35rem; }
.fgroup aside p { color: var(--muted); font-size: .94rem; }
.flist { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 32px; list-style: none; margin: 0; padding: 0; }
.flist li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.flist li b { font-weight: 600; }
.flist li span { display: block; color: var(--muted); font-size: .88rem; }
.fgroup .shot { margin-top: 24px; }

/* Download page */
.req { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.req div { font-size: .92rem; color: var(--muted); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--panel); }
.req h3 { font-size: 1.02rem; color: var(--text); }

/* Changelog */
.release { display: grid; grid-template-columns: 180px 1fr; gap: 32px; padding: 36px 0; border-top: 1px solid var(--line); }
.release h2 { font-size: 1.3rem; margin-bottom: 2px; }
.release time { color: var(--muted); font-size: .9rem; }
.release h3 { font-size: .98rem; margin: 18px 0 6px; }
.release h3:first-child { margin-top: 0; }
.release ul { margin: 0; padding-left: 20px; color: var(--muted); }
.release li { margin: 5px 0; }
.release li b { color: var(--text); font-weight: 600; }

/* Footer */
.foot { border-top: 1px solid var(--line); background: var(--bg-alt); padding: 56px 0 28px; font-size: .92rem; position: relative; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--grad); opacity: .9; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-about p { color: var(--muted); max-width: 320px; margin-top: 12px; }
.foot nav { display: flex; flex-direction: column; gap: 8px; }
.foot nav a { color: var(--muted); }
.foot nav a:hover { color: var(--text); }
.foot h2 { font: 600 .78rem var(--font); text-transform: uppercase; letter-spacing: .09em; color: var(--text); margin: 0 0 4px; }
.foot-base { display: flex; justify-content: space-between; color: var(--faint); margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; }

/* Image zoom */
.zoom { position: fixed; inset: 0; background: rgba(8, 9, 10, .88); display: grid; place-items: center; padding: 24px; z-index: 60; cursor: zoom-out; }
.zoom img { max-height: 100%; width: auto; border-radius: 10px; }
img[data-zoom] { cursor: zoom-in; }

@media (max-width: 960px) {
  .row, .row.flip { grid-template-columns: 1fr; gap: 26px; }
  .row.flip .row-text { order: 0; }
  .trio { grid-template-columns: 1fr 1fr; }
  .tiers { grid-template-columns: 1fr; max-width: 520px; }
  .fgroup { grid-template-columns: 1fr; gap: 16px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { border-left: 0; }
  .facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-about { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  section { padding: 60px 0; }
  .hero { padding-top: 48px; }
  .menu-btn { display: inline-grid; }
  .top-row { gap: 12px; }
  .top-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 6px 16px 12px; }
  .top-nav.open { display: flex; }
  .top-nav a { padding: 11px 0; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .top-nav a:last-child { border-bottom: 0; }
  .top-tools .btn-sm { display: none; }
  .brand small { display: none; }
  .platforms, .req { grid-template-columns: 1fr; }
  .flist { grid-template-columns: 1fr; }
  .release { grid-template-columns: 1fr; gap: 10px; }
  table.compare { min-width: 0; font-size: .84rem; }
  .compare th, .compare td { padding: 9px 6px; }
  .compare th:first-child, .compare td:first-child { padding-left: 12px; }
  .compare td:not(:first-child), .compare th:not(:first-child) { width: 19%; }
  .cta::before { width: 90%; }
}
@media (max-width: 560px) {
  .trio, .facts { grid-template-columns: 1fr; }
  .facts div { border-left: 0; }
  .facts div + div { border-top: 1px solid var(--line); }
  .btn-row .btn { flex: 1 1 100%; }
  .foot-base { flex-direction: column; gap: 4px; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn, .icon-btn, .toc a { transition: border-color .15s, filter .15s, color .15s, background-color .15s; }
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Feature cards: one benefit each, with a zoomed capture on a Sunrise backdrop. */
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.feat { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.feat-text { padding: 32px 34px 22px; }
.feat-text h3 { font-size: 1.5rem; letter-spacing: -.03em; margin-bottom: 10px; }
.feat-text p { color: var(--muted); margin-bottom: .6em; }
.feat img { margin-top: auto; width: 100%; height: auto; }
.feat-solo { width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow); }

/* Callouts on the main screenshot. */
.annot { position: relative; }
.co { position: absolute; display: flex; align-items: center; gap: 8px; transform: translate(-7px, -7px); pointer-events: none; z-index: 2; }
.co.l { flex-direction: row-reverse; transform: translate(calc(-100% + 7px), -7px); }
.co i { flex: none; width: 14px; height: 14px; border-radius: 50%; background: var(--c2); border: 2px solid #fff; box-shadow: 0 0 0 5px color-mix(in srgb, var(--c2) 35%, transparent); }
.co > span { background: rgba(17, 18, 20, .9); color: #fff; font: 600 .8rem/1 var(--font); padding: 7px 11px; border-radius: 999px; white-space: nowrap; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
@media (prefers-reduced-motion: no-preference) {
  .co i { animation: co-pulse 2.4s ease-in-out infinite; }
  @keyframes co-pulse { 50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--c2) 10%, transparent); } }
}
@media (max-width: 960px) { .feats { grid-template-columns: 1fr; } .co > span { display: none; } }
@media (max-width: 560px) { .co { display: none; } .feat-text { padding: 24px 22px 16px; } }
