/* chopdom.com landing. Tokens copied from the app (src/app/globals.css, PRD Part C). */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 700 800;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/jakarta-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  /* primitives */
  --green-950: #08451a;
  --green-900: #0b5d1e;
  --green-700: #127a2a;
  --green-200: #cfe6cf;
  --green-100: #e3efd9;
  --orange-900: #8a3a05;
  --orange-700: #b54708;
  --orange-500: #f26b0a;
  --orange-100: #fde4d0;
  --cream-50: #fbf7ee;
  --cream-100: #f6f2e9;
  --cream-200: #efeae0;
  --line: #ece5d6;
  --line-button: #d9d2c3;
  --ink-900: #14231a;
  --ink-700: #3d4a41;
  --ink-600: #4e5e53;
  --red-700: #b42318;
  --red-100: #fee4e2;
  --white: #ffffff;

  /* semantic */
  --bg: var(--cream-50);
  --surface: var(--white);
  --text: var(--ink-900);
  --text-muted: var(--ink-600);
  --action: var(--green-900);
  --action-hover: var(--green-950);
  --accent-fill: var(--orange-500);

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;

  --radius-card: 20px;
  --radius-button: 16px;
  --shadow-card: 0 1px 3px rgb(0 0 0 / 0.08);
  --shadow-brand: 0 24px 60px rgb(11 93 30 / 0.14);

  --gutter: clamp(16px, 5vw, 40px);
  --section: clamp(56px, 9vw, 112px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

a {
  color: var(--action);
}

:focus-visible {
  outline: 3px solid var(--action);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.narrow {
  max-width: 760px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--action);
  color: var(--white);
  border-radius: 12px;
  font-weight: 700;
}
.skip:focus {
  top: 12px;
}

.small {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-700);
  margin-bottom: 14px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: var(--radius-button);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition:
    background-color 0.15s,
    border-color 0.15s;
}
.btn-small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.9375rem;
}
.btn-primary {
  background: var(--action);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--action-hover);
}
.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--line-button);
}
.btn-secondary:hover {
  border-color: var(--ink-600);
}
.btn-light {
  background: var(--cream-50);
  color: var(--green-900);
}
.btn-light:hover {
  background: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 12px;
  font-weight: 700;
  text-underline-offset: 3px;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgb(251 247 238 / 0.92);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header {
    background: rgb(251 247 238 / 0.8);
    backdrop-filter: blur(8px);
  }
}

.header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--green-900);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.brand img {
  border-radius: 10px;
  background: var(--white);
}
.brand-small {
  font-size: 1.125rem;
}

.site-header nav {
  margin-left: auto;
}
.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--ink-700);
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
}
.nav-links a:hover {
  color: var(--text);
  background: var(--cream-200);
}
.site-header .btn {
  margin-left: auto;
}
@media (min-width: 760px) {
  .nav-links {
    display: flex;
  }
  .site-header .btn {
    margin-left: 8px;
  }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 7vw, 96px) 0 var(--section);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}
.hero::before {
  width: 420px;
  height: 420px;
  right: -140px;
  top: -120px;
  background: #f2e8d3;
}
.hero::after {
  width: 200px;
  height: 200px;
  left: -90px;
  bottom: 40px;
  background: var(--green-100);
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
  }
}

.hero h1 {
  font-size: clamp(2.75rem, 8vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.lede {
  margin-top: 20px;
  max-width: 34rem;
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  color: var(--ink-700);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 14px;
}
@media (max-width: 480px) {
  .cta-row .btn {
    flex: 1 1 100%;
  }
}

/* The signature: an example listing set as a tear-off ticket. */

.ticket-stack {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 420px;
  animation: settle 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both 0.1s;
}
@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(18px) rotate(-1.5deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.example-tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--cream-200);
  color: var(--ink-700);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ticket {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  padding: 22px 22px 18px;
  box-shadow: var(--shadow-brand);
}

.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.vendor {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
}
.verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--green-900);
  font-weight: 700;
  font-size: 0.8125rem;
}
.badge-off {
  flex: none;
  background: var(--accent-fill);
  color: var(--ink-900);
  font-weight: 800;
  font-size: 0.875rem;
  padding: 4px 10px;
  border-radius: 999px;
}

.ticket-title {
  margin-top: 10px;
  font-size: 1.5rem;
  line-height: 1.15;
}

.ticket-label {
  margin-top: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-700);
}

.contents {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  font-size: 0.9375rem;
}
.contents li {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
}
.contents li::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 0.55em;
  border-radius: 50%;
  background: var(--green-700);
}
.contents li:last-child {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.ticket-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-top: 16px;
}
.price strong {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--green-900);
  letter-spacing: -0.02em;
}
.price s {
  margin-left: 6px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.window {
  text-align: right;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}
.window .left {
  color: var(--orange-700);
}
.nowrap {
  white-space: nowrap;
}
.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 6px;
}
.price s {
  margin-left: 0;
}

/* Perforated stub: notches on both sides, dashed tear line. */
.stub {
  position: relative;
  background: var(--green-900);
  color: var(--white);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  padding: 18px 22px 20px;
  text-align: center;
  border-top: 2px dashed rgb(255 255 255 / 0.45);
  box-shadow: var(--shadow-brand);
}
.stub::before,
.stub::after {
  content: "";
  position: absolute;
  top: -11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg);
}
.stub::before {
  left: -11px;
}
.stub::after {
  right: -11px;
}
.stub-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-200);
}
.code {
  margin-top: 4px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 7vw, 2.5rem);
  letter-spacing: 0.06em;
  line-height: 1.1;
}
.stub-note {
  margin-top: 4px;
  font-size: 0.8125rem;
  color: var(--green-200);
}

/* ---------- compare ---------- */

.compare {
  padding: 0 0 var(--section);
}
.compare-grid {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}
@media (min-width: 760px) {
  .compare-grid {
    grid-template-columns: 1fr 1.4fr;
  }
}
.compare-card {
  border-radius: var(--radius-card);
  padding: 24px;
  font-size: 1.0625rem;
}
.muted-card {
  background: var(--cream-200);
  color: var(--ink-700);
}
.muted-card p:last-child {
  font-style: italic;
}
.strong-card {
  background: var(--surface);
  border: 1.5px solid var(--green-900);
  box-shadow: var(--shadow-card);
}
.compare-kicker {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.strong-card .compare-kicker {
  color: var(--green-900);
}

/* ---------- how ---------- */

.how {
  padding: var(--section) 0;
  background: var(--cream-100);
  border-block: 1px solid var(--line);
}
.steps {
  list-style: none;
  counter-reset: step;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}
.steps li {
  counter-increment: step;
  border-top: 3px solid var(--green-900);
  padding-top: 18px;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--orange-700);
  margin-bottom: 12px;
}
.steps p {
  margin-top: 8px;
  color: var(--ink-700);
}

/* ---------- pantry ---------- */

.pantry {
  padding: var(--section) 0;
}
.split {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }
}
.split h2 + p {
  margin-top: 16px;
  color: var(--ink-700);
  max-width: 34rem;
}

.pantry-card {
  margin: 0;
  width: 100%;
  max-width: 440px;
  justify-self: center;
}
.pantry-card ul {
  list-style: none;
  margin: 0;
  padding: 8px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}
.pantry-card li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.pantry-card li:last-child {
  border-bottom: 0;
}
.pantry-card strong {
  color: var(--text);
  margin-right: 6px;
}
.chip {
  flex: none;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
}
.chip-green {
  background: var(--green-100);
  color: var(--green-900);
}
.chip-orange {
  background: var(--orange-100);
  color: var(--orange-900);
}
.chip-red {
  background: var(--red-100);
  color: var(--red-700);
}

/* ---------- vendors ---------- */

.vendors {
  padding: var(--section) 0;
  background: var(--green-900);
  color: var(--white);
}
.vendors a:not(.btn) {
  color: var(--white);
}
.eyebrow-light {
  color: var(--orange-100);
}
.vendors h2 + p {
  color: var(--green-100);
}
.vendors .btn {
  margin-top: 28px;
}
.vendor-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.vendor-points li {
  padding: 18px 20px;
  border-radius: var(--radius-card);
  background: var(--green-950);
  border: 1px solid var(--green-700);
  color: var(--green-100);
}
.vendor-points strong {
  display: block;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin-bottom: 2px;
}

/* ---------- faq ---------- */

.faq {
  padding: var(--section) 0;
}
.faq h2 {
  margin-bottom: 20px;
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 12px 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.0625rem;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream-200);
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--green-900);
}
details[open] summary::after {
  content: "−";
}
details p {
  padding: 0 0 20px;
  color: var(--ink-700);
  max-width: 40rem;
}

/* ---------- final + footer ---------- */

.final {
  padding: 0 0 var(--section);
}
.final-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.final-inner h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}
@media (max-width: 480px) {
  .final-inner .btn {
    flex: 1 1 100%;
  }
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 32px;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--ink-700);
  font-weight: 600;
}
.site-footer .small {
  margin-left: auto;
}

/* ---------- preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (forced-colors: active) {
  .btn,
  .ticket,
  .stub,
  .compare-card,
  .pantry-card ul,
  .vendor-points li,
  .chip,
  .badge-off {
    border: 1px solid CanvasText;
  }
  .stub::before,
  .stub::after,
  .hero::before,
  .hero::after {
    display: none;
  }
}

.notfound {
  padding-block: 48px var(--section);
}
.notfound h1 {
  margin-top: 40px;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
}
