:root {
  color-scheme: light;
  --bg: #fafaf8;
  --panel: #fff;
  --panel-2: #f2f2ef;
  --line: #e6e6e2;
  --text: #1a1a18;
  --muted: #5c5c58;
  --cyan: #e85d12;
  --teal: #b84a0c;
  --amber: #ff7a33;
  --orange: #ff7a33;
  --radius: 8px;
}

html { background: var(--bg); }

body {
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(255, 240, 230, .42), rgba(250, 250, 248, 0) 38%),
    var(--bg);
  font-family: "Hanken Grotesk", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  right: -80px;
  bottom: 5vh;
  z-index: 0;
  width: 390px;
  height: 450px;
  content: "";
  pointer-events: none;
  background: url("/assets/redesign/phoenix-mark-orange.png") center / contain no-repeat;
  opacity: .03;
}

a { color: #b84a0c; }
a:hover { color: #9c3d08; }
button, input { font: inherit; letter-spacing: 0; }
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 3px solid rgba(232, 93, 18, .26);
  outline-offset: 3px;
}

.site,
.shell {
  position: relative;
  z-index: 1;
}

.site .wrap { width: min(940px, calc(100% - 40px)); }

.site header.wrap {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  max-width: none;
  padding: 0 max(28px, calc((100% - 1200px) / 2));
  background: rgba(250, 250, 248, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site header .nav {
  width: min(1200px, 100%);
  min-height: 68px;
  margin: 0 auto;
}
.brand { color: var(--text); }
.brand:hover { color: var(--text); text-decoration: none; }

.brand-mark {
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.brand-name {
  color: var(--text);
  font-family: "Schibsted Grotesk", Helvetica, sans-serif;
  font-size: 18px;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-sub { display: none; }

.nav-links {
  color: var(--muted);
  font-size: 14px;
  flex-wrap: nowrap;
}

.nav-links a { color: var(--muted); white-space: nowrap; }
.nav-links a:hover { color: #b84a0c; text-decoration: none; }

.nav-pill,
.nav-links .apply-link {
  padding: 10px 18px;
  color: var(--text) !important;
  background: var(--orange) !important;
  border: 0 !important;
  border-radius: 6px !important;
  box-shadow: 0 6px 18px rgba(26, 26, 24, .16);
}

.nav-pill:hover,
.nav-links .apply-link:hover { background: #f56a1e !important; }

.site main { padding: 62px 0 88px; }

.eyebrow {
  display: inline-block;
  min-height: 0;
  padding: 0;
  color: #b84a0c;
  background: transparent;
  border: 0;
  border-radius: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: .12em;
}

h1,
h2,
h3 {
  color: var(--text);
  font-family: "Schibsted Grotesk", Helvetica, sans-serif;
  letter-spacing: 0;
}

.site h1 {
  margin: 18px 0 14px;
  font-size: 52px;
  line-height: 1.08;
}

.lead { color: var(--muted); }

.policy-shell {
  margin-top: 42px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.policy-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.policy-section h2 { font-size: 27px; }
.policy-section h3 { color: var(--text); font-size: 19px; }
.policy-section p,
.policy-section ul { color: var(--muted); }
.policy-section li::marker { color: #b84a0c; }

.contact-card {
  color: var(--text);
  background: #fff;
  border-color: var(--line);
}

.btn {
  min-height: 50px;
  padding: 0 24px;
  color: var(--text);
  background: var(--orange);
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(26, 26, 24, .14);
}

.btn:hover {
  color: var(--text);
  background: #f56a1e;
  text-decoration: none;
}

.site footer {
  color: #a0a09a;
  background: var(--text);
  border-top: 0;
}

.site footer .wrap { width: min(1200px, calc(100% - 40px)); }
.site .footer-links,
.site .footer-links a { color: #a0a09a; }

body > .shell {
  width: min(980px, calc(100% - 32px));
  padding: 28px 0 64px;
}

body > .shell .nav {
  margin-bottom: 54px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

body > .shell h1 {
  margin: 14px 0 10px;
  font-family: "Schibsted Grotesk", Helvetica, sans-serif;
  font-size: 48px;
  letter-spacing: 0;
}

body > .shell .lead { color: var(--muted); }

.form-panel {
  padding: 32px;
  color: var(--text);
  background: var(--panel);
  border-color: var(--line);
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(26, 26, 24, .09);
}

.field-label { color: var(--text); }
.field-label.required::after { color: #c0392b; }

input[type="text"],
input[type="tel"],
input[type="email"] {
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid #d6d6d1;
  border-radius: 6px;
}

input:focus-visible {
  border-color: #e85d12;
  outline: none;
  box-shadow: 0 0 0 3px rgba(232, 93, 18, .14);
}

.hint,
.contact-note { color: var(--muted); }
.consent-section { border-top-color: var(--line); }

.check-row {
  color: var(--muted);
  background: var(--bg);
  border-color: var(--line);
  border-radius: 8px;
}

.check-row input { accent-color: #e85d12; }
.check-row strong { color: var(--text); }

.check-row a,
.legal-link,
.nav-links .legal-link { color: #b84a0c; }

.legal-links {
  padding: 0;
  background: transparent;
  border: 0;
}

.submit-button {
  min-height: 50px;
  padding: 12px 22px;
  color: var(--text);
  background: var(--orange);
  border: 0;
  border-radius: 6px;
  box-shadow: 0 8px 22px rgba(26, 26, 24, .14);
}

.submit-button:hover { background: #f56a1e; }
.status { color: #2e7d4f; }

@media (max-width: 720px) {
  body::before { display: none; }

  .site header.wrap {
    position: static;
    padding: 0 16px;
  }

  .site .nav,
  body > .shell .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding: 16px 0;
  }

  .site .brand,
  body > .shell .brand {
    width: 100%;
    min-width: 0;
  }

  .brand-name {
    font-size: 17px;
    white-space: normal;
  }

  .site .nav-links,
  body > .shell .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
  }

  .site .nav-links a,
  body > .shell .nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 42px;
    padding: 8px;
    text-align: center;
    white-space: normal;
    border: 1px solid var(--line);
    border-radius: 6px;
  }

  .site main { padding-top: 42px; }

  .site h1,
  body > .shell h1 { font-size: 40px; }

  .form-panel { padding: 22px 18px; }
}
