:root {
  --ink: #04101c;
  --muted: #4b5563;
  --line: #e5e7eb;
  --soft: #f6f7f8;
  --bg: #ffffff;
  --max: 960px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}

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

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

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

a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--muted); }

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

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

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand img { width: 150px; }
.nav { display: flex; gap: 24px; }
.nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav a[aria-current="page"] { text-decoration: underline; }

/* Home */
.hero { padding: 112px 0 96px; }
.hero h1 {
  margin: 0 0 24px;
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero p {
  margin: 0;
  max-width: 38em;
  font-size: 20px;
  color: var(--muted);
}

.label {
  display: block;
  margin: 0 0 32px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.section { padding: 80px 0; border-top: 1px solid var(--line); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 32px;
}
.grid h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.grid p { margin: 0; color: var(--muted); }
.grid .num {
  display: block;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.split h2 { margin: 0; font-size: 28px; font-weight: 600; line-height: 1.25; }
.split p { margin: 0 0 16px; color: var(--muted); }
.split p:last-child { margin-bottom: 0; }
.split a { color: var(--ink); }

.split h2 + p { margin-top: 16px; }

/* Contact form */
.contact-form { display: grid; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 14px; font-weight: 500; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid #d1d5db;
  border-radius: 8px;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2304101c' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.button {
  justify-self: start;
  padding: 14px 28px;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}
.button:hover { background: #1f2937; }
.form-note { margin: 0; font-size: 14px; color: var(--muted); }

/* Text pages (privacy, support) */
.page { padding: 72px 0 96px; }
.page .wrap { max-width: 720px; }
.page h1 {
  margin: 0 0 8px;
  font-size: clamp(34px, 6vw, 48px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.page .meta { margin: 0 0 48px; color: var(--muted); font-size: 15px; }
.page h2 { margin: 48px 0 12px; font-size: 21px; font-weight: 600; }
.page p, .page li { color: #1f2937; }
.page ul { padding-left: 20px; }
.page li { margin-bottom: 6px; }

.callout {
  margin: 0 0 40px;
  padding: 24px;
  background: var(--soft);
  border-radius: 12px;
}
.callout p { margin: 0 0 8px; }
.callout p:last-child { margin-bottom: 0; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  font-size: 14px;
  color: var(--muted);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}
.site-footer nav { display: flex; gap: 20px; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand img { width: 120px; }
  .nav { gap: 16px; }
  .hero { padding: 72px 0 64px; }
  .hero p { font-size: 18px; }
  .section { padding: 56px 0; }
  .grid, .split { grid-template-columns: 1fr; }
  .grid { gap: 40px; }
  .field-row { grid-template-columns: 1fr; }
}
