/* Inter 4.1, SIL Open Font License 1.1 (assets/fonts/Inter-LICENSE.txt). */
@font-face { font-family: "Inter"; src: url("/assets/fonts/InterVariable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
/* ExtendSpace website: the apps' dark graphite identity with a restrained blue accent. */
:root {
  /* The design system's tokens (docs/ui/design-system.md), the apps' own values. */
  --bg: #121418;
  --surface: #1d2026;
  --surface-2: #252930;
  --border: #2a2e36;
  --border-strong: #3a3f49;
  --text: #eceff3;
  --muted: #a0a7b2;
  --accent: #8db4ff;
  --accent-strong: #3570dc;
  --ok: #3dbe7e;
  --radius: 12px;
  --wrap: 1120px;
  font-family: "Inter", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "Ubuntu", "Cantarell", sans-serif;
  font-feature-settings: "cv11", "ss01";
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 17px; line-height: 1.6; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #9dbbff; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; }
code { overflow-wrap: anywhere; font-family: "Cascadia Code", ui-monospace, Consolas, monospace; font-size: .9em; background: var(--surface-2); border: 1px solid var(--border); padding: .1em .35em; border-radius: 6px; }
pre { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; overflow-x: auto; }
pre code { background: none; border: 0; padding: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent-strong); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }

/* Header */
.top { border-bottom: 1px solid var(--border); background: rgba(18, 19, 24, .92); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(8px); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; color: var(--text); text-decoration: none; }
.brand img { display: block; height: 28px; width: auto; }
.top nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; }
.top nav a { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: 15px; display: inline-block; }
.top nav a:hover { color: var(--text); background: var(--surface); }
.top nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }

/* Sections */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; letter-spacing: -.02em; margin: 18px 0 16px; }
h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.01em; margin: 0 0 12px; }
h3 { font-size: 19px; margin: 0 0 6px; }
.lead { font-size: 19px; color: var(--muted); max-width: 36em; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.button { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 16px; border: 1px solid var(--border); color: var(--text); background: var(--surface); }
.button:hover { color: var(--text); background: var(--surface-2); }
.button.primary { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.button.primary:hover { background: #2f63c4; color: #fff; }
.shot { border-radius: var(--radius); border: 1px solid var(--border); box-shadow: 0 24px 60px rgba(0, 0, 0, .45); display: block; }
figure { margin: 0; }
figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; }
.section { padding: 48px 0; }
.section + .section { border-top: 1px solid var(--border); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.card p { margin: 0; color: var(--muted); }
.card .tag { display: inline-block; font-size: 13px; color: var(--accent); margin-bottom: 8px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.note { background: var(--surface); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 10px; padding: 14px 18px; color: var(--muted); }
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 12px; }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px 14px 56px; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 16px; top: 14px; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-2); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 14px; }

/* Tables and documents */
.table { overflow-x: auto; margin: 16px 0; border: 1px solid var(--border); border-radius: 12px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: var(--surface); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.doc { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 40px; padding-top: 40px; padding-bottom: 64px; }
.doc-nav ul { list-style: none; padding: 0; margin: 0; position: sticky; top: 88px; }
.doc-nav a { display: block; color: var(--muted); text-decoration: none; padding: 6px 12px; border-radius: 8px; font-size: 15px; }
.doc-nav a:hover { color: var(--text); background: var(--surface); }
.doc-nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.prose { max-width: 46em; min-width: 0; overflow-wrap: break-word; }
.prose h1 { font-size: clamp(30px, 4vw, 40px); margin-top: 0; }
.prose h2 { font-size: 24px; margin-top: 36px; }
.prose h3 { margin-top: 26px; }
.prose li { margin: 4px 0; }
.page-head { padding: 56px 0 8px; }

/* Footer */
.foot { border-top: 1px solid var(--border); padding: 32px 0 40px; margin-top: 24px; }
.foot-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot p { margin: 0 0 4px; }
.foot-brand { font-weight: 600; }
.foot-links { list-style: none; display: flex; gap: 18px; flex-wrap: wrap; padding: 0; margin: 0; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--text); }

/* Hero composition: the real Windows window with the real tablet screen in front of it. */
.duo { position: relative; padding-bottom: 12%; }
.duo .pc { width: 100%; height: auto; }
.duo .tablet { position: absolute; right: -4%; bottom: 0; width: 46%; height: auto; border-radius: 10px; }
.mode-icon { width: 40px; height: 40px; display: grid; place-items: center; background: var(--surface-2); border-radius: 8px; margin-bottom: 12px; }
.mode-icon svg { width: 24px; height: 24px; }
.mark { width: 64px; height: 64px; }

@media (max-width: 880px) {
  .duo .tablet { right: 0; }
  .hero-grid, .split, .doc { grid-template-columns: minmax(0, 1fr); }
  .grid, .grid.two { grid-template-columns: 1fr; }
  .doc-nav ul { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
  .doc { gap: 20px; padding-top: 24px; }
  .top nav a { padding: 6px 9px; }
  .hero { padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* Coming-soon status */
.eyebrow::before { background: var(--accent); }
.status-line { color: var(--muted); font-size: 15px; border-left: 3px solid var(--accent-strong); padding-left: 12px; margin: 18px 0 0; max-width: 38em; }
.note.coming { padding: 24px 28px; }
.note.coming h2 { color: var(--text); margin-top: 0; }
.note.coming p { max-width: 46em; }
