/* cyrenyx.com — product page. No third-party requests (strict CSP): fonts and code are served from the site. */
:root {
  --paper: #f6f8f7;
  --surface: #ffffff;
  --sunk: #eef1ef;
  --border: #dde3e0;
  --border-strong: #c2ccc8;
  --ink: #14201d;
  --ink-soft: #47554f;
  --ink-faint: #6f7d78;
  --brand: #0b6b5f;
  --brand-deep: #084a42;
  --brand-soft: #dcece9;
  --on-brand: #ffffff;
  --shadow: 0 1px 2px rgba(15, 32, 29, .05), 0 16px 40px -22px rgba(15, 32, 29, .28);
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0c1210;
    --surface: #131a17;
    --sunk: #1a231f;
    --border: #26312c;
    --border-strong: #394741;
    --ink: #e7efeb;
    --ink-soft: #a9b8b2;
    --ink-faint: #7f8f89;
    --brand: #3cc2ae;
    --brand-deep: #8fe0d3;
    --brand-soft: #143430;
    --on-brand: #06201c;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -22px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }   /* layout rules (e.g. .form's grid) must never un-hide */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-underline-offset: 3px; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
img, svg { max-width: 100%; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin: 0 0 14px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; margin: 0; }
h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; }
h3 { font-size: 21px; line-height: 1.25; }
.lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-soft); max-width: 62ch; }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 17px/1 var(--sans); letter-spacing: .06em; }
.brand svg { width: 26px; height: 26px; color: var(--brand); }
.brand .tm { font-size: .52em; font-weight: 500; letter-spacing: 0; margin-left: .12em; vertical-align: super; line-height: 0; }
.top nav { display: flex; gap: 22px; margin-left: auto; align-items: center; flex-wrap: wrap; }
.top nav a { color: var(--ink-soft); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: var(--ink); }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 10px; font: 500 15px/1.2 var(--sans);
  text-decoration: none; border: 1px solid var(--border-strong); color: var(--ink); background: var(--surface); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.top nav .btn { padding: 8px 14px; font-size: 14px; color: var(--ink); }
.btn small { font: 400 12px/1 var(--mono); color: var(--ink-faint); }
.btn.primary small { color: inherit; opacity: .8; }

/* hero */
.hero { padding-block: clamp(56px, 9vw, 112px) clamp(48px, 7vw, 88px); }
.hero h1 { font-size: clamp(36px, 5.6vw, 64px); line-height: 1.06; max-width: 18ch; margin-bottom: 22px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 0; padding: 0; list-style: none; }
.tags li { font: 500 12.5px/1 var(--mono); padding: 8px 11px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-deep); }

/* sections */
section { padding-block: clamp(48px, 7vw, 88px); border-top: 1px solid var(--border); }
.head { max-width: 760px; margin-bottom: 36px; }
.head p { color: var(--ink-soft); margin: 14px 0 0; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid, .grid.two { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px; box-shadow: var(--shadow); }
.card p { color: var(--ink-soft); margin: 10px 0 0; font-size: 15.5px; }
.card .k { font: 500 12px/1 var(--mono); color: var(--ink-faint); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px; }

.questions { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .questions { grid-template-columns: 1fr; } }
.questions li { padding: 14px 16px 14px 44px; position: relative; background: var(--sunk); border-radius: 10px; color: var(--ink); }
.questions li::before { content: "?"; position: absolute; left: 14px; top: 13px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand); color: var(--on-brand); font: 600 13px/20px var(--sans); text-align: center; }

.layer { display: grid; gap: 10px; }
.layer .row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.layer .row span { font: 500 13px/1 var(--mono); padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--ink-soft); }
.layer .core { text-align: center; padding: 18px; border-radius: 12px; background: var(--brand); color: var(--on-brand); font: 600 16px/1.4 var(--sans); }
.layer .core small { display: block; font: 400 13px/1.5 var(--sans); opacity: .85; }
.layer .lbl { text-align: center; font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }

.demo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
@media (max-width: 900px) { .demo { grid-template-columns: 1fr; } }
.facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; font-size: 15px; }
.facts dt { font: 500 12px/1.9 var(--mono); color: var(--ink-faint); text-transform: uppercase; letter-spacing: .06em; }
.facts dd { margin: 0; color: var(--ink-soft); }

footer { border-top: 1px solid var(--border); padding-block: 28px calc(28px + env(safe-area-inset-bottom, 0px)); color: var(--ink-faint); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer a { color: var(--ink-soft); }

/* 404 */
.lost { min-height: 70vh; display: grid; place-content: center; text-align: center; gap: 14px; padding: var(--gutter); }
.lost h1 { font-size: clamp(32px, 5vw, 48px); }
.lost p { color: var(--ink-soft); margin: 0; }

/* demo video */
.video { margin: 0; }
.video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 14px; background: #02050a;
  border: 1px solid var(--border); box-shadow: var(--shadow); }
.video figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-faint); }

.capabilities { margin-top: 36px; }
.closing { text-align: center; }
.closing .lede { margin-inline: auto; }
.closing .cta { justify-content: center; }
footer .links { display: inline-flex; gap: 18px; flex-wrap: wrap; }
footer strong { color: var(--ink-soft); font-weight: 600; }

/* request information */
.request { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(28px, 5vw, 64px); align-items: start;
  padding-block: clamp(40px, 7vw, 88px); }
@media (max-width: 900px) { .request { grid-template-columns: 1fr; } }
.request h1 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.1; margin-bottom: 16px; }
.next { margin: 26px 0 0; padding-left: 20px; display: grid; gap: 12px; color: var(--ink-soft); }
.next b { color: var(--ink); font-weight: 600; }
.fine { font-size: 13.5px; color: var(--ink-faint); margin-top: 22px; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 500; font-size: 14.5px; }
.field label span { color: var(--ink-faint); font-weight: 400; }
.field input, .field select, .field textarea { font: 400 15.5px/1.4 var(--sans); color: var(--ink); background: var(--paper);
  border: 1px solid var(--border-strong); border-radius: 9px; padding: 11px 12px; width: 100%; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .pair { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-soft); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.status { margin: 0; min-height: 1.4em; font-size: 14.5px; color: var(--ink-soft); }
.status.bad { color: #b42318; }
@media (prefers-color-scheme: dark) { .status.bad { color: #ff8a80; } }
.form .btn { justify-content: center; border: 0; cursor: pointer; }
.form .btn:disabled { opacity: .6; cursor: progress; transform: none; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.done h2 { margin-bottom: 10px; }
.done:focus { outline: none; }
@media (max-width: 640px) {
  .top nav a:not(.btn) { display: none; }   /* phones: the brand and the one action; sections are a scroll away */
  .top .wrap { flex-wrap: nowrap; }
}

/* reference architectures: a cloud switch without script (radio + label), then theme-aware SVG diagrams */
.cloud-switch { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cloud-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.cloud-switch label { padding: 8px 16px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface);
  color: var(--ink-soft); font: 500 14.5px/1.2 var(--sans); cursor: pointer; }
.cloud-switch label:hover { color: var(--ink); }
.cloud-switch input:checked + label { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.cloud-switch input:focus-visible + label { outline: 2px solid var(--brand); outline-offset: 3px; }
.arch-panels { flex-basis: 100%; min-width: 0; max-width: 100%; margin-top: 10px; }   /* min-width 0: the diagram scrolls in its box on phones */
.arch-panel { display: none; margin: 0; }
#cloud-aws:checked ~ .arch-panels .arch-aws, #cloud-azure:checked ~ .arch-panels .arch-azure,
#cloud-gcp:checked ~ .arch-panels .arch-gcp { display: block; }
.arch-multi { margin: 0; }
.arch-h { margin: 48px 0 8px; }
.arch-p { color: var(--ink-soft); margin: 0 0 18px; max-width: 70ch; }
.arch-panel figcaption, .arch-multi figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-faint); }
.diagram-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--border); border-radius: 14px;
  background: var(--surface); box-shadow: var(--shadow); }
.diagram-scroll svg { display: block; width: 100%; min-width: 900px; height: auto; }
.diagram-scroll .d-org { fill: none; stroke: var(--border-strong); stroke-width: 1.5; stroke-dasharray: 7 5; }
.diagram-scroll .d-acct { fill: var(--sunk); stroke: var(--border); }
.diagram-scroll .d-env { fill: none; stroke: var(--border-strong); stroke-width: 1.2; }
.diagram-scroll .d-vpc { fill: color-mix(in srgb, var(--brand-soft) 30%, transparent); stroke: var(--border-strong); stroke-dasharray: 4 3; }
.diagram-scroll .d-k8s { fill: var(--brand-soft); stroke: var(--brand); stroke-width: 1.5; }
.diagram-scroll .d-pod { fill: var(--surface); stroke: var(--brand); }
.diagram-scroll .d-svc, .diagram-scroll .d-ext { fill: var(--surface); stroke: var(--border-strong); }
.diagram-scroll .d-strip { fill: var(--sunk); stroke: none; }
.diagram-scroll .d-note { fill: none; stroke: none; }
.diagram-scroll .d-core { fill: var(--brand); }
.diagram-scroll .d-h { font: 600 14px/1 var(--sans); fill: var(--ink); }
.diagram-scroll .d-t { font: 400 12.5px/1 var(--sans); fill: var(--ink-soft); }
.diagram-scroll .d-k { font: 500 10.5px/1 var(--mono); letter-spacing: .06em; fill: var(--ink-faint); }
.diagram-scroll .d-core-h { font: 600 24px/1 var(--sans); letter-spacing: .06em; fill: var(--on-brand); }
.diagram-scroll .d-tm { font-size: 11px; letter-spacing: 0; }
.diagram-scroll .d-core-t { font: 400 13.5px/1 var(--sans); fill: var(--on-brand); opacity: .9; }
.diagram-scroll .d-flow { fill: none; stroke: var(--brand); stroke-width: 2; }
.diagram-scroll .d-flow.opt { stroke-dasharray: 6 4; }
.diagram-scroll .d-sso { fill: none; stroke: var(--ink-faint); stroke-width: 1.5; stroke-dasharray: 3 3; }
.diagram-scroll .d-head { fill: var(--brand); }
.swipe { display: none; color: var(--ink-soft); }
@media (max-width: 900px) { .swipe { display: inline; } }
