@font-face {
  font-family: "aktiv-grotesk";
  src: url("https://use.typekit.net/af/44d038/00000000000000007753ca34/31/l?subset_id=2&fvd=n3&v=3") format("woff2");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "aktiv-grotesk";
  src: url("https://use.typekit.net/af/855c4b/00000000000000007753ca4f/31/l?subset_id=2&fvd=n4&v=3") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "aktiv-grotesk";
  src: url("https://use.typekit.net/af/36c3c6/00000000000000007753ca29/31/l?subset_id=2&fvd=n5&v=3") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #111111;
  --muted: #6f6f6b;
  --line: #deded9;
  --page: #f4f6f4;
  --paper: #ffffff;
  --soft: #f7f7f3;
  --green: #355e4b;
  font-family: "aktiv-grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }

.report-shell {
  width: min(1440px, calc(100% - 64px));
  min-height: calc(100vh - 74px);
  margin: 18px auto 56px;
  background: var(--paper);
}

.login-header {
  padding: 36px 42px 18px;
  border-bottom: 1px solid var(--ink);
}

.brand {
  margin: 0 0 38px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .18em;
  line-height: 1;
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .16em;
  line-height: 1.3;
}

.login-content {
  display: grid;
  min-height: 520px;
  place-items: center;
  padding: 64px 42px 86px;
}

.login-panel {
  width: min(100%, 520px);
  padding-top: 22px;
  border-top: 1px solid var(--ink);
}

h1,
.success-title {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: .035em;
  line-height: 1.3;
}

.intro {
  margin: 10px 0 34px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.65;
}

label {
  display: grid;
  gap: 7px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .13em;
  text-transform: uppercase;
}

input {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: 0;
  outline: none;
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: .01em;
}

input::placeholder { color: #969691; }
input:focus { box-shadow: none; }

.field-box {
  width: 100%;
  padding: 3px;
  border: 2px solid #343431;
  background: var(--paper);
}

.field-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  align-items: stretch;
  border: 1px solid #d1d1ce;
}

.field-box:focus-within { border-color: var(--green); }

.field-submit {
  display: grid;
  min-width: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  place-items: center;
  background: transparent;
  color: #b8b8b3;
  cursor: pointer;
  font-size: 29px;
  font-weight: 300;
  line-height: 1;
  transition: color 140ms ease;
}

.field-submit span {
  display: block;
  line-height: 1;
  transform: translateY(-2px);
}

.field-submit:hover,
.field-submit:focus-visible { color: var(--ink); outline: none; }
.field-submit:disabled { cursor: wait; opacity: .45; }

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color 140ms ease, background-color 140ms ease;
}

.button-primary {
  width: 100%;
  color: var(--paper);
  background: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible { color: var(--ink); background: transparent; }
.button:disabled { cursor: wait; opacity: .55; }

.secondary-actions {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
}

.text-button {
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 300;
  letter-spacing: .04em;
}

.text-button:hover,
.text-button:focus-visible { border-bottom-color: var(--ink); color: var(--ink); }

.message {
  min-height: 20px;
  margin: 20px 0 0;
  color: #a44943;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.45;
}
.message.success { color: var(--green); }

.privacy-note {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .035em;
  line-height: 1.5;
}

.success-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 40px 20px;
}

.success-shell {
  width: min(100%, 720px);
  padding: 42px 0 0;
  border-top: 1px solid var(--ink);
  background: var(--paper);
}

.success-shell .brand { margin-bottom: 58px; }
.success-copy { margin: 14px 0 32px; color: var(--muted); font-size: 16px; line-height: 1.65; }
.button-secondary { color: var(--ink); background: transparent; }
.button-secondary:hover { color: var(--paper); background: var(--ink); }

@media (max-width: 760px) {
  .report-shell { width: 100%; min-height: 100vh; margin: 0; }
  .login-header { padding: 28px 18px 18px; }
  .brand { margin-bottom: 28px; }
  .login-content { min-height: 470px; padding: 52px 18px 64px; }
  .login-panel { width: 100%; }
  .success-page { place-items: start center; padding: 32px 18px; background: var(--paper); }
  .success-shell { padding-top: 28px; }
}

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