/* CircleVibz website. The app's own night look in every setting: night navy,
   mint for the one action, violet only in the glow, Space Grotesk and Sora.
   Coral stays inside the logo. */
:root {
  color-scheme: dark;
  --night: #0B1020;
  --deep: #0F1630;
  --raised: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #F4F6FA;
  --mist: #C9D0DC;
  --quiet: #9AA4B8;
  --mint: #2EE6A8;
  --mint-soft: rgba(46, 230, 168, 0.14);
  --violet: #8B5CF6;
  --max: 1200px;
  --measure: 42rem;
  --head: "Space Grotesk", "Sora", system-ui, sans-serif;
  --body: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* A fine grain over the night, so the dark reads as a surface rather than a void. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: var(--mint); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 8px; }
::selection { background: rgba(46, 230, 168, 0.35); color: var(--text); }
.skip { position: absolute; left: -999px; top: 10px; background: var(--mint); color: var(--night); padding: 10px 16px; border-radius: 14px; z-index: 20; font-weight: 700; }
.skip:focus { left: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

/* ── Header ─────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(11, 16, 32, 0.72);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; border-radius: 12px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { color: var(--mist); text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 14px; border-radius: 14px; transition: color 0.2s, background 0.2s; }
.nav a:hover { color: var(--text); background: var(--raised); }
.nav a[aria-current="page"] { color: var(--mint); background: var(--mint-soft); }
@media (max-width: 720px) {
  .site-header .wrap { flex-wrap: wrap; gap: 0; min-height: 0; padding-top: 10px; padding-bottom: 6px; }
  .brand img { height: 40px; }
  .nav { width: calc(100% + 40px); margin: 4px -20px 0; padding: 0 12px; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { flex: 0 0 auto; font-size: 14px; padding: 8px 12px; }
}

/* ── Buttons and links ─────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px; padding: 0 28px; border-radius: 27px;
  font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: transform 0.2s var(--ease), box-shadow 0.2s; }
.btn-primary { background: var(--mint); color: var(--night); box-shadow: 0 10px 34px rgba(46, 230, 168, 0.28); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 40px rgba(46, 230, 168, 0.36); }
.btn-bare { color: var(--text); background: transparent; }
.btn-bare:hover { background: var(--raised); }
.link-bare { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); font-weight: 700; text-decoration: none;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; margin-top: 24px; line-height: 1.2; }
.link-bare:hover { border-color: var(--mint); color: var(--mint); }
.cta-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ── Glass droplets: people together, as in the app's sign-in ── */
.drop { position: absolute; width: var(--s, 120px); aspect-ratio: 1; border-radius: 50%; isolation: isolate;
  background: var(--img) center / 118% no-repeat; opacity: var(--o, 0.9); filter: blur(var(--b, 0px)) saturate(1.08);
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.16);
  animation: drift var(--t, 22s) ease-in-out infinite alternate, breathe var(--bt, 9s) ease-in-out infinite; }
/* The rim: light caught along the lower edge, the curve darkening toward the top. */
.drop::before { content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: 1;
  background: radial-gradient(circle at 50% 50%, transparent 56%, rgba(11, 16, 32, 0.28) 72%, rgba(11, 16, 32, 0.6) 100%),
              radial-gradient(120% 60% at 50% 108%, rgba(190, 255, 236, 0.45), transparent 46%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.28), inset 0 -10px 24px rgba(46, 230, 168, 0.18); }
/* The highlight: a window of light on the glass. */
.drop::after { content: ""; position: absolute; z-index: 2; left: 16%; top: 9%; width: 42%; height: 24%; border-radius: 50%;
  background: radial-gradient(ellipse at 40% 40%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.12) 55%, transparent 72%);
  transform: rotate(-24deg); filter: blur(1px); }
@keyframes drift { from { translate: 0 0; } to { translate: var(--dx, 30px) var(--dy, -40px); } }
@keyframes breathe { 0%, 100% { scale: 1; } 50% { scale: 1.06; } }

/* ── Hero ───────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: min(100svh, 980px); display: grid; place-items: center;
  text-align: center; padding: 120px 20px 120px; margin-top: -73px; }
.hero::before { content: ""; position: absolute; inset: -10%; z-index: -3;
  background: radial-gradient(42% 38% at 30% 30%, rgba(46, 230, 168, 0.16), transparent 70%),
              radial-gradient(40% 40% at 76% 72%, rgba(139, 92, 246, 0.22), transparent 72%),
              radial-gradient(70% 60% at 50% 100%, rgba(15, 22, 48, 1), transparent); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 220px; z-index: -1;
  background: linear-gradient(rgba(11, 16, 32, 0), var(--night)); }
.drops { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.drops .drop { left: var(--x); top: var(--y); }
.drop.far { --b: 2.5px; --o: 0.42; }
.drop.mid { --b: 0.6px; --o: 0.7; }
.drop.near { --o: 0.95; }
.hero .copy { position: relative; max-width: 1100px; }
.hero .copy::before { content: ""; position: absolute; inset: -12% -8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(11, 16, 32, 0.78), rgba(11, 16, 32, 0.45) 60%, transparent); }
.hero h1 { font-family: var(--head); font-weight: 700; font-size: clamp(64px, 12.6vw, 188px); line-height: 0.88;
  letter-spacing: -0.05em; margin: 0; text-wrap: balance; animation: rise 1s 0.1s var(--ease) both; }
.tagline { font-weight: 300; font-size: clamp(21px, 2.6vw, 32px); letter-spacing: -0.01em; margin: 28px 0 0; color: var(--mist); }
.tagline .was { position: relative; display: inline-block; }
.tagline .was::after { content: ""; position: absolute; left: -6%; right: -6%; top: 56%; height: 2px; border-radius: 1px; background: var(--mint);
  transform-origin: left center; animation: strike 0.6s 1.1s var(--ease) both; }
.tagline .now { display: inline-block; margin-left: 0.28em; font-weight: 600; color: var(--mint); animation: arrive 0.7s 1.7s var(--ease) both; }
.hero .cta-row { margin-top: 40px; animation: rise 0.9s 0.35s var(--ease) both; }
.hero .soon { margin: 30px 0 0; font-size: 15px; color: var(--quiet); }
.hero .soon strong { color: var(--mist); font-weight: 600; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes strike { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes arrive { from { opacity: 0; transform: translateY(10px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@media (max-width: 720px) {
  .hero { padding: 150px 18px 150px; min-height: 92svh; margin-top: -97px; }
  .drops .drop { width: var(--sm, 76px); left: var(--mx, var(--x)); top: var(--my, var(--y)); }
  .drops .wide-only { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .drop, .hero h1, .hero .cta-row, .tagline .was::after, .tagline .now { animation: none; }
}

/* ── Home sections ─────────────────────────────────────── */
section { padding: 120px 0; }
@media (max-width: 720px) { section { padding: 80px 0; } }
h2 { font-family: var(--head); font-weight: 700; font-size: clamp(36px, 5.2vw, 64px); line-height: 1.02; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
h3 { font-family: var(--head); font-weight: 700; font-size: 24px; line-height: 1.15; letter-spacing: -0.015em; margin: 0; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--mist); max-width: 40ch; margin: 0; }

/* The promise, set large. */
.manifesto .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; }
.manifesto h2 { font-size: clamp(40px, 6.2vw, 84px); max-width: 13ch; }
.manifesto .lead { max-width: 36ch; }
.home-place { display: flex; gap: 14px; margin: 36px 0 0; padding-top: 28px; border-top: 1px solid var(--line); color: var(--mist); font-size: 16px; max-width: 40ch; }
.home-place svg { flex: 0 0 auto; color: var(--mint); margin-top: 3px; }
.home-place strong { display: block; color: var(--text); font-family: var(--head); font-size: 19px; margin-bottom: 2px; }
@media (max-width: 900px) { .manifesto .wrap { grid-template-columns: 1fr; gap: 28px; } }

/* What's inside: one row per part of the app, each led by its people. */
.inside { background: linear-gradient(var(--night), var(--deep) 30%, var(--deep) 70%, var(--night)); }
.inside .wrap { display: grid; grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }
.inside h2 { position: sticky; top: 120px; max-width: 9ch; }
.parts { list-style: none; margin: 0; padding: 0; }
.part { display: grid; grid-template-columns: 124px 1fr; gap: 32px; align-items: center; padding: 30px 0; border-top: 1px solid var(--line); }
.part:last-child { border-bottom: 1px solid var(--line); }
.part .bead { position: relative; width: 124px; animation: none; --o: 1; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.16); }
.part h3 { font-size: clamp(26px, 2.6vw, 34px); }
.part p { margin: 8px 0 0; color: var(--mist); max-width: 46ch; }
@media (max-width: 900px) {
  .inside .wrap { grid-template-columns: 1fr; gap: 24px; }
  .inside h2 { position: static; max-width: none; }
}
@media (max-width: 520px) { .part { grid-template-columns: 84px 1fr; gap: 18px; } .part .bead { width: 84px; } }

/* Sign-in by text: the promise and the one text we send. */
.sms .wrap { display: grid; grid-template-columns: 6fr 5fr; gap: 64px; align-items: center; }
.sms .lead { margin-top: 20px; }
.thread { margin: 0; padding: 28px; border-radius: 32px; background: var(--raised); border: 1px solid var(--line); }
.thread .from { display: flex; align-items: center; gap: 10px; color: var(--quiet); font-size: 14px; margin-bottom: 14px; }
.thread .from img { width: 28px; height: 28px; }
.thread .msg { margin: 0; padding: 14px 18px; border-radius: 22px 22px 22px 6px; background: #1B2340; color: var(--text); font-size: 16px; line-height: 1.5; max-width: 34ch; }
@media (max-width: 900px) { .sms .wrap { grid-template-columns: 1fr; gap: 36px; } }

/* The close: the mark and the tagline. */
.closer { text-align: center; padding: 140px 0 150px; position: relative; overflow: hidden; isolation: isolate; }
.closer::before { content: ""; position: absolute; left: 50%; top: 40%; width: 900px; height: 600px; translate: -50% -50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(46, 230, 168, 0.12), rgba(139, 92, 246, 0.08) 55%, transparent); }
.closer-mark { width: 132px; height: 132px; margin: 0 auto 30px; filter: drop-shadow(0 0 40px rgba(46, 230, 168, 0.25)); }
.closer-line { font-family: var(--head); font-weight: 700; font-size: clamp(44px, 7vw, 104px); line-height: 0.95; letter-spacing: -0.045em; margin: 0; }
.closer .soon { margin: 26px 0 0; color: var(--mist); font-size: 18px; }

/* ── Inner pages ───────────────────────────────────────── */
.page-head { position: relative; padding: 104px 0 48px; isolation: isolate; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: -40% -10% auto; height: 520px; z-index: -1;
  background: radial-gradient(40% 60% at 22% 40%, rgba(46, 230, 168, 0.12), transparent 70%),
              radial-gradient(36% 60% at 80% 30%, rgba(139, 92, 246, 0.14), transparent 70%); }
.page-head h1 { font-family: var(--head); font-weight: 700; font-size: clamp(44px, 7vw, 92px); line-height: 0.96; letter-spacing: -0.045em; margin: 0; max-width: 16ch; text-wrap: balance; }
.page-head p { margin: 20px 0 0; color: var(--mist); max-width: 52ch; font-size: clamp(18px, 1.6vw, 21px); }
/* Privacy and Terms keep their document names above the title, in plain words. */
.page-head p.kicker { margin: 0 0 16px; font-size: 16px; font-weight: 600; color: var(--mint); }
.page-head p.date { font-size: 15px; color: var(--quiet); }
.page-head .lead a { color: var(--mint); }

.prose { max-width: var(--measure); padding-bottom: 120px; font-size: 17px; line-height: 1.75; }
.prose > :first-child { margin-top: 0; }
/* A page's text lines up with its title; each block keeps a comfortable measure. */
.wrap.prose { max-width: var(--max); }
.wrap.prose > * { max-width: var(--measure); }
.prose h2 { font-size: clamp(26px, 2.6vw, 32px); letter-spacing: -0.02em; line-height: 1.15; margin: 64px 0 14px; padding-top: 28px; border-top: 1px solid var(--line); }
.prose h3 { font-size: 20px; margin: 30px 0 6px; }
.prose p, .prose li { color: var(--mist); }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 8px 0; }
.prose li::marker { color: var(--mint); }
.prose .note { background: var(--mint-soft); color: var(--text); border-radius: 20px; padding: 18px 20px; margin-top: 32px; }
/* Services: each part led by its people. */
.prose h2 .bead { position: relative; display: inline-block; width: 52px; vertical-align: middle; margin: -6px 14px 0 0; animation: none; --o: 1;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16); }
.toc { border: 1px solid var(--line); border-radius: 24px; padding: 22px 26px; margin: 32px 0 8px; background: var(--raised); }
.toc ol { margin: 0; padding-left: 1.4em; columns: 2; column-gap: 40px; }
.toc li { margin: 5px 0; font-size: 15px; break-inside: avoid; color: var(--quiet); }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--mint); text-decoration: underline; }
@media (max-width: 640px) { .toc ol { columns: 1; } }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 0 28px; margin: 20px 0; }
dl.facts dt, dl.facts dd { padding: 12px 0; border-top: 1px solid var(--line); margin: 0; }
dl.facts dt { color: var(--quiet); font-weight: 600; font-size: 15px; }
dl.facts dd { color: var(--mist); }
@media (max-width: 520px) { dl.facts { grid-template-columns: 1fr; } dl.facts dd { border-top: 0; padding-top: 0; } }

/* Text sign-in: the screen someone sees before we text them. */
.signin-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: start; padding-bottom: 120px; }
.signin-grid .prose { padding-bottom: 0; }
.signin-grid .prose h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.signin-aside { position: sticky; top: 100px; }
@media (max-width: 900px) { .signin-grid { grid-template-columns: 1fr; gap: 48px; } .signin-aside { position: static; } }
.steps { counter-reset: step; list-style: none; padding: 0 !important; margin: 24px 0 0; display: grid; gap: 18px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 38px 1fr; gap: 16px; align-items: start; margin: 0; }
.steps li::before { content: counter(step); width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(46, 230, 168, 0.5); color: var(--mint);
  font-family: var(--head); font-weight: 700; display: grid; place-items: center; font-size: 16px; }
.optin { max-width: 300px; margin: 0; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.optin img { display: block; width: 100%; height: auto; }
.msg-label { font-size: 14px; font-weight: 600; color: var(--quiet); margin: 28px 0 10px; }
.bubble-msg { background: #1B2340; border-radius: 22px 22px 22px 6px; padding: 14px 18px; font-size: 15px; line-height: 1.55; color: var(--text); max-width: 34ch; }

/* Contact */
.reach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0 0 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reach > div { padding: 28px 28px 28px 0; }
.reach > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.reach .icon { color: var(--mint); margin-bottom: 14px; }
.reach h3 { font-size: 18px; color: var(--quiet); font-family: var(--body); font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
.reach p { margin: 0; color: var(--mist); }
.reach a { font-family: var(--head); font-weight: 700; font-size: 22px; color: var(--text); text-decoration: none; }
.reach a:hover { color: var(--mint); }
@media (max-width: 820px) { .reach { grid-template-columns: 1fr; } .reach > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }
.reach + .prose > h2:first-child { border-top: 0; padding-top: 0; margin-top: 48px; }
form.mail { display: grid; gap: 16px; margin-top: 22px; max-width: 620px; }
form.mail label { font-weight: 600; font-size: 15px; display: grid; gap: 8px; color: var(--text); }
form.mail input, form.mail textarea { font: inherit; color: var(--text); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong);
  border-radius: 18px; padding: 15px 18px; transition: border-color 0.2s, background 0.2s; }
form.mail input:focus, form.mail textarea:focus { outline: none; border-color: var(--mint); background: rgba(46, 230, 168, 0.05); }
form.mail textarea { min-height: 160px; resize: vertical; }
form.mail .btn { justify-self: start; margin-top: 4px; }

/* 404 */
.lost { min-height: 62vh; display: grid; align-content: center; }

/* ── Footer ────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 56px; font-size: 15px; color: var(--quiet); background: linear-gradient(var(--night), #080C19); }
.site-footer .cols { display: grid; gap: 32px; grid-template-columns: 1.6fr 1fr 1fr; }
.site-footer .foot-brand img { height: 52px; width: auto; margin: -6px 0 18px -4px; }
.site-footer h4 { font-family: var(--head); color: var(--text); font-size: 16px; margin: 0 0 12px; }
.site-footer p { margin: 0 0 6px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.site-footer a { color: var(--mist); text-decoration: none; }
.site-footer a:hover { color: var(--mint); text-decoration: underline; }
.site-footer .legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; }
@media (max-width: 820px) { .site-footer .cols { grid-template-columns: 1fr; } }
