:root {
  --page: #F5F5F3; --card: #FFFFFF; --ink: #102E2C; --ink-soft: #5E6E6B;
  --tile: #EFEFEC; --line: #E3E4E0; --pin: #E5432C; --go: #46B34A;
  --forest: #153230; --butter: #F2CF5B; --lilac: #C9A6F2; --sage: #CFE3C9;
  --font: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font); color: var(--ink); background: var(--page); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.02em; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
.muted { color: var(--ink-soft); }
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: "Montserrat", var(--font); font-weight: 700; letter-spacing: .3em; font-size: 1.12rem; line-height: 1; text-decoration: none; color: #0D2E30; }
.pinmark { width: 20px; height: 27px; color: #0D2E30; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 600 1rem var(--font); padding: 15px 26px; cursor: pointer; text-decoration: none; transition: transform .35s var(--bounce), background .25s; }
.btn:hover { transform: scale(1.04); }
.btn:focus-visible, .gbtn:focus-visible, .chip:focus-visible, .pillopt input:focus-visible + span { outline: 3px solid var(--go); outline-offset: 3px; }
.chip { border: 0; background: #fff; color: var(--ink); font: 500 .9rem var(--font); padding: 9px 16px; border-radius: 999px; cursor: pointer; text-decoration: none; box-shadow: 0 1px 2px rgba(16,46,44,.08); }
.chip:hover { background: var(--tile); }

/* sign-in: Slate-style centred column */
body.page-auth { background: #FAFAFC; color: #21242E; font-family: "Inter", var(--font); font-weight: 500; font-size: 13px; }
.auth-top { padding: 16px 30px; height: 59px; display: flex; align-items: center; }
.auth { width: 100%; max-width: 400px; margin: 0 auto; padding: max(64px, calc(21vh - 59px)) 0 120px; display: flex; flex-direction: column; align-items: stretch; text-align: center; animation: authin .45s ease-out both; }
@keyframes authin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.auth h1 { font: 600 30px/36px "Inter", var(--font); letter-spacing: normal; color: #21242E; }
.auth-sub { margin: 20px 0 50px; font: 500 16px/24px "Inter", var(--font); color: #A9A9CB; }
.auth-sub a, .auth-links a { color: #00B72B; text-decoration: none; }
.auth-sub a:hover, .auth-links a:hover { text-decoration: underline; }
.gbtn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 50px; padding: 10px 16px; border-radius: 4px; background: #fff; border: 1px solid #DADCE0; color: #3C4043; font: 500 14px "Inter", var(--font); text-decoration: none; transition: background .15s, border-color .15s, box-shadow .15s; }
.gbtn svg { width: 18px; height: 18px; flex: none; }
.gbtn:hover { background: #F8FAFF; border-color: #D2E3FC; box-shadow: 0 1px 2px rgba(60,64,67,.15); }
.gbtn.is-off { opacity: .55; cursor: not-allowed; }
.auth-links { margin: 22px 0 0; display: flex; flex-direction: column; gap: 4px; font: 500 13px/16px "Inter", var(--font); }
.notice { background: #FFF8E6; border: 1px solid #F5D451; color: #6B4A00; padding: 11px 14px; border-radius: 4px; margin: -26px 0 24px; font: 500 13px/18px "Inter", var(--font); text-align: left; }
.help-fab { position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 50%; background: #00B72B; display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,183,43,.35); transition: transform .3s var(--bounce); }
.help-fab svg { width: 16px; height: 22px; }
.help-fab:hover { transform: scale(1.08); }
@media (max-width: 460px) { .auth { padding-left: 20px; padding-right: 20px; } .auth-top { padding: 16px 20px; } }

/* member app */
.topbar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px clamp(16px, 4vw, 40px); background: rgba(245,245,243,.86); backdrop-filter: blur(12px); }
.topbar nav { display: flex; align-items: center; gap: 10px; }
.topbar form { margin: 0; }
.who { color: var(--ink-soft); font-size: .92rem; max-width: 30vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-app { max-width: 1040px; margin: 0 auto; padding: 18px clamp(16px, 4vw, 40px) 80px; }
.hello { padding: 30px 0 26px; animation: rise .7s var(--bounce) both; }
.hello h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.02; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 560px; line-height: 1.45; margin: 14px 0 0; }
.lede a { color: var(--ink); font-weight: 600; }
.card { background: var(--card); border-radius: 26px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 1px 2px rgba(16,46,44,.05); }
.niche-form { display: grid; gap: 24px; animation: rise .8s .08s var(--bounce) both; }
.field { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field > legend { font-weight: 600; font-size: 1rem; padding: 0; margin-bottom: 10px; }
.field > span { margin-bottom: 0; }
.field i { font-style: normal; color: var(--ink-soft); font-weight: 400; }
.field input[type=text], .field input:not([type]) { width: 100%; font: 400 1.05rem var(--font); color: var(--ink); background: var(--page); border: 1.5px solid transparent; border-radius: 16px; padding: 15px 18px; transition: border-color .2s, background .2s; }
.field input:focus { outline: none; border-color: var(--go); background: #fff; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pillopt { position: relative; cursor: pointer; }
.pillopt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pillopt span { display: inline-block; padding: 11px 18px; border-radius: 999px; background: var(--page); font-weight: 500; transition: background .2s, color .2s, transform .35s var(--bounce); }
.pillopt:hover span { background: var(--tile); }
.pillopt input:checked + span { background: var(--ink); color: #fff; transform: scale(1.04); }
.niche-form .btn { justify-self: start; }
.status { display: flex; gap: 16px; align-items: flex-start; background: var(--sage); border-radius: 26px; padding: 24px clamp(20px, 3vw, 32px); margin-bottom: 18px; }
.status.pop { animation: rise .6s var(--bounce) both; }
.status h2 { font-size: 1.35rem; line-height: 1.25; }
.status h2 em { font-size: 1.15em; }
.status p { margin: 8px 0 0; line-height: 1.5; }
.status-dot { width: 14px; height: 14px; margin-top: 7px; border-radius: 50%; background: var(--go); flex: none; box-shadow: 0 0 0 0 rgba(70,179,74,.5); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 12px rgba(70,179,74,0); } 100% { box-shadow: 0 0 0 0 rgba(70,179,74,0); } }
.soon { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.soon-card { background: var(--card); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; animation: rise .8s var(--bounce) both; }
.soon-card:nth-child(2) { animation-delay: .08s; } .soon-card:nth-child(3) { animation-delay: .16s; }
.soon-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.soon-card div { padding: 18px 20px 22px; }
.soon-card h3 { font-size: 1.2rem; margin: 10px 0 6px; }
.soon-card p { margin: 0; color: var(--ink-soft); line-height: 1.45; font-size: .95rem; }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--butter); }
.table-wrap { overflow-x: auto; padding: 0; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font-weight: 600; color: var(--ink-soft); background: #FAFAF8; }
tr:last-child td { border-bottom: 0; }
.center { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 20px; text-align: center; padding: 24px; }
@media (max-width: 760px) { .soon { grid-template-columns: 1fr; } .who { display: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* sign-up: Slate-style split screen */
body.page-signup { background: #fff; }
.su { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
.su-left { display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 24px 24px 16px; }
.su-box { width: 100%; max-width: 318px; margin: auto 0; padding-top: 40px; display: flex; flex-direction: column; align-items: center; text-align: center; animation: authin .45s ease-out both; }
.su-logo { margin-bottom: 30px; }
.su-box h1 { font: 600 30px/36px "Inter", var(--font); color: #21242E; margin-bottom: 25px; white-space: nowrap; }
.su-form { width: 100%; display: grid; gap: 14px; }
.su-form .gbtn { height: auto; padding: 13px 16px; border-radius: 6px; border-color: #E4E5EA; font-size: 15px; cursor: pointer; }
.agree { display: flex; gap: 8px; align-items: flex-start; text-align: left; font: 400 12.5px/17px "Inter", var(--font); color: #6B6E7B; cursor: pointer; }
.agree input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.agree .box { flex: none; width: 15px; height: 15px; margin-top: 1px; border-radius: 4px; border: 1.5px solid #B2B6CC; background: #fff; display: grid; place-items: center; transition: background .15s, border-color .15s; }
.agree input:checked + .box { background: #111418; border-color: #111418; }
.agree input:checked + .box::after { content: ""; width: 7px; height: 4px; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.agree input:focus-visible + .box { outline: 2px solid #00B72B; outline-offset: 2px; }
.agree a { color: #111418; font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.su-foot { margin: 0; font: 400 13px "Inter", var(--font); color: #6B6E7B; }
.su-foot a { color: #111418; font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.su-right { position: relative; margin: 22px 0 0 0; border-radius: 26px 0 0 0; overflow: hidden; padding: 46px 30px 30px 36px; color: #fff; background-color: #0D2E30; background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1.2px); background-size: 14px 14px; display: flex; flex-direction: column; }
.su-right h2 { font: 700 clamp(26px, 2.6vw, 34px)/1.1 "Inter", var(--font); letter-spacing: -0.035em; animation: suin .7s .1s ease-out both; }
.su-right .dot { color: #F26B2C; }
.su-lede { margin: 12px 0 0; font: 500 clamp(13px, 1.1vw, 15px)/1.4 "Inter", var(--font); color: rgba(255,255,255,.72); animation: suin .7s .2s ease-out both; }
@keyframes suin { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.su-stage { position: relative; margin: 30px 0 0 -6px; aspect-ratio: 830 / 527; border-radius: 18px; overflow: visible; animation: suin .8s .3s ease-out both; }
.su-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 18px; opacity: .9; }
.su-frame { position: absolute; margin: 0; border: 2.5px solid #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.su-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.su-frame.f1 { left: 1%; top: 0; width: 36%; height: 50%; animation: frame1 7s ease-in-out infinite; }
.su-frame.f2 { right: 1%; top: 2%; width: 36%; height: 50%; animation: frame2 7s ease-in-out infinite; }
.su-frame .lbl { position: absolute; left: 8px; top: 8px; font: 500 11px "SFMono-Regular", Menlo, monospace; background: rgba(13,46,48,.85); padding: 3px 7px; border-radius: 4px; }
@keyframes frame1 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(4%, 6%) scale(.96); } }
@keyframes frame2 { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-4%, 8%) scale(1.03); } }
.su-status { position: absolute; left: 50%; bottom: -20%; transform: translateX(-50%); width: min(78%, 360px); display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: 0 14px 34px rgba(0,0,0,.3); }
.su-chip { font: 700 12px "Inter", var(--font); color: #0D2E30; background: #EEF4F2; padding: 6px 10px; border-radius: 8px; }
.spark { width: 20px; height: 20px; animation: spin 3s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.su-msgs { position: relative; flex: 1; height: 18px; overflow: hidden; }
.su-msgs span { position: absolute; left: 0; top: 0; white-space: nowrap; font: 500 14px/18px "Inter", var(--font); background: linear-gradient(90deg, #F26B2C 0%, #F26B2C 40%, #FBC4A6 50%, #F26B2C 60%, #F26B2C 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; opacity: 0; animation: msg 7.5s infinite, shimmer 1.6s linear infinite; }
.su-msgs span:nth-child(2) { animation-delay: 2.5s, 0s; }
.su-msgs span:nth-child(3) { animation-delay: 5s, 0s; }
@keyframes msg { 0% { opacity: 0; transform: translateY(100%); } 4%, 30% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; transform: translateY(-100%); } }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.su-trust { margin: auto 0 14px; padding-top: 70px; text-align: center; font: 500 14px "Inter", var(--font); color: rgba(255,255,255,.78); }
.su-logos { list-style: none; margin: 0; padding: 0 40px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 26px; }
.su-logos li { font: 700 clamp(15px, 1.45vw, 21px) "Montserrat", var(--font); letter-spacing: .04em; color: #fff; opacity: .92; }
@media (max-width: 900px) { .su { grid-template-columns: 1fr; } .su-right { display: none; } .su-box h1 { white-space: normal; } }

/* loading screen after sign-in */
.boot { position: fixed; inset: 0; z-index: 100; background: #FCFCFD; display: grid; place-items: center; pointer-events: none; animation: bootout .45s 1.35s ease forwards; }
.boot-in { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.boot-pin { width: 58px; height: 77px; animation: pindrop .7s cubic-bezier(.34,1.56,.64,1) both, breathe 1.2s .7s ease-in-out infinite; }
.boot-head { fill: #D5D6E4; }
.boot-shine { fill: #fff; opacity: .55; }
.boot-needle { stroke: #D5D6E4; fill: none; }
.boot-word { font: 700 34px "Montserrat", var(--font); letter-spacing: .32em; margin-right: -.32em; color: #D5D6E4; animation: suin .6s .15s ease-out both; }
@keyframes pindrop { from { opacity: 0; transform: translateY(-26px) rotate(-12deg); } to { opacity: 1; transform: none; } }
@keyframes breathe { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes bootout { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .boot { display: none; } }
