:root {
  --ink: #0b1c2d;
  --blue: #1f3a5f;
  --gold: #c9b27c;
  --paper: #f4f5f5;
  --muted: #52606e;
  --line: #dce1e5;
  --font: var(--font-sans);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 125px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: var(--type-body) / var(--leading-body) var(--font);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
button {
  font: inherit;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 6px;
}
::selection {
  background: var(--gold);
  color: var(--ink);
}
.container {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 12px 20px;
  background: var(--gold);
  color: var(--ink);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-logo {
  display: block;
  width: 62px;
  height: 64px;
  object-fit: contain;
}
.brand-type {
  display: grid;
  gap: 2px;
}
.brand-type strong {
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.4;
}
.brand-type strong > span {
  font-weight: 500;
}
.brand-type small {
  letter-spacing: 1.5px;
  font-weight: 500;
  text-transform: uppercase;
}
.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav a {
  font-weight: 600;
  text-decoration: none;
}
.nav a:hover {
  color: var(--blue);
}
.nav a:not(.nav-contact):hover {
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 8px;
}
.nav .nav-contact {
  padding: 13px 18px;
  border: 1px solid var(--ink);
  display: flex;
  align-items: center;
  gap: 28px;
  transition:
    color 220ms,
    background 220ms;
}
.nav .nav-contact:hover {
  background: var(--ink);
  color: #fff;
}
.legal-hero {
  border-bottom: 1px solid var(--line);
  padding: 32px 0 66px;
}
.back-link {
  display: inline-flex;
  gap: 13px;
  align-items: center;
  text-decoration: none;
  color: var(--muted);
  margin-bottom: 48px;
}
.back-link .ui-icon {
  transition: transform 220ms;
}
.back-link:hover .ui-icon {
  transform: translateX(-4px);
}
.eyebrow {
  margin: 0 0 24px;
  color: var(--blue);
  line-height: 1.6;
  letter-spacing: 1.65px;
  font-weight: 650;
  text-transform: uppercase;
}
h1 {
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 31px;
  max-width: 800px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: center;
  color: var(--muted);
  margin: 0;
}
.hero-meta span + span {
  border-left: 1px solid var(--line);
  padding-left: 26px;
}
.legal-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 96px;
  padding-top: 64px;
  padding-bottom: 100px;
  align-items: start;
}
.legal-index {
  position: sticky;
  top: 124px;
  max-height: calc(100svh - 150px);
  overflow-y: auto;
  scrollbar-width: thin;
  padding-right: 12px;
}
.index-heading {
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 22px;
  color: var(--muted);
}
.toc {
  list-style: none;
  margin: 0;
  padding: 0;
}
.toc li {
  border-top: 1px solid var(--line);
}
.toc li:last-child {
  border-bottom: 1px solid var(--line);
}
.toc a {
  display: block;
  padding: 10px 0;
  text-decoration: none;
  line-height: 1.6;
  color: var(--muted);
  transition: color 220ms;
}
.toc a:hover {
  color: var(--ink);
}
.legal-help {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 2px solid var(--gold);
  line-height: 1.9;
}
.legal-help strong {
  display: block;
  margin-bottom: 7px;
  font-weight: 600;
}
.legal-help a {
  overflow-wrap: anywhere;
}
.legal-copy {
  min-width: 0;
  max-width: 800px;
}
.legal-section {
  border-top: 1px solid var(--line);
  padding: 34px 0 25px;
}
.legal-section:first-child {
  border-top: 0;
  padding-top: 0;
}
.legal-section h2 {
  margin: 0 0 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.4;
}
.legal-section h3 {
  font-weight: 600;
  line-height: 1.65;
  margin: 28px 0 13px;
}
.legal-section p,
.legal-section li {
  line-height: 1.9;
  color: #485969;
}
.legal-section p {
  margin: 0 0 18px;
}
.legal-section strong {
  color: var(--ink);
  font-weight: 600;
}
.legal-section a {
  color: var(--blue);
  overflow-wrap: anywhere;
}
.bullets {
  margin: 10px 0 22px;
  padding-left: 20px;
}
.bullets li {
  padding-left: 6px;
  margin: 8px 0;
}
.bullets li::marker {
  color: var(--blue);
}
.site-footer {
  background: var(--ink);
  color: #fff;
}
.footer-top {
  padding-block: 43px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.footer-logo img {
  display: block;
  width: 62px;
  height: 64px;
  object-fit: contain;
}
.footer-logo .brand-type small {
  color: #b7c2cd;
}
.footer-caption {
  line-height: 1.8;
  margin: 14px 0 0;
  color: #b7c2cd;
}
.footer-links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-links a {
  text-decoration: none;
  transition: color 200ms;
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 23px;
  border-top: 1px solid #ffffff25;
  color: #b7c2cd;
  line-height: 1.7;
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom span {
  color: #dce1e5;
}
.footer-bottom a {
  color: inherit;
}
.thank-main {
  padding-block: 65px 82px;
  min-height: calc(100svh - 310px);
  display: grid;
  align-items: center;
}
.thank-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  min-height: 500px;
}
.thank-copy {
  padding-block: 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.thank-copy h1 {
  margin-bottom: 26px;
}
.thank-copy .lead {
  max-width: 380px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 32px;
}
.button {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 35px;
  background: var(--ink);
  color: #fff;
  padding: 16px 24px;
  font-weight: 600;
  text-decoration: none;
  transition: background 220ms;
}
.button:hover {
  background: var(--blue);
}
.thank-secondary {
  margin: 26px 0 0;
  color: var(--muted);
  line-height: 1.8;
}
.thank-art {
  margin: 0;
  position: relative;
  background: var(--paper);
  overflow: hidden;
  min-height: 420px;
}
.thank-art img {
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 48% center;
  transition: transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.thank-art:hover img {
  transform: scale(1.035);
}
.thank-art::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 94px;
  height: 4px;
  background: var(--gold);
}
.thank-art figcaption {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  color: #fff;
  padding: 85px 32px 29px;
  background: linear-gradient(transparent, #0b1c2dcc);
  letter-spacing: -0.01em;
}
.thank-art figcaption span {
  display: block;
  margin-top: 4px;
  letter-spacing: 0.02em;
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 80px);
  }
  .legal-layout {
    gap: 55px;
    grid-template-columns: 240px minmax(0, 1fr);
  }
  .nav {
    gap: 25px;
  }
  .thank-panel {
    gap: 44px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 110px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    min-height: 82px;
    gap: 15px;
  }
  .brand {
    gap: 11px;
  }
  .brand-logo {
    width: 51px;
    height: 53px;
  }
  .brand-type small {
    letter-spacing: 1.05px;
  }
  .nav {
    gap: 16px;
  }
  .nav .nav-contact {
    padding: 11px 13px;
    gap: 13px;
  }
  .nav .nav-home,
  .nav .nav-alpha {
    display: none;
  }
  .legal-hero {
    padding: 24px 0 44px;
  }
  .back-link {
    margin-bottom: 35px;
  }
  .eyebrow {
    margin-bottom: 22px;
  }
  .hero-meta {
    gap: 10px 20px;
  }
  .hero-meta span + span {
    padding-left: 20px;
  }
  .legal-layout {
    display: block;
    padding-top: 36px;
    padding-bottom: 58px;
  }
  .legal-index {
    position: static;
    max-height: none;
    overflow: visible;
    margin-bottom: 48px;
    padding-right: 0;
  }
  .toc {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 24px;
  }
  .toc li:last-child {
    border-bottom: 0;
  }
  .toc a {
    padding-block: 11px;
  }
  .legal-help {
    max-width: 360px;
  }
  .legal-section {
    padding: 28px 0 20px;
  }
  .footer-top {
    padding-block: 34px;
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-links {
    gap: 15px 27px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
  .thank-main {
    padding-block: 34px 50px;
  }
  .thank-panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .thank-copy {
    padding-block: 18px 0;
  }
  .button {
    min-height: 54px;
  }
  .thank-art {
    min-height: 0;
    aspect-ratio: 1.25;
  }
  .thank-art figcaption {
    padding-inline: 24px;
  }
}
@media (max-width: 400px) {
  .brand-type small {
    letter-spacing: 0.8px;
  }
  .brand-logo {
    width: 46px;
    height: 48px;
  }
  .nav .nav-contact {
    padding: 10px;
  }
  .toc {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-meta {
    display: block;
  }
  .hero-meta span {
    display: block;
  }
  .hero-meta span + span {
    margin-top: 8px;
    padding-left: 0;
    border: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .back-link:hover .ui-icon,
  .thank-art:hover img {
    transform: none;
  }
}
@media print {
  .site-header,
  .legal-index,
  .site-footer,
  .skip-link,
  .back-link {
    display: none;
  }
  .legal-hero {
    background: #fff;
    color: #111;
    padding: 0 0 20px;
  }
  .legal-hero .eyebrow,
  .hero-meta {
    color: #333;
  }
  .container {
    width: 100%;
  }
  .legal-layout {
    display: block;
    padding: 30px 0;
  }
  .legal-copy {
    max-width: none;
  }
  .legal-section {
    break-inside: avoid;
  }
  .legal-section a {
    color: #111;
  }
  .hero-meta span + span {
    border-color: #aaa;
  }
}

/* The same readable scale as Alta's main site and service pages. */
body {
  font-size: var(--type-body);
  line-height: var(--leading-body);
}
h1,
.thank-copy h1 {
  font-size: var(--type-display);
  line-height: var(--leading-display);
}
.brand-type strong {
  font-size: var(--type-brand);
}
.brand-type small {
  font-size: var(--type-brand-caption);
  letter-spacing: 0.065em;
}
.nav a,
.back-link,
.eyebrow,
.hero-meta,
.index-heading,
.toc a,
.legal-help,
.legal-help strong,
.footer-caption,
.footer-links a,
.button,
.thank-secondary {
  font-size: var(--type-small);
}
.legal-section h2 {
  font-size: var(--type-heading);
  line-height: 1.4;
}
.legal-section h3 {
  font-size: var(--type-body);
}
.legal-section p,
.legal-section li {
  font-size: var(--type-body);
  line-height: var(--leading-body);
}
.thank-copy .lead {
  font-size: var(--type-lead);
}
.footer-bottom,
.thank-art figcaption span {
  font-size: var(--type-caption);
}
.thank-art figcaption {
  font-size: var(--type-heading);
}
.toc a,
.back-link,
.footer-links a {
  min-height: 44px;
}
.toc a {
  display: flex;
  align-items: center;
}
.back-link {
  align-items: center;
}
.thank-copy .back-link {
  align-self: flex-start;
  margin-bottom: 32px;
}
.legal-help {
  line-height: 1.8;
}
.legal-section {
  scroll-margin-top: 125px;
}
@media (max-width: 1200px) {
  .brand-type strong {
    font-size: var(--type-lead);
  }
}
@media (max-width: 760px) {
  .brand-type strong {
    font-size: var(--type-body);
  }
  .brand-type small {
    display: none;
  }
  .nav .nav-contact {
    font-size: var(--type-small);
  }
  h1,
  .thank-copy h1 {
    font-size: var(--type-display);
  }
}
@media (max-width: 400px) {
  .header-inner {
    gap: 9px;
  }
  .brand {
    gap: 8px;
  }
  .brand-logo {
    width: 46px;
    height: 48px;
  }
  .brand-type strong {
    font-size: var(--type-body);
  }
}
@media (max-width: 360px) {
  .nav {
    display: none;
  }
}

/* Keep the legal text, return links and brand inside their available columns. */
.header-inner > *,
.legal-layout > *,
.thank-panel > *,
.footer-top > *,
.brand-type,
.footer-links,
.footer-bottom > * {
  min-width: 0;
}
.brand {
  min-width: 0;
  flex-shrink: 1;
}
.brand-logo,
.footer-logo img {
  flex-shrink: 0;
}
h1,
h2,
h3,
.brand-type,
.toc a,
.legal-section p,
.legal-section li,
.footer-caption,
.footer-bottom,
.thank-copy .lead {
  overflow-wrap: anywhere;
}
.button,
.back-link,
.footer-logo {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.footer-top,
.footer-bottom {
  flex-wrap: wrap;
}
@media (max-width: 560px) {
  .toc {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-height: 600px) {
  .legal-index {
    position: static;
    max-height: none;
    overflow: visible;
  }
}
