/* Uncapture site styles. Colours, radii and fonts come from tokens.css (copied verbatim from brand/). */

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--uc-bg-0);
  color: var(--uc-text-2);
  font-family: var(--uc-font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Atmosphere: soft blue/violet light waves, CSS gradients only. Decorative, never behind text that needs contrast. */
.atmosphere {
  position: absolute;
  inset: 0 0 auto 0;
  height: 1100px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 45% at 50% 0%, rgba(30, 139, 255, 0.20), transparent 70%),
    radial-gradient(40% 35% at 95% 30%, rgba(110, 91, 255, 0.22), transparent 70%),
    radial-gradient(45% 35% at 0% 45%, rgba(30, 139, 255, 0.16), transparent 70%),
    linear-gradient(180deg, var(--uc-bg-1) 0%, var(--uc-bg-0) 85%);
}
.wave {
  position: absolute;
  border-radius: 50%;
  border-top: 2px solid rgba(61, 178, 255, 0.55);
  box-shadow: 0 -10px 40px -6px rgba(61, 178, 255, 0.35), inset 0 12px 40px -10px rgba(110, 91, 255, 0.30);
  filter: blur(0.5px);
}
.wave--a { width: 1700px; height: 520px; left: -900px; top: 150px; transform: rotate(9deg); }
.wave--b { width: 1500px; height: 600px; right: -950px; top: 60px; transform: rotate(-16deg);
  border-top-color: rgba(110, 91, 255, 0.55);
  box-shadow: 0 -12px 50px -6px rgba(110, 91, 255, 0.40), inset 0 12px 40px -10px rgba(30, 139, 255, 0.30); }
.wave--c { width: 2000px; height: 700px; left: -1300px; top: 560px; transform: rotate(-6deg); opacity: 0.6; }

.site-header, main, .site-footer { position: relative; z-index: 1; }
main { flex: 1 0 auto; }

/* Accessibility helpers */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: var(--uc-radius-sm);
  background: var(--uc-text);
  color: var(--uc-bg-0);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 3px solid var(--uc-focus);
  outline-offset: 3px;
  border-radius: 6px;
}

a { color: var(--uc-blue-bright); text-underline-offset: 3px; }
a:hover { color: var(--uc-focus); }

h1, h2, h3 { color: var(--uc-text); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
strong { color: var(--uc-text); }

.accent { color: var(--uc-blue); }
.accent-bright { color: var(--uc-blue-bright); }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.wrap--narrow { max-width: 820px; }

/* Header and navigation (no JavaScript: links wrap onto a second row on small screens) */
.site-header { padding: 18px 0; border-bottom: 1px solid rgba(120, 160, 230, 0.12); background: rgba(5, 9, 20, 0.55); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--uc-text); text-decoration: none;
  font-weight: 800; font-size: 1.45rem; letter-spacing: -0.03em;
}
.brand:hover { color: var(--uc-text); }
.brand img { width: 34px; height: 34px; }
.brand .accent { color: var(--uc-blue-bright); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; }
.site-nav a {
  display: block; padding: 8px 12px; border-radius: 999px;
  color: var(--uc-text-2); text-decoration: none; font-weight: 600; font-size: 0.98rem;
}
.site-nav a:hover { color: var(--uc-text); background: rgba(30, 139, 255, 0.10); }
.site-nav a[aria-current="page"] { color: var(--uc-text); background: rgba(30, 139, 255, 0.16); box-shadow: inset 0 0 0 1px var(--uc-border-strong); }
@media (max-width: 560px) {
  .site-header .wrap { justify-content: center; }
  .site-nav { width: 100%; }
  .site-nav ul { justify-content: center; }
  .site-nav a { padding: 8px 10px; font-size: 0.95rem; }
}

/* Sections */
.section { padding: 56px 0; }
.section--tight { padding: 32px 0; }
@media (min-width: 900px) { .section { padding: 80px 0; } }
.section-head { max-width: 720px; margin-bottom: 32px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; margin-bottom: 12px;
  color: var(--uc-blue-bright); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.lede { font-size: 1.2rem; color: var(--uc-text-2); max-width: 680px; }

/* Hero */
.hero { padding: 64px 0 40px; text-align: center; }
@media (min-width: 900px) { .hero { padding: 96px 0 56px; } }
.hero.hero--compact { padding-bottom: 0; }
.hero.hero--compact h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
.wordmark {
  display: inline-flex; align-items: center; gap: clamp(12px, 2vw, 22px);
  color: var(--uc-text); font-weight: 800; letter-spacing: -0.045em; line-height: 1;
  font-size: clamp(3rem, 11vw, 6.6rem); margin: 0 0 18px;
}
.wordmark img { width: clamp(64px, 13vw, 124px); height: auto; }
.wordmark .accent { color: var(--uc-blue); }
.wordmark sup { font-size: 0.18em; font-weight: 600; letter-spacing: 0; vertical-align: top; position: relative; top: 0.4em; margin-left: 2px; color: var(--uc-text-2); }
.hero h1 { font-weight: 600; font-size: clamp(1.4rem, 3.6vw, 2.25rem); letter-spacing: -0.01em; margin-bottom: 18px; }
.hero .mission { font-size: clamp(1.1rem, 2.4vw, 1.35rem); color: var(--uc-text-2); margin-bottom: 22px; }
.principles { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.principles li {
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--uc-border);
  background: rgba(10, 18, 38, 0.7); color: var(--uc-text); font-weight: 600; font-size: 0.95rem;
}

/* Product hero (Feed / Me pages) */
.product-hero { padding: 56px 0 24px; }
@media (min-width: 900px) { .product-hero { padding: 88px 0 32px; } }
.product-hero__inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 760px) { .product-hero__inner { grid-template-columns: auto 1fr; gap: 40px; } }
.product-hero img { width: clamp(96px, 18vw, 150px); height: auto; }
.product-hero h1 { margin-bottom: 8px; }
.product-hero .promise { font-size: clamp(1.25rem, 3vw, 1.7rem); color: var(--uc-text); margin-bottom: 16px; }
.formerly { color: var(--uc-text-3); font-size: 0.95rem; margin: 0; }

/* Glass cards */
.card {
  position: relative;
  background: var(--uc-surface);
  border: 1px solid var(--uc-border);
  border-radius: var(--uc-radius);
  padding: 24px;
  box-shadow: 0 20px 60px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
@media (min-width: 720px) { .card { padding: 30px; } }
.card--glow { border-color: var(--uc-border-strong); box-shadow: 0 0 0 1px rgba(61, 178, 255, 0.08), 0 0 40px -12px rgba(30, 139, 255, 0.55), 0 20px 60px -30px rgba(0, 0, 0, 0.8); }
.card h3:last-child, .card p:last-child, .card ul:last-child { margin-bottom: 0; }

.grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .grid--2 { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (min-width: 760px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* Product cards on the home page */
.product-card { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.product-card img { width: 76px; height: 76px; }
@media (min-width: 1000px) { .product-card img { width: 96px; height: 96px; } }
.product-card h2, .product-card h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 4px; }
.product-card .promise { color: var(--uc-text); font-size: 1.2rem; margin-bottom: 12px; }
.product-card ul { margin: 0 0 18px; padding-left: 1.1em; }
.product-card li { margin-bottom: 6px; }
@media (max-width: 420px) { .product-card { grid-template-columns: 1fr; } }

.status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px;
  border: 1px solid var(--uc-border-strong);
  background: rgba(30, 139, 255, 0.10);
  color: var(--uc-text); font-size: 0.88rem; font-weight: 650;
  margin-bottom: 14px;
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--uc-blue-bright); box-shadow: 0 0 10px var(--uc-blue-bright); }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px;
  font-weight: 700; text-decoration: none; font-size: 1rem;
  color: var(--uc-text); border: 1px solid var(--uc-border-strong);
  background: rgba(30, 139, 255, 0.12);
}
.button:hover { color: var(--uc-text); background: rgba(30, 139, 255, 0.24); }
.button--solid { background: var(--uc-gradient); border-color: transparent; color: #04122b; }
.button--solid:hover { color: #04122b; filter: brightness(1.08); background: var(--uc-gradient); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button-row--center { justify-content: center; }

/* Launch CTAs */
.product-card--wide { max-width: 980px; margin: 0 auto; }
.product-card--wide .button-row { margin-top: 4px; }
.hero-cta { margin: 4px 0 18px; }
.cta-card { text-align: center; margin-top: 8px; }

/* Feature lists */
.feature h3 { margin-bottom: 8px; }
.feature p { margin-bottom: 0; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.45em;
  width: 16px; height: 9px; border-left: 3px solid var(--uc-blue-bright); border-bottom: 3px solid var(--uc-blue-bright);
  transform: rotate(-45deg);
}
.limits li::before { width: 10px; height: 10px; border: 2px solid var(--uc-text-3); border-radius: 50%; transform: none; top: 0.5em; left: 3px; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 20px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.steps > li { counter-increment: step; }
.steps h3::before {
  content: counter(step);
  display: inline-grid; place-items: center;
  width: 32px; height: 32px; margin-right: 12px; border-radius: 50%;
  border: 1px solid var(--uc-border-strong); color: var(--uc-blue-bright); font-size: 1rem;
  vertical-align: 2px;
}

/* Pricing */
.plans { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 640px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans { grid-template-columns: 1fr 1fr 1fr 1.2fr; gap: 22px; } }
.plans + p { margin-top: 36px; }
.plan { display: flex; flex-direction: column; padding: 26px 24px; }
.plan h3 { font-size: 1.3rem; margin-bottom: 14px; }
.plan .price { color: var(--uc-text); font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 6px; }
.plan .price span { font-size: 1.15rem; font-weight: 600; letter-spacing: 0; }
.plan .alt-price { color: var(--uc-text); font-weight: 600; margin: 0 0 6px; }
.plan .line { margin: 12px 0 18px; padding-top: 14px; border-top: 1px solid var(--uc-border); }
.plan ul { margin: 0 0 20px; padding-left: 1.1em; font-size: 0.98rem; }
.plan li { margin-bottom: 6px; }
.plan .availability {
  margin-top: auto; display: block; text-align: center;
  padding: 10px 14px; border-radius: 999px;
  border: 1px dashed var(--uc-border-strong); color: var(--uc-text); font-weight: 700; font-size: 0.95rem;
}
.plan--complete {
  background: var(--uc-complete);
  border: 2px solid var(--uc-blue-bright);
  box-shadow: 0 0 0 1px rgba(61, 178, 255, 0.25), 0 0 60px -10px rgba(30, 139, 255, 0.75);
  color: #e6eeff;
}
.plan--complete h3, .plan--complete .price, .plan--complete strong { color: #ffffff; }
.plan--complete .line { border-top-color: rgba(255, 255, 255, 0.35); }
.plan--complete .availability { border-color: rgba(255, 255, 255, 0.7); color: #ffffff; }
.plan-badge {
  position: absolute; top: -15px; right: 20px;
  padding: 4px 14px; border-radius: 999px;
  background: #bfe6ff; color: #06204f; font-weight: 800; font-size: 0.88rem;
  box-shadow: 0 0 18px rgba(61, 178, 255, 0.6);
}
.notice {
  display: flex; gap: 14px; align-items: flex-start;
  border-left: 3px solid var(--uc-blue-bright);
  padding: 16px 20px; margin: 0 0 32px;
  background: rgba(10, 18, 38, 0.75); border-radius: 0 var(--uc-radius-sm) var(--uc-radius-sm) 0;
  color: var(--uc-text);
}
.notice p { margin: 0; }

/* Long-form text (privacy, support) */
.prose h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 0.98rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--uc-border); }
.prose th { color: var(--uc-text); }
.table-scroll { overflow-x: auto; }
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; color: var(--uc-text); background: rgba(30, 139, 255, 0.12); padding: 1px 6px; border-radius: 6px; }
.draft-banner {
  display: inline-block; padding: 6px 14px; margin-bottom: 18px;
  border-radius: 999px; border: 1px solid #ffd27a; color: #ffe2a8; background: rgba(255, 196, 77, 0.08);
  font-weight: 700; font-size: 0.92rem;
}
.toc { margin: 0 0 8px; padding: 18px 22px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2 220px; }

/* FAQ uses native details/summary: keyboard accessible without scripts */
.faq details { border-bottom: 1px solid var(--uc-border); }
.faq details:first-of-type { border-top: 1px solid var(--uc-border); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 18px 40px 18px 0; color: var(--uc-text); font-weight: 650; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--uc-blue-bright); border-bottom: 2px solid var(--uc-blue-bright);
  transform: rotate(45deg); transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details > div { padding: 0 0 18px; }

.contact-line { font-size: 1.15rem; color: var(--uc-text); }

/* Footer */
.site-footer { border-top: 1px solid rgba(120, 160, 230, 0.12); padding: 32px 0 40px; margin-top: 40px; font-size: 0.95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 32px; align-items: center; }
.site-footer ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; }
.site-footer a { color: var(--uc-text-2); text-decoration: none; }
.site-footer a:hover { color: var(--uc-text); text-decoration: underline; }
.site-footer .legal { color: var(--uc-text-3); margin: 0; }
.site-footer .mailing-address { font-style: normal; }
.footer-tagline { margin: 0; color: var(--uc-text-2); }

.center { text-align: center; }
.mt-0 { margin-top: 0; }
.muted { color: var(--uc-text-3); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
