@import url('https://fonts.googleapis.com/css2?family=Newsreader:wght@500;600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
  --navy: #101d3b;
  --navy-deep: #091326;
  --orange: #f36f21;
  --orange-dark: #c84f12;
  --gold: #d1a33a;
  --green: #49796b;
  --ink: #172033;
  --muted: #5d6574;
  --paper: #f7f8f6;
  --white: #ffffff;
  --line: #d8dce3;
  --soft-orange: #fff1e7;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Roboto, Arial, sans-serif;
  line-height: 1.65;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 9px 12px; background: var(--white); color: var(--navy); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 4; padding: 18px 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.home-header { border-color: rgba(255, 255, 255, .24); background: transparent; color: var(--white); }
.nav { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 700; font-size: 18px; text-decoration: none; }
.home-header .brand { color: var(--white); }
.brand img { width: 34px; height: 34px; border-radius: 4px; object-fit: cover; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 500; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--orange); }

.hero-shell { position: relative; min-height: 88svh; overflow: hidden; isolation: isolate; background: var(--navy-deep); color: var(--white); }
.hero-media { position: absolute; z-index: -2; inset: 0; background: url('pact_editorial_stage.webp') center center / cover no-repeat; }
.hero-shell::after { content: ''; position: absolute; z-index: -1; inset: 0; background: rgba(4, 10, 22, .28); pointer-events: none; }
.hero-content { min-height: calc(88svh - 77px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-top: 52px; padding-bottom: 62px; }
.eyebrow { margin: 0 0 16px; color: #ff9a5c; font-size: 12px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; }
.eyebrow.dark { color: var(--orange-dark); }
h1, h2, h3 { margin: 0; font-family: Newsreader, Georgia, serif; font-weight: 600; line-height: 1.04; letter-spacing: 0; }
h1 { font-size: 96px; }
h2 { font-size: 54px; }
h3 { font-size: 28px; }
.hero-statement { margin: 6px 0 0; max-width: 680px; font-family: Newsreader, Georgia, serif; font-size: 34px; font-weight: 500; line-height: 1.12; }
.lede { max-width: 590px; margin: 22px 0 28px; color: #e7eaf0; font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 19px; border: 1px solid var(--navy); border-radius: 4px; font-weight: 700; text-decoration: none; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.button.primary { border-color: var(--orange); background: var(--orange); color: var(--navy-deep); }
.button.light { border-color: rgba(255, 255, 255, .72); color: var(--white); }
.button:hover { border-color: var(--white); background: var(--white); color: var(--navy); }
.button.primary:hover { border-color: #ff9a5c; background: #ff9a5c; color: var(--navy-deep); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 30px; margin: 38px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, .34); list-style: none; color: #e7eaf0; font-size: 13px; font-weight: 500; }
.hero-facts li::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 9px; background: var(--orange); }

.section { padding: 92px 0; }
.workflow { background: var(--paper); }
.section-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .65fr); align-items: end; gap: 64px; margin-bottom: 58px; }
.section-intro > p { margin: 0 0 5px; color: var(--muted); font-size: 17px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.step { min-height: 260px; padding: 26px 28px 30px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step-number { display: block; margin-bottom: 50px; color: var(--orange-dark); font-size: 13px; font-weight: 700; }
.step:nth-child(2) .step-number { color: var(--green); }
.step:nth-child(3) .step-number { color: #8d6610; }
.step p { margin: 14px 0 0; color: var(--muted); }

.record-band { background: var(--navy); color: var(--white); }
.record-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(340px, 1fr); align-items: start; gap: 84px; }
.record-layout h2 { max-width: 520px; }
.record-list { border-top: 1px solid rgba(255, 255, 255, .45); }
.record-list div { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid rgba(255, 255, 255, .22); }
.record-list span { color: #ff9a5c; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.record-list strong { font-family: Newsreader, Georgia, serif; font-size: 24px; font-weight: 500; line-height: 1.25; }

.support-section { background: var(--white); }
.support-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); align-items: end; gap: 80px; }
.support-layout p { margin: 0 0 20px; color: var(--muted); font-size: 17px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding-bottom: 3px; border-bottom: 2px solid var(--orange); color: var(--navy); font-weight: 700; text-decoration: none; }
.text-link:hover { color: var(--orange-dark); }

.site-footer { padding: 34px 0 40px; background: var(--navy-deep); color: #cbd1dc; font-size: 13px; }
.footer-layout { display: grid; grid-template-columns: auto 1fr; gap: 18px 36px; align-items: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--white); font-size: 16px; font-weight: 700; }
.footer-brand img { width: 30px; height: 30px; border-radius: 4px; object-fit: cover; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 20px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.copyright { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); }
.compact-footer { text-align: center; }

.doc { max-width: 820px; padding: 74px 0 96px; }
.doc .eyebrow { color: var(--orange-dark); }
.doc h1 { max-width: 760px; color: var(--navy); font-size: 64px; }
.doc h2 { margin-top: 46px; color: var(--navy); font-size: 34px; }
.doc .lede { color: var(--muted); }
.doc p, .doc li { color: var(--muted); }
.doc p { margin: 12px 0 0; }
.doc ul { margin: 12px 0 0; padding-left: 22px; }
.doc li + li { margin-top: 7px; }
.doc a { color: var(--orange-dark); text-underline-offset: 3px; }
.legal-doc h3 { margin-top: 26px; color: var(--ink); font-family: Roboto, Arial, sans-serif; font-size: 18px; font-weight: 700; line-height: 1.35; }
.legal-doc strong { color: var(--ink); }
.notice { margin: 28px 0; padding: 18px 20px; border-left: 4px solid var(--orange); background: var(--soft-orange); color: var(--ink); }
.notice a { overflow-wrap: anywhere; }

a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

@media (max-width: 900px) {
  h1 { font-size: 78px; }
  h2 { font-size: 46px; }
  .section-intro, .record-layout, .support-layout { grid-template-columns: 1fr; gap: 30px; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; padding: 26px 0 30px; }
  .step + .step { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .step-number { margin-bottom: 20px; }
}

@media (max-width: 620px) {
  .wrap { width: min(var(--max), calc(100% - 30px)); }
  .site-header { padding: 14px 0; }
  .nav { align-items: flex-start; gap: 14px; }
  .brand span { display: none; }
  .nav-links { max-width: 260px; flex-wrap: wrap; justify-content: flex-end; gap: 5px 15px; font-size: 13px; line-height: 1.4; }
  .hero-shell { min-height: 88svh; }
  .hero-media { background-position: 43% center; }
  .hero-shell::after { background: rgba(4, 10, 22, .52); }
  .hero-content { min-height: calc(88svh - 69px); padding-top: 34px; padding-bottom: 42px; }
  h1 { font-size: 60px; }
  h2 { font-size: 40px; }
  h3 { font-size: 26px; }
  .hero-statement { font-size: 28px; }
  .lede { margin: 18px 0 24px; font-size: 16px; }
  .actions { width: 100%; }
  .button { width: 100%; }
  .hero-facts { gap: 7px 20px; margin-top: 26px; padding-top: 14px; }
  .section { padding: 64px 0; }
  .section-intro { margin-bottom: 38px; }
  .record-list div { grid-template-columns: 86px 1fr; gap: 15px; }
  .record-list strong { font-size: 21px; }
  .footer-layout { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .copyright { grid-column: auto; }
  .doc { padding: 56px 0 76px; }
  .doc h1 { font-size: 46px; }
  .doc h2 { font-size: 29px; }
}

@media (max-width: 380px) {
  h1 { font-size: 52px; }
  h2 { font-size: 36px; }
  .hero-statement { font-size: 25px; }
  .nav-links { max-width: 225px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
