  :root {
    --bg: #F1E4C3;
    --bg-alt: #E7D6A6;
    --surface: #FBF6E8;
    --surface-2: #EFE0B8;
    --text: #241A0D;
    --text-muted: #5C3D1F;
    --accent: #B9740A;
    --accent-soft: #D98F0B;
    --accent-2: #3F5C30;
    --border: rgba(36,26,13,0.16);
    --comb-line: rgba(36,26,13,0.07);
    --shadow: 0 20px 50px -25px rgba(36,26,13,0.45);
    color-scheme: light;
  }

  @media (prefers-color-scheme: dark) {
    :root {
      --bg: #1A130A;
      --bg-alt: #241A0D;
      --surface: #2A1F10;
      --surface-2: #33270F;
      --text: #F1E4C3;
      --text-muted: #C9B48A;
      --accent: #E3A008;
      --accent-soft: #F2B438;
      --accent-2: #86B26A;
      --border: rgba(241,228,195,0.16);
      --comb-line: rgba(241,228,195,0.07);
      --shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
      color-scheme: dark;
    }
  }
  :root[data-theme="dark"] {
    --bg: #1A130A; --bg-alt: #241A0D; --surface: #2A1F10; --surface-2: #33270F;
    --text: #F1E4C3; --text-muted: #C9B48A; --accent: #E3A008; --accent-soft: #F2B438;
    --accent-2: #86B26A; --border: rgba(241,228,195,0.16); --comb-line: rgba(241,228,195,0.07);
    --shadow: 0 20px 50px -20px rgba(0,0,0,0.6); color-scheme: dark;
  }
  :root[data-theme="light"] {
    --bg: #F1E4C3; --bg-alt: #E7D6A6; --surface: #FBF6E8; --surface-2: #EFE0B8;
    --text: #241A0D; --text-muted: #5C3D1F; --accent: #B9740A; --accent-soft: #D98F0B;
    --accent-2: #3F5C30; --border: rgba(36,26,13,0.16); --comb-line: rgba(36,26,13,0.07);
    --shadow: 0 20px 50px -25px rgba(36,26,13,0.45); color-scheme: light;
  }

  * { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Palatino, "Palatino Linotype", "Iowan Old Style", Georgia, "Times New Roman", serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }
  img, svg { max-width: 100%; display: block; }
  a { color: inherit; }
  .display {
    font-family: Rockwell, "Roboto Slab", "Arial Black", "Segoe UI", sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-wrap: balance;
  }
  .mono {
    font-family: "SF Mono", "JetBrains Mono", Menlo, Consolas, "Courier New", monospace;
    font-variant-numeric: tabular-nums;
  }
  .eyebrow {
    font-family: Rockwell, "Roboto Slab", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
  }
  .wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.6rem;
    border-radius: 3px;
    font-family: Rockwell, "Roboto Slab", sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  }
  .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
  .btn-primary {
    background: var(--accent);
    color: #1A130A;
    box-shadow: var(--shadow);
  }
  .btn-primary:hover { transform: translateY(-2px); background: var(--accent-soft); }
  .btn-ghost {
    background: transparent;
    border-color: var(--border);
    color: var(--text);
  }
  .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

  @media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; }
  }

  /* ---------- header ---------- */
  header.site {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    border-bottom: 1px solid var(--border);
  }
  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
    gap: 1.5rem;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-family: Rockwell, "Roboto Slab", sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    color: var(--text);
    white-space: nowrap;
  }
  .logo .hex {
    width: 1.5rem; height: 1.7rem;
    background: var(--accent);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  }
  .nav-links {
    display: flex;
    gap: 1.75rem;
    list-style: none;
    margin: 0; padding: 0;
    font-size: 0.92rem;
    color: var(--text-muted);
  }
  .nav-links a { text-decoration: none; }
  .nav-links a:hover { color: var(--accent); }
  .nav-cta { display: flex; align-items: center; gap: 0.75rem; }
  @media (max-width: 860px) { .nav-links { display: none; } }

  .theme-toggle {
    width: 2.3rem; height: 2.3rem;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    flex: none;
  }
  .theme-toggle:hover { border-color: var(--accent); }
  .theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

  /* ---------- hex texture ---------- */
  .comb-field {
    --s: 46px;
    background-image:
      linear-gradient(30deg, var(--comb-line) 1px, transparent 1px),
      linear-gradient(150deg, var(--comb-line) 1px, transparent 1px),
      linear-gradient(90deg, var(--comb-line) 1px, transparent 1px);
    background-size: var(--s) calc(var(--s) * 1.732);
    background-position: 0 0, 0 0, 0 0;
  }

  /* ---------- hero ---------- */
  .hero {
    position: relative;
    padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5rem);
    overflow: hidden;
  }
  .hero-inner {
    max-width: 60ch;
  }
  .hero h1 {
    font-size: clamp(2.4rem, 5.4vw, 3.85rem);
    line-height: 1.04;
    margin: 0.7rem 0 1.1rem;
  }
  .hero h1 em {
    font-style: normal;
    color: var(--accent);
  }
  .hero p.lede {
    font-size: 1.14rem;
    color: var(--text-muted);
    max-width: 46ch;
    margin: 0 0 2rem;
  }
  .hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
  .hero-stats {
    display: flex;
    gap: clamp(1.5rem, 4vw, 2.75rem);
    flex-wrap: wrap;
    padding-top: 1.6rem;
    border-top: 1px solid var(--border);
  }
  .stat b {
    display: block;
    font-family: Rockwell, "Roboto Slab", sans-serif;
    font-size: 1.55rem;
  }
  .stat span {
    font-size: 0.82rem;
    color: var(--text-muted);
  }

  .hive-art {
    position: relative;
    aspect-ratio: 1280 / 250;
    border-radius: 6px;
    overflow: hidden;
    background: linear-gradient(160deg, var(--surface-2), var(--bg-alt));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    margin-top: clamp(2.5rem, 6vw, 3.5rem);
  }
  .hive-art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hive-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    display: flex; justify-content: space-between; align-items: baseline;
    font-size: 0.78rem;
    color: #f2e9d8;
    padding: 2.2rem 1.1rem 0.9rem;
    background: linear-gradient(0deg, rgba(0,0,0,0.55), transparent);
  }

  /* ---------- section shell ---------- */
  section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
  .section-head { max-width: 62ch; margin-bottom: clamp(2rem, 5vw, 3rem); }
  .section-head h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    margin: 0.5rem 0 0.75rem;
  }
  .section-head p { color: var(--text-muted); font-size: 1.05rem; margin: 0; }
  .divider {
    height: 1px;
    background: var(--border);
    border: none;
    margin: 0;
  }
  .alt { background: var(--bg-alt); }

  /* ---------- timeline ---------- */
  .timeline {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
  }
  @media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }
  .tl-cell {
    background: var(--surface);
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }
  .tl-cell .mono {
    font-size: 0.76rem;
    color: var(--accent);
    letter-spacing: 0.03em;
  }
  .tl-cell h3 {
    font-family: Rockwell, "Roboto Slab", sans-serif;
    font-size: 1.02rem;
    margin: 0;
  }
  .tl-cell p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }

  /* ---------- pricing ---------- */
  .tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  @media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }
  .tier {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    position: relative;
  }
  .tier.featured { border-color: var(--accent); box-shadow: var(--shadow); }
  .tier-badge {
    position: absolute; top: -0.7rem; right: 1.5rem;
    background: var(--accent); color: #1A130A;
    font-family: Rockwell, "Roboto Slab", sans-serif;
    font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.65rem; border-radius: 3px;
  }
  .tier-top { display: flex; align-items: center; gap: 1rem; }
  .gauge-hex {
    --fill: 100%;
    width: 3.4rem; height: 3.9rem;
    position: relative;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: var(--surface-2);
    flex: none;
  }
  .gauge-hex::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: var(--fill);
    background: linear-gradient(180deg, var(--accent-soft), var(--accent));
  }
  .tier-name {
    font-family: Rockwell, "Roboto Slab", sans-serif;
    font-size: 1.3rem;
    margin: 0;
  }
  .tier-yield { font-size: 0.85rem; color: var(--text-muted); margin: 0.15rem 0 0; }
  .tier-price {
    font-family: Rockwell, "Roboto Slab", sans-serif;
    font-size: 2.1rem;
  }
  .tier-price span { font-size: 0.95rem; color: var(--text-muted); font-family: inherit; font-weight: 400; }
  .tier-install { font-size: 0.82rem; color: var(--text-muted); margin-top: -0.7rem; }
  .tier ul {
    list-style: none; margin: 0; padding: 0;
    display: flex; flex-direction: column; gap: 0.55rem;
    font-size: 0.92rem;
  }
  .tier li { display: flex; gap: 0.55rem; }
  .tier li::before { content: "⬡"; color: var(--accent); font-size: 0.8rem; margin-top: 0.15rem; }
  .tier .btn { margin-top: auto; justify-content: center; }

  /* ---------- dashboard mock ---------- */
  .dash {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .cam {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
    aspect-ratio: 1280 / 560;
    background:
      radial-gradient(ellipse 70% 60% at 50% 100%, color-mix(in srgb, var(--accent-2) 45%, transparent), transparent 70%),
      linear-gradient(180deg, #2b3a2a 0%, #1c2818 55%, #12190f 100%);
  }
  .cam::before {
    content: "";
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 3px);
  }
  .cam-tag {
    position: absolute; top: 0.9rem; left: 0.9rem;
    display: flex; align-items: center; gap: 0.4rem;
    background: rgba(0,0,0,0.45);
    color: #f2e9d8;
    font-size: 0.72rem;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
  }
  .cam-dot { width: 7px; height: 7px; border-radius: 50%; background: #e3554a; }
  .cam-time {
    position: absolute; bottom: 0.9rem; right: 0.9rem;
    color: #f2e9d8; font-size: 0.72rem;
    background: rgba(0,0,0,0.45);
    padding: 0.3rem 0.55rem; border-radius: 3px;
  }
  .cam video, .cam > img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 50% 62%;
  }
  .cam-sound {
    position: absolute; bottom: 0.9rem; left: 0.9rem;
    display: flex; align-items: center; gap: 0.35rem;
    background: rgba(0,0,0,0.45);
    color: #f2e9d8;
    font-size: 0.72rem;
    border: none;
    padding: 0.3rem 0.6rem;
    border-radius: 3px;
    cursor: pointer;
    font-family: inherit;
  }
  .cam-sound:hover { background: rgba(0,0,0,0.65); }
  .cam-sound:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .dash-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  @media (max-width: 640px) { .dash-side { grid-template-columns: 1fr; } }
  .card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
  }
  .card-head {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 1rem;
  }
  .card-head h3 { margin: 0; font-family: Rockwell, "Roboto Slab", sans-serif; font-size: 1rem; }
  .weight-value { font-size: 2rem; }
  .weight-delta { color: var(--accent-2); font-size: 0.85rem; }
  .bars { display: flex; align-items: flex-end; gap: 5px; height: 70px; margin-top: 1rem; }
  .bars i {
    flex: 1;
    background: linear-gradient(180deg, var(--accent-soft), var(--accent));
    border-radius: 2px 2px 0 0;
    display: block;
  }

  /* ---------- apiaries ---------- */
  .regions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
  }
  @media (max-width: 700px) { .regions { grid-template-columns: 1fr; } }
  .region {
    background: var(--surface);
    padding: 1.75rem;
    display: flex;
    gap: 1rem;
  }
  .region .hex.sm {
    width: 2.2rem; height: 2.5rem; flex: none;
    background: var(--surface-2);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: grid; place-items: center;
    font-size: 0.7rem;
    color: var(--accent);
  }
  .region h3 { margin: 0 0 0.3rem; font-family: Rockwell, "Roboto Slab", sans-serif; font-size: 1.05rem; }
  .region p { margin: 0; font-size: 0.9rem; color: var(--text-muted); }

  /* ---------- testimonials ---------- */
  .quotes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  @media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
  .quote {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .quote p.body { margin: 0; font-size: 1rem; }
  .quote-who { display: flex; align-items: center; gap: 0.7rem; margin-top: auto; }
  .avatar {
    width: 2.2rem; height: 2.2rem; border-radius: 50%;
    background: var(--surface-2);
    display: grid; place-items: center;
    font-family: Rockwell, "Roboto Slab", sans-serif;
    font-size: 0.85rem; color: var(--accent);
  }
  .quote-who small { color: var(--text-muted); display: block; font-size: 0.78rem; }

  /* ---------- faq ---------- */
  .faq { display: flex; flex-direction: column; gap: 0.75rem; max-width: 74ch; }
  .faq details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0;
  }
  .faq summary {
    cursor: pointer;
    padding: 1.1rem 1.4rem;
    font-family: Rockwell, "Roboto Slab", sans-serif;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after {
    content: "+";
    font-size: 1.3rem;
    color: var(--accent);
    transition: transform 0.2s ease;
  }
  .faq details[open] summary::after { transform: rotate(45deg); }
  .faq p {
    margin: 0;
    padding: 0 1.4rem 1.3rem;
    color: var(--text-muted);
    font-size: 0.95rem;
  }
  .faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

  /* ---------- final cta ---------- */
  .cta-band {
    text-align: center;
    padding: clamp(3.5rem, 8vw, 6rem) 0;
    position: relative;
  }
  .cta-band h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0.5rem auto 1rem; max-width: 20ch; }
  .cta-band p { color: var(--text-muted); max-width: 50ch; margin: 0 auto 2rem; }
  .cta-actions { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }

  /* ---------- footer ---------- */
  footer.site {
    border-top: 1px solid var(--border);
    padding: 3rem 0 2rem;
    background: var(--bg-alt);
  }
  .foot-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2rem;
    padding-bottom: 2.2rem;
  }
  @media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
  .foot-grid h4 {
    font-family: Rockwell, "Roboto Slab", sans-serif;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin: 0 0 1rem;
  }
  .foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.92rem; }
  .foot-grid ul a { text-decoration: none; }
  .foot-grid ul a:hover { color: var(--accent); }
  .foot-bottom {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
    padding-top: 1.6rem; border-top: 1px solid var(--border);
    font-size: 0.82rem; color: var(--text-muted);
  }

  /* ---------- auth (login / buy) ---------- */
  .auth-shell {
    max-width: 30rem;
    margin: 0 auto;
    padding: clamp(3rem, 8vw, 5rem) 0;
  }
  .auth-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: clamp(1.75rem, 4vw, 2.5rem);
  }
  .auth-order {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--surface-2);
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.75rem;
  }
  .auth-order b { font-family: Rockwell, "Roboto Slab", sans-serif; display: block; }
  .auth-order span { font-size: 0.82rem; color: var(--text-muted); }
  .auth-order .price { font-family: Rockwell, "Roboto Slab", sans-serif; font-size: 1.3rem; text-align: right; }
  .field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
  .field label { font-size: 0.82rem; color: var(--text-muted); }
  .field input {
    font: inherit;
    font-size: 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 4px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
  }
  .field input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
  .auth-card .btn { width: 100%; justify-content: center; margin-top: 0.4rem; }
  .auth-switch { text-align: center; font-size: 0.9rem; color: var(--text-muted); margin-top: 1.25rem; }
  .auth-switch a { color: var(--accent); text-decoration: none; }
  .form-msg {
    font-size: 0.88rem;
    padding: 0.7rem 0.9rem;
    border-radius: 4px;
    margin-bottom: 1.1rem;
    display: none;
  }
  .form-msg.error { display: block; background: color-mix(in srgb, #c0392b 16%, var(--surface)); color: #c0392b; }
  .form-msg.ok { display: block; background: color-mix(in srgb, var(--accent-2) 16%, var(--surface)); color: var(--accent-2); }
  .session-note {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    background: color-mix(in srgb, var(--accent-2) 14%, var(--surface));
    border: 1px solid color-mix(in srgb, var(--accent-2) 35%, transparent);
    border-radius: 6px;
    padding: 0.9rem 1.1rem;
    font-size: 0.88rem;
    margin-bottom: 1.75rem;
  }

  /* ---------- cabinet ---------- */
  .cab-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  .cab-title h1, .cab-title h2 { margin: 0.4rem 0 0; text-wrap: balance; }
  .cab-meta {
    display: flex;
    gap: clamp(1.25rem, 3vw, 2.25rem);
    flex-wrap: wrap;
    padding: 1.1rem 0 0;
  }
  .cab-meta div span { display: block; font-size: 0.78rem; color: var(--text-muted); }
  .cab-meta div b { font-family: Rockwell, "Roboto Slab", sans-serif; font-size: 1.05rem; font-weight: 700; }
  .status-pill {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: color-mix(in srgb, var(--accent-2) 18%, var(--surface));
    color: var(--accent-2);
    border: 1px solid color-mix(in srgb, var(--accent-2) 40%, transparent);
    font-family: Rockwell, "Roboto Slab", sans-serif;
    font-size: 0.78rem; font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    white-space: nowrap;
  }
  .status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-2); }
  .yield-row { display: flex; align-items: center; gap: 1.5rem; }
  .yield-text b.mono { font-size: 1.5rem; }
  .yield-text p { margin: 0.2rem 0 0; color: var(--text-muted); font-size: 0.85rem; }
  .bar-track {
    height: 10px; border-radius: 999px;
    background: var(--surface-2);
    overflow: hidden;
    margin-top: 0.9rem;
  }
  .bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-soft), var(--accent));
    border-radius: 999px;
  }
  .hive-block { padding: clamp(2.5rem, 6vw, 3.5rem) 0; }
  .hive-block:first-child { padding-top: clamp(2rem, 5vw, 3rem); }
  .empty-state {
    text-align: center;
    padding: clamp(3rem, 8vw, 5rem) 0;
    color: var(--text-muted);
  }
  .empty-state .btn { margin-top: 1.25rem; }

  /* ---------- payment & orders ---------- */
  .field-hint { font-size: 0.78rem; color: var(--text-muted); }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .field-row .field { min-width: 0; }
  .input-icon { position: relative; display: flex; }
  .input-icon input { flex: 1; padding-right: 6rem; }
  .brand-tag {
    position: absolute; right: 0.9rem; top: 50%; transform: translateY(-50%);
    font-size: 0.8rem; font-weight: 600; color: var(--accent); pointer-events: none;
  }
  .test-banner {
    font-size: 0.85rem; line-height: 1.5; padding: 0.8rem 0.95rem; margin-bottom: 1.25rem;
    border-radius: 4px; border: 1px dashed var(--accent);
    background: color-mix(in srgb, var(--accent) 10%, var(--surface));
  }
  .link-btn {
    font: inherit; font-size: inherit; padding: 0; margin-left: 0.25rem; border: 0; background: none;
    color: var(--accent); text-decoration: underline; cursor: pointer;
  }
  .pay-secure { text-align: center; font-size: 0.8rem; color: var(--text-muted); margin: 1.1rem 0 0; }
  .test-cards { margin-top: 1.25rem; font-size: 0.85rem; color: var(--text-muted); }
  .test-cards summary { cursor: pointer; }
  .test-cards ul { list-style: none; padding: 0; margin: 0.75rem 0; display: grid; gap: 0.4rem; }
  .test-cards li { display: flex; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
  .test-cards li button {
    font-family: ui-monospace, Menlo, monospace; font-size: 0.82rem; padding: 0; border: 0; background: none;
    color: var(--text); text-decoration: underline dotted; cursor: pointer;
  }
  .test-cards p { margin: 0; }
  .pending-card { margin-top: 1rem; }
  .pending-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 0.6rem 0; }
  .pending-row b { display: block; }
  .pending-row span { font-size: 0.82rem; color: var(--text-muted); }
  .pending-row .btn { padding: 0.6rem 1.1rem; }
  .table-scroll { overflow-x: auto; }
  .orders-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
  .orders-table th { text-align: left; font-weight: 500; font-size: 0.78rem; color: var(--text-muted); padding: 0.4rem 0.75rem 0.6rem 0; white-space: nowrap; }
  .orders-table td { padding: 0.7rem 0.75rem 0.7rem 0; border-top: 1px solid var(--border); white-space: nowrap; }
  .order-status { font-size: 0.78rem; padding: 0.2rem 0.55rem; border-radius: 999px; border: 1px solid var(--border); }
  .order-status.paid { color: var(--accent-2); border-color: var(--accent-2); }
  .order-status.pending { color: var(--accent); border-color: var(--accent); }
  .form-msg:empty { display: none !important; }

  /* ---------- harvest: hive -> jars ---------- */
  .harvest {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(0.75rem, 2vw, 1.5rem);
  }
  .harvest figure { margin: 0; }
  .harvest figcaption { margin-top: 0.7rem; font-size: 0.82rem; color: var(--text-muted); }
  .harvest-hive img,
  .harvest-jars img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .harvest-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    width: clamp(6rem, 12vw, 9rem);
    color: var(--accent);
  }
  .harvest-arrow svg { width: 100%; height: auto; overflow: visible; }
  .harvest-arrow .arrow-line {
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 2 9;
    animation: arrow-flow 1.4s linear infinite;
  }
  .harvest-arrow .arrow-head {
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .harvest-arrow .mono {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-align: center;
    color: var(--text-muted);
  }
  @keyframes arrow-flow { to { stroke-dashoffset: -22; } }
  @media (prefers-reduced-motion: reduce) { .harvest-arrow .arrow-line { animation: none; } }
  @media (max-width: 860px) {
    .harvest { grid-template-columns: 1fr; justify-items: center; }
    .harvest figure { width: 100%; }
    .harvest-arrow { width: 6.5rem; flex-direction: row; gap: 0.75rem; width: auto; }
    .harvest-arrow svg { width: 5rem; transform: rotate(90deg); margin: 1.2rem 0; flex-shrink: 0; }
    .harvest-arrow .mono { text-align: left; max-width: 9rem; }
  }

  /* ---------- admin ---------- */
  .admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
  @media (max-width: 640px) { .admin-grid { grid-template-columns: 1fr; } }
  .field select {
    font: inherit; font-size: 1rem; padding: 0.75rem 0.9rem; border-radius: 4px;
    border: 1px solid var(--border); background: var(--bg); color: var(--text);
  }
  .gen-btn { position: absolute; right: 0.9rem; top: 50%; transform: translateY(-50%); margin: 0; font-size: 0.8rem; }
  .admin .input-icon input, .admin-dialog .input-icon input { padding-right: 8.5rem; }
  .admin-search {
    font: inherit; font-size: 0.9rem; padding: 0.5rem 0.75rem; border-radius: 4px; min-width: 14rem;
    border: 1px solid var(--border); background: var(--bg); color: var(--text);
  }
  .admin-empty { color: var(--text-muted); font-size: 0.9rem; margin: 1rem 0 0; }
  .row-actions { display: flex; gap: 0.9rem; justify-content: flex-end; }
  .row-actions .link-btn { margin: 0; font-size: 0.85rem; }
  .link-btn.danger { color: #c0392b; }
  .admin-dialog {
    background: var(--surface); color: var(--text); border: 1px solid var(--border);
    border-radius: 8px; padding: 1.75rem; width: min(26rem, calc(100vw - 2rem));
  }
  .admin-dialog::backdrop { background: rgba(0,0,0,0.55); }
  .admin-dialog h3 { margin: 0 0 0.25rem; font-family: Rockwell, "Roboto Slab", sans-serif; }
  .admin-dialog .field-hint { display: block; margin-bottom: 1.1rem; }
  .dialog-actions { display: flex; gap: 0.75rem; justify-content: flex-end; }
  .dialog-actions .btn { width: auto; padding: 0.65rem 1.1rem; }
  .admin .form-msg.ok, .admin .form-msg.error { word-break: break-word; user-select: all; }
