/* Vaayvu — vaayvu.com
   Direction: a harbor observatory at dusk. Warm paper, ink, one sea-blue accent,
   a live start page as the single rich moment. Signature: a small wind contour
   ahead of each section label plus the running local clock in the browser. */

@font-face {
  font-family: 'Fraunces';
  src: url('assets/fonts/fraunces-latin.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url('assets/fonts/plex-latin.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f3f0e8;
  --paper-2: #fbf9f4;
  --paper-3: #eae5d9;
  --ink: #171614;
  --ink-soft: #2c2a26;
  --muted: #6c665c;
  --muted-2: #726b60;
  --line: rgba(23, 22, 20, 0.14);
  --line-soft: rgba(23, 22, 20, 0.08);
  --accent: #1f5b73;
  --accent-soft: #dfe9ec;
  --ember: #c9622a;
  --ember-ink: #a34c20;
  --sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 16px;
  --shadow: 0 30px 70px -38px rgba(23, 22, 20, 0.45), 0 8px 24px -18px rgba(23, 22, 20, 0.2);
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --wind: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='10' viewBox='0 0 22 10'%3E%3Cpath d='M0 7.5c3.4 0 3.4-4.6 7-4.6s3.6 4.6 7 4.6 5.2-4.2 8-4.2' fill='none' stroke='%231f5b73' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
p,
ul {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection {
  background: var(--accent-soft);
  color: var(--ink);
}

.shell {
  width: min(1220px, calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  text-decoration: none;
  transition: top 0.18s var(--ease);
}
.skip-link:focus {
  top: 12px;
}

/* Masthead ------------------------------------------------------------------ */

.masthead {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.masthead.is-scrolled {
  border-bottom-color: var(--line-soft);
}
.masthead-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.brand img {
  width: 30px;
  height: 30px;
}
.nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.masthead-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  place-items: center;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 15px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.18s var(--ease);
}
.menu-toggle[aria-expanded='true'] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.menu-toggle[aria-expanded='true'] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* Buttons ------------------------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.button:hover {
  background: #000;
  transform: translateY(-1px);
}
.button:active {
  transform: none;
}
.button-small {
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  font-size: 13px;
}
.button-quiet {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.button-quiet:hover {
  background: var(--paper-2);
  border-color: var(--ink);
}

/* Typography ---------------------------------------------------------------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.005em;
}
.eyebrow::before {
  content: '';
  flex: none;
  width: 22px;
  height: 10px;
  background: var(--wind) center / contain no-repeat;
}
h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(46px, 5.2vw, 74px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  font-variation-settings: 'opsz' 96;
}
h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 72;
}
h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.lede {
  max-width: 54ch;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}
.lede-light {
  color: #c7c0b2;
}
.eyebrow-light {
  color: #a9a294;
}
.eyebrow-light::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='10' viewBox='0 0 22 10'%3E%3Cpath d='M0 7.5c3.4 0 3.4-4.6 7-4.6s3.6 4.6 7 4.6 5.2-4.2 8-4.2' fill='none' stroke='%238fb8a2' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Hero ---------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 72px);
  padding: 64px 0 72px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  gap: 56px;
  align-items: center;
}
.hero-copy {
  max-width: 560px;
}
.hero h1 {
  margin: 18px 0 22px;
}
.hero .lede {
  margin-bottom: 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12.5px;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 0 3px rgba(201, 98, 42, 0.12);
}

/* Browser preview ----------------------------------------------------------- */

.hero-visual {
  min-width: 0;
}
.browser {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--paper-2);
  box-shadow: var(--shadow);
}
.browser-chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper-3);
}
.traffic {
  display: flex;
  gap: 5px;
  flex: none;
}
.traffic i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(23, 22, 20, 0.18);
}
.traffic i:first-child {
  background: #d06a5d;
}
.traffic i:nth-child(2) {
  background: #d3a54a;
}
.traffic i:last-child {
  background: #7d9d6f;
}
.chrome-tabs {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  flex: 1;
  min-width: 0;
  height: 100%;
}
.chrome-tablist {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 100%;
  padding-top: 10px;
}
.chrome-tab {
  height: 30px;
  max-width: 150px;
  padding: 0 12px;
  overflow: hidden;
  border: 0;
  border-radius: 7px 7px 0 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.chrome-tab:hover {
  color: var(--ink);
}
.chrome-tab[aria-selected='true'] {
  background: var(--paper-2);
  color: var(--ink);
  box-shadow: inset 0 -1px 0 var(--paper-2);
}
.chrome-tab-quiet {
  display: inline-flex;
  align-items: center;
  cursor: default;
  color: #625c52;
}
.chrome-tools {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  color: var(--muted);
}
.chrome-shield {
  display: grid;
  place-items: center;
  color: var(--accent);
}
.chrome-menu {
  position: relative;
  width: 14px;
  height: 2px;
  background: currentColor;
}
.chrome-menu::before,
.chrome-menu::after {
  content: '';
  position: absolute;
  left: 0;
  width: 14px;
  height: 2px;
  background: currentColor;
}
.chrome-menu::before {
  top: -4px;
}
.chrome-menu::after {
  top: 4px;
}
.addressbar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper-2);
  color: var(--muted);
  font-size: 12px;
}
.address-lock {
  color: var(--accent);
}
.address-url {
  color: var(--ink-soft);
}
.address-hint {
  margin-left: auto;
  padding: 1px 5px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font: 10px/1.4 var(--mono);
  color: var(--muted-2);
}
.browser-body {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  min-height: 438px;
}
.demo-rail {
  padding: 14px 12px;
  border-right: 1px solid var(--line-soft);
  background: #f6f2e9;
}
.rail-label {
  margin-bottom: 8px;
  color: var(--muted-2);
  font-size: 10px;
}
.rail-label-gap {
  margin-top: 22px;
}
.rail-tabs {
  display: grid;
  gap: 2px;
}
.rail-tab {
  padding: 7px 8px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rail-tab.is-active {
  background: #e8e2d4;
  color: var(--ink);
}
.rail-pinned {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
}
.rail-pin {
  display: flex;
  align-items: center;
  gap: 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rail-pin::before {
  content: '';
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.7;
}
.browser-panes {
  position: relative;
  min-width: 0;
  background: #11171a;
}
.pane {
  height: 100%;
}
.pane[hidden] {
  display: none;
}
.pane-observatory {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 438px;
  padding: 20px;
  background: url('assets/observatory.jpg') center 42% / cover no-repeat;
  color: #f7f3ea;
}
.pane-observatory::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 16, 0.22), rgba(10, 14, 16, 0.5) 58%, rgba(10, 14, 16, 0.74));
}
.obs-top,
.obs-main,
.obs-cards {
  position: relative;
  z-index: 1;
}
.obs-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.obs-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}
.obs-brand img {
  width: 24px;
  height: 24px;
}
.obs-when {
  display: grid;
  gap: 1px;
  text-align: right;
  color: rgba(247, 243, 234, 0.7);
  font-size: 10.5px;
}
.obs-when time {
  color: #f7f3ea;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.obs-main {
  margin-top: auto;
  padding-top: 24px;
}
.obs-title {
  margin-bottom: 14px;
  color: #f8f4eb;
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.obs-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid rgba(247, 243, 234, 0.26);
  border-radius: 9px;
  background: rgba(12, 16, 18, 0.42);
  color: rgba(247, 243, 234, 0.82);
  font-size: 12px;
}
.obs-search kbd {
  margin-left: auto;
  padding: 1px 4px;
  border: 1px solid rgba(247, 243, 234, 0.24);
  border-radius: 4px;
  font: 10px/1.4 var(--mono);
  color: rgba(247, 243, 234, 0.62);
}
.obs-cards {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.8fr;
  gap: 8px;
}
.obs-card {
  display: grid;
  align-content: start;
  gap: 4px;
  min-height: 98px;
  padding: 10px;
  border: 1px solid rgba(247, 243, 234, 0.16);
  border-radius: 10px;
  background: rgba(14, 18, 20, 0.55);
}
.obs-kicker {
  color: rgba(247, 243, 234, 0.58);
  font-size: 9px;
}
.obs-card strong {
  color: #f8f4eb;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}
.obs-source {
  color: rgba(247, 243, 234, 0.58);
  font-size: 9.5px;
  line-height: 1.4;
}
.obs-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 6px;
  margin-top: 2px;
}
.obs-tile {
  display: grid;
  justify-items: center;
  gap: 3px;
  overflow: hidden;
  color: rgba(247, 243, 234, 0.78);
  font-size: 9px;
  white-space: nowrap;
}
.obs-tile i {
  display: grid;
  place-items: center;
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: rgba(247, 243, 234, 0.16);
  color: #fff;
  font-size: 8px;
  font-style: normal;
}
.obs-shield strong {
  color: #cfe6d8;
  font-size: 15px;
}
.pane-reader {
  padding: 34px 36px;
  background: var(--paper-2);
  color: var(--ink);
  overflow: auto;
}
.reader-meta {
  margin-bottom: 12px;
  color: var(--muted);
  font: 11px var(--mono);
}
.reader-title {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.pane-reader p {
  margin-bottom: 12px;
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.7;
}
.demo-note {
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 11.5px;
}

/* Sections ------------------------------------------------------------------ */

.section {
  padding: 112px 0;
  border-top: 1px solid var(--line-soft);
}
.section-ink {
  --ink: #f4f0e6;
  --muted: #a9a294;
  --muted-2: #837c6f;
  --line: rgba(244, 240, 230, 0.16);
  --line-soft: rgba(244, 240, 230, 0.09);
  background: #161513;
  color: #f4f0e6;
  border-top: 0;
}
.section-paper {
  background: var(--paper-2);
}
.section-download {
  background: #ece7db;
}
.section-head {
  max-width: 760px;
  margin-bottom: 56px;
}
.section-head h2 {
  margin: 14px 0 18px;
}
.section-head-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: 56px;
  align-items: end;
  max-width: none;
}
.section-head-split .lede {
  margin-bottom: 4px;
}

/* Shield -------------------------------------------------------------------- */

.shield-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.86fr);
  gap: 80px;
  align-items: center;
}
.shield-grid h2 {
  margin: 14px 0 20px;
}
.point-list {
  display: grid;
  gap: 20px;
  margin-top: 34px;
}
.point-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.point-mark {
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 8px;
  border-radius: 50%;
  background: #8fb8a2;
}
.point-list strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14.5px;
  font-weight: 500;
}
.point-list p {
  max-width: 48ch;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}
.panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: #1d1b17;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.panel-kicker {
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 11px;
}
.panel-site {
  font-size: 16px;
}
.switch {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.switch-track {
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 11px;
  background: rgba(244, 240, 230, 0.2);
  transition: background 0.18s var(--ease);
}
.switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #f4f0e6;
  transition: transform 0.18s var(--ease);
}
.switch[aria-checked='true'] .switch-track {
  background: #4f7f6a;
}
.switch[aria-checked='true'] .switch-thumb {
  transform: translateX(16px);
}
.switch-label {
  min-width: 22px;
  color: var(--ink);
  font-size: 12px;
  text-align: left;
}
.shield-rows {
  margin-top: 6px;
}
.shield-rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.shield-rows li:last-child {
  border-bottom: 0;
}
.row-state {
  color: #9fc7b2;
  font-size: 11px;
  font-style: normal;
}
[data-shields='down'] .shield-rows {
  opacity: 0.45;
}
[data-shields='down'] .row-state {
  color: var(--muted);
}
.panel-status {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

/* Spaces -------------------------------------------------------------------- */

.spaces-demo {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--paper-2);
}
.space-switcher {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 16px;
  border-right: 1px solid var(--line);
  background: var(--paper-3);
}
.space-switcher button {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  background: none;
  color: var(--muted);
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  transition: color 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.space-switcher button:hover {
  color: var(--ink);
}
.space-switcher button[aria-pressed='true'] {
  border-color: var(--line);
  background: var(--paper-2);
  color: var(--ink);
}
.space-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5f8f74;
}
[data-space-choice='study'] .space-dot {
  background: #a4642f;
}
[data-space-choice='personal'] .space-dot {
  background: #35608c;
}
.space-panels {
  padding: 28px 32px;
}
.space-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 40px;
}
.space-aside {
  display: grid;
  align-content: start;
  gap: 8px;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.space-aside-label {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 11px;
}
.space-aside-label:first-child {
  margin-top: 0;
}
.space-pin-list {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}
.space-pin-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.space-pin-list li::before {
  content: '';
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted-2);
}
.space-swatch {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #5f8f74;
}
[data-space-panel='study'] .space-swatch {
  background: #a4642f;
}
[data-space-panel='personal'] .space-swatch {
  background: #35608c;
}
.space-swatch-label {
  color: var(--muted);
  font-size: 11px;
}
.space-panel[hidden] {
  display: none;
}
.space-panel header {
  margin-bottom: 18px;
}
.space-panel h3 {
  margin-bottom: 3px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
}
.space-panel header p {
  color: var(--muted);
  font-size: 12px;
}
.tab-list {
  display: grid;
  gap: 2px;
}
.tab-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: var(--radius-s);
  color: var(--muted);
  font-size: 13px;
}
.tab-list li.is-active {
  background: var(--paper-3);
  color: var(--ink);
}
.tab-favicon {
  display: grid;
  place-items: center;
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--paper-3);
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}
.space-panel footer {
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 11px;
}

/* Privacy ------------------------------------------------------------------- */

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin-bottom: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--line);
}
.privacy-card {
  padding: 28px;
  background: var(--paper-2);
}
.privacy-card h3 {
  margin-bottom: 8px;
  font-size: 16px;
}
.privacy-card p {
  max-width: 40ch;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}
.route {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper-2);
}
.route-node {
  display: grid;
  gap: 2px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--paper);
}
.route-node-strong {
  border-color: var(--accent);
}
.route-label {
  font-size: 13px;
  font-weight: 500;
}
.route-detail {
  color: var(--muted);
  font-size: 11px;
}
.route-arrow {
  position: relative;
  width: 44px;
  height: 1px;
  background: var(--line);
}
.route-arrow::after {
  content: '';
  position: absolute;
  top: -3px;
  right: 0;
  border: 3.5px solid transparent;
  border-left-color: var(--muted);
}
.route-stop {
  margin-left: auto;
  padding: 4px 10px;
  border: 1px dashed var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
}

/* Features ------------------------------------------------------------------ */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--line);
}
.feature {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px;
  background: var(--paper);
  transition: background 0.18s var(--ease);
}
.feature:hover {
  background: var(--paper-2);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--accent);
}
.feature-icon svg {
  width: 19px;
  height: 19px;
}
.feature h3 {
  font-size: 16px;
}
.feature p {
  max-width: 34ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
}

/* Downloads ----------------------------------------------------------------- */

.download-intro {
  display: grid;
  gap: 20px;
}
.app-icon-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.app-icon {
  width: 64px;
  height: 64px;
  border-radius: 17px;
  box-shadow: 0 14px 28px -16px rgba(23, 22, 20, 0.6);
}
.app-icon-label {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.app-icon-note {
  display: block;
  color: var(--ink-soft);
  font-size: 13px;
}
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.download-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--paper-2);
  transition: border-color 0.18s var(--ease);
}
.download-card.is-current {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.download-card.is-missing {
  opacity: 0.72;
}
.download-card header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.platform-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-3);
  color: var(--ink-soft);
  font: 500 10px var(--mono);
  letter-spacing: 0.02em;
}
.download-card h3 {
  font-size: 17px;
}
.download-card header p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}
.platform-chip {
  margin-left: auto;
  padding: 3px 8px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 10px;
}
.download-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 18px 0 10px;
}
.download-ios {
  max-width: 46ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.download-card-note .download-actions {
  margin: 14px 0 0;
}
.text-link {
  color: var(--muted);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.text-link:hover {
  color: var(--ink);
}
.download-meta {
  color: var(--muted);
  font-size: 11px;
}
.checksum {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 11px;
}
.checksum summary {
  color: var(--muted);
  cursor: pointer;
}
.checksum code {
  display: block;
  margin: 8px 0;
  color: var(--ink-soft);
  font: 10.5px/1.5 var(--mono);
  word-break: break-all;
}
.copy {
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: none;
  font-size: 10px;
  cursor: pointer;
  transition: border-color 0.18s var(--ease);
}
.copy:hover {
  border-color: var(--ink);
}
.download-state {
  color: var(--ember-ink);
  font-size: 11px;
}
.download-note {
  max-width: 88ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.download-note code {
  font: 11px var(--mono);
}

/* FAQ ----------------------------------------------------------------------- */

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 64px;
}
.faq-grid h2 {
  margin-top: 14px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 16px;
  list-style: none;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: '+';
  color: var(--muted);
  font-size: 19px;
  line-height: 1;
  transition: transform 0.18s var(--ease);
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}
.faq-list p {
  max-width: 70ch;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Footer -------------------------------------------------------------------- */

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand img {
  width: 28px;
  height: 28px;
}
.footer-brand strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}
.footer-brand span {
  color: var(--muted);
  font-size: 11px;
}
.footer-links {
  display: flex;
  gap: 20px;
  margin-left: auto;
  font-size: 12px;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--ink);
}
.footer-note {
  width: 100%;
  margin-top: 16px;
  color: var(--muted);
  font-size: 11px;
}

/* Toast + reveal ------------------------------------------------------------ */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Responsive ---------------------------------------------------------------- */

@media (max-width: 1080px) {
  .hero-grid {
    gap: 40px;
  }
  .shield-grid {
    gap: 48px;
  }
  .obs-cards {
    grid-template-columns: 1fr 1fr;
  }
  .obs-shield {
    display: none;
  }
}

@media (max-width: 900px) {
  .shell {
    width: calc(100% - 48px);
  }
  .hero {
    min-height: 0;
    padding: 48px 0 64px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-copy {
    max-width: 640px;
  }
  .hero-visual {
    max-width: 720px;
  }
  .section {
    padding: 88px 0;
  }
  .section-head,
  .section-head-split {
    margin-bottom: 40px;
  }
  .section-head-split {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }
  .shield-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .shield-panel {
    max-width: 560px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 76px;
  }
  .masthead-inner {
    height: 64px;
    gap: 12px;
  }
  .nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 2px;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }
  .nav.is-open {
    display: flex;
  }
  .nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 16px;
  }
  .nav a:last-child {
    border-bottom: 0;
  }
  .menu-toggle {
    display: grid;
  }
  .hero h1 {
    font-size: clamp(42px, 10vw, 64px);
  }
  .demo-rail {
    display: none;
  }
  .browser-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .pane-observatory {
    min-height: 380px;
  }
  .spaces-demo {
    grid-template-columns: 1fr;
  }
  .space-switcher {
    grid-template-columns: repeat(3, 1fr);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .space-switcher button {
    justify-content: center;
  }
  .space-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .space-aside {
    padding-top: 16px;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .privacy-grid {
    grid-template-columns: 1fr;
  }
  .download-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .shell {
    width: calc(100% - 40px);
  }
  .hero {
    padding-top: 40px;
  }
  .hero .lede,
  .lede {
    font-size: 17px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .button {
    width: 100%;
  }
  .masthead-actions .button {
    display: none;
  }
  .chrome-tab-quiet {
    display: none;
  }
  .address-hint {
    display: none;
  }
  .obs-cards {
    grid-template-columns: 1fr;
  }
  .obs-favorites {
    display: none;
  }
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .route-stop {
    margin-left: 0;
  }
  .space-panels {
    padding: 22px 20px;
  }
  .footer-links {
    margin-left: 0;
    width: 100%;
    flex-wrap: wrap;
  }
  .pane-reader {
    padding: 26px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .button,
  .nav a,
  .chrome-tab,
  .space-switcher button,
  .feature,
  .switch-track,
  .switch-thumb,
  .toast,
  .menu-toggle span,
  .faq-list summary::after {
    transition: none;
  }
}
