:root {
  --ink: #0a0a0a;
  --paper: #ffffff;
  --muted: #5c5c5c;
  --line: #e4e4e4;
  --soft: #f4f4f2;
  --radius: 14px;
  --max: 1080px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

img { max-width: 100%; height: auto; display: block; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 68px;
}
.brand img { height: 32px; width: auto; }
.nav { display: flex; gap: 22px; font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }

/* Hero */
.hero { background: var(--ink); color: var(--paper); padding: 96px 0 88px; }
.hero .sign { width: 100%; max-width: 560px; margin: 0 0 40px; }
.hero h1 {
  font-size: clamp(30px, 5vw, 52px); line-height: 1.1; font-weight: 800;
  letter-spacing: -0.01em; margin: 0 0 18px; max-width: 18ch;
}
.hero p { font-size: 19px; color: #cfcfcf; max-width: 56ch; margin: 0 0 32px; }
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  background: var(--paper); color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: 15px; letter-spacing: .02em;
  border: 2px solid var(--paper);
}
.btn:hover { background: transparent; color: var(--paper); }

/* Sections */
section { padding: 80px 0; }
section + section { border-top: 1px solid var(--line); }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 10px;
}
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; font-weight: 800; margin: 0 0 20px; letter-spacing: -0.01em; }
h3 { font-size: 19px; font-weight: 700; margin: 0 0 8px; }
.lead { font-size: 19px; max-width: 62ch; }

.ave {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px;
}
.ave .card {
  border: 3px solid var(--ink); border-radius: var(--radius); padding: 26px 24px;
}
.ave .letter { font-size: 44px; font-weight: 800; line-height: 1; margin-bottom: 14px; }
.ave p { margin: 0; color: var(--muted); font-size: 16px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }

.details {
  background: var(--soft); border-radius: var(--radius); padding: 28px; margin: 0;
}
.details div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.details div:last-child { border-bottom: 0; }
.details dt { font-weight: 700; font-size: 14px; letter-spacing: .03em; }
.details dd { margin: 0; }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list strong { display: block; font-size: 14px; letter-spacing: .03em; }

/* Legal pages */
.legal { padding: 64px 0 88px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.1; font-weight: 800; margin: 0 0 8px; }
.legal .meta { color: var(--muted); margin: 0 0 40px; font-size: 15px; }
.legal h2 { font-size: 22px; margin: 44px 0 12px; }
.legal h3 { margin-top: 24px; }
.legal li { margin-bottom: 6px; }
.legal .box { background: var(--soft); border-radius: var(--radius); padding: 20px 24px; margin: 24px 0; }

/* Footer */
.site-footer { background: var(--ink); color: #bdbdbd; padding: 56px 0 40px; font-size: 14px; }
.site-footer .top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 32px; }
.site-footer img { height: 34px; width: auto; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .legal-line { border-top: 1px solid #2a2a2a; padding-top: 24px; line-height: 1.8; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { gap: 14px; font-size: 12px; }
  .nav .hide-sm { display: none; }
  .brand img { height: 26px; }
  .hero { padding: 64px 0 60px; }
  section { padding: 60px 0; }
  .ave, .grid-2 { grid-template-columns: 1fr; }
  .grid-2 { gap: 36px; }
  .details div { grid-template-columns: 1fr; gap: 2px; }
}
