/* Kegscapade site styles. Same design language as the printed one-pager:
   cellar navy + brushed-steel neutrals + amber, Big Shoulders / Archivo / IBM Plex Mono. */

:root {
  --cellar: #14212B;
  --cellar-2: #1D2E3A;
  --sheet: #F5F7F7;
  --steel-100: #E6EBEC;
  --steel-300: #C9D2D5;
  --steel-500: #7F8E95;
  --steel-700: #4A5A62;
  --amber: #E3A21A;
  --amber-deep: #8F5C00;
  --foam: #FFFFFF;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: 32px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--sheet);
  color: var(--cellar);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-inline: var(--gutter); }
.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--amber); color: var(--cellar); padding: 8px 14px; font-weight: 600;
}
.skip:focus { left: 8px; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin: 0;
}
h1, h2, h3 { margin: 0; text-wrap: balance; }
.display-1 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(52px, 8vw, 96px);
  line-height: .88;
  letter-spacing: -.005em;
}
.display-1 em { font-style: normal; color: var(--amber-deep); display: block; }
.display-2 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(34px, 4.5vw, 48px);
  line-height: .95;
  letter-spacing: .005em;
}
.display-2 em { font-style: normal; color: var(--amber-deep); }
.lede { font-size: 19px; line-height: 1.5; color: var(--cellar-2); max-width: 44ch; margin: 0; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--cellar);
  color: var(--foam);
  border-bottom: 4px solid var(--amber);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  padding-block: 14px;
  flex-wrap: wrap;
}
.nav-logo { display: inline-flex; border-radius: 4px; }
.site-logo { display: block; height: 30px; width: auto; }
.site-logo .logo-mark, .site-logo .logo-accent { fill: var(--amber); }
.site-logo .logo-word { fill: var(--foam); }
.nav-links { display: flex; align-items: center; gap: 4px 26px; flex-wrap: wrap; }
.nav-links a {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--steel-300);
  padding-block: 4px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--foam); }
.nav-links a[aria-current="page"] { color: var(--foam); border-bottom-color: var(--amber); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1;
  padding: 13px 20px 12px;
  border-radius: 3px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-amber { background: var(--amber); color: var(--cellar); }
.btn-amber:hover { background: #F0B53A; }
.btn-dark { background: var(--cellar); color: var(--foam); }
.btn-dark:hover { background: var(--cellar-2); }
.btn-line { border-color: var(--cellar); color: var(--cellar); }
.btn-line:hover { background: var(--cellar); color: var(--foam); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.nav .btn { font-size: 16px; padding: 9px 14px 8px; }

/* ---------- Sections ---------- */
.section { padding-block: 72px; }
.section + .section { padding-top: 0; }
.section-head { display: grid; gap: 10px; margin-bottom: 32px; max-width: 760px; }
.section-head p:not(.eyebrow) { margin: 0; color: var(--steel-700); font-size: 17px; max-width: 58ch; }
.band { background: var(--steel-100); border-block: 1px solid var(--steel-300); }
.dark { background: var(--cellar); color: var(--foam); }
.dark .eyebrow { color: var(--amber); }
.dark .display-2 em, .dark .display-1 em { color: var(--amber); }

/* ---------- Hero ---------- */
.hero { padding-block: 64px 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.page-hero { padding-block: 64px 56px; }
.page-hero .wrap { display: grid; gap: 18px; }

/* ---------- Keg tag (scan log) ---------- */
.tag {
  background: var(--cellar);
  color: var(--foam);
  border-radius: 6px;
  padding: 22px 24px 18px;
  font-family: var(--mono);
  position: relative;
  box-shadow: 0 24px 48px rgba(20, 33, 43, .22);
}
.tag::before {
  content: "";
  position: absolute;
  top: 20px; right: 22px;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--steel-500);
}
.tag-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.qr { width: 56px; height: 56px; flex: none; background: var(--foam); padding: 5px; border-radius: 2px; }
.qr svg { display: block; width: 100%; height: 100%; }
.tag-id { font-size: 17px; font-weight: 600; letter-spacing: .04em; }
.tag-sub { font-size: 12px; color: var(--steel-300); letter-spacing: .04em; }
.log { list-style: none; margin: 0; padding: 0; border-top: 1px dashed var(--steel-700); }
.log li {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  padding: 9px 0;
  font-size: 13px;
  border-bottom: 1px dashed var(--steel-700);
  font-variant-numeric: tabular-nums;
}
.ev { color: var(--amber); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.where { color: var(--steel-100); }
.when { color: var(--steel-500); }
.log li.live .ev::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--amber);
  margin-right: 6px;
  vertical-align: 1px;
}
.tag-foot { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 12px; font-size: 13px; color: var(--steel-300); }
.fresh { color: var(--amber); font-weight: 600; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 28px 32px; border-left: 1px solid var(--steel-300); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat span { display: block; margin-top: 6px; font-size: 15px; color: var(--steel-700); max-width: 26ch; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.step { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--steel-300); }
.step:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.step h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: 28px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex; align-items: baseline; gap: 10px;
}
.step h3::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--foam);
  background: var(--amber-deep);
  width: 24px; height: 24px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  transform: translateY(-3px);
}
.step p { margin: 0; color: var(--steel-700); }

/* ---------- Formats ---------- */
.formats {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px dashed var(--steel-300);
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px;
}
.formats p { margin: 0; flex: 1 1 360px; color: var(--steel-700); }
.formats b { color: var(--cellar); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--steel-500);
  border-radius: 2px;
  background: var(--foam);
}
.chips li:first-child { background: var(--cellar); color: var(--amber); border-color: var(--cellar); }

/* ---------- Personas ---------- */
.personas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.persona { background: var(--foam); border: 1px solid var(--steel-300); border-top: 4px solid var(--cellar); padding: 20px 18px; }
.persona h3 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: 6px;
}
.persona .pitch {
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.02;
  text-transform: uppercase;
  margin: 0 0 14px;
  text-wrap: balance;
}
.persona p:not(.pitch) { margin: 0; font-size: 15px; color: var(--steel-700); }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ticks li { font-size: 15px; line-height: 1.4; padding-left: 16px; position: relative; color: var(--cellar-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; background: var(--amber); border-radius: 1px; }
.loop {
  margin: 24px 0 0;
  padding: 16px 20px;
  background: var(--steel-100);
  border-left: 4px solid var(--amber);
  color: var(--cellar-2);
  max-width: 900px;
}

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--steel-300); }
.feature { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--steel-300); }
.feature:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--steel-300); }
.feature .tier {
  font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--amber-deep);
}
.feature h3 { font-family: var(--display); font-weight: 800; font-size: 26px; text-transform: uppercase; margin: 6px 0 8px; line-height: 1; }
.feature p { margin: 0; color: var(--steel-700); font-size: 15px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--steel-300); background: var(--foam); }
.plan { padding: 22px 20px; border-left: 1px solid var(--steel-300); display: grid; align-content: start; gap: 6px; }
.plan:first-child { border-left: 0; }
.plan .name { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-700); }
.plan .price { font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.plan .price small { font-family: var(--body); font-weight: 500; font-size: 14px; color: var(--steel-700); }
.plan .fit { font-size: 14px; color: var(--steel-700); line-height: 1.4; }
.plan .ticks { margin-top: 10px; }
.plan .ticks li { font-size: 14px; }
.plan.feature-plan { background: var(--cellar); color: var(--foam); }
.plan.feature-plan .name { color: var(--amber); }
.plan.feature-plan .price small, .plan.feature-plan .fit { color: var(--steel-300); }
.plan.feature-plan .ticks li { color: var(--steel-100); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.faq div { padding-block: 22px; border-top: 1px solid var(--steel-300); }
.faq h3 { font-family: var(--display); font-weight: 800; font-size: 24px; text-transform: uppercase; line-height: 1.05; margin-bottom: 8px; }
.faq p { margin: 0; color: var(--steel-700); font-size: 15px; }

/* ---------- CTA ---------- */
.cta { padding-block: 64px; }
.cta .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 56px; align-items: center; }
.cta p { margin: 14px 0 0; color: var(--steel-300); font-size: 18px; max-width: 46ch; }
.cta-box { display: grid; gap: 14px; justify-items: start; }
.fine { font-family: var(--mono); font-size: 13px; color: var(--steel-300); letter-spacing: .03em; line-height: 1.6; }

/* ---------- Footer ---------- */
.footer { background: var(--cellar); color: var(--steel-300); border-top: 1px solid var(--cellar-2); }
.footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; padding-block: 28px; }
.footer .site-logo { height: 24px; }
.footer small { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; }

/* ---------- 404 ---------- */
.notfound { padding-block: 96px; }
.notfound .wrap { display: grid; gap: 20px; justify-items: start; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .personas { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .plan { border-left: 0; border-top: 1px solid var(--steel-300); }
  .plan:nth-child(-n+2) { border-top: 0; }
  .plan:nth-child(even) { border-left: 1px solid var(--steel-300); }
  .plan:last-child { grid-column: 1 / -1; border-left: 0; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature:not(:nth-child(3n+1)) { padding: 24px 24px 24px 0; border-left: 0; }
  .feature:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--steel-300); }
}
@media (max-width: 820px) {
  :root { --gutter: 16px; }
  .hero .wrap, .cta .wrap { grid-template-columns: 1fr; gap: 36px; }
  .section { padding-block: 56px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .step { border-right: 0; margin-right: 0; padding-right: 0; }
  .faq { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .stats, .personas, .features { grid-template-columns: 1fr; }
  .stat, .stat:first-child { border-left: 0; padding: 20px 0; border-top: 1px solid var(--steel-300); }
  .stat:first-child { border-top: 0; }
  .feature, .feature:nth-child(even), .feature:not(:nth-child(3n+1)) { padding: 22px 0; border-left: 0; }
  .nav .btn { display: none; }
  .log li { grid-template-columns: 64px 1fr; }
  .log li .when { grid-column: 2; }
  .lede { font-size: 17px; }
}
