/* Weave landing pages (get.weaveos.com).
   Colors, type scale and button specs are copied from weaveos.com's own
   stylesheet so these pages read as part of the same site. */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-brand-ws: #fb4f1f;
  --color-brand-rust: #b93c22;
  --color-brand-ws-aa: #f9e4db;
  --color-ink: #1c1513;
  --color-ink-body: #2a2a2a;
  --color-hc-white: #fff;
  --color-surface-bright: #f5f3f2;
  --color-surface-light: #eeecea;
  --color-surface-base: #e4e0dd;
  --color-surface-dark: #d6d1cd;
  --color-surface-s-700: #64605d;
  --color-surface-s-800: #393633;
  --color-surface-s-900: #161412;

  --bg: var(--color-hc-white);
  --bg-muted: var(--color-surface-light);
  --bg-raised: var(--color-surface-bright);
  --bg-strong: var(--color-surface-base);
  --bg-field: var(--color-hc-white);
  --fg: var(--color-ink-body);
  --fg-heading: var(--color-ink);
  --fg-muted: var(--color-surface-s-700);
  --line: var(--color-surface-dark);
  --accent: var(--color-brand-ws);
  --accent-deep: var(--color-brand-rust);
  --accent-soft: var(--color-brand-ws-aa);

  --btn-bg: var(--color-ink);
  --btn-fg: var(--color-hc-white);
  --btn-bg-hover: var(--color-surface-s-800);
  --btn2-bg: var(--color-hc-white);
  --btn2-fg: var(--color-ink);
  --btn2-bg-hover: var(--color-surface-light);

  --font-body: "Geist", Arial, sans-serif;
  --ease-out-cubic: cubic-bezier(.33, 1, .68, 1);
  --gutter: 24px;
  --maxw: 1160px;
}

/* weaveos.com/products/router runs on these dark tokens */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: var(--color-surface-s-900);
  --bg-muted: color-mix(in srgb, #f3f1eb 6%, var(--color-surface-s-900));
  --bg-raised: color-mix(in srgb, #f3f1eb 4%, var(--color-surface-s-900));
  --bg-strong: color-mix(in srgb, #f3f1eb 8%, var(--color-surface-s-900));
  --bg-field: color-mix(in srgb, #f3f1eb 2%, var(--color-surface-s-900));
  --fg: #f3f1eb;
  --fg-heading: #f3f1eb;
  --fg-muted: #f3f1ebb8;
  --line: #4a4038;
  --accent-deep: #f3f1eb;
  --btn-bg: #f3f1eb;
  --btn-fg: var(--color-ink);
  --btn-bg-hover: var(--color-hc-white);
  --btn2-bg: color-mix(in srgb, #f3f1eb 8%, var(--color-surface-s-900));
  --btn2-fg: #f3f1eb;
  --btn2-bg-hover: color-mix(in srgb, #f3f1eb 14%, var(--color-surface-s-900));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 4px; }
[hidden] { display: none !important; }

/* ---------- type (weaveos.com .t-* scale) ---------- */
.t-display { letter-spacing: -.035em; color: var(--fg-heading); text-wrap: balance; font-size: 40px; font-weight: 500; line-height: 1; }
.t-body-lg { font-size: 15px; font-weight: 400; line-height: 1.7; text-wrap: pretty; }
.eyebrow { font-size: 14px; line-height: 20px; color: var(--fg-muted); }
.eyebrow.accent { color: var(--accent); }
.eyebrow.dot { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow.dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.fine { margin-top: 14px; font-size: 13px; line-height: 20px; color: var(--fg-muted); }
.link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--fg-muted); }
.link:hover { text-decoration-color: currentColor; }
@media (min-width: 768px) {
  :root { --gutter: 48px; }
  .t-display { font-size: 64px; }
  .t-body-lg { font-size: 16px; line-height: 1.65; }
}

/* ---------- buttons (weaveos.com: min-h-11 rounded-lg px-4 py-2.5, 14px/21px) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 10px 16px; border: 0; border-radius: 8px;
  font-size: 14px; font-weight: 400; line-height: 21px; white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color 240ms var(--ease-out-cubic), color 240ms var(--ease-out-cubic);
}
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-primary:hover { background: var(--btn-bg-hover); }
.btn-secondary { background: var(--btn2-bg); color: var(--btn2-fg); box-shadow: inset 0 0 0 1px var(--line); }
.btn-secondary:hover { background: var(--btn2-bg-hover); }
.btn-sm { min-height: 36px; padding: 7px 12px; }

/* ---------- header ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.site-header { position: sticky; top: 0; z-index: 50; padding: 8px; pointer-events: none; }
.site-header .bar {
  pointer-events: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: calc(var(--maxw) - 16px); margin-inline: auto; padding: 10px 10px 10px 18px; border-radius: 16px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--line) 60%, transparent);
}
.logo { display: inline-flex; align-items: center; gap: 6px; color: var(--fg-heading); text-decoration: none; }
.logo .mark { height: 17px; width: auto; }
.logo .word { height: 14px; width: auto; }

/* ---------- page layout: intro, calendar card, product info ---------- */
.lp { padding-block: 24px 64px; }
.lp-grid { display: grid; gap: 28px; }
.lp-grid > *, .lp-info > * { min-width: 0; }
.lp-intro .t-display { margin-top: 16px; max-width: 13ch; }
.lp-intro .lead { margin-top: 20px; max-width: 46ch; }
[data-theme="dark"] .lp-intro .lead { color: var(--fg-muted); }
.lp-info { display: grid; gap: 32px; align-content: start; }
@media (min-width: 960px) {
  .lp { padding-block: 48px 112px; }
  .lp-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); grid-template-areas: "intro card" "info card"; grid-template-rows: auto 1fr; gap: 44px 72px; align-items: start; }
  .lp-intro { grid-area: intro; padding-top: 28px; }
  .lp-info { grid-area: info; }
  .lp-grid > .book-card { grid-area: card; }
}

/* ---------- booking card (styled after the form card on weaveos.com/demo) ---------- */
.book-card { border-radius: 20px; background: var(--bg-raised); box-shadow: inset 0 0 0 1px var(--line); padding: 20px 12px 12px; }
.book-head { padding: 2px 8px 14px; }
.book-head h2 { font-size: 22px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; color: var(--fg-heading); scroll-margin-top: 110px; }
.book-head p { margin-top: 4px; font-size: 14px; line-height: 20px; color: var(--fg-muted); }
.sizes-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 0 8px 14px; }
.sizes-row .lab { font-size: 13px; line-height: 20px; color: var(--fg-muted); }
.sizes { display: inline-grid; grid-template-columns: repeat(3, auto); gap: 3px; padding: 3px; border-radius: 10px; background: var(--bg-strong); }
.sizes button { min-height: 38px; padding: 6px 12px; border: 0; border-radius: 8px; background: transparent; font-size: 14px; color: var(--fg-muted); cursor: pointer; transition: background-color 240ms var(--ease-out-cubic), color 240ms var(--ease-out-cubic); }
.sizes button:hover { color: var(--fg-heading); }
.sizes button[aria-pressed="true"] { background: var(--bg-field); box-shadow: inset 0 0 0 1px var(--line); color: var(--fg-heading); font-weight: 500; }
.cal-wrap { min-height: 420px; border-radius: 14px; overflow: hidden; background: var(--bg-field); box-shadow: inset 0 0 0 1px var(--line); }
.cal-status { padding: 170px 18px; text-align: center; color: var(--fg-muted); font-size: 14px; line-height: 22px; }
.cal-status a { color: var(--fg-heading); }
#cal-inline { width: 100%; overflow: auto; }
#cal-inline iframe { display: block; width: 100%; }
.booked { margin: 12px 0 0; padding: 16px 18px; border-radius: 12px; background: var(--accent-soft); color: var(--color-ink); font-size: 14px; line-height: 22px; }
.booked b { display: block; font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.book-privacy { padding: 12px 8px 4px; font-size: 13px; line-height: 20px; color: var(--fg-muted); }
@media (min-width: 960px) { .book-card { padding: 24px 18px 18px; } }

/* ---------- product info blocks ---------- */
.rows > li { padding-block: 14px; border-top: 1px solid var(--line); font-size: 15px; color: var(--fg); }
.rows > li:last-child { border-bottom: 1px solid var(--line); }
.rows > li:has(b) { color: var(--fg-muted); }
.rows > li b { font-weight: 500; color: var(--fg-heading); }

.kv li { display: grid; grid-template-columns: 88px 1fr; gap: 16px; align-items: baseline; padding-block: 16px; border-top: 1px solid var(--line); }
.kv li:last-child { border-bottom: 1px solid var(--line); }
.kv .n { font-size: 28px; line-height: 1.1; letter-spacing: -.035em; font-weight: 500; color: var(--fg-heading); }
.kv .l { color: var(--fg-muted); }
.kv .l b { font-weight: 500; color: var(--fg-heading); }

/* stat card from weaveos.com/products/token-intelligence */
.stat-stack { border-radius: 24px; overflow: hidden; background: var(--bg-muted); }
.stat-stack li { padding: 22px 26px 24px; }
.stat-stack li + li { border-top: 2px solid var(--bg); }
.stat-stack .n { font-size: 30px; line-height: 1.15; letter-spacing: -.035em; font-weight: 500; color: var(--fg-heading); }
.stat-stack .l { margin-top: 4px; color: var(--fg-muted); }

.quote { border-radius: 24px; background: var(--bg-muted); padding: 24px 24px 10px; }
.quote blockquote { font-size: 20px; line-height: 1.25; letter-spacing: -.02em; font-weight: 500; color: var(--fg-heading); text-wrap: balance; }
.quote figcaption { margin-top: 16px; color: var(--fg-muted); font-size: 14px; line-height: 20px; }
.quote figcaption b { display: block; font-weight: 500; color: var(--fg-heading); }
.quote .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin-top: 20px; }
.quote .facts li { padding-block: 14px; border-top: 1px solid var(--line); }
.quote .facts .n { font-size: 24px; letter-spacing: -.035em; font-weight: 500; color: var(--fg-heading); line-height: 1.2; }
.quote .facts .l { color: var(--fg-muted); font-size: 14px; line-height: 20px; }

.panel { border-radius: 24px; background: var(--bg-raised); padding: 22px; }
.panel-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 16px; }
.panel-head .t { font-size: 14px; font-weight: 500; color: var(--fg-heading); }
.sample { font-size: 12px; line-height: 16px; color: var(--fg-muted); }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.tbl th { text-align: left; font-weight: 400; color: var(--fg-muted); padding: 0 0 10px; white-space: nowrap; }
.tbl td { padding: 11px 0; border-top: 1px solid var(--line); color: var(--fg-heading); }
.tbl th.num, .tbl td.num { text-align: right; padding-left: 14px; font-variant-numeric: tabular-nums; }
.tbl-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl-scroll .tbl { min-width: 0; }

.logos p { font-size: 14px; line-height: 20px; color: var(--fg-muted); }
.logos ul { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 16px; }
.logos img { height: 19px; width: auto; opacity: .82; }
[data-theme="dark"] .logos img { filter: invert(1); opacity: .78; }

/* ---------- footer ---------- */
.site-footer { padding-block: 28px 40px; border-top: 1px solid var(--line); font-size: 13px; line-height: 20px; color: var(--fg-muted); }
.site-footer .inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--fg-heading); }

/* ---------- consent notice (same copy and layout as weaveos.com's) ---------- */
.consent {
  position: fixed; inset: auto 8px 8px 8px; z-index: 60; max-width: 420px; margin-left: auto; padding: 18px; border-radius: 10px;
  background: var(--color-surface-bright); color: var(--color-ink); box-shadow: 0 10px 40px rgba(0, 0, 0, .22); font-size: 14px; line-height: 21px;
}
.consent .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.consent .btn-primary { background: var(--color-ink); color: #fff; }
.consent .btn-secondary { background: #fff; color: var(--color-ink); box-shadow: inset 0 0 0 1px var(--color-surface-dark); }
.consent a { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--color-surface-s-800); }
.lab-short, .c-short { display: none; }
/* Wide screens: keep the notice off the calendar (it sits in the right column). */
@media (min-width: 960px) { .consent { inset: auto auto 16px 16px; margin-left: 0; } }

/* ---------- phones: the calendar comes right after the headline ---------- */
@media (max-width: 959px) {
  .lp { padding-block: 12px 56px; }
  .lp-grid { gap: 0; }
  .lp-intro { display: contents; }
  .lp-intro > * { order: 4; }
  .lp-intro > .eyebrow { order: 1; justify-self: start; }
  .lp-intro > .t-display { order: 2; margin-top: 12px; }
  .lp-grid > .book-card { order: 3; margin-top: 20px; }
  .lp-intro > .lead { margin-top: 24px; }
  .lp-info { order: 5; margin-top: 28px; }
}
@media (max-width: 599px) {
  .book-head { padding-bottom: 10px; }
  .sizes-row { flex-wrap: nowrap; padding-bottom: 12px; }
  .lab-long { display: none; }
  .lab-short { display: inline; }
  /* Cookie notice as a slim bar. As a card it covered the whole calendar inside Facebook's in-app browser. */
  .c-long { display: none; }
  .c-short { display: inline; }
  .consent { inset: auto 6px 6px 6px; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 10px 10px 10px 12px; font-size: 12px; line-height: 16px; }
  .consent .btns { grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 0; }
  .consent .btn { min-height: 36px; padding: 6px 12px; font-size: 13px; line-height: 18px; }
  .consent > a { display: none; }
  .consent .c-short a { display: inline; margin: 0; font-size: inherit; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; }
}
