:root {
  --ink: #173b34;
  --paper: #fff8e8;
  --paper-deep: #f4ddac;
  --warm: #e87448;
  --muted: #755347;
  --line: rgba(23, 59, 52, .18);
  --max: 72rem;
}

* { box-sizing: border-box; }

html {
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.58;
  scroll-behavior: smooth;
}

body { margin: 0; }

a { color: inherit; text-decoration-thickness: .12em; text-underline-offset: .18em; }
a:hover { color: var(--warm); }

.wrap {
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: .75rem; font-weight: 800; text-decoration: none; }
.brand img { width: 2.6rem; height: 2.6rem; border-radius: .6rem; }
nav { display: flex; gap: 1.1rem; font-size: .9rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, .75fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(4rem, 10vw, 8rem);
  align-items: center;
}

.eyebrow {
  color: var(--warm);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; }
h1 { font-size: clamp(3rem, 8vw, 6.7rem); margin: .3rem 0 1.2rem; letter-spacing: -.055em; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin: 0 0 1.2rem; letter-spacing: -.035em; }
h3 { font-size: 1.4rem; margin-top: 0; }
.lead { font-size: clamp(1.15rem, 2vw, 1.42rem); max-width: 48rem; }

.motif {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  overflow: hidden;
  box-shadow: 1.2rem 1.2rem 0 var(--paper-deep);
}

.motif::before {
  content: "";
  position: absolute;
  width: 24%;
  aspect-ratio: 1;
  border: 1.7rem solid var(--paper-deep);
  border-radius: 50%;
  inset: 38% auto auto 38%;
}

.motif::after {
  content: "";
  position: absolute;
  width: 82%;
  height: 34%;
  border: 1.5rem solid var(--warm);
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 10rem 0 0;
  transform: rotate(-17deg);
  left: -9%;
  top: 40%;
}

.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
  display: inline-block;
  padding: .8rem 1rem;
  border: 1px solid var(--ink);
  border-radius: .35rem;
  font-weight: 750;
  text-decoration: none;
}
.button.primary { color: var(--paper); background: var(--ink); }
.button:hover { color: var(--paper); background: var(--warm); border-color: var(--warm); }

section { padding-block: clamp(3.5rem, 8vw, 6.5rem); border-top: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.card { padding: 1.5rem; border: 1px solid var(--line); background: rgba(255,255,255,.24); }
.card p:last-child { margin-bottom: 0; }
.no { border-top: .35rem solid var(--warm); }
.yes { border-top: .35rem solid var(--ink); }

pre {
  overflow-x: auto;
  padding: 1.2rem;
  color: var(--paper);
  background: var(--ink);
  border-radius: .4rem;
  white-space: pre-wrap;
}

.install {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--paper-deep);
}

.evidence strong { font-size: clamp(2.5rem, 5vw, 4rem); font-family: Georgia, serif; }
.quiet { color: var(--muted); }
footer { padding-block: 2.5rem; border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 760px) {
  nav { display: none; }
  .hero, .grid { grid-template-columns: 1fr; }
  .motif { max-width: 20rem; order: -1; }
  .install { align-items: flex-start; flex-direction: column; }
}
