:root {
  color-scheme: dark;
  --ink: #000814;
  --prussian: #001d3d;
  --oxford: #003566;
  --yellow: #ffc300;
  --gold: #ffd60a;
  --paper: #f6f4ed;
  --muted: #bec8d3;
  --line: rgb(246 244 237 / 16%);
  --product-yellow: #f8cd02;
  --product-charcoal: #272624;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--yellow);
}

a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
  border-radius: 2px;
}

button,
input,
textarea,
select {
  font: inherit;
}

.skip-link {
  position: absolute;
  z-index: 5;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  transform: translateY(-160%);
  color: var(--ink);
  background: var(--yellow);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer {
  width: min(100% - 3rem, 1120px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--paper);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-mark {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.25rem);
  font-size: 0.92rem;
}

.primary-nav a {
  color: var(--paper);
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--yellow);
}

main {
  width: min(100% - 3rem, 1120px);
  margin-inline: auto;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(690px, 76svh);
  align-content: center;
  padding-block: 5.5rem 6rem;
}

.hero::after {
  position: absolute;
  top: 25%;
  right: clamp(0rem, 7vw, 5.5rem);
  width: clamp(7rem, 17vw, 13rem);
  aspect-ratio: 1;
  border: 1px solid rgb(255 195 0 / 38%);
  content: "";
  pointer-events: none;
  transform: rotate(45deg) translate(11px, -7px);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--yellow);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

h1 {
  max-width: 800px;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 8vw, 6.8rem);
}

h1 span {
  color: var(--yellow);
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--yellow);
  border-radius: 3px;
  color: var(--ink);
  background: var(--yellow);
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
}

.button:hover {
  color: var(--ink);
  background: var(--gold);
}

.button-secondary {
  color: var(--paper);
  background: transparent;
}

.button-secondary:hover {
  color: var(--ink);
  background: var(--yellow);
}

.section {
  padding-block: clamp(4rem, 9vw, 7rem);
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 650px;
  margin-bottom: 2.4rem;
}

.section h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
}

.section-intro {
  color: var(--muted);
  font-size: 1.08rem;
}

.product-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  overflow: hidden;
  border-radius: 5px;
  color: var(--product-charcoal);
  background: var(--product-yellow);
}

.product-copy {
  padding: clamp(1.6rem, 5vw, 3.5rem);
}

.product-copy .eyebrow {
  color: var(--product-charcoal);
}

.product-copy h3 {
  margin-bottom: 0.6rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.product-copy p {
  max-width: 550px;
  margin-bottom: 1.5rem;
}

.product-copy a {
  color: var(--product-charcoal);
  font-weight: 750;
}

.product-side {
  display: grid;
  min-height: 230px;
  align-content: center;
  padding: 2rem;
  background: var(--product-charcoal);
  color: var(--product-yellow);
}

.product-side p {
  max-width: 260px;
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.site-footer {
  display: flex;
  min-height: 110px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.site-footer p {
  margin: 0;
}

.page-intro {
  padding-block: clamp(3.5rem, 8vw, 6rem) 2rem;
}

.page-intro h1 {
  max-width: 850px;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
}

.page-intro p:last-child {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.tool-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-block: 2.5rem 3rem;
}

.tool-group {
  min-height: 190px;
  padding: 1.4rem;
  border: 1px solid rgb(39 38 36 / 22%);
}

.tool-group h2 {
  margin-bottom: 0.8rem;
  font-size: 1.45rem;
}

.tool-group p {
  margin: 0;
  line-height: 1.5;
}

.product-page {
  color: var(--product-charcoal);
  background: var(--product-yellow);
}

.product-page .site-header,
.product-page .site-footer {
  border-color: rgb(39 38 36 / 24%);
}

.product-page .brand,
.product-page .primary-nav a {
  color: var(--product-charcoal);
}

.product-page .primary-nav a:hover,
.product-page .primary-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

.product-page main {
  padding-bottom: 4rem;
}

.product-page .eyebrow {
  color: var(--product-charcoal);
}

.product-page .page-intro p:last-child {
  color: rgb(39 38 36 / 82%);
}

.product-page .page-intro h1 span {
  color: var(--product-charcoal);
}

.product-page .page-intro h1 {
  color: var(--product-charcoal);
}

.product-page .tool-group {
  border-color: rgb(39 38 36 / 28%);
  background: rgb(255 255 255 / 18%);
}

.product-page .button {
  border-color: var(--product-charcoal);
  color: var(--product-yellow);
  background: var(--product-charcoal);
}

.product-page .button:hover {
  color: var(--product-charcoal);
  background: transparent;
}

.product-page .site-footer {
  color: var(--product-charcoal);
}

.product-page .site-footer a {
  color: var(--product-charcoal);
}

.privacy-content {
  padding-block: 1rem 5rem;
}

.privacy-content article {
  max-width: 790px;
  margin-inline: auto;
  color: var(--paper);
  overflow-wrap: anywhere;
}

.privacy-content article h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.privacy-content article h2 {
  margin-top: 2.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.privacy-content article p,
.privacy-content article li {
  color: #e0e5eb;
}

.privacy-content article li + li {
  margin-top: 0.4rem;
}

.privacy-content article ul {
  padding-left: 1.4rem;
}

.privacy-content article a {
  overflow-wrap: anywhere;
}

.support-panel {
  max-width: 720px;
  margin-block: 2rem 6rem;
  padding: clamp(1.5rem, 5vw, 3rem);
  border-left: 4px solid var(--yellow);
  background: var(--prussian);
}

.support-panel h2 {
  font-size: 1.7rem;
}

.support-panel p:last-child {
  margin-bottom: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (max-width: 700px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 2rem, 1120px);
  }

  .site-header {
    min-height: 76px;
    gap: 1rem;
  }

  .primary-nav {
    gap: 0.85rem;
    font-size: 0.84rem;
  }

  .brand {
    gap: 0.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.07em;
  }

  .brand-mark {
    width: 19px;
    height: 19px;
  }

  .hero {
    min-height: 590px;
    min-height: min(670px, 78svh);
    padding-block: 4rem;
  }

  .hero::after {
    top: 15%;
    right: 0.5rem;
    width: 5.5rem;
    opacity: 0.75;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-side {
    min-height: 150px;
  }

  .tool-groups {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .tool-group {
    min-height: 0;
  }

  .site-footer {
    min-height: 120px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 1.3rem;
  }
}

@media (max-width: 380px) {
  .site-header,
  .site-footer,
  main {
    width: min(100% - 1.5rem, 1120px);
  }

  .primary-nav {
    gap: 0.65rem;
    font-size: 0.78rem;
  }

  .brand {
    font-size: 0.7rem;
  }
}

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