/* ZuriDev site styles. Palette approved by the user, 4 Nov 2026 (plan 36, Q6). */

:root {
  --green: #0F3D2E;
  --green-soft: #1C5A45;
  --orange: #E8833A;
  --orange-deep: #C96A24;
  --sand: #F6F1E8;
  --sand-deep: #EDE4D3;
  --charcoal: #1E1E1E;

  --bg: var(--sand);
  --surface: #FFFFFF;
  --surface-alt: var(--sand-deep);
  --text: var(--charcoal);
  --text-muted: #55534E;
  --heading: var(--green);
  --line: #DDD3C1;
  --accent: var(--orange);
  --on-accent: #1E1E1E;
  --header-bg: var(--green);
  --header-text: #FFFFFF;
  --focus: #2B7FFF;

  --radius: 14px;
  --radius-small: 8px;
  --shadow: 0 1px 2px rgb(15 61 46 / 0.06), 0 8px 24px rgb(15 61 46 / 0.06);
  --max: 1120px;
  --gutter: 16px;

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Manrope', 'Inter', system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1F18;
    --surface: #12291F;
    --surface-alt: #163126;
    --text: #EDE8DE;
    --text-muted: #B4B0A6;
    --heading: #F6F1E8;
    --line: #24443A;
    --accent: #F0954F;
    --on-accent: #1E1E1E;
    --header-bg: #0F2A20;
    --header-text: #F6F1E8;
    --focus: #7FB2FF;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 8px 24px rgb(0 0 0 / 0.25);
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img,
svg {
  max-width: 100%;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--surface);
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius-small);
  z-index: 10;
}

.skip:focus {
  left: 8px;
}

/* Header */

.site-header {
  background: var(--header-bg);
  color: var(--header-text);
  position: sticky;
  top: 0;
  z-index: 5;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand-word {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.logo-mark {
  flex: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius-small);
  font-weight: 500;
  font-size: 0.98rem;
}

.site-nav a:hover {
  background: rgb(255 255 255 / 0.1);
}

.site-nav a[aria-current='page'] {
  box-shadow: inset 0 -2px 0 var(--accent);
  border-radius: 0;
}

.site-nav .nav-cta {
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  margin-left: 8px;
}

.site-nav .nav-cta:hover {
  background: var(--orange-deep);
  color: var(--on-accent);
}

.site-nav .nav-cta[aria-current='page'] {
  box-shadow: none;
  border-radius: var(--radius-small);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: var(--radius-small);
  width: 44px;
  height: 44px;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
  content: '';
}

.nav-toggle-bars::before {
  position: absolute;
  top: -6px;
}

.nav-toggle-bars::after {
  position: absolute;
  top: 6px;
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    flex-direction: column;
    align-items: stretch;
    background: var(--header-bg);
    padding: 8px var(--gutter) 16px;
    border-top: 1px solid rgb(255 255 255 / 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .site-nav a[aria-current='page'] {
    box-shadow: inset 3px 0 0 var(--accent);
  }

  .site-nav .nav-cta {
    margin: 8px 0 0;
    text-align: center;
  }
}

/* Kitenge-inspired band: thin zigzags and diamonds */

.band {
  height: 18px;
  background-color: var(--header-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='18' viewBox='0 0 36 18'%3E%3Cpath d='M0 9 L9 2 L18 9 L27 16 L36 9' fill='none' stroke='%23E8833A' stroke-width='1.4'/%3E%3Cpath d='M18 5 L21 9 L18 13 L15 9 Z' fill='none' stroke='%23F6F1E8' stroke-opacity='.7' stroke-width='1'/%3E%3Ccircle cx='0' cy='9' r='1.4' fill='%23F6F1E8' fill-opacity='.7'/%3E%3Ccircle cx='36' cy='9' r='1.4' fill='%23F6F1E8' fill-opacity='.7'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
}

/* Hero */

.hero {
  background: var(--header-bg);
  color: var(--header-text);
  padding: 56px 0 64px;
}

.hero h1 {
  color: var(--header-text);
  max-width: 16ch;
}

.hero-lede {
  font-size: clamp(1.1rem, 2.6vw, 1.3rem);
  max-width: 40ch;
  opacity: 0.92;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-art {
  color: var(--sand);
}

@media (max-width: 860px) {
  .hero {
    padding: 40px 0 48px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-art {
    max-width: 360px;
  }
}

.page-hero {
  background: var(--header-bg);
  color: var(--header-text);
  padding: 44px 0 48px;
}

.page-hero h1 {
  color: var(--header-text);
  max-width: 22ch;
}

.page-hero p {
  max-width: 60ch;
  opacity: 0.92;
  font-size: 1.15rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

/* Buttons */

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-decoration: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: center;
}

.button:hover {
  background: var(--orange-deep);
  color: var(--on-accent);
}

.button-quiet {
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 1.5px currentColor;
}

.button-quiet:hover {
  background: rgb(127 127 127 / 0.12);
  color: inherit;
}

/* Sections */

.section {
  padding: 64px 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-head {
  max-width: 60ch;
  margin-bottom: 32px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

@media (max-width: 600px) {
  .section {
    padding: 44px 0;
  }
}

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

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

.card p:last-child {
  margin-bottom: 0;
}

.card-icon {
  width: 48px;
  height: 48px;
  color: var(--heading);
  margin-bottom: 12px;
}

.card .button {
  margin-top: 8px;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.steps-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.steps li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 22px 72px;
  position: relative;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font-head);
  font-weight: 800;
  display: grid;
  place-items: center;
}

.steps h3 {
  margin-bottom: 4px;
}

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

.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 1em;
}

.ticks li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Ccircle cx='9' cy='9' r='9'/%3E%3C/svg%3E");
}

.ticks li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: calc(0.35em + 4px);
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--on-accent);
  border-bottom: 2px solid var(--on-accent);
  transform: rotate(-45deg);
}

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

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.callout {
  border-left: 4px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin: 24px 0;
}

.callout p:last-child {
  margin: 0;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgb(232 131 58 / 0.15);
  color: inherit;
}

.status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.planned {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-muted);
  vertical-align: middle;
  margin-left: 6px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tag-list li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.95rem;
}

.dev {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.dev code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  background: var(--surface-alt);
  padding: 1px 6px;
  border-radius: 4px;
}

.flow {
  color: var(--heading);
  width: 100%;
  height: auto;
}

/* Contact box (on every page) */

.contact-box {
  background: var(--surface-alt);
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.contact-box-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-box h2 {
  margin-bottom: 4px;
}

.contact-box p {
  margin: 0;
  color: var(--text-muted);
}

.contact-box-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Contact form */

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

.form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}

.form .optional {
  font-weight: 400;
  color: var(--text-muted);
}

.form input,
.form textarea {
  font: inherit;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  padding: 12px;
  width: 100%;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.contact-facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.contact-facts strong {
  display: block;
  font-family: var(--font-head);
  color: var(--heading);
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  margin-top: 1.6em;
  font-size: 1.4rem;
}

/* Footer */

.site-footer {
  background: var(--header-bg);
  color: var(--header-text);
}

.footer-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 24px;
}

.footer-brand p {
  margin: 10px 0 0;
  opacity: 0.85;
}

.footer-nav,
.footer-contact {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-nav a,
.footer-contact a {
  text-decoration: none;
  opacity: 0.9;
}

.footer-nav a:hover,
.footer-contact a:hover {
  text-decoration: underline;
}

.footer-contact span {
  opacity: 0.85;
}

.footer-legal {
  border-top: 1px solid rgb(255 255 255 / 0.12);
  padding-top: 16px;
  padding-bottom: 24px;
  font-size: 0.9rem;
  opacity: 0.75;
}

@media (max-width: 760px) {
  .footer-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
