/* quietbarber.com: the brand's theme 5, "modern green with the chair" (docs/design.md § Colour,
   the same tokens as ios/BarbershopASMR/ContentView.swift's Palette), and its type (§ Type). */
:root {
  --eucalyptus: #1f4a40;  /* the ground */
  --lit: #2a5a4c;         /* where the lamp reaches */
  --deep: #122e28;        /* shadows, the page floor */
  --apricot: #f6a96b;     /* rationed: the face of the mark, the one eyebrow */
  --apricot-light: #ffd2a8;
  --foam: #f3f7f4;        /* text */
  --bubble: #a9c4b8;      /* secondary text, dividers */
  --line: rgb(169 196 184 / 0.3);
  --display: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; background: var(--eucalyptus); }

/* One lamp (§ Three rules): a soft warm glow top left and the green lit under it, both gone
   by 12rem; eucalyptus below. No wash over the rest of the page. Bubble text, 4.2:1 on lit
   green, sits below the lit band. */
body {
  margin: 0;
  color: var(--foam);
  font: 17px/1.65 var(--sans);
  background:
    radial-gradient(48rem 12rem at 28% 0, rgb(255 210 168 / 0.16), rgb(255 210 168 / 0) 100%) no-repeat,
    linear-gradient(180deg, var(--lit) 0, var(--eucalyptus) 12rem) no-repeat,
    var(--eucalyptus);
}

main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 4rem;
}

a { color: var(--foam); text-decoration-color: var(--bubble); text-underline-offset: 0.15em; }
a:hover { text-decoration-color: var(--foam); text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--foam); outline-offset: 3px; border-radius: 4px; }

h1, h2 { font-family: var(--display); font-weight: 700; line-height: 1.15; text-wrap: balance; }
h1 { font-size: 2.2rem; letter-spacing: -0.02em; margin: 0 0 0.5rem; }
h2 { font-size: 1.3rem; letter-spacing: -0.01em; margin: 2.5rem 0 0.5rem; }

p, ul { margin: 0 0 1rem; }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.35rem; }

code { font-family: var(--mono); font-size: 0.88em; color: var(--bubble); }

.muted { color: var(--bubble); }

/* A page's header: the mark and the wordmark, home. The mark keeps a quarter of its width clear. */
.site-header { margin-bottom: 3rem; }
.site-header a { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.site-header img { width: 36px; height: 36px; border-radius: 22.37%; display: block; }
.wordmark { font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; color: var(--foam); }

.box {
  background: rgb(18 46 40 / 0.55);
  border: 1px solid rgb(243 247 244 / 0.1);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}
.box p:last-child, .box ul:last-child { margin-bottom: 0; }

/* The home page's top: one of the four signature places (§ Signature places), the mark
   with its tingles under the lamp. Nowhere further down. */
.hero { text-align: center; padding-top: 2.5rem; }
.hero img {
  width: 144px; height: 144px; border-radius: 22.37%; display: block; margin: 0 auto 2.25rem;
  box-shadow: 0 18px 48px rgb(0 0 0 / 0.4);
}
.hero h1 { font-size: 3rem; line-height: 1.02; letter-spacing: -0.025em; }
.hero .lede { font-size: 1.25rem; line-height: 1.5; color: var(--bubble); margin: 0.75rem auto 2rem; max-width: 26rem; }

/* The eyebrow (§ Type): a tiny tingle, then small monospaced capitals in apricot. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--apricot);
}
.eyebrow::before {
  content: ""; width: 0.75rem; height: 0.75rem; flex: none; background: var(--apricot);
  clip-path: polygon(50% 0, 64% 36%, 100% 50%, 64% 64%, 50% 100%, 36% 64%, 0 50%, 36% 36%);
}

footer {
  border-top: 1px solid var(--line);
  margin-top: 4rem;
  padding-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--bubble);
  text-align: center;
}
footer a { margin: 0 0.5rem; color: var(--bubble); }
