:root {
  --aqua: #3ecfbd;
  --aqua-deep: #148d7f;
  --aqua-soft: #e3f8f3;
  --ink: #142724;
  --ink-soft: #24423d;
  --muted: #647773;
  --line: #d9e8e4;
  --paper: #f4f8f7;
  --white: #fff;
  --gold: #e7a72e;
  --shadow: 0 22px 70px rgba(18, 48, 42, .12);
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; overflow-x: hidden; background: radial-gradient(circle at 8% 4%, #e0faf4 0, transparent 30%), radial-gradient(circle at 96% 95%, #d8f3ed 0, transparent 26%), var(--paper); }
button, input { font: inherit; }
button { touch-action: manipulation; }
[hidden] { display: none !important; }

.ambient { position: fixed; z-index: -1; border-radius: 50%; filter: blur(2px); opacity: .65; pointer-events: none; }
.ambient-one { top: 18%; left: -120px; width: 250px; height: 250px; background: rgba(62, 207, 189, .14); }
.ambient-two { right: -90px; bottom: 8%; width: 220px; height: 220px; background: rgba(28, 93, 82, .08); }

.site-header, main, footer { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 94px; }
.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: 112px; height: auto; object-fit: contain; }
.secure-chip { display: inline-flex; gap: 7px; align-items: center; border: 1px solid #b9e7de; border-radius: 999px; padding: 8px 12px; color: #176b60; background: rgba(236, 252, 248, .86); font-size: 12px; font-weight: 800; }

.login-view { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, 440px); gap: clamp(40px, 8vw, 100px); align-items: center; min-height: calc(100vh - 190px); padding: 42px 0 70px; }
.login-copy { max-width: 630px; }
.eyebrow { margin: 0 0 12px; color: var(--aqua-deep); font-size: 11px; font-weight: 900; letter-spacing: .15em; }
h1 { max-width: 720px; margin: 0; font-size: clamp(44px, 6.2vw, 76px); line-height: .98; letter-spacing: -.065em; }
h1 em, .section-heading em { color: var(--aqua-deep); font-style: normal; }
.lead { max-width: 590px; margin: 24px 0 0; color: var(--muted); font-size: clamp(16px, 2vw, 19px); line-height: 1.65; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 34px; color: #405b55; font-size: 12px; font-weight: 750; }

.access-card, .vehicle-card, .progress-card, .info-grid article, .help-card { border: 1px solid rgba(211, 229, 224, .9); border-radius: 24px; background: rgba(255, 255, 255, .94); box-shadow: var(--shadow); }
.access-card { position: relative; padding: 32px; }
.card-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 22px; border-radius: 17px; background: var(--aqua-soft); font-size: 26px; transform: rotate(-3deg); }
.access-card h2 { margin: 0; font-size: 30px; letter-spacing: -.045em; }
.form-intro { margin: 10px 0 25px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.access-card label { display: block; margin: 18px 0 8px; font-size: 13px; font-weight: 850; }
.input-shell { display: flex; align-items: center; gap: 10px; height: 54px; border: 1.5px solid #cbdcd8; border-radius: 14px; padding: 0 15px; background: #fbfdfc; transition: border-color .2s, box-shadow .2s, background .2s; }
.input-shell:focus-within { border-color: var(--aqua-deep); background: #fff; box-shadow: 0 0 0 4px rgba(62, 207, 189, .14); }
.input-shell input { min-width: 0; width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 16px; font-weight: 750; letter-spacing: .04em; }
.input-shell input::placeholder { color: #9aaba7; font-weight: 650; }
.access-card small { display: block; margin-top: 6px; color: #758681; font-size: 11px; }
.form-error { min-height: 19px; margin: 14px 0 4px; color: #a53b35; font-size: 12px; font-weight: 750; line-height: 1.45; }
.primary-button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 52px; border: 0; border-radius: 14px; padding: 13px 18px; color: #102a26; background: var(--aqua); box-shadow: 0 10px 24px rgba(39, 174, 157, .25); font-weight: 900; cursor: pointer; transition: transform .18s, box-shadow .18s, opacity .18s; }
.primary-button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(39, 174, 157, .32); }
.primary-button:disabled { cursor: wait; opacity: .72; }
.privacy-note { display: flex; justify-content: center; gap: 6px; margin: 17px 0 0; color: #71827e; font-size: 10px; }

.status-view { max-width: 820px; margin: 0 auto; padding: 48px 0 70px; }
.status-hero { display: flex; justify-content: space-between; gap: 28px; align-items: flex-start; margin-bottom: 32px; }
.status-hero h1 { font-size: clamp(42px, 7vw, 64px); }
.status-hero > div > p:last-child { max-width: 570px; margin: 16px 0 0; color: var(--muted); line-height: 1.6; }
.quiet-button { flex: none; border: 1px solid #cddeda; border-radius: 999px; padding: 9px 13px; color: var(--ink-soft); background: rgba(255,255,255,.65); font-size: 11px; font-weight: 800; cursor: pointer; }
.vehicle-card { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; margin-bottom: 18px; padding: 20px; box-shadow: 0 14px 42px rgba(18,48,42,.07); }
.vehicle-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: var(--aqua-soft); font-size: 30px; }
.vehicle-copy p, .info-grid p { margin: 0 0 6px; color: var(--aqua-deep); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.vehicle-copy h2 { margin: 0 0 4px; font-size: 20px; letter-spacing: -.03em; }
.vehicle-copy small, .info-grid small { color: var(--muted); font-size: 12px; }
.status-badge { border-radius: 999px; padding: 8px 11px; color: #8c6012; background: #fff4dc; font-size: 11px; font-weight: 900; white-space: nowrap; }

.progress-card { padding: clamp(22px, 4vw, 34px); box-shadow: 0 16px 48px rgba(18,48,42,.08); }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.section-heading h2 { margin: 0; font-size: clamp(25px, 4vw, 34px); letter-spacing: -.045em; }
.section-heading > span { display: grid; place-items: center; min-width: 60px; height: 34px; border-radius: 11px; color: var(--aqua); background: var(--ink); font-size: 11px; font-weight: 900; }
.progress-copy { max-width: 650px; margin: 14px 0 20px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.progress-bar { height: 6px; margin-bottom: 20px; overflow: hidden; border-radius: 999px; background: #e5efec; }
.progress-bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--aqua-deep), var(--aqua)); transition: width .5s ease; }
.timeline { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.timeline::before { position: absolute; top: 22px; bottom: 22px; left: 19px; width: 2px; background: #dce9e6; content: ""; }
.timeline li { position: relative; z-index: 1; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; min-height: 62px; padding: 8px 0; }
.timeline i { display: grid; place-items: center; width: 40px; height: 40px; border: 2px solid #d6e4e1; border-radius: 50%; color: #849591; background: #fff; font-size: 12px; font-style: normal; font-weight: 900; }
.timeline b { display: block; font-size: 14px; }
.timeline small { display: block; max-width: 530px; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.timeline .complete i { border-color: var(--aqua); color: var(--ink); background: var(--aqua); }
.timeline .current i { border-color: #f0bd58; background: #fff6e3; font-size: 17px; box-shadow: 0 0 0 5px rgba(240,189,88,.12); }
.timeline .current b { color: #a76a08; }
.updated-copy { margin: 19px 0 0; padding-top: 16px; border-top: 1px solid #edf2f1; color: #7b8d88; font-size: 10px; text-align: right; }

.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0; }
.info-grid article { min-height: 155px; padding: 20px; box-shadow: 0 13px 36px rgba(18,48,42,.06); }
.info-grid article > span { display: block; margin-bottom: 16px; font-size: 25px; }
.info-grid b, .info-grid a { display: block; margin-bottom: 7px; font-size: 16px; }
.info-grid a { color: var(--ink); text-decoration: none; }
.info-grid a[href] { color: var(--aqua-deep); text-decoration: underline; text-decoration-color: rgba(18, 122, 109, .35); text-underline-offset: 3px; }
.info-grid a[href]:hover { color: var(--ink); }
.info-grid small { line-height: 1.4; }
.help-card { display: grid; grid-template-columns: auto 1fr auto; gap: 15px; align-items: center; padding: 20px 22px; border-color: var(--ink-soft); color: #fff; background: linear-gradient(135deg, #12332d, #244a43); box-shadow: 0 18px 46px rgba(14,45,39,.16); }
.help-card > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--aqua); font-size: 23px; }
.help-card h2 { margin: 0 0 4px; font-size: 17px; }
.help-card p { margin: 0; color: #cadbd7; font-size: 12px; line-height: 1.45; }
.help-card button { border: 0; border-radius: 12px; padding: 11px 14px; color: var(--ink); background: var(--aqua); font-size: 11px; font-weight: 900; cursor: pointer; }
.help-card button:disabled { cursor: not-allowed; opacity: .72; }

footer { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 32px; border-top: 1px solid rgba(195,215,210,.7); color: #758782; font-size: 10px; }
dialog { width: min(440px, calc(100% - 30px)); border: 1px solid var(--line); border-radius: 24px; padding: 30px; color: var(--ink); background: #fff; box-shadow: 0 26px 90px rgba(9,33,28,.28); text-align: center; }
dialog::backdrop { background: rgba(9, 29, 25, .55); backdrop-filter: blur(5px); }
.dialog-icon { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 17px; border-radius: 20px; background: var(--aqua-soft); font-size: 30px; }
dialog h2 { margin: 0; font-size: 25px; letter-spacing: -.035em; }
dialog p { margin: 12px 0 22px; color: var(--muted); font-size: 14px; line-height: 1.6; }

:focus-visible { outline: 3px solid rgba(20, 141, 127, .42); outline-offset: 3px; }

@media (max-width: 820px) {
  .login-view { grid-template-columns: 1fr; min-height: 0; padding: 35px 0 64px; }
  .login-copy { text-align: center; margin-inline: auto; }
  .trust-row { justify-content: center; }
  .access-card { width: min(480px, 100%); margin-inline: auto; }
}

@media (max-width: 620px) {
  .site-header, main, footer { width: min(100% - 26px, 560px); }
  .site-header { min-height: 76px; }
  .brand img { width: 94px; }
  .secure-chip { padding: 7px 9px; font-size: 10px; }
  .login-view { gap: 32px; padding-top: 25px; }
  h1 { font-size: clamp(39px, 13vw, 54px); }
  .lead { margin-top: 18px; font-size: 15px; }
  .trust-row { display: grid; justify-items: center; margin-top: 24px; }
  .access-card { padding: 24px 20px; border-radius: 21px; }
  .status-view { padding: 28px 0 55px; }
  .status-hero { display: block; }
  .quiet-button { margin-top: 18px; }
  .vehicle-card { grid-template-columns: auto 1fr; padding: 17px; }
  .vehicle-icon { width: 50px; height: 50px; border-radius: 15px; font-size: 25px; }
  .status-badge { grid-column: 1 / -1; width: max-content; }
  .progress-card { border-radius: 21px; }
  .section-heading { display: block; }
  .section-heading > span { width: max-content; min-width: 58px; margin-top: 13px; }
  .timeline li { grid-template-columns: 36px 1fr; gap: 11px; }
  .timeline i { width: 36px; height: 36px; }
  .timeline::before { left: 17px; }
  .timeline small { font-size: 11px; }
  .info-grid { grid-template-columns: 1fr; }
  .info-grid article { min-height: 135px; }
  .help-card { grid-template-columns: auto 1fr; padding: 18px; }
  .help-card button { grid-column: 1 / -1; width: 100%; min-height: 44px; }
  footer { display: grid; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
