/* The landing and sign-in page, ported from design/v2/landing.css. Every rule is scoped under .v2.
   The pictures of the app (.shot, .feat) are real screenshots of the demo, made by tools/shots.mjs. */
.v2 .hero{background:var(--band);color:var(--on-band);overflow:hidden}
.v2 .hero-in{max-width:1240px;margin:0 auto;padding:56px 24px;display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:48px;align-items:center}
.v2 .hero h1{font-size:46px;line-height:1.08;letter-spacing:-.01em;max-width:620px;color:var(--on-band)}
.v2 .lead{font-size:20px;color:var(--on-band-muted);margin-top:16px;max-width:560px}
.v2 .ticks{list-style:none;margin:26px 0 0;padding:0;display:grid;gap:12px;max-width:560px}
.v2 .ticks li{display:grid;grid-template-columns:26px 1fr;gap:10px;margin:0;font-size:16px;color:var(--on-band-muted)}
.v2 .ticks b{color:var(--on-band)}
.v2 .ticks .ic{width:22px;height:22px;color:var(--band-ring);stroke-width:2.5}
.v2 .signin{color:var(--text);padding:22px 22px 18px}
.v2 .signin h2{font-size:24px;margin:0}
.v2 .signin > .muted{font-size:15px;margin:2px 0 12px}
.v2 .role{display:grid;grid-template-columns:40px 1fr auto;gap:12px;align-items:center;padding:12px 0;border-top:1px solid var(--line)}
.v2 .role b{display:block;font-size:16px;line-height:1.2}
.v2 .role small{display:block;font-size:14px;color:var(--muted);line-height:1.3}
.v2 .role .btn .ic{width:16px;height:16px}
.v2 .signin .note{display:grid;grid-template-columns:20px 1fr;gap:8px;margin-top:8px;padding-top:12px;border-top:1px solid var(--line);font-size:13px;color:var(--muted);line-height:1.35}
.v2 .signin .note .ic{width:18px;height:18px}
.v2 .steps-sec{background:var(--surface-2)}
.v2 .steps-in{max-width:1240px;margin:0 auto;padding:56px 24px}
.v2 .steps-in h2{font-size:30px;line-height:1.15}
.v2 .steps{list-style:none;margin:22px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:18px;counter-reset:s}
.v2 .steps li{display:block;margin:0;counter-increment:s;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:20px}
.v2 .steps li::before{content:counter(s);display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--accent);color:var(--on-accent);font-weight:700;margin-bottom:12px}
.v2 .steps b{display:block;font-size:18px;line-height:1.2}
.v2 .steps span{display:block;font-size:15px;color:var(--muted);margin-top:6px}
/* the large picture under the hero: a browser-like frame that rises out of the band, its lower part cut by the band's edge */
.v2 .hero-in{padding-bottom:40px}
.v2 .shot-wrap{max-width:1240px;margin:0 auto;padding:0 24px}
.v2 .shot{margin:0;border-radius:14px 14px 0 0;overflow:hidden;background:var(--surface);box-shadow:0 -2px 0 rgba(255,255,255,.08),0 30px 80px rgba(0,0,0,.35);max-height:560px}
.v2 .shot-bar{display:flex;align-items:center;gap:6px;height:34px;padding:0 14px;background:#E9EDF6;color:#46506B;font-size:13px;white-space:nowrap;overflow:hidden}
.v2 .shot-bar i{flex:none;width:10px;height:10px;border-radius:50%;background:#C9D0E0}
.v2 .shot-bar span{margin-left:10px;overflow:hidden;text-overflow:ellipsis}
.v2 .shot img{display:block;width:100%;height:auto;max-width:none}
/* the two rows of text beside a picture */
.v2 .feat{background:var(--bg)}
.v2 .feat-in{max-width:1240px;margin:0 auto;padding:64px 24px;display:flex;flex-direction:column;gap:56px}
.v2 .feat-row{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:48px;align-items:center}
.v2 .feat-row.rev{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
.v2 .feat-row.rev > .feat-text{order:2}
.v2 .feat h2{font-size:30px;line-height:1.15;margin:0}
.v2 .feat p{font-size:18px;color:var(--muted);margin:12px 0 0;max-width:440px}
.v2 .shot.small{max-height:none;border-radius:14px;border:1px solid var(--line);box-shadow:var(--shadow)}
/* the sign-in form of a real copy (the drawing shows the demo only); same panel, same buttons */
.v2 .lform{display:grid;gap:14px;margin-top:14px}
.v2 .lfield{display:grid;gap:6px}
.v2 .lfield > span{font-weight:700;font-size:15px}
.v2 .lfield input{width:100%;min-height:44px;padding:9px 12px;border:1px solid var(--line-2);border-radius:10px;background:var(--surface);color:var(--text);font:inherit;font-size:16px}
.v2 .lfield input:focus{outline:0;border-color:var(--accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 22%,transparent)}
.v2 .signin .msg{margin-top:10px}
/* a visitor still signed in: the way back first, set apart from the other roles (fault 25) */
.v2 .role.cont{margin:4px -10px 6px;padding:12px 10px;border:1px solid var(--line);border-radius:12px;background:var(--accent-soft)}
.v2 .role.cont + .role{border-top:0}
.v2 .role .btn{text-decoration:none;white-space:nowrap}
/* the button pressed while signing in (fault 18) */
.v2 .btn[aria-busy="true"]{cursor:progress;opacity:.92}
.v2 .btn[aria-busy="true"] .spin{width:15px;height:15px;border-color:color-mix(in srgb,currentColor 30%,transparent);border-top-color:currentColor}
@media (max-width:1000px){.v2 .hero-in{grid-template-columns:1fr}.v2 .steps{grid-template-columns:1fr 1fr}.v2 .feat-row,.v2 .feat-row.rev{grid-template-columns:1fr;gap:24px}.v2 .feat-row.rev > .feat-text{order:0}}
@media (max-width:700px){.v2 .shot-wrap{padding:0 16px}.v2 .shot{max-height:300px;border-radius:10px 10px 0 0}.v2 .shot-bar{height:26px;font-size:12px}.v2 .shot-bar i{width:8px;height:8px}.v2 .shot.small{border-radius:10px}.v2 .feat-in{padding:40px 16px;gap:40px}.v2 .feat h2{font-size:24px}.v2 .feat p{font-size:16px}}
@media (max-width:700px){.v2 .hero-in{padding:28px 16px;gap:24px}.v2 .hero h1{font-size:32px}.v2 .lead{font-size:17px}.v2 .steps{grid-template-columns:1fr}.v2 .steps-in{padding:40px 16px}.v2 .signin{padding:18px 16px 14px}}
/* a real copy shows no demo pictures: the hero then closes with its own space below */
.v2 .hero.no-shot .hero-in{padding-bottom:56px}
@media (max-width:700px){.v2 .hero.no-shot .hero-in{padding-bottom:32px}}
