:root {
  --duck-yellow: #ffd84d;
  --duck-yellow-deep: #f5c800;
  --ink: #0f172a;
  --ink-soft: #1e293b;
  --mint: #2dd4bf;
  --mint-soft: rgba(45, 212, 191, 0.18);
  --paper: #fff7d6;
  --surface: #fffdf6;
  --surface-strong: #fff9e8;
  --line: rgba(15, 23, 42, 0.1);
  --line-strong: rgba(15, 23, 42, 0.18);
  --muted: #475569;
  --shadow-soft: 0 4px 24px rgba(15, 23, 42, 0.07), 0 1px 4px rgba(15, 23, 42, 0.05);
  --shadow-hover: 0 12px 40px rgba(15, 23, 42, 0.13), 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-hero: 0 32px 80px rgba(15, 23, 42, 0.14);
  --radius-lg: 2rem;
  --radius-md: 1.25rem;
  --radius-sm: 0.85rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Subtle grain overlay for warmth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

body {
  margin: 0;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 8% 0%, rgba(255, 216, 77, 0.38), transparent 30%),
    radial-gradient(ellipse at 92% 0%, rgba(45, 212, 191, 0.2), transparent 24%),
    radial-gradient(ellipse at 50% 100%, rgba(255, 216, 77, 0.08), transparent 40%),
    linear-gradient(180deg, #fffdf8 0%, #fff8e4 44%, #fffdf6 100%);
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--ink);
  color: var(--surface);
  padding: 1rem;
  z-index: 10000;
  transition: top 200ms ease;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

.site-shell {
  min-height: 100vh;
}

/* ─── Topbar ─────────────────────────────────────── */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(24px);
  background: rgba(255, 253, 246, 0.82);
  border-bottom: 1px solid var(--line);
}

.topbar-inner,
.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 76px;
}

.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.brandmark-glyph {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(255, 216, 77, 0.95), rgba(255, 247, 214, 0.9));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.07);
  transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 220ms ease;
}

.brandmark:hover .brandmark-glyph {
  transform: rotate(8deg) scale(1.08);
  box-shadow: var(--shadow-hover);
}

.brand-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-logo-nav {
  width: 2.1rem;
  height: 2.1rem;
}

.brandmark-text,
.hero-brand-text {
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.brandmark-text {
  font-size: 1.2rem;
}

.topnav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.topnav-shell {
  display: contents;
}

.nav-toggle {
  display: none;
  min-height: 2.8rem;
  width: 2.8rem;
  padding: 0;
  border: 1.5px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 246, 0.8);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.nav-toggle:hover {
  background: rgba(255, 216, 77, 0.2);
  border-color: rgba(15, 23, 42, 0.2);
}

/* Hamburger bars */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
  pointer-events: none;
}

.hamburger span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 240ms cubic-bezier(0.4, 0, 0.2, 1), opacity 160ms ease, width 200ms ease;
  transform-origin: center;
}

body.nav-open .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

body.nav-open .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.topnav a {
  position: relative;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
  transition: color 160ms ease;
}

.topnav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  background: var(--duck-yellow-deep);
  border-radius: 99px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.topnav a:hover {
  color: var(--ink);
}

.topnav a:hover::after {
  transform: scaleX(1);
}

/* ─── Hero ────────────────────────────────────────── */

.hero {
  position: relative;
  overflow: clip;
  min-height: calc(100svh - 76px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 82% 18%, rgba(45, 212, 191, 0.26), transparent 22%),
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.3), transparent 20%),
    linear-gradient(135deg, #fff7d6 0%, #ffd84d 34%, #ffe78c 58%, #fff6cc 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 22rem;
  height: 22rem;
  top: -7rem;
  right: -3rem;
  background: rgba(15, 23, 42, 0.07);
  filter: blur(14px);
  animation: drift 14s ease-in-out infinite;
}

.hero::after {
  width: 16rem;
  height: 16rem;
  bottom: -4rem;
  left: -3rem;
  background: rgba(45, 212, 191, 0.18);
  filter: blur(12px);
  animation: drift 18s ease-in-out infinite reverse;
}

.hero-inner {
  width: min(1240px, calc(100% - 2.4rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 2.5rem;
  align-items: center;
  padding: 3.5rem 0 4.5rem;
}

.hero-copy {
  max-width: 34rem;
}

.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.hero-brand-mark {
  width: 4rem;
  height: 4rem;
  padding: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.25rem;
  background: rgba(255, 253, 246, 0.8);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-soft);
}

.brand-logo-hero {
  width: 3.15rem;
  height: 3.15rem;
}

.hero-brand-text {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 0.95;
}

.eyebrow {
  display: inline-flex;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: rgba(255, 253, 246, 0.75);
}

.display,
.section-title {
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.display {
  margin: 1rem 0 1rem;
  font-size: clamp(3.5rem, 8.5vw, 6.4rem);
  line-height: 0.9;
  max-width: 8ch;
}

.lede {
  max-width: 34rem;
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(15, 23, 42, 0.76);
}

.hero-actions,
.button-row {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.button,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 180ms cubic-bezier(0.34, 1.56, 0.64, 1), background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.button {
  background: var(--ink);
  color: var(--surface);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2), 0 2px 6px rgba(15, 23, 42, 0.12);
}

.button-ghost {
  border: 1.5px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 253, 246, 0.8);
  color: var(--ink);
}

.button:hover {
  transform: translateY(-2px) scale(1.01);
  background: var(--ink-soft);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.26), 0 3px 8px rgba(15, 23, 42, 0.12);
}

.button-ghost:hover {
  transform: translateY(-2px) scale(1.01);
  background: rgba(255, 216, 77, 0.2);
  border-color: rgba(15, 23, 42, 0.22);
}

.hero-notes {
  display: grid;
  gap: 0.65rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-notes li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.96rem;
  color: rgba(15, 23, 42, 0.74);
}

.hero-notes li::before {
  content: "";
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 0 5px rgba(45, 212, 191, 0.2), 0 0 10px rgba(45, 212, 191, 0.3);
  flex: none;
}

.hero-visual {
  align-self: stretch;
}

.hero-visual-shell {
  height: 100%;
  min-height: 32rem;
  border-radius: min(3rem, 8vw);
  padding: 2rem;
  background:
    linear-gradient(160deg, rgba(15, 23, 42, 0.97), rgba(15, 23, 42, 0.88)),
    radial-gradient(circle at top right, rgba(45, 212, 191, 0.18), transparent 34%);
  color: var(--surface);
  box-shadow: var(--shadow-hero);
  display: grid;
  grid-template-rows: 1fr auto auto;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero-visual-shell::after {
  content: "";
  position: absolute;
  inset: auto -3rem -4rem auto;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: rgba(255, 216, 77, 0.18);
  filter: blur(12px);
}

.hero-visual-duck {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-stage {
  width: min(100%, 310px);
  padding: 1rem;
  border-radius: 2rem;
  background: rgba(255, 253, 246, 0.94);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.brand-logo-stage {
  width: 100%;
  height: auto;
}

.hero-search-card {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 253, 246, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.hero-search-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hero-search-query {
  display: flex;
  align-items: center;
  min-height: 2.6rem;
  padding: 0 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.95rem;
}

.hero-search-hit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  color: rgba(255, 255, 255, 0.78);
}

.hero-search-hit .pill {
  align-self: flex-start;
}

.hero-search-hit strong {
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
  color: #fff9cf;
  line-height: 1.1;
}

.hero-signal-strip {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-signal-strip span {
  display: inline-flex;
  min-height: 2.1rem;
  align-items: center;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
  font-weight: 800;
  transition: background 160ms ease, border-color 160ms ease;
  cursor: default;
}

.hero-signal-strip span:hover {
  background: rgba(255, 216, 77, 0.18);
  border-color: rgba(255, 216, 77, 0.3);
}

/* ─── Sections ────────────────────────────────────── */

.section {
  padding: 4.5rem 0;
}

.section-title {
  margin: 0 0 0.85rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 0.94;
  max-width: 12ch;
}

.section-kicker {
  color: var(--mint);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.section-kicker::before {
  content: "· ";
  color: var(--duck-yellow-deep);
}

.section-copy {
  max-width: 42rem;
  color: var(--muted);
  line-height: 1.72;
}

.grid-2,
.grid-3 {
  display: grid;
  gap: 1rem;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.row-grid {
  gap: 0.9rem;
}

.story-grid {
  align-items: stretch;
}

.story-card {
  min-height: 100%;
}

/* ─── Panels ──────────────────────────────────────── */

.panel {
  background: rgba(255, 253, 246, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-soft);
  transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 220ms ease;
}

.panel:hover {
  transform: translateY(-3px) rotate(0.3deg);
  box-shadow: var(--shadow-hover);
}

.panel-band {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 249, 232, 0.9));
}

.panel-brand {
  border-left: 5px solid var(--duck-yellow);
}

.panel h2,
.panel h3,
.panel h4 {
  margin: 0 0 0.5rem;
  font-family: "Sora", "Manrope", sans-serif;
  letter-spacing: -0.04em;
}

.panel p,
.panel li,
.meta-list {
  color: var(--muted);
  line-height: 1.7;
  margin: 0.35rem 0;
}

/* ─── Score & chips ───────────────────────────────── */

.score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1rem;
}

.score-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.35rem;
}

.score-chip strong {
  font-size: 0.95rem;
}

.score-chip span {
  color: var(--ink);
  font-weight: 800;
}

/* ─── Table ───────────────────────────────────────── */

.table-shell {
  overflow-x: auto;
  margin-top: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 246, 0.96);
  box-shadow: var(--shadow-soft);
}

.filter-bar {
  display: grid;
  gap: 0.85rem;
}

.filter-input,
.filter-select {
  width: 100%;
  min-height: 3.1rem;
  border: 1.5px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-sm);
  background: #fffef9;
  color: var(--ink);
  padding: 0 1rem;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 216, 77, 0.14);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.filter-input::placeholder {
  color: rgba(71, 85, 105, 0.7);
}

.filter-input:focus,
.filter-select:focus {
  outline: none;
  border-color: rgba(45, 212, 191, 0.7);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.14);
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

th {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 216, 77, 0.09);
}

tbody tr {
  transition: background 140ms ease;
}

tbody tr:hover {
  background: rgba(255, 216, 77, 0.1);
}

/* ─── Pills & badges ──────────────────────────────── */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 1.9rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: rgba(45, 212, 191, 0.2);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.pill-muted {
  background: rgba(15, 23, 42, 0.08);
  color: var(--muted);
}

.pill-success {
  background: rgba(125, 211, 156, 0.24);
  color: #14532d;
}

.pill-caution {
  background: rgba(255, 216, 77, 0.26);
  color: #7c5800;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.95rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: rgba(255, 216, 77, 0.18);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-pill-muted {
  background: rgba(15, 23, 42, 0.06);
  color: var(--ink-soft);
}

.table-dupe,
.table-stack,
.table-offer {
  display: grid;
  gap: 0.38rem;
}

.table-dupe {
  align-content: start;
}

.table-dupe-name,
.table-subtle,
.table-offer-meta,
.table-empty {
  color: var(--muted);
  line-height: 1.45;
}

.table-dupe-name {
  color: var(--ink);
  font-weight: 700;
}

.table-stack strong {
  font-size: 0.98rem;
  line-height: 1.35;
}

.table-inline-meta {
  margin-top: 0.55rem;
}

.brand-link {
  display: inline-flex;
  text-decoration: none;
}

.table-offer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--surface);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  white-space: nowrap;
}

.table-offer-link:hover {
  transform: translateY(-1px);
  background: var(--ink-soft);
}

.table-empty {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
}

/* ─── Link lists ──────────────────────────────────── */

.link-list,
.plain-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.link-list a,
.plain-list a {
  text-decoration: none;
}

.link-list li,
.plain-list li {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

/* ─── CTA band ────────────────────────────────────── */

.cta-band {
  padding: 2.2rem;
  border-radius: calc(var(--radius-lg) + 0.3rem);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.94)),
    radial-gradient(circle at top right, rgba(45, 212, 191, 0.28), transparent 38%);
  color: var(--surface);
}

.cta-band p {
  color: rgba(255, 253, 246, 0.72);
}

/* ─── Extension page ─────────────────────────────── */

.extension-page {
  padding-bottom: 1rem;
}

.extension-hero {
  position: relative;
  overflow: clip;
  padding: 3.2rem 0 2rem;
  background:
    radial-gradient(circle at 14% 20%, rgba(255, 216, 77, 0.28), transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(45, 212, 191, 0.16), transparent 26%),
    linear-gradient(180deg, rgba(255, 253, 246, 0.86), rgba(255, 249, 232, 0.56));
}

.extension-hero-inner {
  width: min(1240px, calc(100% - 2.4rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 2.2rem;
  align-items: center;
}

.extension-copy {
  max-width: 36rem;
}

.extension-hero-notes {
  margin-top: 1.3rem;
}

.extension-request-block {
  margin-top: 1.8rem;
  padding: 1.4rem 1.45rem 1.3rem;
  border-radius: 1.6rem;
  background: rgba(255, 253, 246, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.extension-request-title,
.extension-mockup-title {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.extension-request-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.extension-request-copy,
.extension-request-note,
.extension-mockup-copy p,
.extension-step p {
  color: var(--muted);
  line-height: 1.7;
}

.extension-request-copy {
  margin: 0.55rem 0 0;
}

.extension-request-form {
  margin-top: 1rem;
}

.extension-request-label {
  display: inline-flex;
  margin-bottom: 0.55rem;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.extension-request-row {
  display: flex;
  gap: 0.8rem;
  align-items: stretch;
}

.extension-request-input {
  flex: 1;
  min-height: 3.2rem;
  border: 1.5px solid rgba(15, 23, 42, 0.12);
  border-radius: 999px;
  background: #fffef9;
  color: var(--ink);
  padding: 0 1.05rem;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 216, 77, 0.14);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.extension-request-input:focus {
  outline: none;
  border-color: rgba(45, 212, 191, 0.7);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.14);
}

.extension-request-note {
  margin: 0.75rem 0 0;
  font-size: 0.92rem;
}

.extension-form-status {
  min-height: 1.5rem;
  margin: 0.65rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
}

.extension-form-status[data-state="success"] {
  color: #0f766e;
}

.extension-form-status[data-state="error"] {
  color: #b45309;
}

.extension-request-actions {
  margin-top: 1rem;
}

.extension-mockup {
  display: grid;
  gap: 1rem;
}

.extension-browser {
  position: relative;
  min-height: 31rem;
  padding: 1rem;
  border-radius: 2rem;
  background:
    linear-gradient(165deg, rgba(15, 23, 42, 0.97), rgba(30, 41, 59, 0.92)),
    radial-gradient(circle at top right, rgba(45, 212, 191, 0.18), transparent 36%);
  box-shadow: var(--shadow-hero);
  overflow: hidden;
}

.extension-browser::after {
  content: "";
  position: absolute;
  inset: auto -3rem -3rem auto;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: rgba(255, 216, 77, 0.18);
  filter: blur(14px);
}

.extension-browser-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.extension-browser-dots {
  display: inline-flex;
  gap: 0.4rem;
}

.extension-browser-dots span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.extension-browser-bar {
  flex: 1;
  min-height: 2.2rem;
  display: flex;
  align-items: center;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.extension-browser-body {
  position: relative;
  z-index: 1;
  min-height: 25rem;
}

.extension-product-surface,
.extension-popover {
  border-radius: 1.6rem;
}

.extension-product-surface {
  width: min(100%, 25rem);
  padding: 1.35rem;
  background: rgba(255, 253, 246, 0.96);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
}

.extension-surface-label {
  display: inline-flex;
  margin-bottom: 0.7rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.extension-product-surface strong,
.extension-popover strong {
  display: block;
  font-family: "Sora", "Manrope", sans-serif;
  font-size: 1.55rem;
  letter-spacing: -0.05em;
}

.extension-product-surface p,
.extension-popover p {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.extension-meta-strip,
.extension-popover-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.extension-meta-strip span,
.extension-popover-list span {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.extension-meta-strip span {
  background: rgba(255, 216, 77, 0.18);
  color: var(--ink-soft);
}

.extension-popover {
  position: absolute;
  right: 0;
  bottom: 0.4rem;
  width: min(100%, 21rem);
  padding: 1.2rem;
  background: rgba(12, 18, 30, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  color: var(--surface);
  animation: fadeUp 900ms ease both;
}

.extension-popover p {
  color: rgba(255, 255, 255, 0.72);
}

.extension-popover-list span {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
}

.extension-mockup-copy {
  max-width: 34rem;
}

.extension-workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 1.2rem;
  align-items: start;
}

.extension-step-list {
  display: grid;
  gap: 0.8rem;
}

.extension-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.2rem 1.25rem;
  border-radius: 1.4rem;
  background: rgba(255, 253, 246, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-soft);
}

.extension-step-index {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 216, 77, 0.24);
  color: var(--ink);
  font-weight: 800;
}

.extension-step h3 {
  margin: 0;
  font-family: "Sora", "Manrope", sans-serif;
  letter-spacing: -0.04em;
}

.extension-step p {
  margin: 0.35rem 0 0;
}

/* ─── FAQ ─────────────────────────────────────────── */

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 253, 246, 0.94);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 180ms ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-hover);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: "Sora", "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "↓";
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1);
  color: var(--muted);
}

.faq-item[open] > summary::after {
  transform: rotate(180deg);
}

.faq-item p {
  margin: 0.85rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

/* ─── Breadcrumbs ─────────────────────────────────── */

.breadcrumbs {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.breadcrumbs a {
  text-decoration: none;
  transition: color 140ms ease;
}

.breadcrumbs a:hover {
  color: var(--ink);
}

/* ─── Footer ──────────────────────────────────────── */

.footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ─── Animations ──────────────────────────────────── */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 900ms ease forwards;
}

.delay-1 {
  animation-delay: 80ms;
}

.delay-2 {
  animation-delay: 160ms;
}

.delay-3 {
  animation-delay: 240ms;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(0, -14px, 0) rotate(4deg);
  }
}

/* ─── Custom scrollbar ────────────────────────────── */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--paper);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 216, 77, 0.55);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 200, 0, 0.7);
}

/* ─── Responsive ──────────────────────────────────── */

@media (max-width: 960px) {
  .hero-inner,
  .grid-2,
  .grid-3,
  .extension-hero-inner,
  .extension-workflow-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 2.2rem;
  }

  .hero-visual-shell {
    min-height: auto;
  }

  .extension-browser {
    min-height: 27rem;
  }

  .extension-copy {
    max-width: none;
  }

  .section-title {
    max-width: 14ch;
  }
}

@media (max-width: 760px) {
  /* Layout */
  .topbar-inner,
  .section-inner,
  .footer-inner,
  .hero-inner {
    width: min(100% - 1.2rem, 100%);
  }

  .topbar-inner {
    min-height: auto;
    padding: 0.75rem 0;
    align-items: center;
  }

  /* Show topbar hamburger on tablet only; hidden on small when bottom nav is shown */
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* ── Slide-up nav drawer ──────────────────────────── */
  .topnav-shell {
    position: fixed;
    inset: 0;
    z-index: 30;
    background: rgba(15, 23, 42, 0.44);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: flex-end;
    padding: 0 0.75rem calc(var(--bottom-nav-h, 68px) + env(safe-area-inset-bottom) + 0.75rem);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }

  body.nav-open .topnav-shell {
    opacity: 1;
    pointer-events: auto;
  }

  .topnav {
    display: grid;
    width: 100%;
    gap: 0.15rem;
    padding: 0.6rem;
    border-radius: 1.5rem;
    background: rgba(255, 253, 246, 0.99);
    box-shadow: var(--shadow-hero);
    transform: translateY(24px) scale(0.97);
    transition: transform 320ms cubic-bezier(0.34, 1.3, 0.64, 1), opacity 220ms ease;
    opacity: 0;
  }

  body.nav-open .topnav {
    transform: translateY(0) scale(1);
    opacity: 1;
  }

  .topnav a {
    padding: 0.85rem 1rem;
    border-radius: 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    transition: background 140ms ease;
  }

  .topnav a:hover,
  .topnav a:active {
    background: rgba(255, 216, 77, 0.18);
  }

  .topnav a::after {
    display: none;
  }

  /* ── Typography ─────────────────────────────────────── */
  .display {
    font-size: clamp(3rem, 16vw, 4.3rem);
  }

  .hero-brand-text {
    font-size: 1.7rem;
  }

  .hero-visual-shell {
    padding: 1.2rem;
    border-radius: 2rem;
  }

  .extension-hero {
    padding: 2rem 0 1.2rem;
  }

  .extension-request-row {
    flex-direction: column;
  }

  .extension-browser {
    min-height: auto;
    padding: 0.9rem;
    border-radius: 1.65rem;
  }

  .extension-browser-body {
    min-height: auto;
    display: grid;
    gap: 0.9rem;
  }

  .extension-popover {
    position: static;
    width: 100%;
  }

  /* ── Responsive table → card layout ───────────────── */
  .table-shell {
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
    width: 100%;
  }

  thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  tbody {
    display: grid;
    gap: 0.9rem;
  }

  tr {
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 253, 246, 0.96);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
  }

  td {
    padding: 0.85rem 0.85rem 0.85rem 8rem;
    position: relative;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    min-height: 3.2rem;
  }

  td:last-child {
    border-bottom: 0;
  }

  td::before {
    content: attr(data-label);
    position: absolute;
    left: 0.85rem;
    top: 0.88rem;
    width: 6.1rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 800;
  }

  /* No card tilt on touch */
  .panel:hover {
    transform: none;
  }
}

@media (max-width: 640px) {
  /* On small screens: hide topbar hamburger (bottom nav replaces it) */
  .nav-toggle {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 1.2rem 0 2.6rem;
    gap: 1.4rem;
  }

  .section {
    padding: 3.4rem 0;
  }

  .section-title {
    font-size: clamp(2rem, 10vw, 3rem);
    max-width: 16ch;
  }

  .lede,
  .section-copy {
    font-size: 0.98rem;
  }

  .hero-search-hit strong {
    font-size: 1.2rem;
  }

  /* Full-width buttons only on small screens */
  .button,
  .button-ghost,
  .extension-request-input {
    width: 100%;
  }
}

/* ─── Bottom navigation bar ───────────────────��──── */

:root {
  --bottom-nav-h: 68px;
}

.bottom-nav {
  display: none; /* hidden on desktop */
}

@media (max-width: 640px) {
  /* Offset page content above bottom nav */
  body {
    padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
  }

  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 25;
    height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(255, 253, 246, 0.94);
    backdrop-filter: blur(20px) saturate(1.6);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.07);
    align-items: stretch;
  }

  .bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    text-decoration: none;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border: none;
    background: none;
    padding: 0.4rem 0.2rem;
    cursor: pointer;
    font-family: inherit;
    transition: color 160ms ease, background 160ms ease;
    -webkit-tap-highlight-color: transparent;
    border-radius: 0;
    position: relative;
  }

  .bottom-nav-item svg {
    transition: transform 200ms cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .bottom-nav-item:active svg {
    transform: scale(0.88);
  }

  .bottom-nav-item.is-active {
    color: var(--ink);
  }

  /* Active indicator dot */
  .bottom-nav-item.is-active::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--duck-yellow-deep);
    box-shadow: 0 0 0 3px rgba(245, 200, 0, 0.2);
  }

  /* Mehr button: closed state */
  .mehr-icon-open {
    display: none;
  }

  /* Mehr button: open state */
  body.nav-open .mehr-icon-closed {
    display: none;
  }

  body.nav-open .mehr-icon-open {
    display: block;
  }

  body.nav-open .bottom-nav-item[data-nav-toggle] {
    color: var(--ink);
  }
}

/* ─── Safe area & iOS fixes ───────────────────���───── */

/* Prevent iOS input zoom (font-size must be ≥ 16px on focus) */
@media (max-width: 640px) {
  .filter-input,
  .filter-select,
  .extension-request-input {
    font-size: 1rem;
  }
}

/* Overscroll containment for app-like feel */
html {
  overscroll-behavior: none;
}

/* ─── Touch press states ──────────────────────────── */

@media (hover: none) and (pointer: coarse) {
  .button:active {
    transform: scale(0.97);
    transition-duration: 80ms;
  }

  .button-ghost:active {
    transform: scale(0.97);
    background: rgba(255, 216, 77, 0.2);
    transition-duration: 80ms;
  }

  .panel:active {
    transform: scale(0.985);
    transition-duration: 80ms;
  }

  .faq-item:active {
    background: rgba(255, 249, 232, 0.98);
  }

  .bottom-nav-item:active {
    background: rgba(255, 216, 77, 0.14);
  }
}

/* ─── Empty states ───────────────────────────────── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--muted);
}
.empty-duck {
  font-size: 3rem;
  line-height: 1;
  animation: drift 6s ease-in-out infinite;
}
.empty-state p {
  font-size: 1rem;
  max-width: 28rem;
  margin: 0;
}
/* Hero pill — match highlight */
.hero-pill-match {
  background: rgba(45, 212, 191, 0.22);
  border: 1px solid rgba(45, 212, 191, 0.45);
  color: rgba(255, 255, 255, 0.92);
}

/* ═══════════════════════════════════════════════════
   DESIGN UPGRADE: Brand Cards + Personality
   ═══════════════════════════════════════════════════ */

/* ─── Brand card redesign ─────────────────────────── */
/* Replace boring left border with expressive top accent + orb */

.panel-brand {
  border-left: none;
  border-top: 3px solid var(--duck-yellow);
  background: linear-gradient(168deg, rgba(255, 248, 210, 0.72) 0%, rgba(255, 253, 246, 0.92) 55%);
  position: relative;
  overflow: hidden;
}

/* Decorative scent orb — top-right corner */
.panel-brand::before {
  content: "";
  position: absolute;
  top: -2.2rem;
  right: -2.2rem;
  width: 7rem;
  height: 7rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 216, 77, 0.22), transparent 70%);
  pointer-events: none;
  transition: transform 300ms ease, opacity 300ms ease;
}

/* Scent trail dots — bottom-right, decorative */
.panel-brand::after {
  content: "· · ·";
  position: absolute;
  bottom: 0.85rem;
  right: 1rem;
  font-size: 1.1rem;
  letter-spacing: 0.22em;
  color: rgba(255, 216, 77, 0.45);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.panel-brand:hover::before {
  transform: scale(1.18) translate(6px, -6px);
  opacity: 0.85;
}

.panel-brand:hover::after {
  opacity: 0.8;
  transform: translateX(-2px);
}

/* Live / active brand — mint accent */
.panel-brand-live {
  border-top-color: var(--mint);
  background: linear-gradient(168deg, rgba(45, 212, 191, 0.09) 0%, rgba(255, 253, 246, 0.93) 55%);
}

.panel-brand-live::before {
  background: radial-gradient(circle, rgba(45, 212, 191, 0.18), transparent 70%);
}

.panel-brand-live::after {
  color: rgba(45, 212, 191, 0.5);
}

/* Better hover for brand cards */
.panel-brand:hover {
  transform: translateY(-4px) rotate(0.25deg);
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.11), 0 4px 14px rgba(255, 216, 77, 0.18);
  border-top-width: 4px;
}

.panel-brand-live:hover {
  box-shadow: 0 18px 52px rgba(15, 23, 42, 0.1), 0 4px 14px rgba(45, 212, 191, 0.22);
}

/* ─── Brand card link underline ───────────────────── */

.panel-brand h2 a,
.panel-brand h3 a {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px;
  background-position: bottom left;
  background-repeat: no-repeat;
  transition: background-size 220ms ease;
}

.panel-brand h2 a:hover,
.panel-brand h3 a:hover {
  background-size: 100% 2px;
}

/* ─── Live pill pulse ─────────────────────────────── */

.panel-brand-live .pill:not(.pill-muted) {
  box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.18), 0 0 12px rgba(45, 212, 191, 0.15);
}

/* ─── Section visual rhythm ───────────────────────── */

.section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(45, 212, 191, 0.03) 0%, transparent 100%);
}

/* ─── Wave divider ────────────────────────────────── */

.wave-sep {
  display: block;
  width: 100%;
  height: 3px;
  margin: 0;
  border: none;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 6px,
    rgba(255, 216, 77, 0.4) 6px,
    rgba(255, 216, 77, 0.4) 10px
  );
  opacity: 0.6;
}

/* ─── Section title emphasis ──────────────────────── */

.section-title mark {
  background: linear-gradient(180deg, transparent 55%, rgba(255, 216, 77, 0.45) 55%);
  color: inherit;
  padding: 0 0.1em;
}

/* ─── Micro: "Verfügbar" badge glow ──────────────── */

.pill:not(.pill-muted):not(.pill-success):not(.pill-caution) {
  position: relative;
}

/* ─── Footer duck signature ───────────────────────── */

.footer-inner::before {
  content: "🦆";
  display: block;
  font-size: 1.2rem;
  width: 100%;
  text-align: center;
  margin-bottom: 0.5rem;
  opacity: 0.55;
}

@media (max-width: 760px) {
  .panel-brand:hover {
    transform: none;
    box-shadow: var(--shadow-hover);
  }

  .panel-brand::after {
    display: none;
  }
}
