/* Tokens copied from mhs-web app/globals.css (light theme). */
:root {
  --sun: #ff7700;
  --sun-hover: #e66a00;
  --sun-ink: #b54f00;
  --ink: #000;
  --ink-2: #4a4a4a;
  --ink-3: #707070;
  --line: #e6e6e6;
  --paper: #fff;
  --cream: #f6f6f5;
  --font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--sun-ink); text-underline-offset: 2px; }
a:hover { color: var(--ink); }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 808px; }

/* Header */
.top { border-bottom: 1px solid var(--line); background: var(--paper); }
.top-row { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand img { height: 24px; width: auto; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px; }
.top nav a:hover { color: var(--sun-ink); }

/* Type */
.eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.eyebrow-light { color: rgba(255, 255, 255, 0.85); }
.h2 { margin: 0; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; font-weight: 500; letter-spacing: -0.01em; }

/* Hero */
.hero { position: relative; min-height: min(78vh, 680px); display: flex; align-items: flex-end; overflow: hidden; background: #2b2118; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.3) 55%, rgba(0,0,0,0) 85%),
    linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.5) 100%);
}
.hero-copy { position: relative; padding-top: 120px; padding-bottom: 64px; color: #fff; }
.hero h1 { margin: 0; max-width: 15ch; font-size: clamp(38px, 6vw, 68px); line-height: 1.04; font-weight: 500; letter-spacing: -0.02em; }
.lead-light { max-width: 52ch; margin: 20px 0 28px; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: rgba(255, 255, 255, 0.92); }
.btn {
  display: inline-block;
  background: var(--sun);
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 13px 22px;
  border-radius: 999px;
}
.btn:hover { background: var(--sun-hover); color: #fff; }

/* Sections */
.block { padding-top: 88px; padding-bottom: 88px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 28px; background: var(--paper); }
.card h3 { margin: 0 0 10px; font-size: 20px; font-weight: 500; }
.card p { margin: 0; color: var(--ink-2); line-height: 1.6; }
.band { background: var(--cream); }
.company { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.facts { margin: 0; display: grid; gap: 22px; }
.facts dt { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); font-weight: 500; }
.facts dd { margin: 6px 0 0; font-size: 17px; line-height: 1.55; overflow-wrap: anywhere; }
.facts-page { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }

/* Documents */
.doc { padding-top: 72px; padding-bottom: 96px; }
.doc-title { margin: 0; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; font-weight: 500; letter-spacing: -0.02em; }
.dot { color: var(--sun); }
.updated { margin: 12px 0 0; font-size: 13px; color: var(--ink-3); }
.intro { margin: 24px 0 0; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.65; color: var(--ink-2); white-space: pre-line; }
.clauses { list-style: none; margin: 40px 0 0; padding: 0; }
.clauses > li { border-top: 1px solid var(--line); padding: 28px 0; }
.clause-head { display: flex; align-items: baseline; gap: 12px; }
.clause-head .n { flex-shrink: 0; font-size: 15px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.clause-head h2 { margin: 0; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.25; font-weight: 500; }
.clauses > li > p,
.clause-body { margin: 12px 0 0; padding-left: 34px; font-size: 17px; line-height: 1.65; color: var(--ink-2); white-space: pre-line; }
.clause-body { white-space: normal; }
.clause-body p { margin: 0 0 12px; }
.clause-body p:last-child { margin-bottom: 0; }
.clause-body strong { color: var(--ink); font-weight: 600; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
.foot-name { margin: 0 0 8px; font-weight: 600; }
.foot-muted { margin: 0 0 6px; color: var(--ink-3); line-height: 1.55; }
.foot-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; align-content: start; }
.foot-links a { color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--sun-ink); text-decoration: underline; }
.foot-copy { margin-top: 32px; }

@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .block { padding-top: 56px; padding-bottom: 56px; }
  .cards { grid-template-columns: 1fr; margin-top: 28px; }
  .card { padding: 22px; }
  .company { grid-template-columns: 1fr; gap: 28px; }
  .hero { min-height: 560px; }
  .hero-shade { background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 45%, rgba(0,0,0,0.72) 100%); }
  .hero-copy { padding-bottom: 40px; }
  .doc { padding-top: 48px; padding-bottom: 64px; }
  .clauses > li > p,
  .clause-body { padding-left: 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-links { grid-template-columns: 1fr; }
}
