:root {
  color-scheme: dark;
  --ink: #020202;
  --ink-2: #090907;
  --night: #070808;
  --panel: #101111;
  --panel-2: #181816;
  --line: #31312d;
  --line-soft: rgba(244, 230, 203, 0.1);
  --bone: #f4ead8;
  --muted: #b4aa97;
  --dim: #756f64;
  --ember: #e15131;
  --ember-2: #ff8752;
  --acid: #d3f26a;
  --teal: #68d4c7;
  --warning: #f3bd51;
  --danger: #ff5d5d;
  --gold: #d0a24a;
  --smoke: rgba(244, 234, 216, 0.055);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.54);
  --hard-shadow: 0 36px 120px rgba(0, 0, 0, 0.68);
  --radius: 16px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 52% 0%, rgba(255, 255, 255, 0.055), transparent 28rem),
    radial-gradient(circle at 15% -8%, rgba(225, 81, 49, 0.26), transparent 31rem),
    radial-gradient(circle at 90% 9%, rgba(211, 242, 106, 0.08), transparent 26rem),
    radial-gradient(circle at 50% 110%, rgba(104, 212, 199, 0.08), transparent 30rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 22rem),
    var(--ink);
  color: var(--bone);
  font-family: "Chivo", "Aptos", sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 14px);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.68), transparent 72%);
}

body::after {
  position: fixed;
  inset: auto 8vw -22rem auto;
  z-index: -1;
  width: 34rem;
  height: 34rem;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(208, 162, 74, 0.12);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(225, 81, 49, 0.09), transparent 64%);
  filter: blur(2px);
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

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

body.menu-open {
  overflow: hidden;
}

.menu-trigger {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 44;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 46px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(232, 77, 53, 0.22), rgba(255, 255, 255, 0.04)),
    rgba(3, 3, 3, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.36);
  color: var(--bone);
  cursor: pointer;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.site-chip {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 42;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 46px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(3, 3, 3, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  color: var(--bone);
  font-weight: 900;
  padding: 0.45rem 0.85rem;
}

.site-chip::before {
  display: inline-grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(225, 81, 49, 0.5);
  border-radius: 10px;
  color: var(--ember-2);
  content: "BE";
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
}

.site-chip small {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

.menu-trigger:hover,
.menu-trigger:focus-visible {
  border-color: rgba(232, 77, 53, 0.48);
  outline: none;
}

.menu-icon {
  display: grid;
  gap: 4px;
  width: 20px;
}

.menu-icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.site-drawer {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 50;
  display: grid;
  width: min(360px, calc(100vw - 1rem));
  grid-template-rows: auto auto 1fr;
  gap: 1rem;
  padding: 1rem;
  border-right: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 0% 0%, rgba(225, 81, 49, 0.24), transparent 15rem),
    radial-gradient(circle at 100% 20%, rgba(211, 242, 106, 0.07), transparent 15rem),
    linear-gradient(145deg, rgba(20, 20, 18, 0.99), rgba(4, 4, 5, 0.99));
  box-shadow: 36px 0 90px rgba(0, 0, 0, 0.5);
  transform: translateX(calc(-100% - 2rem));
  transition:
    transform 220ms ease,
    visibility 220ms ease;
  visibility: hidden;
}

body.menu-open .site-drawer {
  transform: translateX(0);
  visibility: visible;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.drawer-close {
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.45rem 0.65rem;
  text-transform: uppercase;
}

.drawer-close:hover,
.drawer-close:focus-visible {
  color: var(--bone);
  outline: none;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

body.menu-open .menu-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(225, 81, 49, 0.58);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #191919, #060606);
  color: var(--ember-2);
  font-family: "IBM Plex Mono", monospace;
  font-weight: 600;
}

.brand-mark strong,
.brand-mark small {
  display: block;
}

.brand-mark strong {
  font-size: 0.98rem;
}

.brand-mark small {
  color: var(--muted);
  font-size: 0.74rem;
}

.site-nav {
  display: grid;
  gap: 0.55rem;
  border: 1px solid var(--line-soft);
  border-radius: calc(var(--radius) + 4px);
  padding: 0.45rem;
  background: rgba(255, 255, 255, 0.035);
}

.site-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.72rem 0.85rem;
  border-radius: 10px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  background:
    linear-gradient(135deg, rgba(225, 81, 49, 0.18), rgba(255, 255, 255, 0.055));
  color: var(--bone);
  outline: none;
}

.nav-pill {
  display: inline-grid;
  min-width: 21px;
  min-height: 21px;
  place-items: center;
  border-radius: 999px;
  background: var(--ember);
  color: white;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
}

.drawer-note {
  align-self: end;
  margin: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  font-size: 0.85rem;
  padding: 0.85rem;
}

#app {
  width: 100%;
  min-height: calc(100vh - 80px);
  margin: 0 auto;
  overflow: hidden;
  padding: 5.8rem 0 4rem;
}

#app > section:not(.hero-page):not(.feature-showcase) {
  width: min(var(--max), calc(100% - 2rem));
  margin-right: auto;
  margin-left: auto;
}

.hero-page {
  position: relative;
  display: grid;
  width: min(1520px, calc(100% - 1.4rem));
  min-height: min(82vh, 860px);
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(0.75rem, 2vw, 1.25rem);
  align-items: end;
  isolation: isolate;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(244, 230, 203, 0.09);
  border-radius: clamp(22px, 4vw, 42px);
  box-shadow: var(--hard-shadow);
}

.hero-page::before {
  position: absolute;
  inset: 1rem 1rem auto auto;
  z-index: -1;
  width: min(38vw, 390px);
  height: min(38vw, 390px);
  content: "";
  border: 1px solid rgba(208, 162, 74, 0.18);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(211, 242, 106, 0.08), transparent 63%),
    conic-gradient(from 130deg, transparent, rgba(225, 81, 49, 0.15), transparent 42%);
  filter: blur(0.2px);
}

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 82% 38%, rgba(225, 81, 49, 0.08), transparent 22rem),
    linear-gradient(90deg, rgba(3, 3, 3, 0.99), rgba(3, 3, 3, 0.66), rgba(3, 3, 3, 0.08)),
    linear-gradient(0deg, rgba(3, 3, 3, 0.96), transparent 52%),
    url("assets/blackout-hero-mbk.png") center right / cover;
  transform: scale(1.01);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-art::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 12px),
    radial-gradient(circle at 74% 41%, transparent 0 16rem, rgba(0, 0, 0, 0.25) 26rem);
  mix-blend-mode: screen;
  opacity: 0.28;
}

.hero-panel {
  width: min(720px, 100%);
  margin: clamp(0.9rem, 2.4vw, 2rem);
  border: 1px solid rgba(244, 230, 203, 0.1);
  border-radius: clamp(20px, 4vw, 36px);
  background:
    radial-gradient(circle at 0% 0%, rgba(225, 81, 49, 0.18), transparent 16rem),
    linear-gradient(145deg, rgba(244, 234, 216, 0.18), rgba(244, 234, 216, 0.055)),
    rgba(4, 4, 5, 0.72);
  backdrop-filter: blur(22px) saturate(1.2);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
  padding: clamp(1.2rem, 4vw, 3.25rem);
  animation: liftIn 640ms cubic-bezier(.2,.8,.2,1) both;
}

.hero-panel h1,
.page-hero h1,
.auth-copy h1 {
  color: #fff2dc;
  margin: 0;
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-size: clamp(3rem, 7vw, 6.8rem);
  text-shadow: 0 8px 36px rgba(0, 0, 0, 0.65);
}

.hero-panel h1 {
  max-width: 12ch;
  font-size: clamp(3.05rem, 5.6vw, 6rem);
}

.account-login-page .auth-copy h1 {
  font-size: clamp(3rem, 6vw, 5.6rem);
}

.hero-panel p:not(.eyebrow),
.page-hero p,
.auth-copy p {
  max-width: 58ch;
  color: #d8cbb5;
  font-size: 1.06rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-actions {
  margin-top: 1.4rem;
}

.hero-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: clamp(1rem, 2.8vw, 2rem);
}

.hero-proof-grid span {
  min-height: 86px;
  border: 1px solid rgba(244, 230, 203, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.075);
  color: #d4c6b0;
  font-size: 0.82rem;
  padding: 0.75rem;
}

.hero-proof-grid strong {
  display: block;
  color: var(--bone);
  font-family: "IBM Plex Mono", monospace;
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  line-height: 1;
}

.status-card {
  align-self: end;
  margin: 0 clamp(0.85rem, 2vw, 1.6rem) clamp(0.85rem, 2vw, 1.6rem) 0;
  border: 1px solid rgba(199, 243, 111, 0.32);
  border-radius: 24px;
  background:
    radial-gradient(circle at 0% 0%, rgba(211, 242, 106, 0.16), transparent 9rem),
    linear-gradient(145deg, rgba(211, 242, 106, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(16, 18, 20, 0.78);
  backdrop-filter: blur(18px);
  padding: 1.1rem;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.38);
  animation: liftIn 760ms 120ms cubic-bezier(.2,.8,.2,1) both;
}

.status-card span,
.status-card small {
  display: block;
  color: var(--muted);
}

.status-card strong {
  display: block;
  margin: 0.25rem 0;
  font-size: 1.35rem;
}

.page-hero {
  display: grid;
  gap: 0.65rem;
  padding: clamp(2rem, 8vw, 5rem) 0 1.5rem;
}

.visual-hero {
  position: relative;
  min-height: 350px;
  align-content: end;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: clamp(22px, 4vw, 38px);
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.96), rgba(3, 3, 3, 0.7), transparent),
    var(--hero-image) center right / cover;
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 5vw, 3rem);
}

.visual-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 11px),
    radial-gradient(circle at 80% 18%, rgba(211, 242, 106, 0.09), transparent 18rem);
  opacity: 0.55;
}

.visual-hero > * {
  position: relative;
  z-index: 1;
}

.feeder-hero {
  --hero-image: url("assets/blackout-feeder-room.png");
}

.animal-hero {
  --hero-image: url("assets/blackout-hero-mbk.png");
}

.page-hero.compact h1 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
}

.owner-hero {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.eyebrow {
  margin: 0;
  color: var(--acid);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.7rem 0.95rem;
  cursor: pointer;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
}

.button.primary {
  background: linear-gradient(135deg, var(--ember), #9f211b);
  color: white;
  box-shadow: 0 14px 34px rgba(225, 81, 49, 0.22);
}

.button.secondary {
  border-color: rgba(211, 242, 106, 0.34);
  background: rgba(211, 242, 106, 0.1);
  color: var(--acid);
}

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--bone);
}

.button.small {
  min-height: 34px;
  padding: 0.5rem 0.65rem;
  font-size: 0.86rem;
}

.store-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 1rem;
  margin-bottom: 2rem;
  border: 1px solid var(--line-soft);
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(90deg, rgba(225, 81, 49, 0.08), transparent 50%, rgba(211, 242, 106, 0.045)),
    rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.store-strip article {
  padding: 1rem;
}

.store-strip article + article {
  border-left: 1px solid var(--line-soft);
}

.store-strip strong {
  display: block;
  color: var(--bone);
  font-family: "IBM Plex Mono", monospace;
  font-size: 2rem;
}

.store-strip span,
.muted {
  color: var(--muted);
}

.feature-showcase {
  display: grid;
  width: min(var(--max), calc(100% - 2rem));
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr) minmax(280px, 0.8fr);
  gap: 1rem;
  margin: 0 auto 3rem;
}

.feature-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: clamp(22px, 3vw, 32px);
  background:
    linear-gradient(160deg, rgba(244, 234, 216, 0.08), rgba(244, 234, 216, 0.02)),
    rgba(8, 8, 7, 0.78);
  box-shadow: var(--shadow);
  animation: cardRise 620ms cubic-bezier(.2,.8,.2,1) both;
  animation-delay: var(--stagger, 0ms);
}

.image-card {
  display: flex;
  align-items: flex-end;
}

.image-card::before,
.image-card::after {
  position: absolute;
  inset: 0;
  content: "";
}

.image-card::before {
  background: var(--feature-image) center / cover;
  transform: scale(1.04);
  transition: transform 900ms ease, filter 500ms ease;
}

.image-card::after {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.12) 58%, rgba(0, 0, 0, 0.02)),
    linear-gradient(115deg, rgba(225, 81, 49, 0.18), transparent 45%);
}

.image-card:hover::before {
  filter: saturate(1.1) contrast(1.05);
  transform: scale(1.08);
}

.image-card > div {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.65rem;
  padding: clamp(1rem, 3vw, 1.45rem);
}

.feature-card h2,
.feature-card h3 {
  color: #fff1da;
  margin: 0;
  line-height: 1;
  letter-spacing: -0.035em;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.58);
}

.feature-card h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.feature-card p {
  max-width: 48ch;
  margin: 0;
  color: #d5c7b1;
}

.feeder-feature {
  --feature-image: url("assets/blackout-feeder-room.png");
}

.animal-feature {
  --feature-image: url("assets/blackout-hero-mbk.png");
}

.process-feature {
  display: grid;
  align-content: end;
  gap: 0.75rem;
  padding: clamp(1rem, 3vw, 1.45rem);
  background:
    linear-gradient(150deg, rgba(244, 234, 216, 0.11), rgba(244, 234, 216, 0.035)),
    rgba(9, 9, 8, 0.9);
}

.process-feature::before {
  position: absolute;
  inset: 1rem;
  content: "";
  border: 1px solid rgba(211, 242, 106, 0.16);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(211, 242, 106, 0.12), transparent 13rem),
    radial-gradient(circle at 0% 100%, rgba(225, 81, 49, 0.14), transparent 16rem);
}

.process-feature > * {
  position: relative;
  z-index: 1;
}

.feature-number {
  width: max-content;
  border: 1px solid rgba(211, 242, 106, 0.32);
  border-radius: 999px;
  color: var(--acid);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  padding: 0.25rem 0.55rem;
}

.page-section {
  padding: 2rem 0;
}

.split-heading,
.panel-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.split-heading h2,
.panel-heading h2,
.inquiry-panel h2 {
  margin: 0;
}

.step-grid,
.catalog-grid,
.animal-grid,
.auth-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.step-grid article,
.product-card,
.animal-card,
.panel,
.inquiry-panel,
.cart-list,
.success-card,
.inquiry-card {
  border: 1px solid var(--line-soft);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(180deg, rgba(244, 234, 216, 0.07), rgba(244, 234, 216, 0.025)),
    rgba(10, 11, 11, 0.74);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.product-card,
.animal-card,
.step-grid article,
.inquiry-card {
  animation: cardRise 520ms cubic-bezier(.2,.8,.2,1) both;
  animation-delay: var(--stagger, 0ms);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.product-card:hover,
.animal-card:hover,
.step-grid article:hover,
.inquiry-card:hover {
  transform: translateY(-3px);
  border-color: rgba(208, 162, 74, 0.28);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.step-grid article {
  padding: 1rem;
}

.step-grid span,
.mono {
  color: var(--acid);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.82rem;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.9rem;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.field {
  display: grid;
  gap: 0.38rem;
}

.field span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0c0d0e;
  color: var(--bone);
  padding: 0.72rem 0.78rem;
  outline: none;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(199, 243, 111, 0.6);
  box-shadow: 0 0 0 3px rgba(199, 243, 111, 0.12);
}

.wide {
  grid-column: 1 / -1;
}

.product-card {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.product-card header,
.product-card p,
.product-card footer {
  padding-right: 1rem;
  padding-left: 1rem;
}

.product-card header {
  padding-top: 1rem;
}

.product-card footer {
  padding-bottom: 1rem;
}

.product-media {
  position: relative;
  min-height: 168px;
  overflow: hidden;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.88), transparent 60%),
    url("assets/blackout-feeder-room.png") center / cover;
}

.product-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 80% 12%, rgba(211, 242, 106, 0.12), transparent 9rem),
    linear-gradient(115deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 10px);
  opacity: 0.75;
}

.product-media span {
  position: absolute;
  right: 0.85rem;
  bottom: 0.75rem;
  z-index: 1;
  border: 1px solid rgba(244, 230, 203, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.52);
  color: var(--bone);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  padding: 0.24rem 0.55rem;
}

.product-card header,
.animal-body header,
.cart-row,
.inquiry-card header,
.owner-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.product-card h3,
.animal-card h3 {
  margin: 0.4rem 0 0;
}

.product-card p,
.animal-card p,
.step-grid p,
.inquiry-card p {
  color: var(--muted);
}

.product-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.tag,
.mini-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 0.22rem 0.5rem;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
}

.tag.ok {
  border-color: rgba(199, 243, 111, 0.38);
  color: var(--acid);
}

.tag.warn {
  border-color: rgba(243, 189, 81, 0.45);
  color: var(--warning);
}

.tag.hot {
  border-color: rgba(232, 77, 53, 0.48);
  color: var(--ember-2);
}

.animal-card {
  overflow: hidden;
}

.animal-photo {
  position: relative;
  display: grid;
  min-height: 260px;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(232, 77, 53, 0.2), transparent 45%),
    repeating-linear-gradient(120deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 12px),
    #0a0b0c;
}

.animal-photo img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 700ms ease, filter 380ms ease;
}

.animal-card:hover .animal-photo img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.045);
}

.animal-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), transparent 52%);
  pointer-events: none;
}

.animal-photo span {
  color: rgba(241, 238, 230, 0.16);
  font-size: 3.6rem;
  font-weight: 800;
}

.animal-body {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cart-layout,
.owner-grid,
.owner-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 1rem;
  align-items: start;
}

.owner-layout {
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
}

.cart-list,
.inquiry-panel,
.panel,
.success-card {
  padding: 1rem;
}

.cart-row {
  align-items: center;
  border-top: 1px solid var(--line-soft);
  padding: 0.85rem 0;
}

.cart-row span {
  display: block;
  color: var(--muted);
}

.cart-row small {
  display: block;
  margin-top: 0.2rem;
  color: var(--acid);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.74rem;
}

.cart-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.icon-button {
  display: inline-grid;
  min-width: 34px;
  min-height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--bone);
  cursor: pointer;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
}

.icon-button:hover,
.icon-button:focus-visible {
  border-color: rgba(199, 243, 111, 0.5);
  outline: none;
}

.icon-button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.icon-button.danger:hover,
.icon-button.danger:focus-visible {
  border-color: rgba(255, 93, 93, 0.6);
  color: var(--danger);
}

.stack-form {
  display: grid;
  gap: 0.85rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.success-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
  border-color: rgba(199, 243, 111, 0.32);
}

.success-card h2 {
  margin: 0;
  color: var(--acid);
  font-family: "IBM Plex Mono", monospace;
}

.success-card pre {
  grid-column: 1 / -1;
  overflow: auto;
  max-height: 320px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.28);
  color: var(--muted);
  padding: 0.9rem;
  white-space: pre-wrap;
}

.auth-page,
.owner-lock-page {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1rem;
  align-items: start;
  padding-top: clamp(2rem, 8vw, 5rem);
}

.auth-copy {
  position: sticky;
  top: 100px;
  border: 1px solid var(--line-soft);
  border-radius: calc(var(--radius) + 12px);
  background:
    radial-gradient(circle at 0% 0%, rgba(225, 81, 49, 0.16), transparent 16rem),
    linear-gradient(145deg, rgba(244, 234, 216, 0.08), rgba(244, 234, 216, 0.02));
  padding: clamp(1.1rem, 3vw, 2rem);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.auth-grid {
  grid-template-columns: 1fr 1fr;
}

.account-auth-grid {
  align-items: stretch;
}

.auth-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.2rem;
}

.auth-points span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(211, 242, 106, 0.22);
  border-radius: 999px;
  background: rgba(211, 242, 106, 0.07);
  color: var(--acid);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  padding: 0.25rem 0.58rem;
}

.account-google-login {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border-color: rgba(211, 242, 106, 0.24);
  background:
    linear-gradient(135deg, rgba(211, 242, 106, 0.1), rgba(225, 81, 49, 0.08)),
    rgba(13, 14, 13, 0.9);
}

.account-google-login h2 {
  margin: 0.2rem 0 0.35rem;
}

.account-google-login .muted {
  margin: 0;
}

.owner-lock-panel {
  display: grid;
  gap: 1rem;
}

.google-login {
  display: grid;
  gap: 0.5rem;
}

.google-login span,
.owner-divider span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

#google-signin-button {
  min-width: 240px;
}

.owner-divider {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.owner-divider::before,
.owner-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line-soft);
}

.inquiry-list,
.owner-list {
  display: grid;
  gap: 0.75rem;
}

.inventory-manager {
  display: grid;
  gap: 1rem;
}

.inventory-manager > section {
  display: grid;
  gap: 0.75rem;
}

.mini-heading,
.editor-heading,
.editor-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.mini-heading h3,
.editor-heading h3 {
  margin: 0;
}

.owner-card-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.editor-shell {
  border: 1px solid rgba(211, 242, 106, 0.18);
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(145deg, rgba(211, 242, 106, 0.07), rgba(225, 81, 49, 0.04)),
    rgba(0, 0, 0, 0.18);
  padding: 1rem;
}

.compact-list {
  max-height: 780px;
  overflow: auto;
  padding-right: 0.2rem;
}

.inquiry-card {
  padding: 0.9rem;
}

.inquiry-card h3 {
  margin: 0.25rem 0;
}

.mini-field {
  min-width: 150px;
}

.owner-row {
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.8rem;
}

.owner-row span,
.owner-row small {
  display: block;
  color: var(--muted);
}

.owner-row small {
  margin-top: 0.22rem;
  font-size: 0.78rem;
}

.owner-row.active {
  border-color: rgba(211, 242, 106, 0.42);
  background: rgba(211, 242, 106, 0.06);
}

.empty-state {
  display: grid;
  min-height: 180px;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
  padding: 1rem;
}

.empty-state strong,
.empty-state span {
  display: block;
}

.empty-state svg {
  width: 28px;
  height: 28px;
  color: var(--dim);
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  max-width: min(360px, calc(100% - 2rem));
  border: 1px solid rgba(199, 243, 111, 0.28);
  border-radius: var(--radius);
  background: rgba(16, 18, 20, 0.96);
  box-shadow: var(--shadow);
  color: var(--bone);
  padding: 0.9rem 1rem;
  animation: toastIn 180ms ease both;
}

@keyframes liftIn {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes cardRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.01) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.05) translate3d(-1.1rem, -0.35rem, 0);
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 980px) {
  .split-heading,
  .panel-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .menu-trigger {
    top: 0.75rem;
    left: 0.75rem;
  }

  .site-chip {
    top: 0.75rem;
    right: 0.75rem;
  }

  .site-drawer {
    width: min(340px, calc(100vw - 0.75rem));
  }

  #app {
    width: 100%;
    margin: 0 auto;
    padding-top: 5rem;
  }

  #app > section:not(.hero-page):not(.feature-showcase) {
    width: min(var(--max), calc(100% - 1.5rem));
  }

  .hero-page,
  .cart-layout,
  .owner-grid,
  .owner-layout,
  .auth-page,
  .owner-lock-page,
  .owner-hero {
    grid-template-columns: 1fr;
  }

  .hero-page {
    width: min(var(--max), calc(100% - 1.5rem));
    min-height: 720px;
  }

  .status-card,
  .auth-copy {
    position: static;
    margin: 0;
  }

  .step-grid,
  .catalog-grid,
  .animal-grid,
  .auth-grid,
  .owner-card-list,
  .feature-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-showcase {
    width: min(var(--max), calc(100% - 1.5rem));
  }

  .process-feature {
    grid-column: 1 / -1;
    min-height: 260px;
  }

  .account-google-login {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 660px) {
  #app {
    width: 100%;
    margin: 0 auto;
    padding-top: 4.8rem;
  }

  #app > section:not(.hero-page):not(.feature-showcase) {
    width: min(var(--max), calc(100% - 1rem));
  }

  .menu-trigger {
    top: 0.65rem;
    left: 0.65rem;
    min-height: 42px;
    padding: 0.55rem 0.7rem;
  }

  .site-chip {
    top: 0.65rem;
    right: 0.65rem;
    min-height: 42px;
    max-width: calc(100vw - 8rem);
    padding: 0.42rem 0.65rem;
  }

  .site-chip::before,
  .site-chip small {
    display: none;
  }

  .site-chip span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .site-drawer {
    width: min(320px, calc(100vw - 0.5rem));
    padding: 0.75rem;
  }

  .drawer-head {
    align-items: flex-start;
  }

  .site-nav {
    gap: 0.4rem;
    padding: 0.35rem;
  }

  .site-nav a {
    min-height: 44px;
    padding: 0.62rem 0.7rem;
    font-size: 0.95rem;
  }

  .nav-pill {
    min-width: 18px;
    min-height: 18px;
    font-size: 0.62rem;
  }

  .hero-panel h1,
  .page-hero h1,
  .auth-copy h1 {
    font-size: clamp(2.7rem, 15vw, 4.2rem);
  }

  .hero-page {
    width: min(var(--max), calc(100% - 1rem));
    min-height: 680px;
    border-radius: 24px;
  }

  .hero-panel {
    margin: 0.65rem;
  }

  .hero-proof-grid {
    grid-template-columns: 1fr;
  }

  .store-strip,
  .step-grid,
  .catalog-grid,
  .animal-grid,
  .owner-card-list,
  .auth-grid,
  .feature-showcase,
  .catalog-toolbar,
  .form-grid,
  .success-card {
    grid-template-columns: 1fr;
  }

  .feature-showcase {
    width: min(var(--max), calc(100% - 1rem));
  }

  .feature-card {
    min-height: 360px;
  }

  .process-feature {
    min-height: 300px;
  }

  #google-signin-button {
    min-width: 0;
  }

  .store-strip article + article {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }

  .product-card footer,
  .cart-row,
  .inquiry-card header,
  .owner-row,
  .mini-heading,
  .editor-heading,
  .editor-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
