/* Ouros Solutions: hand-rolled styles, no framework */
:root {
  --paper: #f4f1ea;
  --paper-2: #ebe6db;
  --ink: #14211d;
  --ink-soft: #4a5752;
  --line: #d6cfc0;
  --accent: #2c6e60;
  --accent-ink: #f4f1ea;
  --gold: #b9852f;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
}
a { color: var(--accent); }
a:hover { color: var(--ink); }
img, svg { display: block; max-width: 100%; }

.wrap { width: 100%; 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; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand svg { width: 32px; height: 32px; }
.brand span { font: 500 20px/1 var(--serif); letter-spacing: 0.01em; }
.nav { display: flex; gap: 28px; font-size: 15px; }
.nav a { color: var(--ink-soft); text-decoration: none; }
.nav a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 96px 0 88px; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; }
.eyebrow { font: 500 13px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin: 0 0 20px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; margin: 0; }
h1 { font-size: clamp(38px, 5.4vw, 62px); letter-spacing: -0.01em; }
h1 em { font-style: italic; color: var(--accent); }
.lede { font-size: 19px; color: var(--ink-soft); max-width: 34em; margin: 24px 0 36px; }
.btn {
  display: inline-block; padding: 14px 24px; border-radius: 999px;
  background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 500;
}
.btn:hover { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); margin-left: 12px; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.hero-mark { justify-self: center; width: min(340px, 100%); }

/* Sections */
section { padding: 88px 0; border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); }
.section-head p { color: var(--ink-soft); margin: 0; font-size: 18px; }

.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.service { padding: 32px 32px 36px 0; border-bottom: 1px solid var(--line); }
.service:nth-child(odd) { padding-right: 40px; border-right: 1px solid var(--line); }
.service:nth-child(even) { padding-left: 40px; }
.service .num { font: 500 13px/1 var(--mono); color: var(--gold); margin-bottom: 18px; }
.service h3 { font-size: 26px; margin-bottom: 12px; }
.service p { margin: 0 0 14px; color: var(--ink-soft); }
.service ul { margin: 0; padding: 0; list-style: none; font-size: 15px; }
.service li { padding: 4px 0 4px 18px; position: relative; }
.service li::before { content: ""; position: absolute; left: 0; top: 14px; width: 8px; height: 1px; background: var(--accent); }

.alt { background: var(--paper-2); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.step { border-top: 1px solid var(--ink); padding-top: 20px; }
.step h3 { font-size: 23px; margin-bottom: 10px; }
.step h3::before { counter-increment: step; content: "0" counter(step); display: block; font: 500 13px/1 var(--mono); color: var(--gold); margin-bottom: 14px; }
.step p { margin: 0; color: var(--ink-soft); }

.terms-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 48px; margin-top: 56px; }
.terms-grid div { padding: 18px 0; border-top: 1px solid var(--line); }
.terms-grid strong { display: block; font-weight: 500; margin-bottom: 4px; }
.terms-grid span { color: var(--ink-soft); font-size: 16px; }

.about { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; }
.about p { margin: 0 0 16px; font-size: 18px; color: var(--ink-soft); }

.contact { background: var(--ink); color: var(--paper); border-bottom: 0; }
.contact .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: end; }
.contact h2 { font-size: clamp(32px, 4.4vw, 52px); }
.contact p { color: #b9c2bd; font-size: 18px; margin: 20px 0 0; }
.contact dl { margin: 0; }
.contact dt { font: 500 12px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-top: 20px; }
.contact dd { margin: 6px 0 0; font-size: 18px; }
.contact a { color: var(--paper); }
.contact .btn { background: var(--paper); color: var(--ink); margin-top: 28px; }
.contact .btn:hover { background: var(--gold); color: var(--ink); }

/* Footer */
.site-footer { padding: 28px 0 40px; font-size: 14px; color: var(--ink-soft); }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--ink-soft); }

/* Legal pages */
.legal { padding: 72px 0 96px; border-bottom: 0; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 4.4vw, 48px); margin-bottom: 8px; }
.legal .updated { font: 13px/1.4 var(--mono); color: var(--ink-soft); margin-bottom: 40px; }
.legal h2 { font-size: 24px; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--ink-soft); }

@media (max-width: 820px) {
  .nav { display: none; }
  .hero { padding: 64px 0 56px; }
  .hero .wrap, .section-head, .about, .contact .wrap { grid-template-columns: 1fr; gap: 28px; }
  .hero-mark { width: 200px; justify-self: start; order: -1; }
  section { padding: 64px 0; }
  .services, .steps, .terms-grid { grid-template-columns: 1fr; }
  .service, .service:nth-child(odd), .service:nth-child(even) { padding: 28px 0; border-right: 0; }
  .btn-ghost { margin: 12px 0 0; }
}
