/* buknal.com home page. Same tokens as legal.buknal.com and support.buknal.com, kept as its
   own file because this is a separate Cloudflare Pages project.
   System fonts only, no third-party requests.
   Layout follows a plain contact page: left-aligned heavy headline, one sentence, a coral
   pill holding the address itself, then three labelled contact columns.
   Accent is the brand coral, darkened in light mode so white button text passes WCAG AA
   (#d93a3a on white is 4.5:1). Coral is used only for the button and link text. */

:root {
  --ground: #ffffff;
  --ink: #17201a;
  --ink-soft: #3a453d;
  --muted: #5f6a62;
  --rule: #dfe4dd;
  --accent: #d93a3a;
  --accent-ink: #ffffff;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --step--2: 0.75rem;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  --step-hero: clamp(3.25rem, 1.6rem + 7vw, 6.5rem);

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0e1310;
    --ink: #e7ece7;
    --ink-soft: #c4ccc5;
    --muted: #97a299;
    --rule: #27302a;
    --accent: #ff5757;
    --accent-ink: #0e1310;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: var(--step-0)/1.6 var(--font);
  padding-inline: 16px;
}

a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }

/* ---------- Header ---------- */
.site-header { padding-block: 16px; }
.brand { display: inline-block; }
.brand img { display: block; height: 48px; width: auto; }
.brand:hover img { opacity: 0.85; }

/* ---------- Hero ---------- */
.hero { padding-block: 40px 48px; max-width: 760px; }
@media (min-width: 720px) {
  .hero { padding-block: clamp(56px, 12vh, 128px) 56px; }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--step-hero);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 0 0 24px;
}
.hero p {
  margin: 0 0 32px;
  max-width: 34em;
  color: var(--ink-soft);
  font-size: var(--step-1);
  text-wrap: pretty;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  font-size: var(--step-1);
  text-decoration: none;
}
.button:hover { filter: brightness(1.08); }
.button svg { width: 20px; height: 20px; flex: none; }

/* ---------- Contact columns ---------- */
.contacts {
  list-style: none;
  margin: 0;
  padding: 28px 0 48px;
  border-top: 1px solid var(--rule);
  display: grid;
  gap: 28px;
}
@media (min-width: 720px) {
  .contacts { grid-template-columns: repeat(2, minmax(0, 320px)); gap: 32px; }
}
.contacts h2 {
  margin: 0 0 4px;
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contacts a { font-size: var(--step--1); }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 20px 28px;
  color: var(--muted);
  font-size: var(--step--2);
}
