:root { --bg0: #030506; --bg1: #070a0f; --bg-deep: #05080c; --ink: #f4f7fa; --muted: rgba(244, 247, 250, 0.5); --faint: rgba(244, 247, 250, 0.055); --accent: #7fd8c2; --accent-dim: rgba(127, 216, 194, 0.12); --accent-glow: rgba(127, 216, 194, 0.32); --danger: #f87171; --line: rgba(255, 255, 255, 0.1); --shell: min(28rem, calc(100vw - 32px)); --font-display: "Outfit", "Inter", system-ui, sans-serif; } *, *::before, *::after { box-sizing: border-box; } html { background: var(--bg0); color-scheme: dark; overflow-x: hidden; } body { margin: 0; min-height: 100svh; min-height: 100dvh; font-family: "Inter", system-ui, sans-serif; font-weight: 400; color: var(--ink); background: var(--bg0); -webkit-font-smoothing: antialiased; overflow-x: hidden; } img, iframe, video { max-width: 100%; } a { color: inherit; text-decoration: none; } /* Base canvas (forgot, legacy pages) */ .canvas { position: relative; isolation: isolate; min-height: 100svh; min-height: 100dvh; display: flex; flex-direction: column; overflow-x: hidden; background: linear-gradient(165deg, var(--bg0) 0%, var(--bg1) 45%, #05080c 100%); } .canvas::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(ellipse 100% 60% at 50% -15%, rgba(127, 216, 194, 0.06), transparent 50%); } @media (prefers-reduced-motion: no-preference) { .canvas:not(.canvas--gate)::before { content: ""; position: fixed; inset: -25%; background: radial-gradient(circle at 40% 35%, var(--accent-dim), transparent 42%); animation: auth-drift 28s ease-in-out infinite alternate; pointer-events: none; z-index: 0; } } @keyframes auth-drift { from { transform: translate(0, 0) scale(1); opacity: 0.45; } to { transform: translate(2%, -2%) scale(1.05); opacity: 0.75; } } .auth-grid { position: fixed; inset: 0; background-image: linear-gradient(var(--faint) 1px, transparent 1px), linear-gradient(90deg, var(--faint) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black 12%, transparent 68%); pointer-events: none; z-index: 0; } .canvas--gate .auth-grid { opacity: 0.4; } /* Login / Sign up: single-column gate layout */ .canvas--gate { background: var(--bg-deep); } .canvas--gate::before, .canvas--gate::after { display: none; } .gate-backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse 140% 90% at 50% -30%, rgba(127, 216, 194, 0.14), transparent 58%), radial-gradient(ellipse 80% 50% at 110% 60%, rgba(55, 95, 115, 0.2), transparent 52%), radial-gradient(ellipse 60% 45% at -10% 70%, rgba(127, 216, 194, 0.06), transparent 48%); } .gate-header { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; width: 100%; max-width: 440px; margin: 0 auto; padding-top: max(20px, env(safe-area-inset-top, 0px)); padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); padding-bottom: 8px; } .gate-main { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; justify-content: center; padding: 16px max(20px, env(safe-area-inset-left, 0px)) max(36px, env(safe-area-inset-bottom, 0px) + 20px) max(20px, env(safe-area-inset-right, 0px)); } .gate-card { width: 100%; max-width: 400px; padding: 40px 32px 36px; border-radius: 24px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.35), 0 32px 96px -32px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.06); backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); } @media (min-width: 480px) { .gate-card { padding: 44px 40px 40px; } } .gate-title { margin: 0 0 10px; font-family: var(--font-display); font-size: clamp(1.65rem, 4.5vw, 2rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.15; color: var(--ink); } .gate-sub { margin: 0 0 28px; font-size: 15px; line-height: 1.55; color: var(--muted); } /* Sign-up progress */ .gate-progress { margin-bottom: 26px; } .gate-steps { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; margin-bottom: 14px; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); } .gate-step { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease; } .gate-step--active { color: var(--ink); background: rgba(127, 216, 194, 0.12); border-color: rgba(127, 216, 194, 0.3); box-shadow: 0 0 20px -6px var(--accent-glow); } .gate-step--done { opacity: 0.42; } .gate-step-sep { color: rgba(244, 247, 250, 0.22); user-select: none; font-weight: 500; letter-spacing: 0.08em; } .gate-summary { margin: 0 0 20px; font-size: 13px; line-height: 1.5; color: rgba(244, 247, 250, 0.48); } .gate-progress-bar { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin-bottom: 10px; } .gate-progress-bar > span { display: block; height: 100%; width: 50%; border-radius: 3px; background: var(--accent); box-shadow: 0 0 14px var(--accent-glow); transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1); } .gate-step-caption { margin: 0; font-size: 13px; font-weight: 500; color: var(--muted); } .gate-lead { margin: 0 0 24px; font-size: 14px; line-height: 1.55; color: var(--muted); } .field { margin-bottom: 20px; } .field:last-of-type { margin-bottom: 0; } .canvas--gate .field label { display: block; font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; color: rgba(244, 247, 250, 0.55); margin-bottom: 8px; } input[type="email"], input[type="password"], input[type="text"] { width: 100%; max-width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(0, 0, 0, 0.28); color: var(--ink); font-size: 15px; font-family: inherit; transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease; } form .field input { margin-bottom: 0; } @media screen and (max-width: 640px) { input[type="email"], input[type="password"], input[type="text"] { font-size: 16px; } } input::placeholder { color: rgba(244, 247, 250, 0.28); } input:hover { border-color: rgba(255, 255, 255, 0.14); background: rgba(0, 0, 0, 0.32); } input:focus { outline: none; border-color: rgba(127, 216, 194, 0.45); box-shadow: 0 0 0 3px rgba(127, 216, 194, 0.12); } .field-hint { margin: 8px 0 0; font-size: 12px; line-height: 1.45; color: rgba(244, 247, 250, 0.38); } .turnstile-wrap { margin: 4px 0 20px; min-height: 68px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; } .canvas--gate .turnstile-wrap { padding: 14px 12px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, 0.1); background: rgba(0, 0, 0, 0.2); min-height: 76px; } .turnstile-field-label { display: block; font-size: 13px; font-weight: 500; color: rgba(244, 247, 250, 0.55); margin-bottom: 8px; } .gate-flow-hint { margin: 0 0 14px; font-size: 13px; line-height: 1.55; color: rgba(244, 247, 250, 0.42); } form .btn-primary { margin-top: 6px; } .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; min-width: 0; padding: 0 24px; font-family: inherit; font-size: 15px; font-weight: 600; border-radius: 14px; border: none; cursor: pointer; width: 100%; touch-action: manipulation; transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease; } .btn:focus-visible { outline: 2px solid rgba(127, 216, 194, 0.55); outline-offset: 3px; } .btn:active:not(:disabled) { transform: scale(0.99); } .btn-primary { color: #041210; background: var(--accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 36px -8px var(--accent-glow); } .btn-primary:hover:not(:disabled) { background: #8fe0cc; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 16px 44px -8px var(--accent-glow); } .btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; } .btn-link { display: block; width: 100%; margin-top: 16px; padding: 12px 8px; background: none; border: none; color: var(--muted); font-size: 13px; font-weight: 500; font-family: inherit; cursor: pointer; text-align: center; transition: color 0.2s ease; touch-action: manipulation; } .btn-link:hover { color: var(--ink); } .btn-link:focus-visible { outline: 2px solid rgba(127, 216, 194, 0.5); outline-offset: 2px; border-radius: 8px; } .msg { font-size: 14px; margin: 0 0 20px; padding: 14px 16px; border-radius: 14px; line-height: 1.5; } .msg-error { background: rgba(248, 113, 113, 0.09); color: #fecaca; border: 1px solid rgba(248, 113, 113, 0.2); } .msg-ok { background: rgba(127, 216, 194, 0.08); color: #9ee9d6; border: 1px solid rgba(127, 216, 194, 0.22); } .gate-footer { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.07); } .footer-links { margin: 0; font-size: 14px; color: var(--muted); text-align: center; line-height: 1.6; } .footer-links a { color: var(--accent); font-weight: 500; padding: 6px 8px; margin: 0 -4px; border-radius: 8px; transition: color 0.2s ease, background 0.2s ease; } .footer-links a:hover { color: #b8f0e2; background: rgba(127, 216, 194, 0.08); } .footer-links a:focus-visible { outline: 2px solid rgba(127, 216, 194, 0.5); outline-offset: 2px; } .footer-links--split { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; } .footer-links--split .footer-sep { color: rgba(244, 247, 250, 0.2); user-select: none; } .wordmark { font-size: 11px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink); font-family: system-ui, sans-serif; min-width: 0; } .wordmark span { display: inline-block; width: 6px; height: 6px; margin-right: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px var(--accent-glow); vertical-align: middle; } .nav-links { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; } .nav-links a { font-size: 13px; font-weight: 500; color: var(--muted); padding: 10px 16px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 12px; transition: color 0.2s ease, background 0.2s ease; touch-action: manipulation; } .nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.06); } .nav-links a:focus-visible { outline: 2px solid rgba(127, 216, 194, 0.5); outline-offset: 2px; } .nav-links a.nav-pill { color: var(--ink); background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1); } .nav-links a.nav-pill:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.14); } .hidden { display: none !important; } .auth-hint { font-size: 13px; color: var(--muted); line-height: 1.55; text-align: center; max-width: 28rem; margin-left: auto; margin-right: auto; overflow-wrap: anywhere; word-break: break-word; } .auth-hint code { font-size: 12px; color: var(--accent); } /* Legacy: forgot password (centered card) */ .canvas:not(.canvas--gate) .auth-top { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding-top: max(12px, env(safe-area-inset-top, 0px)); padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); padding-bottom: 10px; max-width: var(--shell); margin: 0 auto; width: 100%; } .canvas:not(.canvas--gate) main { position: relative; z-index: 1; flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 8px max(16px, env(safe-area-inset-left, 0px)) max(40px, env(safe-area-inset-bottom, 0px) + 24px) max(16px, env(safe-area-inset-right, 0px)); max-width: var(--shell); margin: 0 auto; width: 100%; } .canvas:not(.canvas--gate) .auth-shell { width: 100%; max-width: var(--shell); margin: 0 auto; } .canvas:not(.canvas--gate) .auth-panel { border-radius: 22px; border: 1px solid var(--line); background: linear-gradient( 155deg, rgba(255, 255, 255, 0.065) 0%, rgba(255, 255, 255, 0.028) 50%, rgba(255, 255, 255, 0.04) 100% ); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 28px 64px -28px rgba(0, 0, 0, 0.7), 0 0 80px -40px var(--accent-glow); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); } .canvas:not(.canvas--gate) .auth-panel-inner { padding: 24px 18px 26px; } @media (min-width: 420px) { .canvas:not(.canvas--gate) .auth-panel-inner { padding: 30px 28px 34px; } } .canvas:not(.canvas--gate) .auth-panel-inner > h1 { font-family: var(--font-display); margin: 0 0 10px; font-size: clamp(1.5rem, 4vw, 1.85rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; } .canvas:not(.canvas--gate) .auth-panel-inner > .sub { margin: 0 0 22px; font-size: 14px; color: var(--muted); line-height: 1.55; } .canvas:not(.canvas--gate) .auth-panel-inner form > input[type="email"], .canvas:not(.canvas--gate) .auth-panel-inner form > input[type="password"], .canvas:not(.canvas--gate) .auth-panel-inner form > input[type="text"] { margin-bottom: 18px; } .canvas:not(.canvas--gate) label { letter-spacing: 0.02em; text-transform: none; font-size: 13px; font-weight: 500; color: rgba(244, 247, 250, 0.5); } .canvas:not(.canvas--gate) .footer-links a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(127, 216, 194, 0.35); } .canvas:not(.canvas--gate) .footer-links a:hover { background: none; text-decoration-color: var(--accent); } .canvas:not(.canvas--gate) .nav-links a { border-radius: 999px; padding: 8px 14px; min-height: 44px; } @media (prefers-reduced-motion: reduce) { .canvas:not(.canvas--gate)::before { animation: none; } .btn { transition: none; } .gate-progress-bar > span { transition: none; } } @media (max-width: 380px) { .wordmark { letter-spacing: 0.18em; font-size: 10px; } .gate-card { padding: 32px 22px 28px; } }