/* Shared look for the demo, following poh.org: Uncut Sans, off-white canvas,
   floating white cards with 16px radius, black pill buttons, red chips for
   detected signals. */
@font-face { font-family: 'Uncutsans'; src: url('/fonts/UncutSans-Variable.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
:root {
  --bg: #f9f9f7; --card: #fff; --ink: #000; --text: #333; --muted: #4f4f4f; --line: #e9ecef;
  --red: #fa5252; --red-bg: #fff5f5; --green: #12b886; --green-bg: #e6fcf5; --blue: #5f30e2; --panel: #f5f8fc;
  --radius: 15px; --radius-sm: 12px;
}
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Uncutsans', -apple-system, system-ui, sans-serif; font-size: 14px; line-height: 20px; }
a { color: inherit; }
.wrap { max-width: 1150px; margin: 0 auto; padding: 0 20px; }

/* nav card */
.nav { position: relative; margin: 16px auto 0; background: var(--card); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.05); height: 75px; display: flex; align-items: center; justify-content: space-between; padding: 0 30px 0 25px; }
.nav .logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav .logo img { width: 132px; height: auto; display: block; }
.nav .logo span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-left: 14px; border-left: 1px solid var(--line); }
.nav .right { display: flex; align-items: center; gap: 14px; font-size: 15px; color: var(--muted); }
/* Mobile: hamburger like poh.org. The icon sits right of the logo; tapping it drops the
   nav's items down inside the same tile as full-width rows, and the icon turns into an X. */
.nav .menu { display: none; }
@media (max-width: 720px) {
  .nav { height: auto; padding: 14px 18px; flex-wrap: wrap; gap: 0; }
  .nav .logo span { display: none; }
  .nav .logo img { width: 120px; }
  .nav .menu { order: 1; display: inline-flex; align-items: center; justify-content: center; margin-left: auto; width: 40px; height: 40px; border: 0; background: none; padding: 0; cursor: pointer; color: var(--ink); }
  .nav .menu img { width: 26px; height: 26px; display: block; }
  .nav .menu .x { display: none; } .nav.open .menu .x { display: block; } .nav.open .menu .burger { display: none; }
  .nav .right { order: 2; display: none; }
  .nav.open .right { display: flex; flex-direction: column; align-items: stretch; gap: 10px; position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 20; background: var(--card); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px rgba(0,0,0,.12); padding: 16px 18px; }
  .nav.open .right > * { text-align: center; }
  .nav.open .right .btn { width: 100%; box-sizing: border-box; padding: 12px 16px; font-size: 16px; }
}

/* type */
h1 { font-weight: 400; font-size: 48px; line-height: 1.1; color: var(--ink); margin: 0 0 16px; letter-spacing: normal; }
h2 { font-weight: 400; font-size: 28px; line-height: 1.4; color: var(--ink); margin: 0 0 8px; }
.lead { font-size: 20px; line-height: 28px; font-weight: 300; color: var(--text); margin: 0 0 24px; max-width: 640px; }
.eyebrow { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
@media (max-width: 720px) { h1 { font-size: 34px; } h2 { font-size: 24px; } .lead { font-size: 17px; line-height: 24px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: #fff; border: 2px solid var(--ink); border-radius: var(--radius-sm); padding: 10px 24px; font: inherit; font-size: 14px; font-weight: 400; line-height: 20px; cursor: pointer; text-decoration: none; transition: background .15s; }
.btn:hover { background: #333; }
.btn:disabled { background: #bbb; border-color: #bbb; cursor: default; }
.btn.secondary { background: #fff; color: var(--ink); border: 1px solid var(--ink); padding: 11px 25px; }   /* 1px outline like poh.org's white buttons; padding keeps the height of the black ones */
.btn.secondary.small { padding: 7px 19px; }
.btn.secondary:hover { background: #f2f2f0; }
.btn.small { padding: 6px 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 14px; color: var(--text); text-decoration: none; cursor: pointer; }
.chip:hover { border-color: #ccc; }

/* cards + forms */
.card { background: var(--card); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.05); overflow: hidden; }
.card .head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.card .head .eyebrow { margin: 0; }
label.field { display: block; font-size: 14px; color: var(--ink); font-weight: 500; margin: 0 0 8px; }
select { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #d9d9d6; border-radius: var(--radius-sm); padding: 12px 14px; }
input[type=url], input[type=text], input[type=email], textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #d9d9d6; border-radius: var(--radius-sm); padding: 13px 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
input:focus, textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(0,0,0,.06); }
textarea { resize: vertical; min-height: 64px; }
.hint { font-size: 13px; color: var(--muted); }
.check-row { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text); }
.check-row input { margin-top: 3px; accent-color: #000; }
.footer { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; color: var(--muted); font-size: 13px; padding: 40px 0 30px; }
.footer a { color: var(--muted); }

.brand-top { display: flex; justify-content: flex-start; padding: 32px 0 0; }
.brand-logo { display: block; line-height: 0; }
.brand-logo img { display: block; width: 180px; height: auto; }
