:root {
  --bg: #f6f1e7;
  --surface: #efe7d8;
  --ink: #1f1a14;
  --muted: #6b6153;
  --line: #d9cfbd;
  --accent: #3f6b4a;
  --accent-ink: #f6f1e7;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14120f;
    --surface: #1c1915;
    --ink: #efe8db;
    --muted: #a39886;
    --line: #2e2922;
    --accent: #8fbf98;
    --accent-ink: #14120f;
  }
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--accent);
}

/* ---------- One-screen landing ---------- */

.screen {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 16px;
  gap: 20px;
}

.mark {
  width: 56px;
  height: 56px;
  color: var(--accent);
}

.wordmark {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
}

.tagline {
  max-width: 34ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.cta:hover {
  color: var(--accent-ink);
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ---------- Company site ---------- */

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: 1.25rem;
}

.brand svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--accent);
}

.page-hero {
  padding: 80px 0 64px;
}

.page-hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 7vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  max-width: 16ch;
}

.page-hero p {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 28px;
}

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

.section h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 12px;
}

.section .lead {
  color: var(--muted);
  max-width: 60ch;
  margin: 0 0 36px;
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.card h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  border-top: 2px solid var(--accent);
  padding-top: 16px;
}

.steps li::before {
  content: "0" counter(step);
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 4px;
}

.steps strong {
  display: block;
  margin-bottom: 4px;
}

.steps span {
  color: var(--muted);
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px 32px;
  margin: 0;
}

.facts dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.facts dd {
  margin: 4px 0 0;
}

.contact-box {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.contact-box address {
  font-style: normal;
}

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  padding: 20px 16px;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  align-items: center;
}

.footer address {
  font-style: normal;
}

.footer nav {
  display: flex;
  gap: 20px;
}

/* ---------- Legal pages ---------- */

.legal {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 16px 64px;
}

.legal .back {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.legal h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 6vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.legal .updated {
  color: var(--muted);
  margin: 0 0 40px;
}

.legal h2 {
  font-size: 1.1rem;
  margin: 36px 0 8px;
}

.legal p,
.legal ul {
  margin: 0 0 12px;
}

.legal ul {
  padding-left: 20px;
}
