/* ==========================================================================
   Greeks Vault — Sign In, 2026-11-27 layout (login_1127). Loaded ONLY by signin.html, after auth.css.
   Everything is scoped to body.lg2, so signup / forgot / reset / 2FA pages are not touched.
   ONE SCREEN, NO SCROLL (Siva 11-27): header + story + form + one closing line fill the window exactly.
   Left: headline + the six-stop route (what the workspace does). Right: one form, one gold button,
   passkey as the quiet first choice. No sample figures on this page.
   ========================================================================== */
body.lg2 [hidden]{display:none!important}
body.lg2{--lg2-head:63px;--lg2-foot:41px}

/* ---- type and buttons = the public site's (Siva 11-27: same fonts and design across the public site) -------------------
   These are the values of static/gv_brand/gv_pubtype.css?v=gold1202 (styleunify_1127; home5d.css is its reference), copied here under body.lg2
   and compared with that file by the kit test. That sheet is NOT linked on this page: its rules are unscoped (h1, h2, .sub, body)
   and would also restyle the parts sign-up / forgot / reset share with this page's base sheets. */
body.lg2{
  --gvt-sans:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
  --gvt-bg:#06070A;
  --gvt-ink:#F1F2F4; --gvt-ink-2:#B6BBC4; --gvt-ink-3:#8C929D;
  --gvt-hair:rgba(255,255,255,.08); --gvt-hair-2:rgba(255,255,255,.16);
  --gvt-gold:#e6ad3d; --gvt-gold-2:#e6ad3d; --gvt-gold-soft:rgba(230,173,61,.10); --gvt-gold-line:rgba(230,173,61,.38); --gvt-gold-ink:#17120A;
  --gvt-r3:999px;
  --gvt-title:400 clamp(34px,4.4vw,64px)/1.02 var(--gvt-sans); --gvt-title-ls:-.035em;
  --gvt-head:400 28px/1.15 var(--gvt-sans);                    --gvt-head-ls:-.02em;
  --gvt-cardtitle:500 21px/1.15 var(--gvt-sans);               --gvt-cardtitle-ls:-.01em;
  --gvt-eyebrow:500 12px/1.4 var(--gvt-sans);                  --gvt-eyebrow-ls:.18em;
  --gvt-btn:500 15px/1 var(--gvt-sans);
  --gvt-btn-gold:#e6ad3d; --gvt-btn-gold-ring:0 0 0 1px rgba(247,233,198,.35) inset;
  --serif:var(--gvt-sans);                 /* every serif rule in the base sheets turns into the site's sans, on this page only */
  font-family:var(--gvt-sans);-webkit-font-smoothing:antialiased;
}
html.gv-night body.lg2{                    /* dark colours = the same bridge gv_pubtype.css gives /pricing, /support and /learn */
  --ink:var(--gvt-ink); --ink-2:var(--gvt-ink-2); --ink-3:var(--gvt-ink-3);
  --hair:var(--gvt-hair); --hair-2:var(--gvt-hair-2);
  --gold:var(--gvt-gold); --gold-ink:var(--gvt-gold); --gold-soft:var(--gvt-gold-soft); --gold-line:var(--gvt-gold-line);
}
body.lg2 .enter .box .eyebrow{font:var(--gvt-eyebrow);letter-spacing:var(--gvt-eyebrow-ls);text-transform:uppercase}
body.lg2 .enter .box .display{font:var(--gvt-head);letter-spacing:var(--gvt-head-ls);font-size:clamp(26px,3vw,34px)}

/* header on this page = logo + light/dark switch only (Siva 11-27: no Home / Pricing / Learn / Support / Sign in / Create account here) */
body.lg2 .pch-nav,body.lg2 .pch-sign,body.lg2 .pch-cta,body.lg2 .pch-menu,body.lg2 .pch-drawer{display:none!important}
body.lg2 .pch>.pch-in{min-height:62px;grid-template-columns:1fr auto}
/* logosize_1127: logo size now comes from gv_pubchrome.css (56 / 48 / 42); the bar keeps its 62 px */
body.lg2 .pch-acts{justify-self:end}
body.lg2 .pch-theme{display:grid!important}     /* phones too: the menu that normally holds the switch is not shown here */

/* things this page does not show */
body.lg2 .scene .brand,body.lg2 .scene-hand,body.lg2 .tabs,body.lg2 .scene-copy .eyebrow{display:none}          /* logo + Create account are already in the header */
body.lg2 .scene .gv-aurora .ptags,body.lg2 .scene .gv-aurora .samp{display:none}  /* no drifting sample numbers */
body.lg2 .pcf{display:none}                                                       /* long site footer: replaced here by .lg2-foot (owner decision pending) */

/* ---- frame ------------------------------------------------------------------ */
body.lg2 .auth-grid{grid-template-columns:minmax(0,54fr) minmax(0,46fr);height:calc(100svh - var(--lg2-head) - var(--lg2-foot));min-height:0}
body.lg2 .scene{position:relative;top:auto;height:auto;min-height:0;overflow:hidden;display:flex;flex-direction:column;justify-content:center;
  gap:clamp(16px,4vh,46px);padding:clamp(18px,4vh,56px) clamp(28px,5vw,84px);padding-left:max(28px,calc((100vw - 1320px)/2))}   /* left edge = header logo edge */
body.lg2 .scene-copy{position:relative;left:auto;top:auto;z-index:3;width:min(34rem,100%)}
body.lg2 .scene-copy .eyebrow{margin-bottom:clamp(8px,1.8vh,18px)}
body.lg2 .scene-copy .display{font:var(--gvt-title);letter-spacing:var(--gvt-title-ls);font-size:clamp(30px,min(4.4vw,7.6vh),64px);margin:0}   /* the site page-title step; the size also follows the window height so the page stays one screen */
body.lg2 .scene-copy .lede{font-size:clamp(14px,2vh,16px);line-height:1.55;max-width:none;margin-top:clamp(8px,2vh,20px);color:var(--ink-2)}

/* ---- the route: six stops on one gold line, drawn once on load ------------- */
.lg2-route{position:relative;z-index:3;list-style:none;margin:0;padding:0;width:min(34rem,100%);display:grid;gap:0}
.lg2-route::before{content:"";position:absolute;left:5px;top:10px;bottom:16px;width:1px;background:var(--gold);
  transform-origin:top;animation:lg2line 1.5s cubic-bezier(.2,.7,.2,1) .15s both}
.lg2-route li{position:relative;display:grid;grid-template-columns:6.8rem minmax(0,1fr);align-items:baseline;column-gap:16px;padding:0 0 clamp(5px,1.55vh,16px) 30px;
  animation:lg2stop .7s cubic-bezier(.2,.7,.2,1) both}
.lg2-route li:last-child{padding-bottom:0}
.lg2-route li::before{content:"";position:absolute;left:0;top:.45em;width:11px;height:11px;border-radius:50%;box-sizing:border-box;border:1.5px solid var(--gold);background:var(--paper)}
.lg2-route li:last-child::before{background:var(--gold);box-shadow:0 0 0 5px var(--gold-soft)}
.lg2-route b{font:var(--gvt-cardtitle);letter-spacing:var(--gvt-cardtitle-ls);font-size:clamp(15px,2.5vh,19px);color:var(--ink)}   /* the site card-title step */
.lg2-route span{font-size:clamp(13px,1.85vh,14.5px);line-height:1.4;color:var(--ink-2)}
.lg2-route li:nth-child(1){animation-delay:.20s}.lg2-route li:nth-child(2){animation-delay:.38s}.lg2-route li:nth-child(3){animation-delay:.56s}
.lg2-route li:nth-child(4){animation-delay:.74s}.lg2-route li:nth-child(5){animation-delay:.92s}.lg2-route li:nth-child(6){animation-delay:1.10s}
@keyframes lg2line{from{transform:scaleY(0)}to{transform:scaleY(1)}}
@keyframes lg2stop{from{opacity:0;transform:translateX(-8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.lg2-route::before,.lg2-route li{animation:none}}
html.reduced .lg2-route::before,html.reduced .lg2-route li{animation:none}

/* ---- right panel: one centred column ---------------------------------------- */
body.lg2 .panel{grid-template-columns:minmax(0,1fr);min-height:0;height:auto;overflow:auto;padding:clamp(12px,3vh,48px) clamp(20px,4vw,64px);align-items:center}
body.lg2 .card{width:min(410px,100%)}
body.lg2 .card h1{font:var(--gvt-head);letter-spacing:var(--gvt-head-ls);font-size:clamp(24px,4.2vh,28px);text-align:left}   /* the site section-heading step */
body.lg2 .card .sub{text-align:left;margin:clamp(4px,1vh,8px) 0 clamp(14px,3vh,26px)}

/* passkey: outlined, first, not competing with the gold button */
.lg2-pk{margin:0 0 clamp(12px,2.4vh,20px)}
.lg2-pkbtn{width:100%;height:clamp(46px,6.6vh,50px);border-radius:var(--gvt-r3);border:1px solid var(--hair-2);background:transparent;color:var(--ink);font:var(--gvt-btn);   /* the site secondary button */
  display:flex;align-items:center;gap:12px;padding:0 10px 0 22px;cursor:pointer;transition:border-color .3s,background .3s}
.lg2-pkbtn svg{width:20px;height:20px;flex:none;color:var(--gold-ink)}
.lg2-pkbtn .lbl{flex:1;text-align:left}
.lg2-pkbtn em{font-style:normal;font-size:12px;font-weight:500;color:var(--gold-ink);border:1px solid var(--gold-line,rgba(168,128,31,.45));border-radius:999px;padding:5px 10px}
.lg2-pkbtn:hover{border-color:var(--gold);background:var(--gold-soft)}
.lg2-pkbtn:disabled{opacity:.6;cursor:default}
.lg2-pk .form-msg{margin:8px 0 0;min-height:0;text-align:left}
.lg2-pk .form-msg:empty{display:none}
.lg2-pk .or{margin:clamp(12px,2.4vh,20px) 0 0}

/* fields */
body.lg2 .f{gap:6px;margin-bottom:clamp(10px,1.9vh,16px)}
body.lg2 .in{height:clamp(44px,6.4vh,52px);border-radius:12px}
body.lg2 .in input{font-size:15px}
.lg2-pw{grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:baseline}     /* label | forgot link, then the box across both */
.lg2-pw>label{grid-area:1/1}
.lg2-pw>.in{grid-area:2/1/3/3}
.lg2-pw>.msg{grid-area:3/1/4/3}
.lg2-forgot{grid-area:1/2;font-size:13px;color:var(--gold-ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:transparent;transition:text-decoration-color .25s}
.lg2-forgot:hover{text-decoration-color:currentColor}

/* the one gold button */
body.lg2 .submit{height:clamp(48px,6.8vh,52px);min-height:48px;padding:0 24px;border-radius:var(--gvt-r3);margin-top:4px;background:var(--gold);color:var(--gvt-gold-ink);font:var(--gvt-btn);font-weight:600}   /* the site primary button (pill, 48px, Inter 600) */
body.lg2 .submit:hover{background:var(--gold)}
body.lg2 .submit .prog{background:#14110A}
body.lg2 .form-msg{text-align:left;margin-top:10px}
body.lg2 .form-msg:empty{min-height:0;margin:0}

/* other sign-in services (shown only when the server lists one; none today): the site secondary button, and the page still fits one screen */
body.lg2 .social{margin-top:clamp(10px,2vh,18px)}
body.lg2 .social .or{margin-bottom:clamp(8px,1.6vh,12px)}
body.lg2 .soc{height:clamp(40px,6vh,46px);border-radius:var(--gvt-r3);font:var(--gvt-btn);font-size:14px}
body.lg2 .card:has(#social:not([hidden])) .lg2-safe{display:none}
@media (min-width:1025px) and (max-height:760px){
  body.lg2 .card:has(#social:not([hidden])) .sub{margin-bottom:12px}
  body.lg2 .card:has(#social:not([hidden])) .lg2-pk,body.lg2 .card:has(#social:not([hidden])) .lg2-pk .or{margin-bottom:10px;margin-top:0}
  body.lg2 .card:has(#social:not([hidden])) .lg2-pk .or{margin-top:10px;margin-bottom:0}
  body.lg2 .card:has(#social:not([hidden])) .f{margin-bottom:8px}
  body.lg2 .card:has(#social:not([hidden])) .legal{margin-top:6px}
}
html.gv-night body.lg2 .soc{background:rgba(6,7,10,.35);border-color:var(--gvt-hair-2);color:var(--gvt-ink)}

.lg2-safe{display:flex;align-items:center;gap:10px;margin:clamp(10px,2.2vh,18px) 0 0;padding-top:clamp(10px,2.2vh,18px);border-top:1px solid var(--hair);font-size:13px;line-height:1.4;color:var(--ink-2)}
.lg2-safe svg{width:16px;height:16px;flex:none;color:var(--gold-ink)}
body.lg2 .alt{text-align:left;margin-top:clamp(8px,1.6vh,14px)}
body.lg2 .alt a{margin-left:4px;text-decoration:underline;text-underline-offset:3px}
body.lg2 .legal{text-align:left;margin-top:clamp(8px,1.8vh,20px);line-height:1.5}

/* closing line (replaces the long footer on this page) */
.lg2-foot{height:var(--lg2-foot);box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--hair);
  padding:0 max(28px,calc((100vw - 1320px)/2));font-size:12px;line-height:1.3;color:var(--ink-3);background:var(--paper);white-space:nowrap;overflow:hidden}
.lg2-foot-r{overflow:hidden;text-overflow:ellipsis}
.lg2-foot a{color:var(--ink-2);margin-left:16px;text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--gold-line,rgba(168,128,31,.45))}
.lg2-foot a:hover{color:var(--ink)}

/* keyboard focus you can see */
body.lg2 .card a:focus-visible,.lg2-foot a:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:6px}
body.lg2 .card button:focus-visible{outline:2px solid var(--gold);outline-offset:3px}   /* buttons keep their own shape */

/* ---- night ------------------------------------------------------------------ */
html.gv-night body.lg2{--paper:#06070A;background:#06070A}          /* black page, same as the rest of the site in dark mode (Siva 11-26) */
html.gv-night .lg2-pkbtn{background:rgba(6,7,10,.35)}
html.gv-night .lg2-pkbtn:hover{background:var(--gvt-gold-soft);border-color:var(--gvt-gold-line)}
html.gv-night .lg2-pkbtn svg,html.gv-night .lg2-pkbtn em,html.gv-night .lg2-forgot,html.gv-night .lg2-safe svg{color:var(--gvt-gold)}
html.gv-night body.lg2 .submit{background:var(--gvt-btn-gold);color:var(--gvt-gold-ink);box-shadow:var(--gvt-btn-gold-ring)}   /* the home gold button, without its outer glow */
html.gv-night body.lg2 .submit:hover{background:var(--gvt-btn-gold)}
html.gv-night body.lg2 .form-msg:not(.info){color:#F08379}                 /* error text readable on black */
html.gv-night .lg2-route li::before{background:#06070A}
html.gv-night .lg2-route li:last-child::before{background:var(--gold)}

/* ---- desktop: lock the page to one screen ---------------------------------- */
@media (min-width:1025px) and (min-height:560px){
  html:has(body.lg2){overflow:hidden}
  body.lg2{height:100svh;overflow:hidden}
}
/* very short windows: drop the two least needed lines so nothing is cut */
@media (min-width:1025px) and (max-height:680px){
  body.lg2 .scene-copy .eyebrow,.lg2-safe{display:none}
  body.lg2 .alt{margin-top:10px}
}
/* narrow desktop: the risk sentence would not fit beside the links */
@media (max-width:1240px){ .lg2-foot-r{font-size:0} .lg2-foot-r a{font-size:12px;margin-left:14px} }

/* ---- tablet and phone: the form alone, still one screen --------------------- */
@media (max-width:1024px){
  body.lg2 .auth-grid{grid-template-columns:minmax(0,1fr);height:auto;min-height:calc(100svh - var(--lg2-head) - var(--lg2-foot) - 22px)}
  body.lg2 .scene{display:none}
  body.lg2 .panel{overflow:visible;padding:clamp(14px,3.4vh,36px) 20px;align-items:center}
  body.lg2 .card{margin:0 auto}
  .lg2-foot{height:auto;min-height:var(--lg2-foot);flex-direction:column;justify-content:center;gap:4px;padding:10px 16px;white-space:normal;text-align:center}
  .lg2-foot-r{font-size:0}.lg2-foot-r a{font-size:12px;margin:0 8px}
}
