:root {
  --ink: #0F172A;
  --text: #0F172A;
  --muted: #475569;
  --bg: #FFFFFF;
  --surface: #F7F8FA;
  --card: #FFFFFF;
  --line: #E2E8F0;
  --accent: #0F766E;
  --accent-soft: #0F766E14;
  --ok-bg: #DCFCE7;
  --ok-fg: #166534;
  --early-bg: #FEF3C7;
  --early-fg: #92400E;
  --focus: #0F766E;
  --shadow: 0 1px 2px #0F172A0D, 0 8px 24px #0F172A0F;
  --radius: 14px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Inter Tight", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #E2E8F0;
    --muted: #94A3B8;
    --bg: #0B1120;
    --surface: #0F172A;
    --card: #111A2E;
    --line: #1E293B;
    --accent: #2DD4BF;
    --accent-soft: #2DD4BF1A;
    --ok-bg: #14532D;
    --ok-fg: #BBF7D0;
    --early-bg: #78350F;
    --early-fg: #FDE68A;
    --focus: #5EEAD4;
    --shadow: 0 1px 2px #0000004D, 0 8px 24px #00000040;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--text);
}

p { margin: 0; }

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

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px;
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

.ok { color: var(--accent); }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 12px; height: 64px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text); flex-shrink: 0;
}
.brand-word { font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.top-nav { display: none; gap: 4px; margin-left: 24px; }
.nav-link {
  color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 6px 10px; border-radius: 8px;
}
.nav-link:hover { color: var(--text); background: var(--surface); }
@media (min-width: 800px) { .top-nav { display: flex; } }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; min-width: 0; }

.lang {
  font: inherit; font-size: 14px; color: var(--text);
  background: var(--card); border: 1px solid var(--line); border-radius: 8px;
  height: 38px; padding: 0 8px; max-width: 150px; min-width: 0; cursor: pointer;
}
.lang:hover { border-color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 18px; border-radius: 10px;
  font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; transition: background .15s, border-color .15s;
}
.top .btn { height: 38px; padding: 0 14px; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #1E293B; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--muted); background: var(--surface); }
@media (prefers-color-scheme: dark) {
  .btn-primary { background: #F8FAFC; color: var(--ink); }
  .btn-primary:hover { background: #CBD5E1; }
}

/* Hero */
.hero {
  background:
    radial-gradient(900px 400px at 85% -10%, var(--accent-soft), transparent 70%),
    var(--surface);
  border-bottom: 1px solid var(--line);
}
.hero-in { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 64px; align-items: center; }
@media (min-width: 900px) {
  .hero-in { grid-template-columns: 1.25fr 1fr; gap: 56px; padding-top: 88px; padding-bottom: 96px; }
}
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.hero h1 { font-size: clamp(32px, 6vw, 52px); max-width: 20ch; }
.lead { margin-top: 20px; font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 40ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-art { display: flex; justify-content: center; }
.panel {
  width: 100%; max-width: 380px;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); padding: 18px;
}
.panel-head {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 14px; color: var(--muted);
  padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.panel-list { list-style: none; margin: 0; padding: 0; }
.panel-row {
  display: flex; align-items: center; gap: 12px; padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.panel-name { font-weight: 600; flex: 1; min-width: 0; }
.panel-foot { display: flex; align-items: center; gap: 8px; padding-top: 14px; font-size: 13px; color: var(--muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; flex-shrink: 0; }

/* Product marks: the StatusOK file is mark + wordmark; crop to the mark. */
.mark { width: 28px; height: 28px; border-radius: 7px; flex-shrink: 0; }
.mark-crop { object-fit: cover; object-position: left center; }

.pill {
  display: inline-block; font-size: 12px; font-weight: 600; line-height: 1;
  padding: 6px 9px; border-radius: 999px; white-space: nowrap;
}
.pill-ok { background: var(--ok-bg); color: var(--ok-fg); }
.pill-early { background: var(--early-bg); color: var(--early-fg); }

/* Sections */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(26px, 4vw, 36px); }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 17px; }

/* Product cards */
.cards { display: grid; gap: 20px; }
@media (min-width: 800px) { .cards { grid-template-columns: 1fr 1fr; gap: 24px; } }
.card {
  --brand-text: var(--brand-text-light);
  --brand-soft: color-mix(in srgb, var(--brand) 9%, transparent);
  position: relative; display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow); overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--brand);
}
.card-top { display: flex; align-items: center; gap: 14px; }
.card-top h3 { font-size: 24px; margin-bottom: 6px; }
.card-logo { width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0; }
.card-lead { margin-top: 18px; color: var(--muted); }
.feat { list-style: none; margin: 18px 0 24px; padding: 0; display: grid; gap: 10px; }
.feat li { position: relative; padding-left: 28px; }
.feat li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 5px;
  background: var(--brand-soft);
}
.feat li::after {
  content: ""; position: absolute; left: 6px; top: 7px; width: 5px; height: 9px;
  border: solid var(--brand-text); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.card-link {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--brand-text); font-weight: 600; text-decoration: none;
  padding: 10px 0;
}
.card-link::after { content: "→"; transition: transform .15s; }
.card-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-link:hover::after { transform: translateX(3px); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.step-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 11px; margin-bottom: 16px;
  background: var(--accent-soft); color: var(--accent);
}
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--muted); }
.note { margin-top: 24px; font-size: 14px; color: var(--muted); max-width: 640px; }

/* Values */
.values { display: grid; gap: 28px; }
@media (min-width: 800px) { .values { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.value { border-top: 2px solid var(--text); padding-top: 18px; }
.value h3 { font-size: 19px; margin-bottom: 8px; }
.value p { color: var(--muted); }

/* Footer */
.foot { border-top: 1px solid var(--line); background: var(--surface); padding: 32px 0; font-size: 14px; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.foot-brand { display: flex; align-items: center; gap: 10px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 420px) {
  .brand-word { font-size: 18px; }
  .lang { max-width: 118px; font-size: 13px; padding: 0 4px; }
  .top .btn { padding: 0 10px; }
  .top-in { gap: 8px; }
}

/* The SuiteOK mark is ink on ink in dark mode: give it a hairline ring. */
@media (prefers-color-scheme: dark) {
  .brand img, .panel-head img, .foot-brand img { border-radius: 25%; box-shadow: 0 0 0 1px #334155; }
}

/* Product brand colours are too dark for text on dark surfaces: use the lighter tints. */
@media (prefers-color-scheme: dark) {
  .card {
    --brand-text: var(--brand-text-dark);
    --brand-soft: color-mix(in srgb, var(--brand-text-dark) 18%, transparent);
  }
}
