:root {
  --orange: #ff6d29;
  --orange-dim: #d9591f;
  --brown: #453027;
  --ink: #040404;
  --ink-soft: #0b0806;
  --grey: #bababa;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.055);
  --glass-bg-strong: rgba(255, 255, 255, 0.09);
  --glass-border: rgba(255, 255, 255, 0.14);
  --line: rgba(255, 255, 255, 0.08);
  --sans: "Arimo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

svg {
  display: block;
}

/* ---------- layout ---------- */
.page {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
}

/* ---------- ambient blobs ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

.blob-a {
  width: 640px;
  height: 640px;
  top: -260px;
  right: -180px;
  background: radial-gradient(circle, rgba(255, 109, 41, 0.28), transparent 70%);
  mix-blend-mode: screen;
}

.blob-b {
  width: 420px;
  height: 420px;
  top: 340px;
  left: -200px;
  background: radial-gradient(circle, rgba(69, 48, 39, 0.65), transparent 70%);
}

.hero-giant {
  position: absolute;
  right: -1vw;
  top: 8px;
  font-size: min(18vw, 260px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 109, 41, 0.14);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ---------- nav ---------- */
nav.top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(155deg, var(--orange), var(--orange-dim));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  flex-shrink: 0;
}

.brand .word {
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  padding: 24px 0 40px;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  padding: 10px 18px 10px 15px;
  border-radius: 999px;
  margin: 0 0 22px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

h1 {
  font-weight: 700;
  font-size: clamp(32px, 4.1vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.accent {
  color: var(--orange);
}

.lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--grey);
  max-width: 520px;
  margin: 0;
}

/* ---------- buttons ---------- */
.btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  background: var(--orange);
  border: none;
  padding: 15px 26px;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  background: var(--white);
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
  background: var(--orange);
}

.btn svg {
  width: 15px;
  height: 15px;
}

.btn.ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--glass-border);
}

.btn.ghost:hover {
  background: var(--glass-bg-strong);
  transform: none;
}

.btn.small {
  padding: 10px 18px;
  font-size: 13.5px;
}

/* ---------- content ---------- */
main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 70px;
}

.card {
  position: relative;
  padding: 34px 32px;
  background: linear-gradient(165deg, rgba(69, 48, 39, 0.55), rgba(22, 19, 22, 0.55));
}

.card-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.card h2 {
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
}

.card .sub {
  font-size: 13px;
  color: var(--grey);
  margin: 0;
}

/* ---------- form ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.form-grid.compact {
  grid-template-columns: 200px auto;
  justify-content: start;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.field.full,
.field-hint.full {
  grid-column: 1 / -1;
}

.field > span {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--grey);
}

.field input {
  width: 100%;
  height: 48px;
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 0 14px;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.field input::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.field input:focus {
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.1);
}

.field-hint {
  font-size: 12px;
  line-height: 1.4;
  color: var(--grey);
  margin-top: -4px;
}

.time-range {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 8px;
  align-items: center;
}

.time-range-separator {
  color: var(--grey);
  text-align: center;
}

.status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 2px 0;
  font-size: 13.5px;
  color: var(--grey);
}

.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--grey);
  opacity: 0.6;
  flex-shrink: 0;
}

.status.error {
  color: var(--orange);
  font-weight: 600;
}

.status.error::before {
  background: var(--orange);
  opacity: 1;
}

/* ---------- results ---------- */
.summary {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--grey);
}

.summary-strong {
  color: var(--white);
  font-weight: 500;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

th:not(:first-child),
td:not(:first-child) {
  text-align: right;
  white-space: nowrap;
}

th {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--grey);
  background: rgba(255, 255, 255, 0.03);
}

td {
  font-size: 14.5px;
}

td:first-child {
  font-weight: 500;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover {
  background: var(--glass-bg);
}

/* ---------- footer ---------- */
footer {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12.5px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- login ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--grey);
  padding: 9px 16px;
  border-radius: 999px;
}

.company-pill {
  color: var(--white);
  font-weight: 600;
  max-width: 100%;
  flex-shrink: 0;
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  padding-top: 24px;
}

.access-copy h1 {
  font-size: clamp(30px, 3.4vw, 44px);
}

.access-copy .lede {
  max-width: 440px;
  margin-bottom: 32px;
}

.assure {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.assure li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 13.5px;
  color: var(--white);
}

.assure .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.assure .check svg {
  width: 11px;
  height: 11px;
}

.assure b {
  font-weight: 600;
  color: var(--white);
}

.assure .t {
  color: var(--grey);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--grey);
  cursor: pointer;
}

.consent input {
  margin: 3px 0 0;
  width: 16px;
  height: 16px;
  accent-color: var(--orange);
  flex-shrink: 0;
  cursor: pointer;
}

.err {
  font-size: 12px;
  font-weight: 600;
  color: var(--orange);
  min-height: 16px;
  margin: -6px 0 0;
}

.btn.block {
  width: 100%;
}

.hidden {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}

@media (max-width: 980px) {
  .wrap {
    padding: 0 22px;
  }

  .hero-giant {
    display: none;
  }

  .access-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 720px) {
  nav.top {
    padding: 22px 0;
  }

  .hero {
    padding: 8px 0 30px;
  }

  .eyebrow {
    font-size: 11.5px;
    padding: 8px 15px 8px 13px;
  }

  h1 {
    font-size: clamp(30px, 8.4vw, 40px);
  }

  .lede {
    max-width: none;
  }

  .card {
    padding: 28px 22px;
  }

  .card-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .form-grid,
  .form-grid.compact {
    grid-template-columns: 1fr;
  }

  .form-grid .btn {
    width: 100%;
    margin-top: 4px;
  }

  .row2 {
    grid-template-columns: 1fr;
  }

  .access-copy h1 {
    font-size: clamp(28px, 7.6vw, 36px);
  }
}
