* { box-sizing: border-box; }
:root { color-scheme: light; --ink: #521b20; --accent: #951f2b; --muted: #87746b; }
body { margin: 0; color: var(--ink); background: #f7f0e5; font-family: Speda, 'Segoe UI', Tahoma, sans-serif; }
body::before { content: ''; position: fixed; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 0 0, #efdfbf, transparent 55%), radial-gradient(ellipse at 100% 100%, #f7dda0, transparent 50%); }
.page { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 40px 24px; }
.workspace { width: min(940px, 100%); display: grid; grid-template-columns: 1.08fr 1fr; border: 1px solid #fff; border-radius: 30px; background: #fffdf7; box-shadow: 0 30px 90px #521b2017; overflow: hidden; animation: arrive .8s both; }
.story { position: relative; overflow: hidden; background: linear-gradient(145deg, #6b2229 0%, #521b20 55%, #35151b 100%); color: #fff8e6; padding: 32px 30px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.story::before { content: ''; position: absolute; width: 480px; height: 480px; border: 1px solid #ffffff12; border-radius: 50%; inset-inline-start: -170px; top: 180px; box-shadow: 0 0 0 65px #ffffff04, 0 0 0 130px #ffffff03; }
.story > * { position: relative; }
.company-logo { display: block; width: 100%; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.trade-tag { display: flex; gap: 9px; align-items: center; font-size: 11px; letter-spacing: .02em; color: #f3d88f; margin-top: 0; }
.story h1 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.5; font-weight: 600; margin: 0 0 16px; }
.story-copy p { font-size: 13px; color: #ead3c5; line-height: 2; margin: 0; max-width: 380px; }
.logo-showcase { position: relative; display: grid; place-items: center; isolation: isolate; width: min(280px, 100%); height: 180px; margin: 20px auto 6px; direction: ltr; }
.logo-showcase::before { content: ''; position: absolute; inset: 12px 0; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse, #f4ce6130, transparent 70%); filter: blur(12px); }
.logo-showcase::after { content: ''; position: absolute; bottom: 4px; width: 72%; height: 18px; border-radius: 50%; background: #320b1480; filter: blur(10px); animation: logo-shadow 6s ease-in-out infinite; }
.logo-card { position: relative; z-index: 1; width: 156px; padding: 8px; border: 1px solid #fff; border-radius: 50%; background: linear-gradient(135deg, #ffffff, #f5eedb); box-shadow: 0 20px 38px #320b1440, inset 0 0 0 6px #ffffff70; animation: float 6s ease-in-out infinite; }
.logo-orbit { position: absolute; width: 100%; height: 148px; border: 1px solid #f4cf6735; border-radius: 50%; transform: rotate(-18deg); }
.logo-orbit::before, .logo-orbit::after { content: ''; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: #f4cf67; box-shadow: 0 0 16px #f4cf6780; }
.logo-orbit::before { top: 22px; left: 42px; }
.logo-orbit::after { bottom: 22px; right: 42px; }
.logo-spark { position: absolute; z-index: 2; color: #f4cf67; animation: float 5s ease-in-out infinite; }
.logo-spark-one { font-size: 30px; top: 4px; right: 5px; }
.logo-spark-two { font-size: 17px; bottom: 28px; left: 0; animation-delay: -2s; }
@keyframes logo-shadow { 0%, 100% { transform: scaleX(1); opacity: .65; } 50% { transform: scaleX(.86); opacity: .35; } }
.business-note { display: flex; gap: 14px; align-items: center; border: 1px solid #ffffff1c; background: #ffffff08; border-radius: 16px; padding: 13px 15px; font-size: 12px; }
.business-note i { color: #f4cf67; font-size: 20px; }
.form-panel { min-width: 0; display: flex; flex-direction: column; }
.topbar { padding: 20px 26px 0; display: flex; justify-content: flex-end; }
.language { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--muted); }
select { font: inherit; color: var(--ink); border: 1px solid #e9dfcf; background: #faf4e8; padding: 8px 10px; border-radius: 9px; cursor: pointer; }
.sign-in { padding: 24px 32px; flex: 1; }
.form-heading { margin-bottom: 22px; }
.welcome { color: #a27835; font-size: 12px; margin: 0 0 8px; }
h2 { font-size: 31px; font-weight: 600; margin: 0 0 12px; }
.form-heading p:last-child { color: var(--muted); font-size: 12px; line-height: 1.9; margin: 0; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; margin-bottom: 9px; }
.input-wrap { display: flex; align-items: center; gap: 12px; min-height: 50px; padding-inline: 16px 6px; border: 1px solid #e8ddcc; border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s, background .2s; }
.input-wrap:focus-within { border-color: #b78a35; box-shadow: 0 0 0 4px #b78a3512; background: #fffdf6; }
.input-wrap > i { color: #a28350; font-size: 14px; }
input[type=text], input[type=password] { width: 100%; min-width: 0; outline: 0; border: 0; background: transparent; padding: 13px 0; color: var(--ink); font: inherit; font-size: 14px; }
input::placeholder { color: #9a8b7b; font-size: 12px; }
.toggle { flex: 0 0 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: #977445; cursor: pointer; }
.toggle:hover { background: #faf0db; }
.remember { display: flex; align-items: center; gap: 9px; font-size: 12px; color: #816c59; cursor: pointer; margin: 6px 0 20px; min-height: 24px; }
.remember input { accent-color: var(--accent); width: 17px; height: 17px; margin: 0; }
.submit { display: flex; align-items: center; justify-content: center; gap: 16px; width: 100%; min-height: 50px; border: 0; border-radius: 12px; background: #951f2b; color: #fff; font: inherit; font-size: 14px; cursor: pointer; box-shadow: 0 8px 20px #951f2b20; transition: transform .2s, background .2s, box-shadow .2s; }
.submit:hover { background: #761722; transform: translateY(-2px); box-shadow: 0 12px 24px #951f2b30; }
.submit:active { transform: translateY(0); }
.submit:disabled { opacity: .7; cursor: wait; transform: none; }
button:focus-visible, select:focus-visible, input[type=checkbox]:focus-visible { outline: 3px solid #c99a32; outline-offset: 3px; }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 10px; color: #8a765d; margin-top: 16px; }
.errors { margin-bottom: 20px; padding: 12px 16px; background: #fff0ed; border: 1px solid #efd0ca; border-radius: 10px; font-size: 12px; line-height: 1.8; color: #a54235; }
.errors p { margin: 3px 0; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #eee2cf; margin: 0 32px; padding: 14px 0; font-size: 10px; line-height: 1.8; color: #8a7c6b; }
.partner { width: 95px; height: 46px; object-fit: contain; mix-blend-mode: multiply; }
@keyframes arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(3deg); } }
@media (max-width: 850px) { .workspace { grid-template-columns: .9fr 1fr; } .story { padding: 32px 26px; } .sign-in { padding: 24px; } }
@media (max-width: 650px) { .page { padding: 16px 12px; } .workspace { grid-template-columns: 1fr; border-radius: 22px; } .story { padding: 24px; gap: 18px; } .story-brand { display: flex; align-items: center; gap: 18px; } .logo-showcase { width: min(260px, 100%); height: 155px; margin: 18px auto 0; } .logo-card { width: 132px; padding: 7px; } .logo-orbit { height: 132px; } .trade-tag { margin: 0; line-height: 1.8; } .story h1 { font-size: 24px; margin: 0; } .story-copy p, .business-note { display: none; } .topbar { padding: 20px 24px 0; } .sign-in { padding: 24px; } h2 { font-size: 27px; } .footer { margin: 0 24px; } }
.brand-signature { display: grid; place-items: center; width: min(210px, 100%); padding: 14px 18px; border: 1px solid #eadbbd; border-radius: 18px; background: linear-gradient(135deg, #fffefb, #fbf2dc); box-shadow: 0 8px 24px #521b2010; }
.brand-signature img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.brand-signature-form { margin: 0 auto 20px; width: min(155px, 100%); padding: 10px 14px; }
@media (max-width: 650px) { .brand-signature-form { width: 140px; margin-bottom: 18px; padding: 10px 14px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
