/* ESD OS product page. Loaded from a file because the site's CSP allows no inline styles. */

/* fonts (self-hosted, OFL) */
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/ibm-plex-sans-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Layout: one calm column; hero copy beside the dashboard, then features as a two-column list, then each real screen in a clean panel. */
:root {
  --bg: #F6F7F9;
  --surface: #FFFFFF;
  --ink: #10141B;
  --muted: #4D5666;
  --line: #DDE1E8;
  --blue: #1F5FD0;
  --blue-hover: #1A51B3;
  --on-blue: #FFFFFF;
  --soon-bg: #FFF2D6;
  --soon-ink: #7A4B00;
  --shadow: 0 1px 2px rgba(16,20,27,.06), 0 8px 24px rgba(16,20,27,.06);
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B0F15; --surface: #121822; --ink: #E9EDF3; --muted: #A2ACBC; --line: #243041;
    --blue: #2563EB; --blue-hover: #3B76F0; --on-blue: #FFFFFF;
    --soon-bg: #3A2A08; --soon-ink: #F5C76A;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px rgba(0,0,0,.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B0F15; --surface: #121822; --ink: #E9EDF3; --muted: #A2ACBC; --line: #243041;
  --blue: #2563EB; --blue-hover: #3B76F0; --on-blue: #FFFFFF;
  --soon-bg: #3A2A08; --soon-ink: #F5C76A;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px rgba(0,0,0,.35);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: 1140px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* Top bar */
.bar { border-bottom: 1px solid var(--line); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { font-weight: 700; letter-spacing: .01em; text-decoration: none; font-size: 16px; }
.brand span { color: var(--muted); font-weight: 500; }
.bar nav { display: flex; align-items: center; gap: 20px; font-size: 15px; }
.bar nav a.plain { text-decoration: none; color: var(--muted); }
.bar nav a.plain:hover { color: var(--ink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 10px 18px; border-radius: 8px;
  background: var(--blue); color: var(--on-blue);
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease;
}
.btn:hover { background: var(--blue-hover); }
.btn.sm { min-height: 38px; padding: 7px 14px; font-size: 15px; }
.link { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.link:hover { border-color: var(--ink); }

.eyebrow {
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px;
}

/* Hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding-block: 64px 72px; }
.hero h1 {
  font-size: clamp(32px, 4.2vw, 48px); line-height: 1.12; letter-spacing: -.015em;
  font-weight: 700; margin: 0 0 20px; text-wrap: balance;
}
.hero h1 span { display: block; color: var(--muted); font-weight: 500; }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.tagline { margin: 28px 0 0; font-size: 15px; color: var(--muted); }

/* Screen panels */
.panel {
  margin: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow); overflow: hidden;
}
.panel img { width: 100%; }
.cap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px;
  padding: 12px 16px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--muted);
}
.cap strong { color: var(--ink); font-weight: 600; }
.tag {
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap;
}
.tag.soon { background: var(--soon-bg); color: var(--soon-ink); border-color: transparent; }

/* Rule strip */
.rules { border-block: 1px solid var(--line); background: var(--surface); }
.rules .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-block: 28px; }
.rule b { display: block; font-family: var(--mono); font-size: 26px; font-weight: 500; font-variant-numeric: tabular-nums; }
.rule span { font-size: 15px; color: var(--muted); }

/* Features */
section { scroll-margin-top: 24px; }
.sec--alt { background: var(--surface); border-top: 1px solid var(--line); }
.sec .wrap { padding-block: 80px; }
.sec h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.2; letter-spacing: -.01em; margin: 0 0 12px; text-wrap: balance; }
.sec .intro { color: var(--muted); margin: 0 0 40px; max-width: 40em; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.features li { padding: 22px 0; border-top: 1px solid var(--line); min-width: 0; }
.features h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 18px; margin: 0 0 6px; }
.features p { margin: 0; color: var(--muted); }

/* Screens */
.screens { display: grid; gap: 72px; }
.screen { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: center; }
.screen:nth-child(even) { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.screen:nth-child(even) .copy { order: 2; }
.screen .copy { min-width: 0; }
.screen h3 { font-size: 22px; line-height: 1.25; margin: 0 0 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.screen p { margin: 0; color: var(--muted); }
.screen.phone .panel { max-width: 360px; justify-self: center; width: 100%; }

/* Close */
.close { border-top: 1px solid var(--line); }
.close .wrap { padding-block: 72px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.close h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 0 0 6px; max-width: 26em; text-wrap: balance; }
.close p { margin: 0; color: var(--muted); }

footer { border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
footer .wrap { padding-block: 24px 32px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
footer p { margin: 0; }
.foot-brand { flex-basis: 100%; }
.foot-brand strong { color: var(--ink); font-weight: 600; margin-right: 8px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot-links a { overflow-wrap: anywhere; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--ink); color: var(--bg); padding: 10px 14px; font-weight: 600; text-decoration: none; border-radius: 6px; }
.skip:focus { top: 12px; }

/* Scroll fade: content is always visible; panels only ease in as they enter. */
@keyframes rise { from { opacity: .35; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.in-view { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
@media (prefers-reduced-motion: reduce) { .in-view { animation: none; } .btn { transition: none; } }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-block: 40px 56px; }
  .screen, .screen:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .screen:nth-child(even) .copy { order: 0; }
  .features { grid-template-columns: minmax(0, 1fr); }
  .sec .wrap { padding-block: 56px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .bar nav a.plain { display: none; }
  .rules .wrap { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .lead { font-size: 17px; }
}
