* {
  box-sizing: border-box;
}

:root {
  --taxi-yellow: #ffd100;
  --taxi-yellow-strong: #e6b900;
  --ink: #151515;
  --muted: #626a73;
  --line: #e8e2c6;
  --paper: #fffdf5;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family:
    Arial,
    Helvetica,
    sans-serif;
}

a {
  color: inherit;
}

.home-page {
  width: min(100%, 1120px);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: 34px 28px;
}

.home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.home-logo {
  display: block;
  width: clamp(170px, 22vw, 250px);
  height: auto;
  filter: drop-shadow(0 1px 0 rgba(21, 21, 21, 0.18));
}

.plain-link {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.plain-link:hover,
.plain-link:focus-visible {
  color: #8f7300;
  text-decoration: underline;
  text-decoration-color: var(--taxi-yellow-strong);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
}

.login-hero {
  flex: 1;
  width: min(100%, 650px);
  display: grid;
  align-content: center;
  justify-items: start;
  margin: 0 auto;
  padding: 76px 0;
  text-align: left;
}

.eyebrow {
  margin: 0 0 18px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: #8f7300;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.login-hero h1 {
  margin: 0;
  max-width: 560px;
  font-size: clamp(42px, 8vw, 78px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0;
}

.login-hero p:not(.eyebrow) {
  max-width: 540px;
  margin: 24px 0 32px;
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.55;
}

.login-button {
  display: inline-flex;
  min-height: 52px;
  min-width: 190px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--taxi-yellow-strong);
  border-radius: 999px;
  background: var(--taxi-yellow);
  color: var(--ink);
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
  transition:
    background 160ms ease,
    transform 160ms ease,
    border-color 160ms ease;
}

.login-button:hover,
.login-button:focus-visible {
  background: var(--taxi-yellow-strong);
  border-color: #caa000;
  transform: translateY(-1px);
}

.contact-strip {
  display: grid;
  gap: 18px;
  padding-top: 22px;
  border-top: 3px solid var(--taxi-yellow);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(320px, auto);
  gap: clamp(20px, 5vw, 56px);
  align-items: start;
}

.contact-block {
  display: grid;
  gap: 8px;
}

.contact-block-phone {
  width: auto;
  margin-left: 0;
  justify-items: start;
  text-align: left;
}

.contact-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.contact-phone-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.contact-label {
  display: block;
  color: #8f7300;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-value,
.contact-primary {
  margin: 0;
  color: var(--ink);
  line-height: 1.4;
}

.contact-value {
  font-size: 16px;
  max-width: 28rem;
}

.contact-strip .contact-primary {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
}

.contact-strip .contact-primary a {
  text-decoration-thickness: 2px;
  text-underline-offset: 0.24em;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 0 8px;
  border: 1px solid #f0db80;
  border-radius: 999px;
  background: #fff8d6;
  color: #7d6500;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sms-disclosure {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
  max-width: 26rem;
}

.sms-policy {
  font-weight: 600;
}

.contact-strip a {
  font-weight: 700;
  text-decoration-color: var(--taxi-yellow-strong);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.24em;
}

.powered-by {
  margin-top: 20px;
  color: #7b8087;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.powered-by a {
  color: #4f5359;
  font-weight: 600;
  text-decoration: none;
}

.policy-shell {
  min-height: 100vh;
  padding: 34px 24px 56px;
  background: var(--paper);
}

.policy-card {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  background: #ffffff;
}

.policy-header {
  display: grid;
  gap: 18px;
  margin-bottom: 34px;
}

.policy-logo-link {
  width: fit-content;
  text-decoration: none;
}

.policy-logo-image {
  display: block;
  width: clamp(170px, 24vw, 250px);
  height: auto;
  filter: drop-shadow(0 1px 0 rgba(21, 21, 21, 0.18));
}

.policy-header h1 {
  margin: 10px 0 0;
  padding-top: 22px;
  border-top: 3px solid var(--taxi-yellow);
  font-size: clamp(34px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
}

.policy-section {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.policy-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.policy-section + .policy-section {
  margin-top: 28px;
}

.policy-section h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.2;
}

.policy-section p,
.policy-section li {
  color: #303846;
  font-size: 17px;
  line-height: 1.7;
}

.policy-section p {
  margin: 0;
}

.policy-section p + p {
  margin-top: 18px;
}

.policy-section ul {
  margin: 14px 0 0;
  padding-left: 24px;
}

.policy-section li + li {
  margin-top: 10px;
}

.policy-section strong {
  color: var(--ink);
}

.policy-section a {
  font-weight: 700;
  text-decoration-color: var(--taxi-yellow-strong);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

@media (max-width: 720px) {
  .home-page {
    padding: 24px 20px;
  }

  .home-header {
    align-items: flex-start;
  }

  .login-hero {
    padding: 64px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-block-phone {
    width: auto;
    margin-left: 0;
    justify-items: start;
    text-align: left;
  }

  .policy-shell {
    padding: 20px;
  }

  .policy-card {
    padding: 24px 20px;
  }
}
