/* Unplug marketing site. Plain CSS, system fonts, no third parties. */
:root {
  --bg: #F4EFE6;
  --fg: #1C1B19;
  --muted: #5E5A52;
  --surface: #EBE4D7;
  --line: #D6CFC1;
  --blue: #5B7FA6;
  --orange: #C98A4B;
  --red: #B5545C;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1C1B19;
    --fg: #F4EFE6;
    --muted: #B3ADA1;
    --surface: #262522;
    --line: #3A3834;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 1.0625rem/1.6 var(--font);
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 64rem; margin: 0 auto; padding: 0 1rem; }
.narrow { max-width: 42rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 7vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4.5vw, 2.1rem); }
h3 { font-size: 1.15rem; }

.skip { position: absolute; left: -999px; top: 0; background: var(--fg); color: var(--bg); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

/* header / footer */
.site-header { border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: .8rem; padding-bottom: .8rem; }
.brand { display: inline-flex; color: var(--fg); text-decoration: none; }
.nav { display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap; font-size: .95rem; }
.nav a { text-decoration: none; padding: .35rem 0; }
.nav a:hover { text-decoration: underline; }
.nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: .2rem .8rem; }
.logo { display: block; color: var(--fg); }
.logo-xs { height: 1.6rem; width: auto; }
.logo-sm { height: 2rem; width: auto; }
.logo-xl { height: clamp(3.2rem, 14vw, 5rem); width: auto; margin: 0 auto 1.5rem; }
.logo text { font-family: var(--font); }
.site-footer { border-top: 1px solid var(--line); margin-top: 3rem; padding: 2rem 0 3rem; font-size: .95rem; }
.foot { display: grid; gap: .6rem; }
.foot p { margin: 0; }
.foot nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* hero */
.hero { padding: 3.5rem 0 2.5rem; text-align: center; }
.hero-in { max-width: 40rem; }
.lead { font-size: clamp(1.1rem, 3.5vw, 1.35rem); color: var(--muted); margin: 0 auto 1.8rem; }
.btn {
  display: inline-block; background: var(--fg); color: var(--bg);
  padding: .85rem 1.6rem; border-radius: 999px; font-weight: 600; text-decoration: none;
}
.btn:hover { opacity: .88; text-decoration: none; }
.daybar { display: flex; height: .9rem; margin: 2.8rem auto .6rem; max-width: 26rem; border-radius: 999px; overflow: hidden; background: var(--line); }
.seg { display: block; height: 100%; }
.seg.b { width: 48%; background: var(--blue); }
.seg.o { width: 20%; background: var(--orange); }
.seg.r { width: 6%; background: var(--red); }

/* sections */
.sec { padding: 3rem 0; }
.sec.alt { background: var(--surface); }
.lede { max-width: 38rem; color: var(--muted); margin: 0 0 1.5rem; }
.grid3, .grid2 { display: grid; gap: 1rem; margin-bottom: 1rem; }
.card { background: var(--surface); border-radius: 1rem; padding: 1.3rem; }
.card p { margin: 0; color: var(--muted); }
.sec .card { border: 1px solid var(--line); }
.alt .card { background: var(--bg); }

.sheep-row { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; text-align: center; }
.tile { background: #F4EFE6; border: 1px solid var(--line); border-radius: 1rem; padding: .8rem; display: flex; justify-content: center; }
.tile img { width: 100%; max-width: 120px; }
.sheep-row span { display: block; margin-top: .5rem; color: var(--muted); font-size: .95rem; }

.tools, .ticks { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .8rem; }
.tools li { border-top: 1px solid var(--line); padding-top: .8rem; }
.tools strong { display: block; }
.tools li { color: var(--muted); }
.tools strong { color: var(--fg); }
.ticks li::before { content: ""; display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; background: var(--blue); margin-right: .7rem; }

details { border-bottom: 1px solid var(--line); padding: .9rem 0; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: .6rem 0 0; color: var(--muted); }
.cta { text-align: center; }

/* prose pages */
.prose { max-width: 44rem; padding-top: 2.5rem; }
.prose h2 { margin-top: 2rem; font-size: 1.35rem; }
.prose dt { font-weight: 600; margin-top: 1rem; }
.prose dd { margin: .2rem 0 0; color: var(--muted); }
.prose li { margin-bottom: .4rem; }
.nf { text-align: center; padding: 5rem 1rem; }

@media (min-width: 40rem) {
  .grid3 { grid-template-columns: repeat(3, 1fr); }
  .grid2 { grid-template-columns: repeat(2, 1fr); }
  .tools { grid-template-columns: repeat(2, 1fr); gap: 1.2rem 2rem; }
  .foot { grid-template-columns: auto 1fr auto; align-items: center; }
  .foot nav { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
