:root { --ink: #222427; --muted: #616870; --red: #d9333e; --line: #dfe3e6; --paper: #fff; --canvas: #f3f5f6; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--canvas); font: 16px/1.55 'Helvetica Neue', Arial, sans-serif; }
header { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px max(28px, calc((100vw - 1240px) / 2)); border-bottom: 1px solid var(--line); background: var(--paper); }
header img { display: block; object-fit: contain; max-width: 100%; }
header > span { display: flex; align-items: center; gap: 16px; font-size: 14px; }
.beta { font-size: 11px; font-weight: 600; background: #fbe9eb; color: #a02630; border-radius: 5px; padding: 5px 9px; white-space: nowrap; }
.page-shell { max-width: 1296px; margin: auto; padding: 64px 28px 72px; display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 70px; align-items: start; }
.eyebrow { margin: 0 0 18px; color: var(--muted); font-size: 11px; letter-spacing: .09em; text-transform: uppercase; font-weight: 700; }
h1 { font-family: 'Arial Black', 'Helvetica Neue', Arial, sans-serif; font-size: clamp(42px, 5vw, 72px); line-height: 1.04; letter-spacing: -.055em; margin: 0 0 26px; font-weight: 900; }
h1 em { color: var(--red); font-style: normal; }
.intro { max-width: 530px; font-size: 18px; line-height: 1.65; color: var(--muted); margin: 0; }
.mobile-entry { display: none; }
.document-flow { margin-top: 34px; max-width: 580px; }
.flow-label { font-size: 12px; font-weight: 600; margin-bottom: 14px; }
.document-flow ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.document-flow li { position: relative; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: 3px 3px 12px 3px; padding: 14px; }
.document-flow li:last-child { border-top-color: var(--red); }
.sheet { display: block; height: 28px; color: var(--red); font-size: 22px; line-height: 1; }
.document-flow strong { display: block; font-size: 13px; margin-top: 7px; }
.document-flow li > span:last-child { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.flow-note { margin: 10px 0 0; color: var(--muted); font-size: 11px; }
.login-card { background: var(--paper); padding: 32px; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 36px #22242708; margin-top: 8px; min-width: 0; }
.login-card h2 { font-size: 25px; line-height: 1.25; letter-spacing: -.035em; margin: 0 0 14px; }
.login-card > p:not(.eyebrow) { color: var(--muted); margin: 0 0 26px; font-size: 14px; }
label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 13px; }
input, button { font: inherit; width: 100%; min-height: 50px; border-radius: 6px; }
input { border: 1px solid #9aa2aa; background: var(--paper); padding: 12px; }
input:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.phone-input { display: flex; align-items: center; background: var(--paper); border: 1px solid #9aa2aa; border-radius: 6px; }
.phone-input > span { padding: 0 12px; font-weight: 600; white-space: nowrap; border-right: 1px solid var(--line); }
.phone-input input { border: 0; background: transparent; min-width: 0; }
.phone-input:focus-within { outline: 2px solid var(--red); outline-offset: 3px; }
.phone-input input:focus { outline: none; }
#code-step { margin-top: 20px; }
button { padding: 12px 10px; margin-top: 18px; background: var(--ink); color: white; border: 1px solid var(--ink); cursor: pointer; font-size: 14px; font-weight: 600; }
button:hover { background: #3d4146; }
button:disabled { opacity: .6; cursor: default; }
.secondary { color: var(--ink); background: transparent; border-color: var(--line); margin-top: 10px; }
.secondary:hover { background: var(--canvas); }
.hint { color: var(--muted); font-size: 13px; line-height: 1.6; }
#login-error { color: #a6202c; margin: 12px 0; font-size: 13px; overflow-wrap: anywhere; }
#login-error:empty { display: none; }
.back { display: block; color: var(--muted); font-size: 12px; text-underline-offset: 3px; margin-top: 24px; }
#welcome p { font-size: 14px; }
.product-scope { max-width: 1240px; margin: 0 auto; padding: 38px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; }
.scope-heading .eyebrow { margin-bottom: 12px; }
.scope-heading h2 { font-size: 23px; line-height: 1.25; letter-spacing: -.035em; margin: 0; }
.product-scope h3 { font-size: 14px; margin: 0 0 10px; }
.product-scope p:not(.eyebrow) { font-size: 13px; color: var(--muted); margin: 0; }
footer { max-width: 1240px; margin: 0 auto; padding: 24px 0 32px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 32px; color: var(--muted); font-size: 11px; }
footer > span { white-space: nowrap; }
footer p { max-width: 620px; margin: 0; }
@media (max-width: 1300px) { .product-scope, footer { margin-left: 28px; margin-right: 28px; } }
@media (max-width: 1000px) { .page-shell { gap: 32px; grid-template-columns: minmax(0, 1fr) 360px; } .login-card { padding: 26px; } .product-scope { grid-template-columns: repeat(3, 1fr); } .scope-heading { grid-column: 1 / -1; } }
@media (max-width: 760px) { header { min-height: 72px; padding: 16px 20px; } header img { width: 130px; height: auto; } header > span { gap: 5px; align-items: flex-end; flex-direction: column; font-size: 12px; } .beta { font-size: 9px; padding: 2px 6px; } .page-shell { padding: 34px 20px 36px; grid-template-columns: minmax(0, 1fr); gap: 30px; max-width: 580px; } h1 { font-size: clamp(42px, 9vw, 60px); } .intro { font-size: 16px; } .hero .eyebrow { font-size: 10px; } .mobile-entry { display: inline-flex; align-items: center; gap: 16px; margin-top: 20px; font-size: 13px; color: var(--ink); text-underline-offset: 5px; } .document-flow { margin-top: 26px; } .document-flow li { padding: 10px; } .document-flow strong { font-size: 11px; } .document-flow li > span:last-child { font-size: 10px; } .login-card { margin-top: 0; padding: 24px; scroll-margin-top: 20px; } .product-scope { max-width: 540px; margin: 0 auto; padding: 30px 20px; grid-template-columns: minmax(0, 1fr); gap: 24px; } footer { max-width: 540px; margin: 0 auto; padding: 24px 20px; flex-direction: column; gap: 12px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.signed-in .hero, .signed-in .product-scope, .signed-in .login-card > h2, .signed-in .login-card > .eyebrow { display: none; }
.signed-in .page-shell { display: block; max-width: 860px; padding-top: 36px; }
.signed-in .login-card { width: 100%; }
.sign-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sign-methods button { text-align: left; color: var(--ink); background: var(--paper); border-color: var(--line); margin-top: 8px; padding: 16px; }
.sign-methods button span { display: block; font-size: 11px; font-weight: 400; margin-top: 5px; }
.sign-methods button[aria-pressed="true"] { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.company-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
select { width: 100%; min-height: 50px; padding: 12px; font: inherit; background: var(--paper); color: var(--ink); border: 1px solid #9aa2aa; border-radius: 6px; }
select:focus { outline: 2px solid var(--red); outline-offset: 3px; }
.company-fields .hint { margin: 8px 0 0; font-size: 11px; }
#company-error { color: #a6202c; font-size: 13px; overflow-wrap: anywhere; }
#company-error:empty, #company-status:empty { display: none; }
#company-status { padding: 12px; background: var(--canvas); border-radius: 6px; }
#company-qr-image { display: block; max-width: 100%; height: auto; margin: 20px auto; }
.egov-link { display: block; background: var(--red); color: #fff; padding: 14px; border-radius: 6px; font-weight: 600; text-align: center; text-decoration: none; }
.connected-company { display: block; color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-left: 3px solid var(--red); padding: 18px; margin: 12px 0; border-radius: 6px; }
.connected-company strong, .connected-company span { display: block; overflow-wrap: anywhere; }
.connected-company span { color: var(--muted); font-size: 12px; margin-top: 5px; }
@media (max-width: 520px) { .company-fields, .sign-methods { grid-template-columns: 1fr; } .signed-in .login-card { padding: 20px; } }
