/* Symmira account pages (start, login): one card on the lab background, plan summary beside it. */
@font-face { font-family: "Geist"; src: url("/assets/fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --white: #FFFFFF; --room: #F3F5F7; --room-2: #EBEEF2; --ink: #0B0D10; --ink-2: #2A2F36; --muted: #6E7783;
  --faint: #A9B1BB; --line: #E5E8EC; --scan: #13A8CB; --scan-soft: rgba(19,168,203,.12); --error: #C8344F;
  --font: "Geist", "Helvetica Neue", Arial, sans-serif; --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --shadow: 0 1px 2px rgba(11,13,16,.04), 0 24px 60px -24px rgba(11,13,16,.2);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: #E9EDF1; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--ink); font-family: var(--font); line-height: 1.5; -webkit-font-smoothing: antialiased;
  background: radial-gradient(60% 60% at 75% 30%, #FFFFFF 0%, rgba(255,255,255,0) 70%), linear-gradient(180deg, #F5F7F9 0%, #E9EDF1 100%); background-attachment: fixed; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; background-image: linear-gradient(rgba(11,13,16,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(11,13,16,.035) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent 80%); -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent 80%); }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
img, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.soft { color: var(--faint); }

.top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1180px; width: 100%; margin: 0 auto; padding: 20px max(20px, env(safe-area-inset-left, 0px)); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: 0.2em; font-size: 0.92rem; }
.brand img { height: 32px; width: auto; }
.top .alt { font-size: 0.9rem; color: var(--muted); display: flex; align-items: center; gap: 12px; }
.top .alt a { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; background: rgba(255,255,255,.8); border: 1px solid var(--line); color: var(--ink); font-weight: 500; transition: border-color .2s; }
.top .alt a:hover { border-color: var(--faint); }

main { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; justify-content: center; padding: 12px max(16px, env(safe-area-inset-left, 0px)) 40px; }
.auth { width: 100%; max-width: 1080px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: 16px; align-items: stretch; }
.card { background: var(--white); border-radius: 32px; box-shadow: var(--shadow); padding: 48px 48px 40px; display: flex; flex-direction: column; animation: rise .6s cubic-bezier(.2,.8,.2,1) both; }
.eyebrow { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--scan); box-shadow: 0 0 0 4px var(--scan-soft); }
h1 { margin: 18px 0 0; font-weight: 400; font-size: clamp(2.1rem, 3.6vw, 2.9rem); letter-spacing: -0.045em; line-height: 1.04; text-wrap: balance; }
.lede { color: var(--muted); margin-top: 14px; max-width: 42ch; }

form { margin-top: 30px; display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
label.lbl { font-size: 0.86rem; font-weight: 500; }
input[type="email"] { width: 100%; height: 56px; padding: 0 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--room); font: 400 1rem var(--font); color: var(--ink); outline: none; transition: border-color .2s, background .2s, box-shadow .2s; }
input[type="email"]::placeholder { color: var(--faint); }
input[type="email"]:hover { border-color: var(--faint); }
input[type="email"]:focus { background: var(--white); border-color: var(--scan); box-shadow: 0 0 0 4px var(--scan-soft); }
.field.invalid input { border-color: var(--error); background: #FFF6F8; }
.err { color: var(--error); font-size: 0.84rem; min-height: 0; }
.err:empty { display: none; }

.consents { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: 18px; padding: 6px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; padding: 12px; border-radius: 12px; cursor: pointer; font-size: 0.88rem; color: var(--ink-2); line-height: 1.45; transition: background .2s; }
.check:hover { background: var(--room); }
.check input { appearance: none; -webkit-appearance: none; margin: 0; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--faint); background: var(--white); display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.check input::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s; }
.check input:checked { background: var(--ink); border-color: var(--ink); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check input:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--scan-soft); border-color: var(--scan); }
.check .opt { color: var(--muted); }
.check .req { font-family: var(--mono); font-size: 0.62rem; letter-spacing: .08em; color: var(--muted); margin-left: 6px; text-transform: uppercase; }
.consents.invalid { border-color: var(--error); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 58px; border: 0; border-radius: 999px; background: var(--ink); color: var(--white); font: 500 1rem var(--font); letter-spacing: -0.01em; cursor: pointer; box-shadow: 0 14px 28px -14px rgba(11,13,16,.6); transition: background .2s, transform .2s; }
.btn:hover { background: var(--ink-2); transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn .arrow { font-family: var(--mono); }
.btn.ghost { background: var(--room); color: var(--ink); box-shadow: none; }
.btn.ghost:hover { background: var(--room-2); }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-size: 0.82rem; }
.secure svg { width: 15px; height: 15px; color: var(--scan); }
.note { margin-top: 22px; padding: 16px 18px; border-radius: 16px; background: var(--room); color: var(--muted); font-size: 0.9rem; }
.note b { color: var(--ink); font-weight: 500; }
.card .foot { margin-top: auto; padding-top: 30px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: 0.78rem; color: var(--faint); }

.aside { position: relative; border-radius: 32px; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.65), rgba(255,255,255,.35)); border: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; flex-direction: column; animation: rise .6s cubic-bezier(.2,.8,.2,1) .08s both; }
.aside .face { position: relative; flex: 1; min-height: 300px; }
.aside canvas { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(100%, 460px); aspect-ratio: 1; height: auto; }
.aside .face .float { position: absolute; z-index: 2; background: rgba(255,255,255,.85); border: 1px solid var(--white); border-radius: 14px; box-shadow: var(--shadow); padding: 10px 13px; animation: bob 7s ease-in-out infinite; }
.aside .face .float .k { font-family: var(--mono); font-size: 0.6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.aside .face .float .v { font-family: var(--mono); font-size: 1.05rem; margin-top: 2px; }
.aside .info { position: relative; z-index: 1; margin: 0 14px 14px; background: var(--white); border-radius: 22px; padding: 22px 24px; box-shadow: 0 1px 2px rgba(11,13,16,.04); }
.plan { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.plan b { font-weight: 500; }
.plan .price { white-space: nowrap; font-size: 1.9rem; letter-spacing: -0.04em; }
.plan .price small { font-size: 0.85rem; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
.plan .sub { color: var(--muted); font-size: 0.82rem; }
.next { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; counter-reset: n; }
.next li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: 0.9rem; color: var(--ink-2); counter-increment: n; }
.next li::before { content: counter(n); width: 26px; height: 26px; border-radius: 50%; background: var(--room); display: grid; place-items: center; font-family: var(--mono); font-size: 0.72rem; color: var(--ink); }
.next li span { color: var(--muted); display: block; font-size: 0.82rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.facts div { padding: 2px 14px; }
.facts div + div { border-left: 1px solid var(--line); }
.facts b { display: block; font-weight: 500; font-size: 0.92rem; }
.facts span { color: var(--muted); font-size: 0.78rem; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes bob { 50% { transform: translateY(-5px); } }
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; max-width: 560px; }
  .aside { order: 2; }
  .aside .face { flex: none; min-height: 0; height: 300px; }
  .aside canvas { width: 340px; }
}
@media (max-width: 520px) {
  .card { padding: 32px 22px 26px; border-radius: 26px; }
  .aside { border-radius: 26px; }
  .top .alt > span { display: none; }
  .facts { grid-template-columns: 1fr; gap: 10px; }
  .facts div { padding: 0; }
  .facts div + div { border-left: 0; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
