/* wattss.io — the marketing site. Values from docs/design/wattss-home ("Wattss Home.dc.html"), transcribed; dark, as
   designed. Fonts are self-hosted (site/fonts, OFL 1.1) — nothing on this site loads from another origin. */

@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2-variations"), url("/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2-variations"), url("/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #121212; --bar: #141414; --panel: #161616; --card: #1A1A1A;
  --line: #1E1E1E; --edge: #242424; --edge-2: #2C2C2C;
  --ink: #EDEDED; --ink-2: #E8E8E8; --ink-3: #E0E0E0; --body: #C4C4C4; --muted: #9A9A9A; --muted-2: #8A8A8A; --faint: #6A6A6A;
  --orange: #FF8C00; --orange-hover: #FFA033; --link: #00B5FC; --link-hover: #5CCFFF; --red: #DB3B3B;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1240px; --gutter: 28px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); }
body { color: var(--ink-2); font-family: var(--sans); -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-x: clip; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); text-decoration: underline; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.mono { font-family: var(--mono); }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ── Header ─────────────────────────────────────────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 5; background: var(--bar); border-bottom: 1px solid var(--line); }
.site-header .wrap { height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); flex-shrink: 0; }
.brand:hover { text-decoration: none; color: var(--ink); }
/* The app's own logo files (web/src/assets) — sized to the 64px bar, as AppShell pairs them (icon in front of the wordmark). */
.brand-icon { height: 30px; width: auto; display: block; }
.brand-name { height: 21px; width: auto; display: block; }
.site-nav { display: flex; gap: 22px; }
.site-nav a { color: var(--muted); font-size: 14px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.signin { color: var(--body); font-size: 14px; padding: 0 10px; white-space: nowrap; }
.btn { display: flex; align-items: center; border-radius: 4px; font-weight: 600; white-space: nowrap; }
.btn-primary { background: var(--orange); color: var(--bar); }
.btn-primary:hover { background: var(--orange-hover); text-decoration: none; color: var(--bar); }
.btn-secondary { border: 1px solid var(--edge-2); background: var(--card); color: var(--ink-3); font-weight: 500; }
.btn-secondary:hover { border-color: #4A4A4A; text-decoration: none; color: #FFFFFF; }
.btn-header { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-hero { min-height: 48px; padding: 0 22px; font-size: 15px; }
.btn-cta { min-height: 52px; padding: 0 26px; font-size: 16px; }

/* The section links fold into a menu on a phone: a <details>, so it needs no script (the CSP allows none). */
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--edge-2); border-radius: 4px; color: var(--body); }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; background: var(--panel); border: 1px solid var(--edge); border-radius: 6px; padding: 6px; display: flex; flex-direction: column; box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.menu-panel a { color: var(--ink-3); font-size: 15px; padding: 10px 12px; border-radius: 4px; }
.menu-panel a:hover { background: var(--card); text-decoration: none; }

@media (max-width: 760px) {
  .site-nav { display: none; }
  .menu { display: block; }
  .site-header .wrap { gap: 12px; }
}
@media (max-width: 400px) {
  :root { --gutter: 16px; }
  .header-actions { gap: 6px; }
  .signin { padding: 0 6px; }
  .btn-header { padding: 0 12px; }
  .brand { gap: 6px; }
  .brand-icon { height: 24px; }
  .brand-name { height: 16px; }
}
@media (max-width: 340px) {
  :root { --gutter: 12px; }
  .menu summary { width: 36px; height: 36px; }
  .signin { padding: 0 4px; }
}

/* ── Hero ───────────────────────────────────────────────────────────────────────────────────────────────── */
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }
.eyebrow-accent { color: var(--orange); }
.hero { padding-top: 84px; padding-bottom: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 56px; align-items: center; }
.hero h1 { margin: 18px 0 0; font-size: clamp(56px, 8vw, 104px); line-height: .95; font-weight: 700; letter-spacing: -.035em; color: var(--ink); }
.accent { color: var(--orange); }
.lede { margin: 24px 0 0; max-width: 520px; font-size: 18px; line-height: 1.55; color: var(--body); text-wrap: pretty; }
.hero-actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.devices-line { margin-top: 22px; font-family: var(--mono); font-size: 12px; color: var(--faint); }

.product-shot { display: block; min-width: 0; border: 1px solid var(--edge); border-radius: 8px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); background: var(--panel); }
.product-shot img { display: block; width: 100%; height: auto; }
/* The Workspace pair: the two boxes are the SAME HEIGHT at any width. On a phone, only the phone capture. */
.shot-pair { display: flex; gap: 12px; align-items: flex-start; min-width: 0; }
.shot-pair .product-shot { flex-basis: 0; min-width: 0; }
/* each box's flex-grow is its image's aspect ratio — generated by site/build.js pairCss() from the PNGs */
@media (max-width: 760px) {
  .shot-pair { justify-content: center; }
  .shot-pair .shot-wide { display: none; }
  .shot-pair .shot-phone { flex: 0 1 320px; }
}

/* ── Sections ───────────────────────────────────────────────────────────────────────────────────────────── */
.band { border-top: 1px solid var(--line); }
.band-dark { background: var(--bar); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section { padding-top: 88px; padding-bottom: 88px; }
.section h2 { margin: 14px 0 0; font-size: clamp(32px, 4vw, 46px); font-weight: 600; letter-spacing: -.02em; color: var(--ink); max-width: 760px; line-height: 1.1; }
.section-intro { margin: 16px 0 0; max-width: 640px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.modules { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.module { background: var(--card); border: 1px solid var(--edge); border-radius: 8px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.module-icon { width: 36px; height: 36px; border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.module-name { font-size: 17px; font-weight: 600; color: var(--ink); }
.module-body { font-size: 14px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.phases { margin-top: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); border: 1px solid var(--edge); border-radius: 8px; overflow: hidden; }
.phase { padding: 26px 24px; background: var(--panel); border-right: 1px solid var(--edge); display: flex; flex-direction: column; gap: 14px; }
.phase-head { display: flex; align-items: center; gap: 10px; }
.phase-num { font-family: var(--mono); font-size: 12px; font-weight: 600; }
.phase-rule { height: 2px; flex: 1; opacity: .5; }
.phase-name { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; font-weight: 600; color: var(--ink); }
.phase-items { display: flex; flex-direction: column; gap: 8px; }
.phase-items div { font-size: 14px; line-height: 1.45; color: var(--body); padding-left: 12px; border-left: 1px solid var(--edge-2); }

.features { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 72px; }
.feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: center; }
.feature h2 { margin: 14px 0 0; font-size: clamp(28px, 3.4vw, 40px); font-weight: 600; letter-spacing: -.02em; color: var(--ink); line-height: 1.12; }
.feature-body { margin: 16px 0 0; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 520px; }
.points { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.point { display: flex; gap: 12px; align-items: baseline; font-size: 15px; color: var(--body); }
.point::before { content: ""; width: 6px; height: 6px; border-radius: 1px; background: var(--orange); flex-shrink: 0; transform: translateY(-2px); }
.panel { background: var(--panel); border: 1px solid var(--edge); border-radius: 8px; padding: 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.panel-label { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); padding: 2px 2px 6px; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--card); border: 1px solid var(--edge); border-radius: 6px; }
.row-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.row-main { flex: 1; min-width: 0; }
.row-title { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.row-meta { font-family: var(--mono); font-size: 11px; color: var(--faint); margin-top: 3px; }
.row-tag { font-family: var(--mono); font-size: 11px; }

.devices { padding-top: 72px; padding-bottom: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.device { padding: 24px; border: 1px solid var(--edge); border-radius: 8px; background: var(--panel); }
.device-size { font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.device-name { margin-top: 8px; font-size: 20px; font-weight: 600; color: var(--ink); }
.device-body { margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--muted); }

.cta { border-top: 1px solid var(--line); background: var(--bar); }
.cta .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta h2 { margin: 0; font-size: clamp(40px, 6vw, 72px); font-weight: 700; letter-spacing: -.03em; color: var(--ink); line-height: 1; }

/* ── Footer ─────────────────────────────────────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.footer-brand { display: flex; align-items: center; gap: 6px; }
.footer-brand-icon { height: 20px; width: auto; display: block; }
.footer-brand-name { height: 14px; width: auto; display: block; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--muted-2); }

/* ── Legal + document pages ─────────────────────────────────────────────────────────────────────────────── */
.doc { padding-top: 64px; padding-bottom: 88px; }
.doc h1 { margin: 14px 0 0; font-size: clamp(30px, 4vw, 42px); font-weight: 600; letter-spacing: -.02em; color: var(--ink); line-height: 1.12; max-width: 820px; }
.doc-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 14px; font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.doc-draft { color: #E3B341; border: 1px solid #E3B341; border-radius: 3px; padding: 0 6px; text-transform: uppercase; letter-spacing: .08em; }
.doc-body { margin-top: 36px; max-width: 760px; font-size: 16px; line-height: 1.65; color: var(--body); }
.doc-body h2 { margin: 40px 0 12px; font-size: 20px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.doc-body p { margin: 0 0 14px; }
.doc-body ul { margin: 0 0 14px; padding-left: 22px; }
.doc-body li { margin: 0 0 8px; }
.doc-body strong { color: var(--ink-2); font-weight: 600; }
.doc-versions { margin-top: 48px; font-size: 14px; color: var(--muted); }
.oss-group { margin-top: 40px; }
.oss-group h2 { font-size: 20px; font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.oss-count { font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.oss-table-wrap { margin-top: 14px; overflow-x: auto; border: 1px solid var(--edge); border-radius: 6px; }
.oss-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.oss-table th, .oss-table td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.oss-table th { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; background: var(--bar); }
.oss-table td { color: var(--body); }
.oss-table td.mono { font-size: 12.5px; color: var(--muted); }
.oss-kind { font-family: var(--mono); font-size: 11px; color: var(--muted-2); margin-left: 6px; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

/* generated by site/build.js — the page's colours */
.c-ff8c00{color:#FF8C00}.b-ff8c00{background:#FF8C00}.t-ff8c00{background:#FF8C0022}
.c-00b5fc{color:#00B5FC}.b-00b5fc{background:#00B5FC}.t-00b5fc{background:#00B5FC22}
.c-2dc6b0{color:#2DC6B0}.b-2dc6b0{background:#2DC6B0}.t-2dc6b0{background:#2DC6B022}
.c-3fb950{color:#3FB950}.b-3fb950{background:#3FB950}.t-3fb950{background:#3FB95022}
.c-a06cff{color:#A06CFF}.b-a06cff{background:#A06CFF}.t-a06cff{background:#A06CFF22}
.shot-pair .shot-phone{flex-grow:0.4621}
.shot-pair .shot-wide{flex-grow:1.1636}
