:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #080808;
  color: #f2f2f2;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { min-width: 320px; scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 78% -10%, rgba(253, 89, 27, .10), transparent 34rem),
    #080808;
  color: #f2f2f2;
}

a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 2px solid #fd591b; outline-offset: 5px; }

.site-header,
.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #2d2d2d;
}

.brand { display: block; line-height: 0; }
.brand img { display: block; width: 220px; height: auto; }

.back-link {
  color: #c8c8c8;
  font-size: .77rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-decoration: none;
  text-transform: uppercase;
}

.back-link::before { content: "←"; margin-right: .65rem; color: #fd591b; }
.back-link:hover { color: #fff; }

main {
  width: min(940px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(64px, 10vw, 116px) 0 clamp(76px, 10vw, 124px);
}

.terms-document { display: grid; gap: 0; }

.document-header {
  max-width: 780px;
  padding-bottom: clamp(48px, 7vw, 72px);
}

.eyebrow {
  width: max-content;
  margin: 0 0 22px;
  padding: 7px 12px;
  border: 1px solid #ad481c;
  border-radius: 2px;
  color: #e5e5e5;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.45rem, 7vw, 5.3rem);
  font-weight: 580;
  letter-spacing: -.055em;
  line-height: .98;
}

.intro {
  max-width: 650px;
  margin: 28px 0 0;
  color: #9d9d9d;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.7;
}

section {
  display: grid;
  grid-template-columns: minmax(250px, .72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 6vw, 72px);
  padding: clamp(34px, 5vw, 52px) 0;
  border-top: 1px solid #343434;
}

h2 {
  margin: 0;
  color: #f2f2f2;
  font-size: clamp(1.08rem, 2.2vw, 1.35rem);
  font-weight: 620;
  letter-spacing: -.02em;
  line-height: 1.35;
}

h2 span { display: block; margin-bottom: 10px; color: #fd591b; font-size: .73em; }

section p {
  grid-column: 2;
  margin: 0;
  color: #b4b4b4;
  font-size: 1rem;
  line-height: 1.82;
}

section p + p { margin-top: -18px; }

.contact-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(42px, 7vw, 72px);
  border: 1px solid #3c3c3c;
  border-radius: 2px;
  background: #3c3c3c;
  font-style: normal;
}

.contact-card div { display: grid; gap: 10px; padding: 26px; background: #111; }
.contact-card span { color: #888; font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.contact-card a { color: #fff; overflow-wrap: anywhere; text-decoration-color: #fd591b; }

.site-footer {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid #2d2d2d;
  color: #858585;
  font-size: .76rem;
}

.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a { color: #aaa; text-decoration: none; }
.site-footer a:hover, .site-footer a[aria-current="page"] { color: #fff; }
.site-footer a[aria-current="page"] { text-decoration: underline; text-decoration-color: #fd591b; }

@media (max-width: 720px) {
  .site-header, .site-footer, main { width: min(100% - 32px, 940px); }
  .site-header { min-height: 88px; }
  .brand img { width: 174px; }
  .back-link { font-size: .67rem; letter-spacing: .08em; }
  main { padding-top: 58px; }
  section { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  section p { grid-column: 1; }
  section p + p { margin-top: -8px; }
  .contact-card { grid-template-columns: minmax(0, 1fr); }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; padding: 28px 0; }
  .site-footer p { margin: 0; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
