/* Shadetree site — "The Name Patch" design system, web edition.
   Dark (coverall navy) is the only appearance, matching the brand primary. */

:root {
  --ground: #1B2433;
  --surface: #223046;
  --text: #F2E9D8;
  --text-dim: #9AA3B5;
  --accent: #D64541;
  --brass: #B98A3C;
  --normal: #85B07A;
  --rule: rgba(242, 233, 216, 0.12);
  --border: rgba(185, 138, 60, 0.45);
  --radius-card: 16px;
  --radius-control: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

body {
  background: var(--ground);
  color: var(--text);
  font-family: "Hanken Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 {
  font-family: "Bricolage Grotesque", "Hanken Grotesk", sans-serif;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

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

.panel-label {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--brass);
}

/* Patch badge — the sign over the shop door. */
.patch {
  display: inline-block;
  background: var(--surface);
  border: 1.6px dashed var(--brass);
  outline: 1.4px dashed rgba(185, 138, 60, 0.55);
  outline-offset: 4px;
  border-radius: 50%;
  padding: 18px 54px;
  font-family: "Yellowtail", cursive;
  font-size: 44px;
  color: var(--accent);
  line-height: 1.2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Hero */
.hero { padding: 84px 0 40px; text-align: center; }
.hero h1 {
  font-size: clamp(40px, 6.5vw, 68px);
  margin: 40px auto 18px;
  max-width: 17ch;
}
.hero .sub {
  color: var(--text-dim);
  font-size: clamp(18px, 2.3vw, 22px);
  max-width: 34em;
  margin: 0 auto 34px;
}
.hero .sub strong { color: var(--text); font-weight: 600; }

.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; align-items: center; }
.cta {
  display: inline-block;
  background: var(--accent);
  color: var(--text);
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 700;
  font-size: 19px;
  padding: 14px 28px;
  border-radius: var(--radius-control);
  text-decoration: none;
}
.cta:hover { color: var(--text); filter: brightness(1.08); }
.cta.ghost {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}
.cta.ghost:hover { border-color: var(--brass); }
.status-chip {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  border: 1.4px dashed var(--border);
  border-radius: var(--radius-control);
  padding: 12px 20px;
}
.cta-note { color: var(--text-dim); font-size: 15px; margin-top: 14px; }

/* Phone frames */
.phones {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 48px 0 12px;
}
.phone {
  width: min(300px, 82vw);
  border-radius: 42px;
  border: 10px solid #131A26;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  background: #131A26;
}
.phone img { display: block; width: 100%; height: auto; }
.phone-caption {
  text-align: center;
  color: var(--text-dim);
  font-size: 15px;
  margin-top: 14px;
}
.phone-col { display: flex; flex-direction: column; }

/* Sections */
section.band { padding: 72px 0; border-top: 1px solid var(--rule); }
section.band h2 { font-size: clamp(30px, 4vw, 42px); margin: 10px 0 14px; }
section.band .lede { color: var(--text-dim); max-width: 38em; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; margin-top: 42px; }
.step {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}
.step .num {
  font-family: "IBM Plex Mono", monospace;
  color: var(--brass);
  font-size: 14px;
  letter-spacing: 0.14em;
}
.step h3 { font-size: 22px; margin: 10px 0 8px; }
.step p { color: var(--text-dim); font-size: 16px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; margin-top: 42px; }
.feature {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 26px 28px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}
.feature h3 { font-size: 22px; margin-bottom: 8px; }
.feature h3 .dot { color: var(--accent); }
.feature p { color: var(--text-dim); font-size: 16px; }
.feature p em { color: var(--normal); font-style: normal; font-weight: 600; }

/* Privacy band */
.privacy-band {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 44px;
  margin-top: 8px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
.privacy-band h2 { margin-top: 6px; }
.privacy-band ul { list-style: none; margin: 22px 0 26px; }
.privacy-band li { padding-left: 30px; position: relative; margin-bottom: 12px; color: var(--text-dim); }
.privacy-band li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--normal);
}
.privacy-band li strong { color: var(--text); }

/* Document pages (privacy, support) — cream paper on navy */
.paper {
  background: var(--text);
  color: #241F16;
  border-radius: 6px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.5);
  padding: clamp(28px, 6vw, 72px);
  margin: 56px auto 80px;
  max-width: 820px;
}
.paper h1 { font-size: clamp(30px, 4.5vw, 40px); color: #1C2433; margin-bottom: 6px; }
.paper h2 {
  font-size: 22px; color: #1C2433;
  margin: 36px 0 10px;
  padding-top: 18px;
  border-top: 1px dashed rgba(154, 115, 48, 0.5);
}
.paper h3 { font-size: 18px; color: #1C2433; margin: 22px 0 4px; }
.paper p, .paper li { color: #3d3527; font-size: 17px; }
.paper p { margin: 12px 0; }
.paper ul { margin: 12px 0 12px 24px; }
.paper a { color: #A5322D; }
.paper .doc-meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
  color: #7D5E26;
  letter-spacing: 0.06em;
  margin-bottom: 26px;
}
.paper .stamp {
  display: inline-block;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
  color: #A5322D;
  border: 2.5px solid #A5322D;
  border-radius: 6px;
  padding: 4px 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: rotate(-3deg);
  font-size: 14px;
  margin: 8px 0 4px;
}

/* Header / footer */
header.site {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
}
header.site .mark {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 17px;
  text-decoration: none;
  display: flex; align-items: center; gap: 12px;
}
header.site .mark:hover { color: var(--text); }
header.site .mark img { width: 34px; height: 34px; border-radius: 8px; }
header.site nav { display: flex; gap: 6px; }
header.site nav a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 16px;
  padding: 12px 10px;
}
header.site nav a:hover { color: var(--text); }
header.site nav a[aria-current="page"] { color: var(--text); border-bottom: 2px solid var(--accent); }

footer.site {
  border-top: 1px solid var(--rule);
  padding: 40px 0 56px;
  color: var(--text-dim);
  font-size: 15px;
}
footer.site .cols { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 380px) {
  header.site { flex-wrap: wrap; gap: 2px; }
  header.site .mark { letter-spacing: 0.14em; }
  header.site nav a { padding: 12px 8px; }
}
footer.site a { color: var(--text-dim); display: inline-block; padding: 12px 4px; }
footer.site a:hover { color: var(--text); }
