:root {
  --bg: #050506;
  --fg: #ffffff;
  --fg-2: rgba(255,255,255,0.62);
  --fg-3: rgba(255,255,255,0.4);
  --line: rgba(255,255,255,0.1);
  --fill: rgba(255,255,255,0.03);
  --accent: #6d7cff;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
/* page scrollbar: thin, dark, native-looking */
html { scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.22) transparent; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.22); border-radius: 8px; border: 4px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.36); border: 3px solid transparent; background-clip: padding-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, p { margin: 0; }

/* backdrop */
.bg { position: absolute; inset: 0 0 auto 0; height: 1100px; overflow: hidden; pointer-events: none; z-index: 0; }
main, .footer { overflow-x: clip; }
/* Soft shapes are gradients, never `filter: blur()`: a blurred layer the size of the viewport
   is re-rasterized under the sticky bar on every scroll frame and stutters in Firefox. */
.ribbon { position: absolute; }
.ribbon-1 { left: -20%; top: 40px; width: 140%; height: 440px; transform: rotate(-12deg);
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.04) 40%, rgba(255,255,255,0) 100%); }
.ribbon-2 { left: -10%; top: 260px; width: 130%; height: 340px; transform: rotate(-8deg);
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.025) 40%, rgba(255,255,255,0) 100%); }
.glow { position: absolute; left: 50%; top: -60px; width: 900px; height: 700px; margin-left: -450px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent) 0%, rgba(109,124,255,0.35) 35%, rgba(0,0,0,0) 75%); opacity: 0.28; }

/* nav */
/* the top bar is always a bar: fixed look, no change at the top of the page */
.nav-wrap { position: sticky; top: 0; z-index: 10; background: rgba(5,5,6,0.6);
  -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,0.08); }
.nav { display: flex; align-items: center; justify-content: space-between; max-width: 1280px; margin: 0 auto; padding: 14px 48px; }
[id] { scroll-margin-top: 80px; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.brand-mark { width: 36px; height: 36px; display: block; }
.links { display: flex; gap: 28px; font-size: 13px; color: rgba(255,255,255,0.55); }
.links a:hover { color: var(--fg); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 24px;
  font-size: 15px; font-weight: 600; transition: transform 0.15s ease, background 0.15s ease; }
.btn:active { transform: scale(0.97); }
.btn-white { background: #fff; color: var(--bg); }
.btn-white:hover { background: #e8e8ea; }
.btn-ghost { border: 1px solid rgba(255,255,255,0.2); font-weight: 500; }
.btn-ghost:hover { border-color: rgba(255,255,255,0.4); }
.btn-sm { height: 36px; padding: 0 16px; border-radius: 18px; font-size: 13px; }
.btn-lg { height: 52px; padding: 0 28px; border-radius: 26px; font-size: 16px; }

/* hero */
main { position: relative; z-index: 1; }
.hero { display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center;
  max-width: 1040px; margin: 0 auto; padding: 88px 24px 56px; }
.hero-text { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.hero .demo { max-width: 378px; }
@media (min-width: 1180px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) 378px; gap: 64px; align-items: center;
    max-width: 1280px; padding: 72px 48px 56px; text-align: left; }
  .hero-text { align-items: flex-start; }
  .hero .cta-row { justify-content: flex-start; }
  .hero .demo { max-width: none; }
}
h1 { font-size: clamp(48px, 7vw, 84px); font-weight: 700; letter-spacing: -0.04em; line-height: 0.98; }
.lede { font-size: 19px; line-height: 1.5; color: var(--fg-2); max-width: 620px; }
.cta-row { display: flex; gap: 12px; margin-top: 4px; flex-wrap: wrap; justify-content: center; }
.fineprint { font-size: 12px; color: var(--fg-3); }

/* small mockup pieces used by the feature visuals */
/* The feature mockups use the panel's real card and search field geometry (PanelMetrics):
   344 x 57, radius 20, a 32 pt icon inset 13, 13 pt type, time at the trailing edge. */
.search, .card { width: 344px; max-width: 100%; box-sizing: border-box; }
.search { height: 32px; border-radius: 16px; display: flex; align-items: center; gap: 6px; padding: 0 12px;
  font-size: 13px; color: rgba(255,255,255,0.45); background: rgba(88,88,96,0.44);
  box-shadow: 0 2px 5px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.12), inset 0 1px 0 rgba(255,255,255,0.1); }
.card { height: 57px; border-radius: 20px; background: rgb(36,36,39); text-align: left;
  display: flex; align-items: center; padding: 0 14px 0 13px; gap: 13px;
  box-shadow: 0 3px 7px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.12), inset 0 1px 0 rgba(255,255,255,0.1); }
.ic { width: 32px; height: 32px; flex-shrink: 0; display: block; }
.ic-linear { width: 27px; height: 27px; margin: 0 2.5px; border-radius: 6px; }
.txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; line-height: 1.25; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.row b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row time { font-size: 11px; color: rgba(255,255,255,0.55); flex-shrink: 0; }
.body { font-size: 13px; color: rgba(255,255,255,0.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* features */
.features { max-width: 1040px; margin: 0 auto; padding: 112px 24px 0; display: flex; flex-direction: column; gap: 96px; }
.feature { content-visibility: auto; contain-intrinsic-size: auto 520px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.copy { display: flex; flex-direction: column; gap: 16px; }
.eyebrow { font-size: 13px; font-weight: 600; color: var(--accent); }
.feature h2 { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.feature p { font-size: 16px; line-height: 1.55; color: var(--fg-2); }
.visual { height: 300px; border-radius: 20px; border: 1px solid var(--line); background: var(--fill);
  display: flex; align-items: center; justify-content: center; gap: 14px; padding: 32px; }
.visual .muted { font-size: 14px; color: rgba(255,255,255,0.7); white-space: nowrap; }
.visual-reopen { flex-direction: column; gap: 14px; }
.visual-reopen .arrow { transform: rotate(90deg); }
.visual code { height: 32px; padding: 0 12px; border-radius: 8px; background: rgba(255,255,255,0.1);
  display: inline-flex; align-items: center; font-size: 13px; font-family: var(--mono); }
.visual-search { flex-direction: column; gap: 12px; }
.visual-search .search, .visual-search .card { flex: 0 0 auto; }
.search.typing { color: #fff; }
.caret { width: 1px; height: 14px; background: #fff; display: inline-block; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.lock { width: 120px; height: 120px; border-radius: 60px; border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; }

/* pricing */
.pricing { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
  max-width: 1040px; margin: 0 auto; padding: 48px 24px; justify-content: center;
  /* Fills the viewport under the bar, so the Pricing link lands with the text in the middle. */
  min-height: calc(100vh - 80px); box-sizing: border-box; }
.pricing h2 { font-size: clamp(36px, 5vw, 56px); font-weight: 700; letter-spacing: -0.035em; }
.pricing p { font-size: 17px; color: var(--fg-2); }
.price { color: var(--fg); font-weight: 600; margin-left: 6px; }
.alt { color: var(--fg-3); }
.pricing .cta-row { margin-top: 8px; }

/* development notice, temporary */
.dev-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 16px; text-align: center;
  font-size: 13px; color: rgba(255,255,255,0.75); background: rgba(12,12,14,0.85); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,0.1); }
body { padding-bottom: 40px; }

/* footer */
.footer { display: flex; justify-content: space-between; max-width: 1280px; margin: 0 auto; padding: 28px 48px;
  border-top: 1px solid rgba(255,255,255,0.08); font-size: 12px; color: var(--fg-3); }
.footer nav { display: flex; gap: 20px; }
.footer a:hover { color: var(--fg); }

/* small screens */
@media (max-width: 820px) {
  .nav { padding: 14px 20px; }
  .links { display: none; }
  .hero { padding-top: 64px; }
  .feature, .feature-flip { grid-template-columns: 1fr; gap: 28px; }
  .feature-flip .visual { order: 2; }
  .feature h2 { font-size: 32px; }
  .features { padding-top: 80px; gap: 72px; }
  .footer { flex-direction: column; gap: 12px; padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) { .caret { animation: none; } }

/* live-demo pill under the panel: a pulsing dot and three words, nothing else */
.live-pill { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; padding: 7px 14px 7px 11px;
  border-radius: 999px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  font-size: 13px; font-weight: 500; color: var(--fg-2); letter-spacing: 0.01em; pointer-events: none; }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #34c759;
  box-shadow: 0 0 8px rgba(52,199,89,0.7); }
.live-dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1.5px solid rgba(52,199,89,0.8);
  animation: pulse 2s cubic-bezier(0.2, 0.7, 0.3, 1) infinite; }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 1; } 70%, 100% { transform: scale(2.2); opacity: 0; } }

/* motion */
.rise { opacity: 0; transform: translateY(14px);
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; animation-delay: calc(var(--i, 0) * 90ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rise, .reveal { transform: none; }
  .live-dot::after { animation: none; opacity: 0; }
  .rise { animation-name: fade; }
  .reveal { transition: opacity 0.5s ease; }
  @keyframes fade { to { opacity: 1; } }
}

/* account pages: one card, centered, the site's own type and buttons */
.account { min-height: calc(100vh - 66px); display: flex; align-items: flex-start; justify-content: center; padding: 96px 20px 80px; }
.account-card { width: 100%; max-width: 380px; display: flex; flex-direction: column; gap: 14px; padding: 28px;
  border-radius: 20px; background: var(--fill); border: 1px solid var(--line); }
.account-card h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; }
.account-note { font-size: 14px; line-height: 1.5; color: var(--fg-2); }
.account-providers { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.account-providers .btn, .account-card .btn-white { width: 100%; justify-content: center; border: 0; font-family: var(--font); cursor: pointer; }
.account-providers .btn { border: 1px solid rgba(255,255,255,0.2); background: transparent; color: var(--fg); }
.account-or { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--fg-3); }
.account-or::before, .account-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.account-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--fg-2); }
.account-field input { height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04); color: var(--fg); font: 15px var(--font); outline: none; }
.account-field input:focus { border-color: rgba(255,255,255,0.4); }
.account-error { font-size: 13px; color: #ff6b6b; }
.account-card button:disabled { opacity: 0.5; cursor: default; }
.account-switch { font-size: 13px; color: var(--fg-2); text-align: center; }
.account-switch a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

/* account corner of the top bar */
.nav-account { position: relative; display: flex; align-items: center; }
.nav-person { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.2); background: transparent; color: var(--fg); cursor: pointer; padding: 0; }
.nav-person:hover, .nav-person[aria-expanded="true"] { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.06); }
.nav-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 200px; padding: 6px; border-radius: 14px;
  background: rgba(20,20,22,0.92); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); display: flex; flex-direction: column; }
.nav-menu[hidden] { display: none; }
.nav-menu-who { padding: 8px 10px 6px; font-size: 12px; color: var(--fg-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav-menu a, .nav-menu button { display: block; width: 100%; text-align: left; padding: 8px 10px; border-radius: 9px; border: 0;
  background: transparent; color: var(--fg); font: 14px var(--font); cursor: pointer; }
.nav-menu a:hover, .nav-menu button:hover { background: rgba(255,255,255,0.08); }
.account-rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); margin-top: 6px; }
.account-row { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--fg-2); }
.account-row:hover { color: var(--fg); }
