:root {
  --ink: #171718;
  --muted: #696966;
  --paper: #f3f1ec;
  --white: #fff;
  --blue: #4f5fff;
  --line: rgba(23, 23, 24, .13);
  --wrap: 1040px;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
::selection { color: var(--white); background: var(--blue); }
:focus-visible { outline: 3px solid rgba(79, 95, 255, .4); outline-offset: 4px; }

.shell {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
  padding: 150px 0 70px;
}

.topnav {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(1200px, calc(100% - 32px));
  height: 86px;
  padding: 0 20px 0 30px;
  border: 1px solid rgba(23, 23, 24, .14);
  border-radius: 32px;
  background: rgba(218, 220, 223, .58);
  box-shadow: 0 10px 34px rgba(22, 21, 19, .07);
  backdrop-filter: blur(8px) saturate(115%);
  -webkit-backdrop-filter: blur(8px) saturate(115%);
  transform: translateX(-50%);
}

.topnav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 10px;
  color: var(--white);
  background: var(--ink);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, transform .2s ease;
}

.topnav a:hover,
.topnav a:focus-visible {
  background: var(--blue);
  transform: translateY(-1px);
}

.topnav .legal-brand {
  color: #101113;
  text-shadow: 0 1px 3px rgba(255, 255, 255, .55);
  justify-content: flex-start;
  margin-right: auto;
  padding: 0;
  background: transparent;
}

.topnav .legal-brand:hover,
.topnav .legal-brand:focus-visible {
  background: transparent;
  transform: none;
}

.legal-brand-logo {
  display: grid;
  line-height: 1;
}

.legal-brand-logo strong {
  font-size: 1.75rem;
  font-weight: 850;
  letter-spacing: -.055em;
}

.legal-brand-logo small {
  margin-top: 3px;
  padding-left: .03em;
  font-size: .57rem;
  font-weight: 750;
  letter-spacing: .34em;
}

h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(3.3rem, 7vw, 6.3rem);
  font-weight: 620;
  letter-spacing: -.065em;
  line-height: .92;
}

.lead {
  max-width: 650px;
  margin: 26px 0 54px;
  color: var(--muted);
  font-size: 1.04rem;
}

.card {
  margin-bottom: 10px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .5);
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  background: var(--white);
  box-shadow: 0 16px 44px rgba(24, 23, 20, .06);
  transform: translateY(-2px);
}

h2 {
  margin: 0 0 13px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.025em;
}

p { margin: 0 0 12px; color: #565653; }
p:last-child { margin-bottom: 0; }
strong { color: var(--ink); }
.muted { color: var(--muted); }

ul {
  margin: 4px 0 12px 20px;
  padding: 0;
  color: #565653;
}

li { margin-bottom: 5px; padding-left: 3px; }

.card a,
footer a {
  color: var(--blue);
  text-underline-offset: 3px;
}

.card a:hover,
.card a:focus-visible,
footer a:hover,
footer a:focus-visible {
  color: var(--ink);
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .7rem;
}

.footer-brand {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}


.footer-links {
  display: flex;
  justify-self: end;
  gap: 18px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 700px) {
  .shell { width: calc(100% - 28px); padding: 118px 0 48px; }
  .topnav { top: 10px; width: calc(100% - 20px); height: 78px; padding: 0 10px 0 20px; border-radius: 28px; }
  .topnav a { min-height: 46px; padding-inline: 12px; font-size: .58rem; }
  .legal-brand-logo strong { font-size: 1.6rem; }
  .legal-brand-logo small { font-size: .52rem; }
  h1 { font-size: clamp(3.1rem, 16vw, 5.2rem); }
  .lead { margin-bottom: 38px; }
  .card { padding: 23px 19px; }
  footer { grid-template-columns: 1fr; align-items: start; }
  .footer-links { justify-self: start; }
}

@media (max-width: 430px) {
  .topnav a { padding-inline: 9px; letter-spacing: .06em; }
}
