/* GoUnhyped styles */
:root {
  --paper: #F6F7F9;
  --surface: #FFFFFF;
  --ink: #15172B;
  --ink-2: #4B5068;
  --line: #DFE2EA;
  --marker: #FFE14D;
  --yes: #1F8A5B;
  --partly: #B97C0C;
  --no: #C2412D;
  --focus: #3157D5;
  --radius-lg: 18px;
  --radius-sm: 8px;
  --logo-paper: #15172B;
  --logo-check: #FFE14D;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #101225; --surface: #181B33; --ink: #EEF0F7; --ink-2: #A8AEC6; --line: #2B2F4D;
    --yes: #3DBA82; --partly: #E0A63A; --no: #F06B55; --focus: #8AA6FF;
    --logo-paper: #FFE14D; --logo-check: #15172B;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #101225; --surface: #181B33; --ink: #EEF0F7; --ink-2: #A8AEC6; --line: #2B2F4D;
  --yes: #3DBA82; --partly: #E0A63A; --no: #F06B55; --focus: #8AA6FF;
  --logo-paper: #FFE14D; --logo-check: #15172B;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.6 var(--body);
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
main:focus, main:focus-visible { outline: none; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 .4em; }
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 680px; }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

.demo-bar { background: var(--marker); color: #15172B; text-align: center; font-size: .9rem; padding: 6px 16px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.logo { font-family: var(--display); font-weight: 800; font-size: 1.45rem; text-decoration: none; letter-spacing: -0.02em; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.logo-paper { fill: var(--logo-paper); }
.logo-check { fill: none; stroke: var(--logo-check); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }
.logo-go { font-weight: 500; color: var(--ink-2); margin-right: 1px; }
.nav { display: flex; align-items: center; gap: 18px; font-size: .95rem; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.nav a, .nav span, .nav button { white-space: nowrap; }
@media (max-width: 560px) { .nav > a:first-child, #auth-slot .muted { display: none; } .nav { gap: 14px; } }

/* Buttons and forms */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 1rem/1 var(--body); padding: 13px 20px; border-radius: 999px;
  border: 2px solid var(--ink); background: var(--ink); color: var(--paper);
  cursor: pointer; text-decoration: none;
}
.btn:hover { text-decoration: none; filter: brightness(1.15); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.small { padding: 8px 14px; font-size: .9rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink-2); text-decoration: underline; cursor: pointer; }

label { display: block; font-weight: 700; margin: 18px 0 6px; }
.hint { font-weight: 400; color: var(--ink-2); font-size: .9rem; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=date], input[type=search], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--surface);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 11px 13px;
}
input:focus, select:focus, textarea:focus { border-color: var(--focus); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 25%, transparent); }
textarea { min-height: 170px; resize: vertical; }
.form-actions { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.error { color: var(--no); font-weight: 700; margin-top: 12px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 700; margin: 18px 0 8px; padding: 0; }

.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: inline-block; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); cursor: pointer; }
.choice input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }

.stars-input { display: flex; gap: 4px; }
.stars-input label { margin: 0; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--line); }
.stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.stars-input label.on { color: var(--ink); }
.stars-input input:focus-visible + label { outline: 3px solid var(--focus); border-radius: 4px; }

/* Home */
.hero { padding: 56px 0 40px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; } }
.hero p.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 34ch; }
.search { display: flex; gap: 8px; margin-top: 24px; max-width: 560px; }
.search input { border-radius: 999px; padding: 14px 20px; border-width: 2px; border-color: var(--ink); }
@media (max-width: 480px) { .search { flex-direction: column; } }

.promise {
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; position: relative;
}
.promise .said { font-size: .9rem; color: var(--ink-2); margin: 0 0 4px; }
.promise blockquote { margin: 0 0 22px; font: 700 1.6rem/1.2 var(--display); position: relative; display: inline; }
.strike {
  background: linear-gradient(var(--no), var(--no)) no-repeat 0 58% / 0% 4px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: strike .7s .5s cubic-bezier(.6,0,.2,1) forwards;
}
@keyframes strike { to { background-size: 100% 4px; } }
.promise .reality { margin-top: 22px; padding-top: 18px; border-top: 1.5px dashed var(--line); opacity: 0; animation: appear .5s 1.3s forwards; }
@keyframes appear { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .strike { animation: none; background-size: 100% 4px; }
  .promise .reality { animation: none; opacity: 1; }
}
.big-pct { font: 800 3rem/1 var(--display); }
.sample-tag { position: absolute; top: 14px; right: 16px; font-size: .78rem; color: var(--ink-2); }

.section { padding: 40px 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.section-head h2 { margin: 0; }

.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 760px) { .how { grid-template-columns: 1fr; } }
.how p { color: var(--ink-2); margin: 0; }

/* Lists */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.tile {
  display: block; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-lg);
  padding: 18px 20px; text-decoration: none;
}
a.tile:hover { border-color: var(--ink); text-decoration: none; }
.tile h3 { margin-bottom: 4px; }
.tile .by { color: var(--ink-2); font-size: .92rem; margin: 0 0 12px; }
.meta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .92rem; }

.cat { display: inline-block; font-size: .8rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 8%, transparent); }

.mini-score { display: inline-flex; align-items: baseline; gap: 6px; }
.mini-score b { font: 800 1.35rem/1 var(--display); }
.stars { letter-spacing: 1px; color: var(--ink); white-space: nowrap; }
.stars .off { color: var(--line); }

.verdict { display: inline-block; font-weight: 700; font-size: .85rem; padding: 3px 10px; border-radius: 6px; }
.verdict.good { background: color-mix(in srgb, var(--yes) 15%, transparent); color: var(--yes); }
.verdict.mid { background: color-mix(in srgb, var(--partly) 15%, transparent); color: var(--partly); }
.verdict.bad { background: color-mix(in srgb, var(--no) 14%, transparent); color: var(--no); }
.verdict.none { background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink-2); }

/* Profile / offering header */
.page-head { padding: 36px 0 12px; }
.crumbs { font-size: .9rem; color: var(--ink-2); margin-bottom: 10px; }
.handle { color: var(--ink-2); }
.scorecard {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 24px; margin: 20px 0 8px;
}
@media (max-width: 600px) { .scorecard { grid-template-columns: 1fr; gap: 18px; } }
.score-num { font: 800 4.2rem/0.9 var(--display); letter-spacing: -0.03em; }
.score-num small { font-size: 1.3rem; font-weight: 500; color: var(--ink-2); letter-spacing: 0; }
.score-label { font-size: .9rem; color: var(--ink-2); margin-top: 6px; }
.delivery-title { font-weight: 700; margin-bottom: 8px; }
.bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: var(--line); }
.bar span { display: block; height: 100%; }
.bar .y { background: var(--yes); } .bar .p { background: var(--partly); } .bar .n { background: var(--no); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .88rem; margin-top: 8px; color: var(--ink-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: 0; }
.dist { margin-top: 16px; display: grid; gap: 4px; font-size: .88rem; }
.dist-row { display: grid; grid-template-columns: 52px 1fr 32px; gap: 10px; align-items: center; color: var(--ink-2); }
.dist-row .bar { height: 8px; }
.dist-row .bar span { background: var(--ink); }

/* Reviews */
.reviews { display: grid; gap: 16px; margin-top: 8px; }
.review { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 20px 22px; }
.review header { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.review h3 { margin: 6px 0 6px; font-size: 1.15rem; }
.review .body { white-space: pre-line; margin: 0 0 12px; }
.review footer { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .88rem; color: var(--ink-2); }
.delivered-chip { font-size: .85rem; font-weight: 700; }
.delivered-chip.yes { color: var(--yes); } .delivered-chip.partly { color: var(--partly); } .delivered-chip.no { color: var(--no); }
.review .context { font-size: .9rem; color: var(--ink-2); margin: 0 0 4px; }

.empty { border: 2px dashed var(--line); border-radius: var(--radius-lg); padding: 28px; text-align: center; color: var(--ink-2); }
.empty .btn { margin-top: 10px; }

.offer-list { display: grid; gap: 12px; }
.offer-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
@media (max-width: 560px) { .offer-row { grid-template-columns: 1fr; } }

/* Text pages */
.prose { max-width: 680px; }
.prose h2 { margin-top: 1.6em; }
.prose li { margin-bottom: .5em; }

.loading { padding: 80px 0; text-align: center; color: var(--ink-2); }

.site-footer { border-top: 1px solid var(--line); margin-top: 56px; font-size: .9rem; color: var(--ink-2); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; gap: 18px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--paper); padding: 12px 20px; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

dialog { border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 24px; max-width: 460px; width: calc(100% - 32px); background: var(--surface); color: var(--ink); }
dialog::backdrop { background: rgb(10 12 30 / .5); }
