/* Venn website (v7.24). Same night ground, fonts and Venn colours as the app. One bold thing: the liquid Venn in the hero. */
:root {
  --ground: #13101e; --ground2: #1a1528; --raise: #211a33; --line: rgba(196, 181, 253, .14); --line2: rgba(196, 181, 253, .26);
  --ink: #f5f1ff; --ink2: #b9b0d4; --ink3: #8a80a8;
  --vio: #8b5cf6; --vio-l: #c4b5fd; --pink: #f472b6; --pink-l: #f9a8d4; --glow: #fde7f3;
  --venn-a1: #d6c8ff; --venn-a2: #7c3aed; --venn-b1: #ffc2e2; --venn-b2: #e0368f;
  --grad: linear-gradient(135deg, #7c3aed 0%, #c026d3 62%, #ec4899 100%);
  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-text: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1120px; --gutter: 20px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 17px/1.6 var(--f-text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(900px 520px at 85% -10%, rgba(124, 58, 237, .28), transparent 60%), radial-gradient(700px 480px at -10% 40%, rgba(236, 72, 153, .12), transparent 60%); }
img { max-width: 100%; display: block; }
a { color: var(--pink-l); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--vio-l); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--ground); padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 12px; }

/* type */
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: -.012em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(44px, 8.4vw, 92px); line-height: 1.02; font-weight: 600; letter-spacing: -.025em; }
h2 { font-size: clamp(32px, 5vw, 52px); line-height: 1.08; }
h3 { font-size: clamp(23px, 2.6vw, 28px); line-height: 1.2; }
p { margin: 0; }
.lede { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--ink2); max-width: 34em; text-wrap: pretty; }
.muted { color: var(--ink2); }
.small { font-size: 14.5px; color: var(--ink3); }
.prose > * { max-width: 40em; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: 14px; }
.prose h2 { font-size: clamp(24px, 3vw, 30px); margin: 44px 0 10px; }
.prose ul { padding-left: 20px; margin: 10px 0 0; } .prose li { margin: 6px 0; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(19, 16, 30, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.logo { display: flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font: 600 26px/1 var(--f-display); letter-spacing: -.01em; }
.logo svg { width: 40px; height: 25px; }
.links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.links a { color: var(--ink2); text-decoration: none; font-weight: 500; font-size: 15.5px; }
.links a:hover, .links a[aria-current="page"] { color: var(--ink); }
.links a.btn, .links a.btn:hover { color: #fff; }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line2); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 20px; height: 20px; }
.menu[open] .sheet { display: flex; }
.menu .sheet { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; padding: 8px var(--gutter) 20px; background: var(--ground); border-bottom: 1px solid var(--line); }
.menu .sheet a { color: var(--ink); text-decoration: none; font-size: 19px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.menu .sheet .btn { margin-top: 16px; border-bottom: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0; font: 700 16px var(--f-text); color: #fff; background: var(--grad); text-decoration: none; cursor: pointer; box-shadow: 0 10px 30px -12px rgba(217, 70, 239, .8); transition: transform .15s, box-shadow .15s; }
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 34px -12px rgba(217, 70, 239, .95); }
.btn:active { transform: translateY(0); }
.btn.quiet { background: transparent; border: 1px solid var(--line2); box-shadow: none; color: var(--ink); }
.btn.quiet:hover { border-color: var(--vio-l); }
.btn.sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* hero: the liquid Venn with everyday things drifting into the overlap */
.hero { padding: clamp(28px, 6vw, 72px) 0 clamp(56px, 8vw, 104px); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero .copy { display: flex; flex-direction: column; gap: 24px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.venn { position: relative; aspect-ratio: 1.18; width: 100%; max-width: 560px; justify-self: center; }
.venn svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.vs-a1 { stop-color: var(--venn-a1); } .vs-a2 { stop-color: var(--venn-a2); } .vs-b1 { stop-color: var(--venn-b1); } .vs-b2 { stop-color: var(--venn-b2); }
.v-a { animation: vA 12s ease-in-out infinite; } .v-b { animation: vB 12s ease-in-out infinite; }
.v-top { mix-blend-mode: screen; }
@keyframes vA { 50% { transform: translate(10px, -6px); } }
@keyframes vB { 50% { transform: translate(-10px, 6px); } }
.venn .who { position: absolute; top: 9%; font: italic 500 clamp(15px, 1.6vw, 18px) var(--f-display); color: var(--ink2); }
.venn .who.a { left: 9%; } .venn .who.b { right: 9%; }
.thing { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); white-space: nowrap; font-size: clamp(12.5px, 1.35vw, 14.5px); font-weight: 600; padding: 7px 13px; border-radius: 999px; background: rgba(19, 16, 30, .62); border: 1px solid rgba(255, 255, 255, .16); color: var(--ink); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: left 1.6s cubic-bezier(.5, 0, .2, 1), top 1.6s cubic-bezier(.5, 0, .2, 1), background .8s, border-color .8s; transition-delay: var(--d, 0s); }
.venn.merged .thing[data-x2] { left: var(--x2); top: var(--y2); background: rgba(255, 255, 255, .9); color: #2e1065; border-color: transparent; }
.venn .ours { position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%); font: italic 500 clamp(15px, 1.6vw, 18px) var(--f-display); color: var(--glow); opacity: 0; transition: opacity 1s 1.9s; }
.venn.merged .ours { opacity: 1; }

/* sections */
section { padding: clamp(64px, 9vw, 120px) 0; }
.band { background: linear-gradient(180deg, transparent, rgba(33, 26, 51, .55) 12%, rgba(33, 26, 51, .55) 88%, transparent); }
.head { display: flex; flex-direction: column; gap: 16px; max-width: 40em; margin-bottom: clamp(36px, 5vw, 64px); }

/* feature rows: words beside a real screen */
.row { display: grid; grid-template-columns: 1fr minmax(220px, 290px); gap: clamp(28px, 6vw, 96px); align-items: center; }
.row + .row { margin-top: clamp(64px, 7vw, 96px); }
.row.flip { grid-template-columns: minmax(220px, 290px) 1fr; }
.row.flip .words { order: 2; }
.words { display: flex; flex-direction: column; gap: 16px; max-width: 32em; }
.words ul { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.words li { position: relative; padding-left: 26px; color: var(--ink2); }
.words li::before { content: ''; position: absolute; left: 0; top: .52em; width: 15px; height: 10px; background: radial-gradient(circle at 30% 50%, var(--vio-l) 0 4.5px, transparent 5px), radial-gradient(circle at 70% 50%, var(--pink-l) 0 4.5px, transparent 5px); opacity: .9; }
.phone { position: relative; border-radius: 38px; padding: 9px; background: linear-gradient(160deg, #3a2f57, #1c1630); box-shadow: 0 40px 80px -30px rgba(124, 58, 237, .55), 0 0 0 1px rgba(255, 255, 255, .08) inset; }
.phone img { border-radius: 30px; width: 100%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; background: var(--ground); }

/* also in Venn: plain two-column list, no cards */
.also { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 56px; }
.also div { padding: 20px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.also b { font: 600 20px/1.3 var(--f-display); }
.also span { color: var(--ink2); font-size: 15.5px; }

/* steps: a real sequence */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { display: flex; flex-direction: column; gap: 10px; counter-increment: step; }
.steps li::before { content: counter(step); font: 600 64px/1 var(--f-display); background: linear-gradient(120deg, var(--vio-l), var(--pink-l)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps p { color: var(--ink2); }

/* closing */
.closing { text-align: center; }
.closing .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.closing .mini { width: 120px; height: 76px; }

/* pricing */
.plans { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; align-items: stretch; }
.plan { border-radius: 28px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; border: 1px solid var(--line2); }
.plan.now { background: linear-gradient(160deg, rgba(124, 58, 237, .32), rgba(236, 72, 153, .14) 70%), var(--raise); border-color: rgba(196, 181, 253, .38); }
.plan.later { background: transparent; border-style: dashed; }
.plan .price { font: 600 clamp(48px, 6vw, 64px)/1 var(--f-display); }
.plan .price small { font: 500 17px var(--f-text); color: var(--ink2); margin-left: 6px; }
.plan ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--ink2); }
.plan .btn { align-self: flex-start; margin-top: auto; }

/* faq */
.faq { max-width: 46em; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 600 clamp(19px, 2.2vw, 22px)/1.35 var(--f-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink2); border-bottom: 2px solid var(--ink2); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details > div { padding: 0 0 22px; color: var(--ink2); max-width: 40em; }
.faq details > div p + p { margin-top: 10px; }
.contact { margin-top: 64px; padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: var(--raise); border: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; max-width: 46em; }

/* page heads */
.pagehead { padding: clamp(36px, 7vw, 88px) 0 clamp(24px, 4vw, 48px); }
.pagehead .wrap { display: flex; flex-direction: column; gap: 18px; }
.pagehead h1 { font-size: clamp(42px, 7vw, 76px); }

/* login */
.auth { min-height: calc(100vh - 68px); min-height: calc(100dvh - 68px); display: grid; place-items: center; padding: 32px 0 64px; }
.authcard { width: min(440px, 100%); display: flex; flex-direction: column; gap: 18px; }
.authcard .mini { width: 96px; height: 60px; margin-bottom: 4px; }
.authcard h1 { font-size: clamp(38px, 8vw, 50px); }
label.field { display: block; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 14.5px; font-weight: 600; color: var(--ink2); }
.field .opt { font-weight: 500; color: var(--ink3); }
.inp { position: relative; }
.inp input { width: 100%; min-height: 52px; padding: 0 44px 0 16px; border-radius: 16px; border: 1px solid var(--line2); background: var(--ground2); color: var(--ink); font: 600 17px var(--f-text); letter-spacing: .04em; outline: none; transition: border-color .15s, box-shadow .15s; }
.inp input.plain { letter-spacing: 0; font-weight: 500; }
.inp input::placeholder { color: var(--ink3); letter-spacing: .02em; font-weight: 500; }
.inp input:focus { border-color: var(--vio-l); box-shadow: 0 0 0 4px rgba(139, 92, 246, .22); }
.inp .st { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 18px; }
.inp.ok input { border-color: rgba(52, 211, 153, .7); }
.inp.bad input { border-color: rgba(251, 113, 133, .8); }
.hint { font-size: 13.5px; font-weight: 500; color: var(--ink3); }
.hint.bad { color: #fda4af; } .hint.ok { color: #6ee7b7; }
.notice { border-radius: 16px; padding: 13px 16px; font-size: 15px; background: rgba(251, 113, 133, .12); border: 1px solid rgba(251, 113, 133, .35); color: #fecdd3; }
.notice.info { background: rgba(196, 181, 253, .1); border-color: var(--line2); color: var(--ink); }
.gbtn { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; border-radius: 999px; background: #fff; color: #1f1f1f; font: 700 16px var(--f-text); text-decoration: none; border: 0; cursor: pointer; width: 100%; }
.gbtn:hover { color: #1f1f1f; background: #f2f0f7; }
.gbtn svg { width: 20px; height: 20px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--ink3); font-size: 13.5px; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.devform { display: flex; flex-direction: column; gap: 10px; }
.devform .btn { width: 100%; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 44px 0 56px; color: var(--ink3); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-start; }
footer nav { display: flex; flex-wrap: wrap; gap: 12px 26px; }
footer nav a { color: var(--ink2); text-decoration: none; }
footer nav a:hover { color: var(--ink); }
footer .logo { font-size: 22px; } footer .logo svg { width: 34px; height: 21px; }

/* small screens */
@media (max-width: 900px) {
  .links { display: none; } .menu { display: block; }
  .hero .wrap { grid-template-columns: 1fr; }
  .venn { max-width: 470px; }
  .row, .row.flip { grid-template-columns: 1fr; }
  .row.flip .words { order: 0; }
  .row .phone { max-width: 280px; justify-self: center; width: 100%; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16.5px; }
  .also { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { flex-direction: row; align-items: baseline; gap: 18px; }
  .steps li::before { font-size: 48px; min-width: 30px; }
  .hero .ctas .btn { flex: 1 1 auto; }
  .thing { padding: 6px 10px; }
  .thing.side2 { display: none; }
  .thing.side1 { --y: 33% !important; }
  .thing.s-a { --x: 22% !important; } .thing.s-b { --x: 78% !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .v-a, .v-b { animation: none; }
  .thing, .venn .ours { transition: none; }
}
