@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("/fonts/outfit-800.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: "Outfit", ui-sans-serif, system-ui, sans-serif;
  background: #0a1128;
  color: #eef1f7;

  --ink: #0a1128;
  --ink-2: #111c38;
  --card: #131e38;
  --line: #22304f;
  --amber: #f5a524;
  --amber-soft: rgba(245, 165, 36, 0.14);
  --white: #eef1f7;
  --slate: #9aa3b8;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% -6%, rgba(245, 165, 36, 0.16), transparent 34rem),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}

a {
  color: var(--amber);
}

code {
  color: var(--amber);
}

button,
input {
  font: inherit;
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.card {
  width: min(100%, 520px);
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(19, 30, 56, 0.94);
  box-shadow: 0 30px 80px rgba(3, 6, 16, 0.55);
}

.policy-shell {
  display: block;
}

.policy-card {
  width: min(100%, 900px);
  margin: 0 auto;
}

.top-nav {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  margin-bottom: 24px;
  font-size: 14px;
}

.top-nav a {
  color: var(--slate);
  text-decoration: none;
  transition: color 160ms ease;
}

.top-nav a:hover {
  color: var(--amber);
}

.top-nav a[aria-current="page"] {
  color: var(--amber);
}

.effective {
  color: var(--slate);
}

.policy-card h2 {
  margin: 34px 0 10px;
  font-size: 22px;
  font-weight: 600;
}

.policy-card p,
.policy-card li {
  color: #c3cadb;
  line-height: 1.7;
}

.policy-card li + li {
  margin-top: 10px;
}

.publication-blocker {
  margin: 24px 0;
}

.prominent-link {
  display: inline-block;
  font-weight: 700;
}

.brand {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #05070f;
  border: 1px solid var(--line);
  color: var(--amber);
  font-size: 24px;
  font-weight: 800;
}

.eyebrow {
  margin: 24px 0 8px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 8vw, 44px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.intro {
  margin: 18px 0 24px;
  color: var(--slate);
  line-height: 1.6;
}

.notice {
  margin: 22px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(245, 165, 36, 0.4);
  border-radius: 12px;
  background: var(--amber-soft);
  color: #f6ca84;
  font-size: 14px;
  line-height: 1.5;
}

.status {
  min-height: 24px;
  margin: 16px 0;
  color: var(--slate);
  font-size: 14px;
}

.status.error {
  color: #ff9d9d;
}

.status.success {
  color: #83e2ae;
}

label:not(.confirm) {
  display: block;
  margin: 14px 0 7px;
  color: #d3d9e6;
  font-size: 14px;
  font-weight: 600;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: #0b1226;
  color: var(--white);
  transition: border-color 160ms ease;
}

input[type="email"]:focus,
input[type="password"]:focus {
  border-color: var(--amber);
}

input:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(245, 165, 36, 0.55);
  outline-offset: 2px;
}

.button {
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}

.button:active {
  transform: scale(0.97);
}

.button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.primary {
  background: var(--amber);
  color: #201404;
  box-shadow: 0 10px 30px rgba(245, 165, 36, 0.25);
}

.secondary {
  background: #1b2745;
  border: 1px solid var(--line);
}

.danger {
  background: #c73f4c;
}

.link-button {
  display: block;
  margin: 16px auto 0;
  padding: 6px;
  border: 0;
  background: transparent;
  color: var(--amber);
  cursor: pointer;
  transition: transform 160ms var(--ease-out);
}

.link-button:active {
  transform: scale(0.97);
}

.divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0 10px;
  color: var(--slate);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.footnote {
  margin: 20px 0 0;
  color: var(--slate);
  font-size: 13px;
  line-height: 1.5;
}

.account-line {
  margin: 8px 0 20px;
}

.confirm {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #d3d9e6;
  font-size: 14px;
  line-height: 1.5;
}

.confirm input {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 1px;
  accent-color: var(--amber);
}

/* Shared site header (matches landing) */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(20px, 5vw, 64px);
  max-width: 1200px;
  margin: 0 auto;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.18em;
  font-size: 15px;
}

.mark {
  height: 30px;
  width: auto;
  display: block;
}

.nav nav {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
}

.nav nav a {
  color: var(--slate);
  text-decoration: none;
  font-size: 15px;
  transition: color 160ms ease;
}

.nav nav a:hover,
.nav nav a[aria-current="page"] {
  color: var(--amber);
}

.shell {
  min-height: calc(100vh - 80px);
}
