/* Shared auth styles — Sign In + Sign Up. Same tokens as the rest of the site; declared inline here so each auth page is self-sufficient. */ :root { --bg: oklch(0.155 0.008 60); --bg-1: oklch(0.185 0.009 60); --bg-2: oklch(0.225 0.010 60); --hairline: oklch(0.32 0.010 60 / 0.55); --hairline-2: oklch(0.40 0.012 60 / 0.35); --fg: oklch(0.97 0.005 80); --fg-dim: oklch(0.78 0.006 80); --fg-mute: oklch(0.58 0.006 80); --fg-faint: oklch(0.42 0.006 80); --accent: oklch(0.74 0.175 35); --accent-soft: oklch(0.74 0.175 35 / 0.18); --accent-glow: oklch(0.74 0.175 35 / 0.35); --accent-fg: #1a0f0a; --ok: oklch(0.78 0.16 155); --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif; --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace; } * { box-sizing: border-box; } html, body { margin: 0; padding: 0; min-height: 100%; } body { background: var(--bg); color: var(--fg); font-family: var(--font-sans); line-height: 1.45; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; } /* Ambient grid */ body::before { content: ""; position: fixed; inset: 0; background-image: linear-gradient(to right, oklch(0.30 0.01 60 / 0.10) 1px, transparent 1px), linear-gradient(to bottom, oklch(0.30 0.01 60 / 0.10) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 80%); pointer-events: none; z-index: 0; } /* Film grain */ body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: 0.035; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,"); } a { color: inherit; text-decoration: none; } button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; } h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; } p { margin: 0; } ::selection { background: var(--accent); color: var(--accent-fg); } /* Layout */ .page { position: relative; z-index: 2; min-height: 100dvh; display: flex; flex-direction: column; } .topbar { position: relative; z-index: 5; padding: 22px clamp(20px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; } .topbar a:hover { color: var(--fg); } .topbar-back { color: var(--fg-mute); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; } .logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; color: var(--fg); } .logo-mark { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--accent) 0%, oklch(0.65 0.20 18) 100%); box-shadow: 0 0 22px var(--accent-glow), inset 0 1px 0 oklch(1 0 0 / 0.25); display: grid; place-items: center; color: var(--accent-fg); flex-shrink: 0; } .logo-mark svg { display: block; } .logo-caret { animation: caret-blink 1.4s steps(2) infinite; } @keyframes caret-blink { 50% { opacity: 0.25; } } /* Main */ .auth-main { flex: 1; display: grid; place-items: center; padding: clamp(20px, 4vw, 40px); position: relative; } /* Ambient glows */ .auth-glow { position: absolute; pointer-events: none; filter: blur(20px); z-index: 0; } /* Card */ .auth-card { position: relative; z-index: 2; width: 100%; max-width: 440px; padding: 36px clamp(24px, 4vw, 40px) 32px; background: linear-gradient(180deg, oklch(0.20 0.009 60 / 0.85), oklch(0.17 0.008 60 / 0.85)); border: 1px solid var(--hairline); border-radius: 22px; backdrop-filter: blur(20px); box-shadow: 0 30px 80px -20px oklch(0 0 0 / 0.7), 0 0 80px -30px var(--accent-glow); } .auth-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .6; } /* Header */ .auth-eye { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-mute); } .auth-eye::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent-glow); } .auth-title { margin-top: 14px; font-size: clamp(26px, 3.4vw, 34px); font-weight: 500; letter-spacing: -0.022em; line-height: 1.1; text-wrap: balance; } .auth-title em { font-style: normal; color: var(--accent); text-shadow: 0 0 30px var(--accent-glow); } .auth-sub { margin-top: 10px; color: var(--fg-mute); font-size: 14.5px; line-height: 1.5; text-wrap: balance; } /* Form */ .auth-form { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; } .auth-field { display: flex; flex-direction: column; gap: 6px; } .auth-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-mute); padding-left: 4px; } .auth-input { width: 100%; padding: 13px 16px; background: oklch(0.16 0.008 60 / 0.8); border: 1px solid var(--hairline); border-radius: 12px; color: var(--fg); font: 15px/1.5 var(--font-sans); outline: none; transition: border-color .15s, background .15s, box-shadow .15s; } .auth-input::placeholder { color: var(--fg-faint); } .auth-input:focus { border-color: oklch(0.74 0.175 35 / 0.65); background: oklch(0.18 0.009 60 / 0.95); box-shadow: 0 0 0 3px oklch(0.74 0.175 35 / 0.12), 0 0 30px -10px var(--accent-glow); } .auth-input.mono { font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; } .auth-input.mono::placeholder { letter-spacing: 0.08em; } /* Buttons */ .auth-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 500; font-size: 15px; transition: transform .12s, box-shadow .2s, background .2s; white-space: nowrap; width: 100%; } .auth-btn-primary { background: var(--accent); color: var(--accent-fg); box-shadow: 0 0 0 1px oklch(0.84 0.16 35 / 0.5) inset, 0 10px 40px -10px var(--accent-glow), 0 0 40px -8px var(--accent-glow); } .auth-btn-primary:hover { transform: translateY(-1px); } .auth-btn-primary[disabled] { opacity: .55; cursor: not-allowed; transform: none; } .auth-btn-ghost { background: oklch(0.20 0.009 60 / 0.6); border: 1px solid var(--hairline); color: var(--fg-dim); } .auth-btn-ghost:hover { color: var(--fg); border-color: var(--hairline-2); background: oklch(0.22 0.010 60 / 0.8); } .auth-btn-ghost img, .auth-btn-ghost svg { flex-shrink: 0; } /* Divider */ .auth-divider { display: flex; align-items: center; gap: 14px; margin: 6px 0 2px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-faint); } .auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--hairline); } /* OAuth row */ .auth-oauth { display: flex; flex-direction: column; gap: 10px; } /* Footer */ .auth-foot { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--hairline); text-align: center; font-size: 14px; color: var(--fg-mute); } .auth-foot a { color: var(--accent); font-weight: 500; } .auth-foot a:hover { text-decoration: underline; text-underline-offset: 3px; } .auth-fine { margin-top: 18px; text-align: center; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--fg-faint); } .auth-fine a { color: var(--fg-mute); text-decoration: underline; text-underline-offset: 3px; } /* Spinner */ .auth-spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid oklch(0 0 0 / 0.2); border-top-color: var(--accent-fg); animation: spin .9s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* Confirmed state */ .auth-success { text-align: center; } .auth-success-badge { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; margin-bottom: 16px; color: var(--accent); background: oklch(0.74 0.175 35 / 0.12); border: 1px solid oklch(0.74 0.175 35 / 0.4); box-shadow: 0 0 40px var(--accent-glow); } .auth-success .email-chip { display: inline-block; margin: 0 4px; padding: 2px 9px; border-radius: 6px; background: oklch(0.74 0.175 35 / 0.12); border: 1px solid oklch(0.74 0.175 35 / 0.3); color: var(--accent); font-family: var(--font-mono); font-size: 13.5px; font-weight: 500; letter-spacing: 0; text-transform: none; white-space: nowrap; } .auth-tip { margin-top: 22px; padding: 14px 16px; border-radius: 10px; background: oklch(0.16 0.008 60 / 0.6); border: 1px solid var(--hairline); display: flex; gap: 12px; text-align: left; font-size: 13px; line-height: 1.5; color: var(--fg-dim); } .auth-tip-icon { flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px; background: oklch(0.22 0.011 60); color: var(--fg-mute); display: grid; place-items: center; } .auth-tip a { color: var(--accent); } .auth-tip a:hover { text-decoration: underline; text-underline-offset: 3px; } /* Resend */ .auth-resend { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.03em; color: var(--fg-mute); } .auth-resend button { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; } .auth-resend button:hover { color: oklch(0.78 0.16 35); } .auth-resend button[disabled] { color: var(--fg-faint); text-decoration: none; cursor: not-allowed; } /* Trust strip in footer area */ .auth-trust { margin-top: 32px; display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.03em; color: var(--fg-faint); } .auth-trust .sep { color: var(--fg-faint); opacity: 0.5; }