/* The White Box — one-pager. Tokens from DESIGN.md. No JavaScript, no external requests. */

@font-face {
  font-family: "EB Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/eb-garamond-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/inter-400-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #111111;
  --paper: #ffffff;
  --muted: #4a4843;
  --hairline: #e6e3dc;
  --accent: #8a6d2f;
  --ink-hover: #2a2a2a;

  --font-display: "EB Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --container: 1100px;
  --gutter: 24px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Layout: full-height column */

.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* Header */

.site-header {
  padding: 28px 0;
}

.logo {
  display: inline-block;
  line-height: 0;
}

.logo img {
  display: block;
  height: 28px;
  width: auto;
}

/* Main */

.site-main {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  padding: 64px 0 80px;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 28px;
  max-width: 14ch;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.lead {
  margin: 0 0 40px;
  max-width: 60ch;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  padding: 0 28px;
  background: var(--ink);
  color: var(--paper);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  border-radius: 0;
  transition: background-color 120ms ease;
}

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

.button-icon {
  flex: none;
}

.secondary {
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.secondary:hover {
  text-decoration-thickness: 2px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 22px 0;
  font-size: 14px;
  color: var(--muted);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 32px;
}

.footer-company {
  margin: 0;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Small screens */

@media (max-width: 600px) {
  .site-header {
    padding: 22px 0;
  }

  .site-main {
    padding: 40px 0 56px;
  }

  .lead {
    font-size: 17px;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    justify-content: center;
  }

  .secondary {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}
