/* psynx launch page. Same design language as the app: greys carry the structure, colour belongs to Psy and soft backgrounds. */
:root {
  --ink: #1c1d21; --graphite: #3a3b41; --slate: #6f7077; --silver: #9b9ca4; --mist: #d9dade; --cloud: #eeeff2; --paper: #f7f7f9; --white: #fff;
  --apricot: #f5a25d; --apricot-soft: #fde8cf; --sky: #86bde8; --sky-soft: #dfeefa; --butter-soft: #fbf1cd; --rose-soft: #fce0db;
  --lilac: #b6abe6; --lilac-soft: #ebe6f9; --mint: #9ed6b9; --mint-soft: #e1f3e9; --sage: #5f8a72; --ember: #b5484c;
  --display: 'Montserrat', 'Noto Sans', system-ui, sans-serif; --body: 'Inter', 'Noto Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1); --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 300; letter-spacing: .005em; margin: 0; line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); font-weight: 200; text-wrap: balance; }
h2, .lead { text-wrap: balance; }
.brand img, footer img { mix-blend-mode: multiply; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 400; }
p { margin: 0; }
.eyebrow { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); margin-bottom: 14px; }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--graphite); max-width: 36em; font-weight: 300; }
.muted { color: var(--slate); }

/* background washes */
.wash { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.wash i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; filter: blur(50px); opacity: .75; animation: morph 20s ease-in-out infinite alternate, drift 28s ease-in-out infinite alternate; }
.wash i:nth-child(1) { left: -22vmax; top: -24vmax; background: var(--apricot-soft); }
.wash i:nth-child(2) { right: -24vmax; top: 20vh; background: var(--sky-soft); animation-duration: 24s, 33s; }
.wash i:nth-child(3) { left: 10vmax; bottom: -30vmax; background: var(--lilac-soft); animation-duration: 27s, 36s; }
@keyframes morph { 0% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; } 50% { border-radius: 58% 42% 38% 62% / 55% 60% 40% 45%; } 100% { border-radius: 36% 64% 52% 48% / 62% 38% 62% 38%; } }
@keyframes drift { from { transform: translate(0, 0) rotate(0); } to { transform: translate(30px, 40px) rotate(22deg); } }

/* navigation */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); background: rgba(247,247,249,.72); border-bottom: 1px solid rgba(217,218,222,.6); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 68px; }
.nav .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.nav .brand img:first-child { width: 34px; height: 34px; } .nav .brand img:last-child { height: 26px; width: auto; }
.nav a.link { text-decoration: none; color: var(--graphite); font-size: .92rem; }
.nav a.link:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 999px; padding: 13px 26px; font: 500 .95rem var(--body); transition: transform .35s var(--ease), box-shadow .35s; cursor: pointer; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(28,29,33,.18); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--mist); }
.btn.sm { padding: 9px 18px; font-size: .88rem; }
@media (max-width: 760px) { .nav a.link { display: none; } }

/* hero */
.hero { padding: clamp(40px, 8vw, 96px) 0 clamp(36px, 6vw, 72px); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 30px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .stage { position: relative; display: grid; place-items: center; min-height: 340px; }
.hero .stage::before { content: ''; position: absolute; inset: 6% 4%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff 0%, var(--apricot-soft) 38%, var(--sky-soft) 72%, transparent 74%); filter: blur(2px); animation: breathe 7s ease-in-out infinite; }
.hero .stage img { position: relative; width: min(340px, 78%); animation: float 6s ease-in-out infinite; filter: drop-shadow(0 22px 30px rgba(245,162,93,.28)); }
.chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.8); border: 1px solid var(--mist); border-radius: 999px; padding: 6px 14px; font-size: .82rem; color: var(--graphite); }
.invited { display: none; margin-bottom: 18px; background: var(--butter-soft); border-color: transparent; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; text-align: center; } .hero .lead { margin-inline: auto; } .hero .actions { justify-content: center; } .hero .stage { order: -1; min-height: 260px; } }

/* stats strip */
.stats { padding: 10px 0 40px; }
.stats .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { background: rgba(255,255,255,.78); border: 1px solid var(--mist); border-radius: 28px; padding: 26px 24px; text-align: center; backdrop-filter: blur(6px); }
.stat b { display: block; font: 200 clamp(2.4rem, 5vw, 3.6rem)/1 var(--display); letter-spacing: -.01em; margin-bottom: 10px; }
.stat > span { color: var(--slate); font-size: .95rem; display: block; }
@media (max-width: 760px) { .stats .grid { grid-template-columns: 1fr; } }

section { padding: clamp(48px, 8vw, 96px) 0; }
.head { max-width: 40em; margin-bottom: 40px; }
.head.center { margin-inline: auto; text-align: center; }
.head p { margin-top: 14px; color: var(--graphite); font-weight: 300; }

/* the need */
.need .grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.fig { background: #fff; border: 1px solid var(--mist); border-radius: 28px; padding: 28px; }
.fig b { display: block; font: 200 clamp(2.2rem, 4.4vw, 3.2rem)/1.05 var(--display); margin-bottom: 8px; }
.fig p { color: var(--slate); }
.source { margin-top: 18px; font-size: .78rem; color: var(--silver); }
@media (max-width: 760px) { .need .grid { grid-template-columns: 1fr; } }

/* how we care */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar { border-radius: 30px; padding: 30px 26px 32px; transition: transform .5s var(--ease), box-shadow .5s; }
.pillar:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(28,29,33,.1); }
.pillar .ic { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.75); display: grid; place-items: center; margin-bottom: 20px; }
.pillar .ic svg { width: 28px; height: 28px; stroke: var(--ink); fill: none; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { margin-bottom: 10px; } .pillar p { color: var(--graphite); font-weight: 300; }
.p1 { background: var(--apricot-soft); } .p2 { background: var(--sky-soft); } .p3 { background: var(--lilac-soft); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* Psy */
.meet { background: linear-gradient(180deg, transparent, rgba(255,255,255,.7) 12%, rgba(255,255,255,.7) 88%, transparent); }
.meet .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.psys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.psys figure { margin: 0; background: #fff; border: 1px solid var(--cloud); border-radius: 26px; padding: 14px 10px 12px; text-align: center; transition: transform .5s var(--ease); }
.psys figure:hover { transform: translateY(-5px) rotate(-1deg); }
.psys img { width: 78%; margin: 0 auto 6px; animation: float 6s ease-in-out infinite; }
.psys figure:nth-child(2) img { animation-delay: -1.5s; } .psys figure:nth-child(3) img { animation-delay: -3s; } .psys figure:nth-child(4) img { animation-delay: -4.5s; } .psys figcaption { font-size: .82rem; color: var(--slate); }
.honest { margin-top: 22px; padding: 16px 20px; border-radius: 22px; background: var(--paper); border: 1px solid var(--cloud); font-size: .95rem; color: var(--graphite); }
@media (max-width: 860px) { .meet .wrap { grid-template-columns: 1fr; } }

/* where we stand (table) */
.table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--mist); border-radius: 28px; overflow: hidden; }
.table th, .table td { text-align: left; padding: 20px 26px; border-bottom: 1px solid var(--cloud); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table th { width: 38%; font-weight: 400; color: var(--slate); font-size: .95rem; }
.table td b { font: 300 1.6rem var(--display); }
.table td span { display: block; color: var(--slate); font-size: .92rem; margin-top: 2px; }
@media (max-width: 640px) { .table th, .table td { display: block; width: 100%; padding: 12px 20px; border: 0; } .table tr { display: block; border-bottom: 1px solid var(--cloud); padding: 8px 0; } }

/* world band */
.world { padding-block: 24px; }
.band { text-align: center; border-radius: 36px; padding: clamp(32px, 6vw, 60px) 24px; background: rgba(255,255,255,.8); border: 1px solid var(--mist); backdrop-filter: blur(6px); }
.band .lead { margin: 14px auto 24px; }
.flags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 18px 20px; }
.flags li { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 92px; text-align: center; }
.flags li.home { width: 120px; }
.flags b { font-weight: 400; font-size: .82rem; color: var(--graphite); line-height: 1.2; }
.flags small { font-size: .74rem; color: var(--slate); margin-top: -4px; }
.flags .fi { width: 52px; height: 39px; border-radius: 7px; box-shadow: 0 0 0 1px rgba(28,29,33,.12), 0 6px 14px rgba(28,29,33,.08); background-size: cover; transition: transform .5s var(--ease); }
.flags li:hover .fi { transform: translateY(-4px) rotate(-3deg); }
.flags .fi.big { width: 76px; height: 57px; }

/* trust */
.trust .grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.t { display: flex; gap: 16px; align-items: flex-start; background: rgba(255,255,255,.8); border: 1px solid var(--mist); border-radius: 26px; padding: 24px; }
.t svg { flex: none; width: 26px; height: 26px; stroke: var(--sage); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 3px; }
.t h3 { font-size: 1.05rem; margin-bottom: 4px; } .t p { color: var(--slate); font-size: .96rem; }
@media (max-width: 760px) { .trust .grid { grid-template-columns: 1fr; } }

/* early access */
.early .box { text-align: center; border-radius: 40px; padding: clamp(36px, 7vw, 72px) 24px; background: linear-gradient(135deg, var(--apricot-soft), var(--sky-soft) 55%, var(--lilac-soft)); border: 1px solid rgba(255,255,255,.8); position: relative; overflow: hidden; }
.early .box img.psy { width: 120px; margin: 0 auto 18px; animation: float 6s ease-in-out infinite; }
.early h2 { margin-bottom: 14px; } .early .lead { margin: 0 auto 26px; }
.early form { display: grid; gap: 10px; max-width: 520px; margin: 0 auto; text-align: left; }
.early .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.early input, .early select, .early textarea { width: 100%; border: 1px solid var(--mist); border-radius: 20px; padding: 13px 18px; font: inherit; font-size: .95rem; background: #fff; outline: none; color: var(--ink); resize: vertical; transition: border-color .3s, box-shadow .3s; }
.early input:focus, .early select:focus, .early textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(28,29,33,.06); }
.early form .btn { width: 100%; }
.early .sent { display: none; background: #fff; border-radius: 20px; padding: 16px 20px; max-width: 520px; margin: 14px auto 0; color: var(--graphite); }
.early .sent.on { display: block; }
@media (max-width: 520px) { .early .two { grid-template-columns: 1fr; } }
.note { margin-top: 18px; font-size: .85rem; color: var(--slate); }
.note a, footer a { color: var(--graphite); }
@media (max-width: 520px) { .early form.on { flex-direction: column; } }

footer { padding: 44px 0 56px; border-top: 1px solid var(--cloud); color: var(--slate); font-size: .86rem; }
footer .wrap { display: grid; gap: 16px; }
footer .row { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
footer img { height: 22px; width: auto; }
.crisis { background: #fbf3f3; border: 1px solid #ecc9ca; border-radius: 18px; padding: 14px 18px; color: var(--graphite); }
.crisis b { color: var(--ember); font-weight: 500; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .12s; } .rv.d2 { transition-delay: .24s; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } html { scroll-behavior: auto; } }
