/* Standalone English pages built by generate_pages.py (/press/, /obsidian-alternative/).
   Loaded after main.css and compare.css; only what those two lack lives here. */

/* Store badges inside an article: same component as the homepage CTA. */
.pg-cta { margin: 1.75rem 0 0.75rem; }
.pg-close .pg-cta { margin-top: 1.25rem; }

/* Fact sheet: a two- or three-column key/value table on the compare table's skin.
   Values wrap; the row label column stays narrow. */
.pg-facts th[scope="row"] { width: 30%; min-width: 9rem; white-space: normal; }
.pg-facts td { white-space: normal; }
/* The two-column fact sheet never scrolls sideways: under 640px each row stacks,
   label above value. The three-column numbers table keeps the compare scroll. */
.pg-kv { min-width: 0; }
@media (max-width: 640px) {
  .pg-kv tr, .pg-kv th[scope="row"], .pg-kv td { display: block; width: auto; }
  .pg-kv th[scope="row"] { padding-bottom: 0.15rem; }
  .pg-kv td { border-top: 0; padding-top: 0; }
}

/* The launch film. 16:9 box reserved before the poster loads. */
.pg-film { margin: 1.25rem 0 0; }
.pg-film video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  background: #000;
}
.pg-film figcaption,
.pg-gallery p {
  margin-top: 0.6rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: var(--ink-quiet);
}

/* Icon and screenshots: Mac shots two to a row, phone shots and the icon narrower.
   One column at phone width. */
.pg-gallery {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}
.pg-gallery a { display: block; line-height: 0; border-radius: var(--radius-sm); overflow: hidden; }
.pg-gallery a:focus-visible { outline-offset: 3px; }
.pg-gallery img { display: block; width: 100%; height: auto; }
/* Second row: the icon and the two phone shots, three to a row on any width. */
.pg-gallery-small { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) {
  .pg-gallery:not(.pg-gallery-small) { grid-template-columns: minmax(0, 1fr); }
  .pg-gallery-small { gap: 0.75rem; }
}

/* Boilerplate blocks: each length under a small mono label, ready to copy. */
.pg-boiler { margin-top: 1.25rem; }
.pg-boiler h3 {
  margin: 1.25rem 0 0.4rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-quiet);
}
.pg-boiler p {
  margin: 0;
  padding: 0.9rem 1rem;
  border: 1px solid var(--card-line);
  border-radius: var(--radius-sm);
  background: var(--card);
  line-height: 1.55;
}

.pg-steps { margin: 0.75rem 0 0; padding-left: 1.4rem; line-height: 1.6; }
.pg-steps li + li { margin-top: 0.5rem; }

/* Plain bullet list in an article (requirements). */
.pg-list { margin: 0.75rem 0 0; padding-left: 1.2rem; line-height: 1.6; }
.pg-list li + li { margin-top: 0.4rem; }

/* MCP client setup: a small heading per client and copyable code. The block
   scrolls sideways inside itself; the page never does. */
.cmp-article .pg-client { margin: 2rem 0 0.4rem; }
.pg-code {
  margin: 0.75rem 0;
  padding: 0.9rem 1rem;
  overflow-x: auto;
  border: 1px solid var(--card-line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-family: var(--mono);
  font-size: 0.8125rem;
  line-height: 1.55;
}
.pg-code code { font-family: inherit; white-space: pre; }

/* /web/: the "Open the web app" link wears the notify button's look. */
.pg-open { display: inline-block; text-decoration: none; }
.pg-open:hover { color: #fff; }
.pg-wait { margin-top: 1.5rem; }

/* --- /web/: the web app page ---------------------------------------------
   A centred hero over a real screenshot in a browser frame, the same order as
   the homepage. Facts as a definition list, plans as a table, the waitlist last.
   Prefix wb-. */
.wb .wrap { max-width: var(--page); }
.wb-hero { text-align: center; max-width: 46rem; margin: clamp(1.5rem, 4vw, 3rem) auto 0; }
.wb-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.25rem); }
.wb-actions {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.75rem 1.5rem; margin: 0 0 1.1rem;
}
.wb-btn {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.6rem;
  border-radius: var(--pill); background: var(--btn); color: #fff;
  font-weight: 600; font-size: 1rem; letter-spacing: -0.01em; text-decoration: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.22) inset, 0 14px 28px -14px rgba(124, 77, 235, 0.9);
  transition: background-color 160ms var(--ease), transform 160ms var(--ease);
}
.wb-btn:hover { background: var(--btn-hover); color: #fff; }
.wb-btn:active { transform: translateY(1px); }
.wb-btn:focus-visible { outline: 2px solid var(--accent-lift); outline-offset: 3px; }
.wb-link {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 0.4rem;
  color: var(--ink); font-weight: 600; text-decoration: underline;
  text-decoration-color: var(--rule-lift); text-underline-offset: 0.3em;
}
.wb-link:hover { color: var(--ink-bright); text-decoration-color: var(--accent-lift); }
.wb-status {
  margin: 0; font-size: 0.875rem; line-height: 1.5; color: var(--ink-quiet);
  text-wrap: balance;
}
.wb-dot {
  display: inline-block; width: 7px; height: 7px; margin-right: 0.55rem;
  border-radius: 50%; background: #F5B83D; vertical-align: 0.1em;
}

/* The screenshot: a quiet browser frame with one violet light pool below it. */
.wb-shot { position: relative; margin: clamp(2.5rem, 6vw, 4.5rem) auto 0; max-width: 1140px; }
.wb-shot::before {
  content: ""; position: absolute; inset: 12% 8% -6%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(139, 92, 246, 0.28), rgba(139, 92, 246, 0));
  filter: blur(40px);
}
.wb-frame {
  position: relative; z-index: 1; overflow: hidden;
  border: 1px solid var(--rule-lift); border-radius: var(--radius-sm);
  background: #1E1E22;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}
.wb-bar {
  display: flex; align-items: center; gap: 1rem; height: 38px; padding: 0 14px;
  background: #16141C; border-bottom: 1px solid var(--rule);
}
.wb-lights { display: flex; gap: 7px; flex: none; }
.wb-lights i { width: 11px; height: 11px; border-radius: 50%; background: #3A3546; }
.wb-url {
  flex: 0 1 22rem; margin: 0 auto; transform: translateX(-28px);
  padding: 4px 12px; border-radius: 7px; background: #0E0C13;
  font-family: var(--mono); font-size: 0.75rem; color: var(--ink-quiet);
  text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wb-frame img { display: block; width: 100%; height: auto; }
.wb-shot figcaption {
  position: relative; z-index: 1; margin-top: 0.8rem; text-align: center;
  font-size: 0.8125rem; color: var(--ink-quiet);
}

/* Sections: a heading over a narrow column, generous gaps between them. */
.wb-sec { max-width: 52rem; margin: clamp(4rem, 9vw, 6.5rem) auto 0; }
.wb-sec h2 {
  margin: 0 0 1.25rem; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 600;
  letter-spacing: -0.03em; line-height: 1.15; color: var(--ink-bright); text-wrap: balance;
}
.wb-p { margin: 0 0 0.9rem; max-width: 62ch; line-height: 1.6; color: var(--ink); }
.wb-quiet { color: var(--ink-quiet); font-size: 0.9375rem; }
.wb-p a, .wb-app a { color: var(--accent-lift); text-underline-offset: 0.2em; }

.wb-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 3rem; margin: 0;
}
.wb-list > div { padding-top: 1.1rem; border-top: 1px solid var(--rule); }
.wb-list dt { font-weight: 600; font-size: 1.0625rem; color: var(--ink-bright); margin-bottom: 0.4rem; }
.wb-list dd { margin: 0; line-height: 1.6; color: var(--ink-quiet); }
.wb-list code, .wb-endpoint code { font-family: var(--mono); font-size: 0.9em; color: var(--accent-num); }

.wb-endpoint {
  margin: 0 0 1rem; padding: 1rem 1.25rem; overflow-x: auto;
  border: 1px solid var(--card-line); border-radius: var(--radius-sm); background: var(--surface);
}
.wb-endpoint code { font-size: 1rem; user-select: all; white-space: nowrap; }

.wb-tablewrap { overflow-x: auto; margin: 0 0 1.25rem; border: 1px solid var(--rule); border-radius: var(--radius-sm); }
.wb-table { width: 100%; min-width: 40rem; border-collapse: collapse; font-size: 0.9375rem; }
.wb-table th, .wb-table td { padding: 0.9rem 1.1rem; text-align: left; border-top: 1px solid var(--rule); }
.wb-table thead th {
  border-top: 0; background: var(--surface); font-weight: 600; font-size: 0.8125rem; color: var(--ink-quiet);
}
.wb-table tbody th { font-weight: 600; color: var(--ink-bright); }
.wb-table td { color: var(--ink); font-variant-numeric: tabular-nums; }
.wb-table td.yes { color: var(--accent-num); font-weight: 600; }
.wb-table td.no { color: var(--ink-quiet); }

.wb-wait {
  padding: clamp(1.75rem, 4vw, 2.75rem); border: 1px solid var(--card-line);
  border-radius: var(--radius); background: var(--card);
}
.wb-wait h2 { margin-bottom: 0.6rem; }
.wb-form { margin-top: 1.25rem; }
.wb-form .notify-cta { width: 100%; max-width: 34rem; }
.wb-app { max-width: 52rem; margin: 2.5rem auto 0; color: var(--ink-quiet); font-size: 0.9375rem; }

@media (max-width: 720px) {
  .wb-list { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .wb-url { transform: none; }
  .wb-lights { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wb-btn { transition: none; }
}
