/* Hallmark · prépublication P4 H5 E4 S4 R5 V4. */
:root {
  color-scheme: light;
  --paper: #f8f5ee;
  --ink: #241c19;
  --muted: #594943;
  --line: #cfc1b8;
  --red: #882f2c;
  --red-dark: #6a221f;
  --red-deep: #4a1d1b;
  --white: #fff9f3;
  --blush: #eed7cc;
  --picture: #e0d5c7;
  --display: Georgia, "DejaVu Serif", serif;
  --body: system-ui, sans-serif;
  --page-gutter: clamp(1rem, 4vw, 3.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.6 var(--body);
}

h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: .15rem solid currentColor; outline-offset: .23rem; }
img { display: block; width: 100%; height: auto; }

.frame {
  width: min(82rem, calc(100% - 2 * var(--page-gutter)));
  margin-inline: auto;
}

.skip {
  position: fixed;
  z-index: 1;
  top: .5rem;
  left: var(--page-gutter);
  padding: .55rem .8rem;
  transform: translateY(-160%);
  color: var(--white);
  background: var(--red);
}

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

.masthead {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .6rem 1rem;
  min-height: 5rem;
  padding-block: .75rem;
  border-bottom: 1px solid var(--line);
}

.wordmark { width: min(15.625rem, 52%); }

nav { display: flex; gap: clamp(.85rem, 3vw, 2.25rem); }
nav a { padding-block: .4rem; text-decoration: none; white-space: nowrap; }
nav a:hover { text-decoration: underline; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .89fr) minmax(0, 1.11fr);
  align-items: center;
  gap: clamp(1.6rem, 4.5vw, 4.5rem);
  padding-block: clamp(2rem, 5.3vw, 4.75rem);
}

.intro { min-width: 0; }

.eyebrow {
  color: var(--red);
  font-size: .875rem;
  font-weight: 650;
  letter-spacing: .095em;
  text-transform: uppercase;
}

h1 {
  margin-block: .95rem 1.3rem;
  font: normal 400 clamp(3.25rem, 7vw, 7.4rem)/.94 var(--display);
  letter-spacing: -.06em;
  overflow-wrap: anywhere;
}

.period { color: var(--red); }

.lede {
  max-width: 31ch;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.55vw, 1.26rem);
}

.button {
  display: inline-block;
  margin-top: 1.65rem;
  padding: .75rem 1.15rem;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
  font-size: .9rem;
  font-weight: 600;
}

.button:hover { background: var(--red-dark); }
.button:active { background: var(--red-deep); }
.button:focus-visible { outline-color: var(--red); }

.hero-image { overflow: clip; background: var(--picture); }
.hero-image img { aspect-ratio: 4 / 3; object-fit: cover; }

.software {
  display: grid;
  grid-template-columns: minmax(0, .48fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(1.8rem, 4.5vw, 4rem) clamp(2.25rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
}

.software h2 { padding-top: .55rem; }
.software h3 {
  margin-bottom: .45rem;
  font: normal 400 clamp(2rem, 3.2vw, 3.25rem)/1.1 var(--display);
  letter-spacing: -.05em;
  overflow-wrap: anywhere;
}

.software p { max-width: 35ch; color: var(--muted); }
.text-link {
  display: inline-block;
  margin-top: .65rem;
  color: var(--red);
  font-weight: 650;
  white-space: nowrap;
}

.text-link:hover { color: var(--red-dark); text-decoration-thickness: .12em; }

footer {
  background: var(--red-deep);
  color: var(--white);
}

.footer-content {
  display: grid;
  grid-template-columns: minmax(0, .89fr) minmax(0, 1.11fr);
  gap: 2rem clamp(1.6rem, 4.5vw, 4.5rem);
  padding-block: clamp(2rem, 4.5vw, 3.75rem);
}

.contact h2 {
  margin-bottom: .7rem;
  font: normal 400 2.25rem/1.1 var(--display);
  letter-spacing: -.04em;
}

.contact a { display: table; margin-bottom: .35rem; white-space: nowrap; }
footer a:hover { color: var(--blush); }

.legal h2 { font-size: .94rem; }
.legal p {
  margin-top: .45rem;
  max-width: 68ch;
  color: var(--blush);
  font-size: .9rem;
}

.legal strong { color: var(--white); }

@media (max-width: 750px) {
  .hero, .footer-content { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 2.2rem; }

  h1 { font-size: clamp(3.2rem, 12vw, 5.75rem); }

  .software { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .software h2 { grid-column: 1 / -1; padding-top: 0; }
}

@media (max-width: 480px) {
  .masthead { gap: .5rem; min-height: 3.8rem; }
  nav { gap: .65rem; font-size: .875rem; }
  .software { grid-template-columns: minmax(0, 1fr); }
  .software article + article { padding-top: 1.4rem; border-top: 1px solid var(--line); }
}
