:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --ink: #111111;
  --muted: #68645e;
  --line: #e1ddd4;
  --white: #ffffff;
  --blue: #0ea5e9;
  --blue-deep: #126fd1;
  --shadow: 0 20px 60px rgba(17, 17, 17, 0.1);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  background: var(--paper);
  color: var(--ink);
  margin: 0;
  min-width: 320px;
}

body {
  min-height: 100vh;
}

.home-page {
  height: 100dvh;
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid rgba(14, 165, 233, 0.35);
  outline-offset: 4px;
}

.home-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100dvh;
  overflow: hidden;
  position: relative;
}

.home-shell::before {
  background-image: url("./assets/seven-logo-transparent.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  height: min(70vw, 760px);
  opacity: 0.055;
  position: absolute;
  right: -14vw;
  top: 10vh;
  width: min(70vw, 760px);
}

.site-header {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 34px clamp(22px, 5vw, 56px);
  position: relative;
  width: 100%;
  z-index: 2;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1.05rem;
  font-weight: 780;
  gap: 12px;
}

.brand-mark {
  align-items: center;
  background: #111111;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.14);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  overflow: hidden;
  width: 42px;
}

.brand-mark img {
  display: block;
  height: 34px;
  width: 34px;
}

.nav-pill {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  box-shadow: var(--shadow);
  display: inline-flex;
  gap: 2px;
  padding: 7px;
}

.nav-pill a {
  border-radius: 999px;
  color: #403d39;
  font-size: 0.92rem;
  font-weight: 740;
  line-height: 1;
  padding: 12px 16px;
  transition:
    background 160ms ease,
    color 160ms ease;
  white-space: nowrap;
}

.nav-pill a:hover {
  background: #111111;
  color: #ffffff;
}

.home-main {
  align-items: center;
  display: flex;
  margin: 0 auto;
  max-width: 1180px;
  padding: 12px clamp(22px, 5vw, 56px);
  position: relative;
  width: 100%;
  z-index: 1;
}

.intro-panel {
  max-width: 680px;
}

.eyebrow {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 860;
  letter-spacing: 0.18em;
  line-height: 1.35;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.intro-panel h1 {
  font-size: clamp(5.8rem, 16vw, 11.5rem);
  letter-spacing: 0;
  line-height: 0.85;
  margin: 0;
}

.hero-text {
  color: var(--muted);
  font-size: clamp(1.14rem, 2.2vw, 1.45rem);
  font-weight: 650;
  line-height: 1.42;
  margin: 28px 0 0;
  max-width: 650px;
}

.hero-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-links a {
  align-items: center;
  border: 1px solid #111111;
  border-radius: 8px;
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 800;
  min-height: 48px;
  padding: 0 18px;
}

.hero-links a:first-child {
  background: #111111;
  color: #ffffff;
}

.hero-links a:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
}

.home-footer {
  color: var(--muted);
  margin: 0 auto;
  max-width: 1180px;
  padding: 24px clamp(22px, 5vw, 56px) 34px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.home-footer p {
  font-size: 0.95rem;
  font-weight: 680;
  margin: 0;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 980px;
  padding: 30px clamp(22px, 5vw, 56px);
}

.site-footer p {
  font-weight: 800;
  margin: 0;
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.site-footer a {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 720;
}

.site-footer a:hover,
.legal-content a:hover {
  color: var(--blue-deep);
}

.legal-page {
  margin: 0 auto;
  max-width: 980px;
  padding: 62px clamp(22px, 5vw, 56px) 44px;
}

.legal-hero {
  border-bottom: 1px solid var(--line);
  padding-bottom: 36px;
}

.legal-hero h1 {
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0;
}

.legal-hero p:last-child {
  color: var(--muted);
  font-weight: 680;
  margin: 20px 0 0;
}

.legal-content {
  padding: 24px 0 16px;
}

.legal-content h2 {
  font-size: 1.32rem;
  line-height: 1.25;
  margin: 32px 0 12px;
}

.legal-content p,
.legal-content li {
  color: #4f4b45;
  font-size: 1.04rem;
  font-weight: 520;
  line-height: 1.72;
}

.legal-content p {
  margin: 0 0 16px;
}

.legal-content ul {
  margin: 0 0 18px;
  padding-left: 22px;
}

.legal-content a {
  color: var(--blue-deep);
  font-weight: 760;
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding-bottom: 18px;
    padding-top: 22px;
  }

  .nav-pill {
    max-width: 100%;
    overflow-x: auto;
  }

  .nav-pill a {
    padding: 12px 14px;
  }

  .home-main {
    align-items: start;
    padding-top: 34px;
  }

  .home-shell::before {
    height: 380px;
    opacity: 0.06;
    right: -160px;
    top: 260px;
    width: 380px;
  }

  .intro-panel h1 {
    font-size: clamp(4.6rem, 28vw, 6.6rem);
  }

  .hero-text {
    font-size: 1.08rem;
    margin-top: 22px;
  }

  .hero-links {
    align-items: stretch;
    flex-direction: column;
    margin-top: 28px;
  }

  .hero-links a {
    justify-content: center;
    width: 100%;
  }

  .home-footer {
    padding-bottom: 22px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .site-footer div {
    justify-content: flex-start;
  }
}

@media (max-height: 620px) {
  .site-header {
    padding-bottom: 12px;
    padding-top: 18px;
  }

  .home-main {
    padding-top: 8px;
  }

  .intro-panel h1 {
    font-size: clamp(4rem, 16vw, 7.4rem);
  }

  .hero-text {
    margin-top: 18px;
  }

  .hero-links {
    margin-top: 20px;
  }

  .home-footer {
    padding-bottom: 18px;
    padding-top: 12px;
  }
}
