@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --ink: #1e2925;
    --muted: #7d8782;
    --green: #236a50;
    --green-dark: #194e3c;
    --mint: #e7f0e9;
    --paper: #f7f8f5;
    --line: #e8ebe6;
    --orange: #e5a362;
    --serif: Georgia, 'Times New Roman', serif
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: #fff;
    color: var(--ink);
    font-family: 'DM Sans', Arial, sans-serif;
    font-size: 14px
}

.topbar {
    height: 76px;
    border-bottom: 1px solid #edf0ec;
    display: flex;
    align-items: center;
    padding: 0 max(calc((100vw - 1240px)/2), 36px);
    gap: 55px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 5;
    animation: topbarSlide 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes topbarSlide {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ink);
}

.brand-mark-wrap {
    position: relative;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: linear-gradient(135deg, #247557 0%, #154d39 100%);
    box-shadow: 0 4px 14px rgba(21, 77, 57, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.35);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.brand:hover .brand-mark {
    transform: rotate(8deg) scale(1.08);
    box-shadow: 0 8px 22px rgba(21, 77, 57, 0.38), inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

.brand-mark::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.4) 50%, transparent 60%);
    transform: rotate(25deg);
    animation: brandShimmer 5s infinite;
    pointer-events: none;
}

@keyframes brandShimmer {
    0%, 70% { transform: translateY(-120%) rotate(25deg); }
    100% { transform: translateY(120%) rotate(25deg); }
}

.brand-logo-svg {
    width: 36px;
    height: 36px;
    display: block;
}

.brand-mark.small {
    width: 28px;
    height: 28px;
    border-radius: 8px;
}

.brand-mark.small .brand-logo-svg {
    width: 28px;
    height: 28px;
}

.brand-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.brand-title {
    font: 800 20px/1.05 Manrope, sans-serif;
    letter-spacing: -0.9px;
    color: var(--ink);
}

.brand-campus-tag {
    font-size: 8px;
    letter-spacing: 0.6px;
    font-weight: 800;
    color: var(--green);
    background: #eaf3ec;
    border: 1px solid #cce2d2;
    padding: 1px 5px;
    border-radius: 99px;
    text-transform: uppercase;
}

.brand-parent {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 9.5px;
    color: #7b8680;
    margin-top: 2px;
    line-height: 1;
}

.brand-parent .by-text {
    font-weight: 500;
    letter-spacing: 0.2px;
}

.brand-parent .zeficates-mini-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.brand-parent strong,
.zeficates-name {
    font-family: 'Times New Roman', Georgia, serif;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #2c3832;
    text-transform: uppercase;
    font-size: 9px;
}

/* Parent Company Pill on Topbar */
.parent-company-pill {
    display: flex;
    align-items: center;
    gap: 7px;
    background: #f7faf7;
    border: 1px solid #e1ebe2;
    padding: 5px 11px;
    border-radius: 99px;
    font-size: 10.5px;
    color: #55665c;
    transition: all 0.2s ease;
}

.parent-company-pill:hover {
    background: #edf5ee;
    border-color: #bcd6c2;
    transform: translateY(-1px);
}

.parent-pill-icon {
    width: 17px;
    height: 17px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.campus-select {
    border: 0;
    background: none;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    color: var(--ink);
    cursor: pointer;
    padding: 7px
}

.campus-icon {
    font-size: 22px;
    color: var(--green)
}

.campus-select small,
.campus-select strong {
    display: block
}

.campus-select small {
    font-size: 10px;
    color: var(--muted);
    margin-bottom: 2px
}

.campus-select strong {
    font-size: 12px
}

.chevron {
    margin-left: 6px;
    color: #89928c
}

.top-links {
    display: flex;
    gap: 29px;
    height: 100%;
    align-items: center;
    margin-left: 5px
}

.top-links a {
    font-size: 12px;
    text-decoration: none;
    color: #7d8782;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative
}

.top-links a.active {
    color: var(--green);
    font-weight: 700
}

.top-links a.active:after {
    position: absolute;
    content: '';
    height: 2px;
    width: 100%;
    background: var(--green);
    bottom: 0
}

.top-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 17px
}

.credit-pill {
    border: 1px solid #e6eee7;
    background: #f8fbf8;
    padding: 8px 12px;
    border-radius: 99px;
    font-size: 11px;
    color: var(--green);
    display: flex;
    gap: 7px;
    align-items: center;
    cursor: pointer
}

.coin {
    font-size: 14px;
    color: #d99147
}

.avatar {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #e7eee9;
    color: var(--green);
    font-weight: 700;
    cursor: pointer
}

.hero {
    min-height: 425px;
    background: var(--paper);
    position: relative;
    padding: 55px max(calc((100vw - 1120px)/2), 7.5%) 76px;
    overflow: hidden;
}

/* Ambient Moving Gradient Orbs in Hero Background */
.hero::before {
    content: '';
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(35, 106, 80, 0.12) 0%, rgba(35, 106, 80, 0) 70%);
    top: -100px;
    right: 8%;
    filter: blur(52px);
    pointer-events: none;
    z-index: 0;
    animation: ambientOrbFloat 14s ease-in-out infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 163, 98, 0.11) 0%, rgba(229, 163, 98, 0) 70%);
    bottom: 10px;
    right: 22%;
    filter: blur(48px);
    pointer-events: none;
    z-index: 0;
    animation: ambientOrbFloat2 16s ease-in-out infinite alternate;
}

@keyframes ambientOrbFloat {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, 25px) scale(1.14); }
}

@keyframes ambientOrbFloat2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(25px, -20px) scale(1.18); }
}

/* Smooth Entrance Choreography on Page Open */
@keyframes heroFadeUp {
    0% {
        opacity: 0;
        transform: translateY(22px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 490px;
}

.eyebrow {
    font-size: 9px;
    letter-spacing: 1.25px;
    font-weight: 700;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: #38a169;
    border-radius: 99px;
    margin-right: 7px;
    vertical-align: 1px;
    animation: liveDotBeacon 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes liveDotBeacon {
    0% { box-shadow: 0 0 0 0 rgba(56, 161, 105, 0.85); }
    70% { box-shadow: 0 0 0 9px rgba(56, 161, 105, 0); }
    100% { box-shadow: 0 0 0 0 rgba(56, 161, 105, 0); }
}

.hero h1 {
    font: 700 53px/1.08 Manrope, Arial, sans-serif;
    letter-spacing: -2.4px;
    margin: 18px 0 13px;
    color: var(--ink);
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.hero h1 em,
.section-heading h2 em,
.how-section h2 em {
    font: italic 500 1.04em var(--serif);
    color: var(--green);
    display: inline-block;
    transition: transform 0.3s ease;
}

.hero h1 em:hover {
    transform: scale(1.06);
}

.dynamic-word {
    display: inline-block;
    color: var(--green);
    border-bottom: 2px solid rgba(35, 106, 80, 0.35);
    padding-bottom: 1px;
    transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-copy>p {
    font-size: 13.5px;
    line-height: 1.8;
    color: #6f7a74;
    max-width: 400px;
    margin: 0 0 20px;
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.searchbar {
    height: 48px;
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid #e8ebe6;
    box-shadow: 0 6px 18px rgba(41, 58, 44, 0.05);
    border-radius: 7px;
    padding: 4px 5px 4px 14px;
    max-width: 440px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.searchbar:focus-within {
    border-color: #82a78d;
    box-shadow: 0 8px 24px rgba(35, 106, 80, 0.12), 0 0 0 3px #eaf2eb;
    transform: translateY(-1px);
}

.search-icon {
    font-size: 24px;
    color: #819088;
    transform: rotate(-20deg);
    transition: color 0.2s ease;
}

.searchbar:focus-within .search-icon {
    color: var(--green);
}

.searchbar input {
    border: 0;
    outline: 0;
    min-width: 0;
    flex: 1;
    padding: 0 10px;
    font: 12.5px 'DM Sans', sans-serif;
    color: var(--ink);
}

.searchbar input::placeholder {
    color: #a0a8a3;
}

.searchbar button {
    height: 36px;
    padding: 0 19px;
    border: 0;
    background: var(--green);
    border-radius: 5px;
    color: #fff;
    font: 600 11px 'DM Sans';
    cursor: pointer;
    transition: all 0.18s ease;
}

.searchbar button:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(35, 106, 80, 0.3);
}

.hero-tags {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 11px;
    color: #819088;
    flex-wrap: wrap;
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.hero-tags-label {
    font-weight: 600;
}

.hero-tag-chip {
    border: 1px solid #e4eae4;
    background: #ffffff;
    color: var(--green);
    font: 500 10.5px 'DM Sans';
    padding: 3px 8px;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.18s ease;
}

.hero-tag-chip:hover {
    background: #edf5ee;
    border-color: #b9d8bf;
    transform: translateY(-1px);
}

.hero-note {
    font-size: 10px;
    color: #819088;
    margin-top: 14px;
    display: flex;
    align-items: center;
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.52s both;
}

.shield {
    display: inline-grid;
    place-items: center;
    width: 14px;
    height: 14px;
    background: #e2eee6;
    color: var(--green);
    font-size: 9px;
    border-radius: 50%;
    margin-right: 5px;
}

.hero-art {
    position: absolute;
    width: 435px;
    height: 325px;
    right: max(calc((100vw - 1120px)/2), 8%);
    top: 25px;
    pointer-events: none;
    animation: heroArtEnter 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

@keyframes heroArtEnter {
    0% {
        opacity: 0;
        transform: scale(0.92) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.orbit {
    position: absolute;
    border: 1px solid #dce6dc;
    border-radius: 50%;
    transform: rotate(-26deg);
}

.orbit-one {
    width: 350px;
    height: 235px;
    right: 27px;
    top: 33px;
    animation: spinOrbitOne 24s linear infinite;
}

.orbit-two {
    width: 285px;
    height: 190px;
    right: 60px;
    top: 57px;
    border-style: dashed;
    animation: spinOrbitTwo 18s linear infinite;
}

@keyframes spinOrbitOne {
    from { transform: rotate(-26deg); }
    to { transform: rotate(334deg); }
}

@keyframes spinOrbitTwo {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.hero-card {
    position: absolute;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(41, 67, 51, 0.12);
    pointer-events: auto;
    transition: box-shadow 0.25s ease;
}

.card-back {
    width: 192px;
    height: 220px;
    background: #e4eee5;
    right: 55px;
    top: 52px;
    padding: 27px 19px;
    color: #567260;
    font: 10px var(--serif);
    border: 1px solid rgba(35, 106, 80, 0.08);
    animation: floatCardBack 4.5s ease-in-out infinite alternate;
}

.card-back:hover {
    box-shadow: 0 26px 48px rgba(41, 67, 51, 0.18);
}

.card-back strong {
    display: block;
    font-size: 22px;
    font-weight: 400;
    margin-top: 7px;
}

.card-front {
    width: 192px;
    height: 236px;
    right: 147px;
    top: 37px;
    background: #ffffff;
    padding: 18px 19px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 50px -10px rgba(35, 75, 55, 0.18), 0 0 0 1px rgba(35, 106, 80, 0.06);
    animation: floatCardFront 3.8s ease-in-out infinite alternate;
    position: relative;
    overflow: hidden;
    cursor: default;
    transition: box-shadow 0.3s ease;
}

.card-front::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        115deg,
        transparent 30%,
        rgba(255, 255, 255, 0.45) 45%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0.45) 55%,
        transparent 70%
    );
    transform: rotate(25deg);
    animation: cardShimmer 5.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
}

@keyframes cardShimmer {
    0% { transform: translateY(-130%) rotate(25deg); }
    30%, 100% { transform: translateY(130%) rotate(25deg); }
}

.card-front:hover {
    box-shadow: 0 32px 64px -10px rgba(35, 75, 55, 0.26), 0 0 0 1px rgba(35, 106, 80, 0.12);
}

@keyframes floatCardFront {
    0% { transform: rotate(-6deg) translateY(0); }
    100% { transform: rotate(-6deg) translateY(-14px); }
}

@keyframes floatCardBack {
    0% { transform: rotate(9deg) translateY(0); }
    100% { transform: rotate(9deg) translateY(12px); }
}

.hero-book {
    display: grid;
    place-items: center;
    background: #dfece4;
    color: var(--green);
    font-size: 44px;
    width: 154px;
    height: 111px;
    border-radius: 4px;
    margin-bottom: 20px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-front:hover .hero-book {
    transform: scale(1.1) rotate(3deg);
}

.card-front small {
    font-size: 8px;
    letter-spacing: 1.4px;
    color: var(--green);
    font-weight: 700;
}

.card-front strong {
    display: block;
    font: 600 19px/1.22 var(--serif);
    margin-top: 7px;
}

.card-zef-endorsement {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px solid #edf2ed;
}

.card-zef-eagle {
    width: 22px;
    height: 22px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.card-zef-text small {
    display: block;
    font-size: 6.5px;
    letter-spacing: 0.8px;
    color: #839188;
    line-height: 1;
}

.card-zef-text strong {
    display: block;
    font: 800 9.5px Manrope, serif;
    letter-spacing: 1.2px;
    color: var(--green);
    margin: 2px 0 0;
}

.card-spark {
    position: absolute;
    bottom: 20px;
    right: 19px;
    color: #d89d57;
    font-size: 19px;
    animation: sparkPulse 2s ease-in-out infinite alternate;
}

@keyframes sparkPulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.3); opacity: 1; filter: drop-shadow(0 0 6px #d89d57); }
}

.float-star {
    position: absolute;
    color: #d7a05e;
    animation: starTwinkle 3s ease-in-out infinite alternate;
}

@keyframes starTwinkle {
    0% { transform: scale(0.9) rotate(0deg); opacity: 0.75; }
    100% { transform: scale(1.25) rotate(16deg); opacity: 1; filter: drop-shadow(0 0 6px #d7a05e); }
}

.star-a {
    font-size: 27px;
    top: 38px;
    right: 83px;
}

.star-b {
    font-size: 19px;
    top: 220px;
    right: 6px;
    animation-delay: -1.2s;
}

.star-c {
    font-size: 12px;
    top: 271px;
    right: 151px;
    animation-delay: -2.4s;
}

.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 58px;
    border-top: 1px solid #e7ebe5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 37px;
    animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

.hero-stats div {
    display: flex;
    align-items: center;
    gap: 8px
}

.hero-stats strong {
    font: 700 12px Manrope
}

.hero-stats span {
    font-size: 10px;
    color: #8b948e
}

.hero-stats i {
    height: 19px;
    width: 1px;
    background: #dfe4dd
}

.gold-star {
    color: #d99a4c !important
}

.market-layout {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 43px;
    padding: 48px 0 60px
}

.sidebar {
    border-right: 1px solid #edf0ec;
    padding: 2px 23px 0 0
}

.side-label {
    font-size: 9px;
    letter-spacing: 1.1px;
    font-weight: 700;
    color: #a0a8a2;
    margin: 4px 0 14px 9px
}

.side-link {
    width: 100%;
    height: 37px;
    border: 0;
    background: transparent;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 9px;
    color: #717c75;
    font: 11px 'DM Sans';
    border-radius: 5px;
    cursor: pointer
}

.side-link>span:first-child {
    font-size: 15px;
    width: 16px;
    color: #819087;
    text-align: center
}

.side-link.selected {
    background: #edf4ee;
    color: var(--green);
    font-weight: 700
}

.side-link.selected>span:first-child {
    color: var(--green)
}

.side-count {
    margin-left: auto;
    background: #fff;
    border-radius: 99px;
    padding: 3px 7px;
    font-size: 9px;
    color: var(--green)
}

.new-tag {
    margin-left: auto;
    font-size: 8px;
    letter-spacing: .5px;
    color: #d58e49;
    font-weight: 700
}

.side-divider {
    height: 1px;
    background: #edf0ec;
    margin: 22px 5px
}

.side-tip {
    border-radius: 7px;
    background: #f5f7f2;
    padding: 15px;
    margin: 30px 0 0
}

.tip-icon {
    font-size: 18px;
    color: #d9a255
}

.side-tip strong {
    display: block;
    font: 600 16px/1.25 var(--serif);
    margin: 8px 0
}

.side-tip p {
    font-size: 10px;
    color: #7a847d;
    line-height: 1.6;
    margin: 0 0 11px
}

.side-tip button {
    border: 0;
    background: none;
    padding: 0;
    color: var(--green);
    font: 600 10px 'DM Sans';
    cursor: pointer
}

.side-tip button span {
    margin-left: 4px
}

.market-content {
    min-width: 0
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end
}

.muted-eyebrow {
    font-size: 8px;
    color: #94a097
}

.section-heading h2,
.how-section h2 {
    font: 700 24px Manrope;
    letter-spacing: -.8px;
    margin: 8px 0 0
}

.text-button {
    border: 0;
    background: none;
    font: 600 10px 'DM Sans';
    color: var(--green);
    cursor: pointer;
    padding: 7px 0
}

.text-button span {
    padding-left: 5px
}

.filter-row {
    display: flex;
    gap: 7px;
    align-items: center;
    margin: 21px 0 18px;
    overflow: auto;
    padding-bottom: 2px
}

.filter-chip {
    white-space: nowrap;
    border: 1px solid #e9ece7;
    background: white;
    border-radius: 99px;
    padding: 8px 13px;
    color: #727d76;
    font: 10px 'DM Sans';
    cursor: pointer
}

.filter-chip.active {
    color: white;
    background: var(--green);
    border-color: var(--green)
}

.filter-chip span {
    margin-left: 5px;
    color: #d5e5d9
}

.sort-select {
    margin-left: auto;
    white-space: nowrap;
    background: white;
    border: 0;
    color: #738077;
    font: 10px 'DM Sans';
    cursor: pointer;
    padding: 8px 0 8px 10px
}

.sort-select span {
    margin-left: 5px
}

.listing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px
}

.item-card {
    border: 1px solid #ecefea;
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
    animation: itemCascadeIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes itemCascadeIn {
    0% {
        opacity: 0;
        transform: translateY(18px) scale(0.97);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.item-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px -8px rgba(35, 54, 41, 0.14), 0 4px 14px rgba(0, 0, 0, 0.04);
    border-color: #cbd8cf;
}

.item-image {
    height: 151px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    transition: background 0.3s ease;
}

.item-image:before,
.item-image:after {
    content: '';
    position: absolute;
    border: 1px solid #ffffff6e;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    transform: translate(65px, 50px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.item-image:after {
    width: 210px;
    height: 210px;
    transform: translate(75px, 70px);
}

.item-card:hover .item-image:before {
    transform: translate(65px, 50px) scale(1.12);
}

.item-emoji {
    font-size: 61px;
    filter: drop-shadow(0 9px 8px #18282020);
    position: relative;
    z-index: 1;
    transform: rotate(-5deg);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}

.item-card:hover .item-emoji {
    transform: scale(1.16) rotate(0deg);
    filter: drop-shadow(0 14px 12px rgba(24, 40, 32, 0.18));
}

.item-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    color: #415549;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .4px;
    z-index: 1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.heart-button {
    position: absolute;
    top: 8px;
    right: 9px;
    border: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    color: #6c7c71;
    font-size: 14px;
    cursor: pointer;
    z-index: 1;
    display: grid;
    place-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    transition: transform 0.22s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.2s ease, color 0.2s ease;
}

.heart-button:hover {
    transform: scale(1.18);
    background: #fff;
}

.heart-button.liked {
    color: #ce6e68;
}

.heart-button.heart-burst {
    animation: heartPopAnim 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes heartPopAnim {
    0% { transform: scale(1); }
    40% { transform: scale(1.45) rotate(-14deg); }
    75% { transform: scale(0.92) rotate(6deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.item-info {
    padding: 12px 12px 11px;
}

.item-category {
    color: #919b94;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .8px;
}

.item-title {
    font: 600 13px Manrope;
    margin: 5px 0 7px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.item-card:hover .item-title {
    color: var(--green);
}

.owner-line {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #87918a;
    font-size: 9px;
}

.owner-avatar {
    display: grid;
    place-items: center;
    background: #e7ede8;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    color: var(--green);
    font-weight: 700;
    font-size: 8px;
}

.verified {
    color: #438466;
    font-size: 10px;
}

.item-footer {
    border-top: 1px solid #f0f2ef;
    margin-top: 10px;
    padding-top: 9px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.item-price {
    font: 700 14px Manrope;
}

.item-price small {
    font: 400 9px 'DM Sans';
    color: #919a94;
}

.deposit {
    display: block;
    font: 9px 'DM Sans';
    color: #939c95;
    margin-top: 3px;
}

.book-button {
    border: 1px solid #e1eae2;
    background: #f7faf7;
    color: var(--green);
    border-radius: 5px;
    padding: 7px 12px;
    font: 600 9.5px 'DM Sans';
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.book-button:hover {
    background: var(--green);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(35, 106, 80, 0.25);
}

.free-price {
    color: #458365;
}

.kit-banner {
    margin-top: 37px;
    border-radius: 12px;
    background: #edf3ec;
    min-height: 234px;
    display: flex;
    position: relative;
    overflow: hidden;
    padding: 25px 30px;
    box-shadow: 0 12px 30px -10px rgba(35, 75, 55, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kit-banner:hover {
    box-shadow: 0 16px 36px -10px rgba(35, 75, 55, 0.16);
}

.kit-copy {
    position: relative;
    z-index: 1;
    width: 57%;
}

.kit-label {
    color: var(--green);
    font-size: 8px;
    letter-spacing: 1px;
    font-weight: 700;
}

.kit-label span {
    color: #d79e56;
    font-size: 14px;
    vertical-align: -1px;
    margin-right: 4px;
}

.kit-copy h3 {
    font: 600 25px/1.12 var(--serif);
    margin: 13px 0 9px;
    letter-spacing: -.3px;
}

.kit-copy p {
    color: #78847b;
    font-size: 10px;
    line-height: 1.65;
    max-width: 285px;
    margin: 0 0 13px;
}

.kit-copy button {
    border: 0;
    background: var(--green);
    color: white;
    border-radius: 5px;
    padding: 10px 14px;
    font: 600 9.5px 'DM Sans';
    cursor: pointer;
    transition: all 0.2s ease;
}

.kit-copy button:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(35, 106, 80, 0.25);
}

.kit-copy button span {
    margin-left: 8px;
}

.kit-visual {
    position: absolute;
    right: 0;
    top: 0;
    width: 44%;
    height: 100%;
    overflow: hidden;
}

.kit-circle {
    position: absolute;
    width: 235px;
    height: 235px;
    border-radius: 50%;
    background: #dce9db;
    right: 38px;
    top: 17px;
    transition: transform 0.5s ease;
}

.kit-banner:hover .kit-circle {
    transform: scale(1.06);
}

.kit-item {
    position: absolute;
    z-index: 1;
    width: 82px;
    height: 94px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 22px rgba(35, 54, 41, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.kit-item small {
    font-size: 7px;
    letter-spacing: 1px;
    color: #829087;
    margin-top: 9px;
    font-weight: 700;
}

.kit-item-one {
    top: 69px;
    right: 142px;
    animation: kitFloatOne 4s ease-in-out infinite alternate;
}

.kit-item-two {
    top: 47px;
    right: 48px;
    animation: kitFloatTwo 4.6s ease-in-out infinite alternate -1.3s;
}

.kit-item-three {
    top: 111px;
    right: 87px;
    animation: kitFloatThree 4.2s ease-in-out infinite alternate -2.5s;
}

@keyframes kitFloatOne {
    0% { transform: rotate(-11deg) translateY(0); }
    100% { transform: rotate(-8deg) translateY(-8px); }
}

@keyframes kitFloatTwo {
    0% { transform: rotate(8deg) translateY(0); }
    100% { transform: rotate(11deg) translateY(9px); }
}

@keyframes kitFloatThree {
    0% { transform: rotate(4deg) translateY(0); }
    100% { transform: rotate(1deg) translateY(-9px); }
}

.kit-banner:hover .kit-item-one {
    transform: rotate(-15deg) translate(-6px, -4px);
}
.kit-banner:hover .kit-item-two {
    transform: rotate(13deg) translate(6px, -4px);
}
.kit-banner:hover .kit-item-three {
    transform: rotate(2deg) translateY(6px);
}

.kit-sticker {
    position: absolute;
    z-index: 2;
    right: 7px;
    bottom: 10px;
    width: 74px;
    height: 74px;
    background: #e4a568;
    color: white;
    border-radius: 50%;
    display: grid;
    place-content: center;
    text-align: center;
    font-size: 8px;
    letter-spacing: .8px;
    font-weight: 700;
    line-height: 1.45;
    animation: stickerPulse 4s ease-in-out infinite alternate;
}

@keyframes stickerPulse {
    0% { transform: rotate(8deg) scale(1); box-shadow: 0 4px 12px rgba(228, 165, 104, 0.25); }
    100% { transform: rotate(14deg) scale(1.06); box-shadow: 0 8px 22px rgba(228, 165, 104, 0.45); }
}

.kit-sticker span {
    font-size: 17px;
    position: absolute;
    right: 7px;
    bottom: 6px;
}

.impact-strip {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 24px 0 0;
    padding: 0 2px
}

.impact-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    background: #edf4ee;
    color: var(--green);
    border-radius: 50%;
    font-size: 14px
}

.impact-strip p {
    font-size: 9px;
    color: #89928b;
    margin: 0
}

.impact-strip p strong {
    color: #46544a
}

.impact-link {
    margin-left: auto;
    color: #8a948c;
    font-size: 9px
}

.impact-link span {
    color: #dfa05c;
    margin-left: 4px
}

.how-section {
    background: #f8f9f6;
    padding: 47px max(calc((100vw - 1120px)/2), 7.5%) 56px;
    display: flex;
    align-items: start;
    gap: 100px
}

.how-section h2 {
    font-size: 22px
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 38px;
    padding-top: 2px
}

.steps article {
    max-width: 175px
}

.steps article>span {
    font-size: 9px;
    font-weight: 700;
    color: #b1bdb3
}

.steps h3 {
    font: 600 12px Manrope;
    margin: 13px 0 6px
}

.steps p {
    color: #849087;
    font-size: 10px;
    line-height: 1.65;
    margin: 0
}

/* ==========================================================================
   ZEFICATES CORPORATE PARENT SHOWCASE & FOOTER
   ========================================================================== */

.footer-full {
    background: #ffffff;
    border-top: 1px solid #e8ede8;
    margin-top: 60px;
    padding: 60px max(calc((100vw - 1160px)/2), 6%) 36px;
}

.footer-parent-showcase {
    background: linear-gradient(135deg, #f8faf8 0%, #f1f6f2 100%);
    border: 1px solid #e1eae2;
    border-radius: 18px;
    padding: 40px 44px;
    box-shadow: 0 16px 40px -15px rgba(35, 75, 55, 0.08);
    position: relative;
    overflow: hidden;
    margin-bottom: 38px;
}

.footer-parent-showcase::before {
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(35, 106, 80, 0.08) 0%, transparent 70%);
    top: -80px;
    right: -40px;
    pointer-events: none;
}

.footer-zef-brand-block {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 38px;
    align-items: center;
}

.footer-zef-eagle-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 16px;
    padding: 22px 14px;
    box-shadow: 0 8px 24px rgba(35, 75, 55, 0.07);
    border: 1px solid rgba(35, 106, 80, 0.12);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-zef-eagle-wrap:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 32px rgba(35, 75, 55, 0.12);
}

.footer-zef-eagle {
    width: 130px;
    height: 130px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.footer-zef-kicker {
    font-size: 8px;
    letter-spacing: 1.5px;
    font-weight: 800;
    color: var(--green);
    margin-top: 8px;
    text-transform: uppercase;
}

.footer-zef-content {
    min-width: 0;
}

.footer-zef-eyebrow {
    font-size: 8.5px;
    letter-spacing: 1.8px;
    font-weight: 800;
    color: var(--green);
    display: inline-block;
    margin-bottom: 3px;
}

.footer-zef-headline h2 {
    font: 800 26px/1.1 Manrope, serif;
    letter-spacing: 3px;
    margin: 2px 0 6px;
    color: #17241d;
}

.footer-zef-motto {
    font: italic 500 13.5px var(--serif);
    color: #4b6656;
    margin: 0 0 12px;
}

.footer-zef-description {
    font-size: 12px;
    line-height: 1.7;
    color: #5c6b62;
    margin: 0 0 20px;
    max-width: 720px;
}

.footer-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.pillar-card {
    background: #ffffff;
    border: 1px solid #e3ebe4;
    border-radius: 10px;
    padding: 13px 12px;
    display: flex;
    gap: 10px;
    align-items: start;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.22s ease;
}

.pillar-card:hover {
    transform: translateY(-2px);
    border-color: #b9d8c0;
    box-shadow: 0 8px 18px rgba(35, 106, 80, 0.08);
}

.pillar-icon {
    font-size: 18px;
    line-height: 1;
}

.pillar-card strong {
    display: block;
    font: 700 11px Manrope;
    color: var(--ink);
    margin-bottom: 3px;
}

.pillar-card p {
    font-size: 9.5px;
    color: #79867f;
    line-height: 1.45;
    margin: 0;
}

/* Footer Bottom Bar */
.footer-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
    border-top: 1px solid #edf2ed;
    flex-wrap: wrap;
}

.footer-brand-lockup {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copy-text {
    font-size: 10.5px;
    color: #85928a;
}

.footer-links {
    display: flex;
    gap: 18px;
    align-items: center;
}

.footer-links a {
    color: #64736b;
    text-decoration: none;
    font: 600 11px 'DM Sans';
    transition: color 0.18s ease;
}

.footer-links a:hover {
    color: var(--green);
}

.mobile-theme-toggle {
    display: none !important;
}

.list-fab {
    position: fixed;
    right: 28px;
    bottom: 78px; /* Lifted so Netlify badge does not block it */
    z-index: 99;
    background: var(--green);
    color: #fff;
    border: 0;
    box-shadow: 0 6px 20px rgba(23, 78, 59, 0.35);
    border-radius: 99px;
    padding: 12px 18px 12px 14px;
    font: 600 11.5px 'DM Sans';
    cursor: pointer;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}

.list-fab:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 28px rgba(23, 78, 59, 0.45);
    background: var(--green-dark);
}

.list-fab span {
    font-size: 18px;
    vertical-align: -2px;
    margin-right: 5px;
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.list-fab:hover span {
    transform: rotate(90deg);
}

.app-dialog {
    border: 0;
    border-radius: 10px;
    padding: 0;
    width: min(440px, calc(100vw - 28px));
    box-shadow: 0 22px 80px #18241c40
}

.app-dialog::backdrop {
    background: #15251dc0;
    backdrop-filter: blur(3px)
}

.dialog-shell {
    padding: 31px;
    position: relative
}

.dialog-close {
    position: absolute;
    right: 15px;
    top: 13px;
    border: 0;
    background: #f1f4f0;
    color: #56625a;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 19px;
    cursor: pointer
}

.dialog-kicker {
    font-size: 9px;
    letter-spacing: 1px;
    color: var(--green);
    font-weight: 700
}

.dialog-title {
    font: 700 25px Manrope;
    letter-spacing: -.8px;
    margin: 8px 0
}

.dialog-text {
    font-size: 12px;
    line-height: 1.6;
    color: #79847d;
    margin: 0 0 18px
}

.dialog-form {
    display: grid;
    gap: 12px
}

.dialog-form label {
    font-size: 10px;
    font-weight: 600;
    color: #556259
}

.dialog-form input,
.dialog-form select,
.dialog-form textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 11px;
    border: 1px solid #e4e9e3;
    border-radius: 5px;
    font: 12px 'DM Sans';
    outline: none
}

.dialog-form textarea {
    resize: vertical;
    min-height: 72px
}

.primary-action {
    width: 100%;
    padding: 12px;
    border: 0;
    border-radius: 5px;
    background: var(--green);
    color: white;
    font: 600 11px 'DM Sans';
    cursor: pointer;
    margin-top: 4px
}

.trust-note {
    font-size: 10px;
    color: #8a958d;
    text-align: center;
    margin-top: 12px
}

.empty-state {
    grid-column: 1/-1;
    text-align: center;
    border: 1px dashed #dfe6df;
    padding: 44px 15px;
    border-radius: 7px;
    color: #7f8b82
}

.empty-state strong {
    display: block;
    color: var(--ink);
    margin-bottom: 6px
}

.toast {
    position: fixed;
    bottom: calc(138px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    padding: 11px 16px;
    background: #20392c;
    color: #fff;
    border-radius: 6px;
    font-size: 11px;
    box-shadow: 0 8px 20px #20392c35;
    z-index: 8;
    animation: toast-in .2s ease
}

.modal-success {
    text-align: center;
    padding: 13px 0 4px
}

.success-mark {
    width: 48px;
    height: 48px;
    background: #e6f1e8;
    color: var(--green);
    display: grid;
    place-items: center;
    margin: 0 auto 13px;
    border-radius: 50%;
    font-size: 21px
}

.modal-success h2 {
    font: 700 22px Manrope;
    margin: 0 0 7px
}

.modal-success p {
    color: #7d8980;
    font-size: 12px;
    line-height: 1.6;
    margin: 0 auto 18px;
    max-width: 290px
}

.@keyframes toast-in {
    from {
        opacity: 0;
        transform: translate(-50%, 8px)
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0)
    }
}

@media(max-width:1180px) {
    .topbar {
        padding: 0 5%
    }

    .market-layout {
        padding-left: 5%;
        padding-right: 5%;
        gap: 30px
    }

    .hero-art {
        right: 6%
    }

    .how-section {
        padding-left: 5%;
        padding-right: 5%;
        gap: 55px
    }

    footer {
        margin: 0 5%
    }
}

@media(max-width:850px) {
    .hero-art {
        right: -45px;
        opacity: .46
    }

    .hero-copy {
        max-width: 450px
    }

    .market-layout {
        grid-template-columns: 150px 1fr;
        gap: 20px
    }

    .sidebar {
        padding-right: 12px
    }

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

    .item-card:nth-child(n+5) {
        display: none
    }

    .how-section {
        display: block
    }

    .steps {
        margin-top: 27px;
        gap: 20px
    }

    .impact-link {
        display: none
    }
}

@media(max-width:620px) {
    .topbar {
        height: 62px;
        padding: 0 17px;
        gap: 12px
    }

    .brand {
        font-size: 17px
    }

    .brand-mark {
        width: 26px;
        height: 26px
    }

    .campus-select {
        margin-left: auto;
        padding: 5px
    }

    .campus-select small {
        font-size: 9px
    }

    .campus-select strong {
        font-size: 10px
    }

    .top-links {
        display: none
    }

    .top-actions {
        margin-left: 0;
        gap: 8px
    }

    .credit-pill {
        padding: 7px 9px;
        font-size: 9px
    }

    .avatar {
        width: 29px;
        height: 29px
    }

    .hero {
        padding: 39px 22px 74px;
        min-height: 380px
    }

    .hero h1 {
        font-size: 45px
    }

    .hero-copy>p {
        max-width: 310px
    }

    .hero-art {
        right: -150px;
        top: 53px;
        opacity: .16;
        transform: scale(.88)
    }

    .hero-stats {
        justify-content: space-evenly;
        gap: 8px
    }

    .hero-stats div {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px
    }

    .hero-stats strong {
        font-size: 11px
    }

    .hero-stats span {
        font-size: 8px
    }

    .hero-stats i {
        height: 22px
    }

    .market-layout {
        display: block;
        padding: 31px 17px 41px
    }

    .sidebar {
        display: none
    }

    .section-heading h2 {
        font-size: 21px
    }

    .text-button {
        font-size: 9px
    }

    .filter-row {
        margin: 17px 0 15px
    }

    .sort-select {
        display: none
    }

    .listing-grid {
        gap: 10px
    }

    .item-image {
        height: 123px
    }

    .item-emoji {
        font-size: 49px
    }

    .item-info {
        padding: 10px
    }

    .item-title {
        font-size: 11px
    }

    .book-button {
        padding: 6px 8px;
        font-size: 8px
    }

    .item-price {
        font-size: 12px
    }

    .owner-line {
        font-size: 8px
    }

    .kit-banner {
        margin-top: 27px;
        min-height: 280px;
        padding: 22px
    }

    .kit-copy {
        width: 76%
    }

    .kit-copy h3 {
        font-size: 23px
    }

    .kit-copy p {
        max-width: 245px;
        font-size: 9px
    }

    .kit-visual {
        width: 54%;
        opacity: .55;
        right: -40px;
        top: 58px
    }

    .kit-circle {
        width: 190px;
        height: 190px
    }

    .kit-item-one {
        right: 119px
    }

    .kit-item-two {
        right: 32px
    }

    .kit-item-three {
        right: 69px
    }

    .kit-sticker {
        right: 5px;
        bottom: 8px;
        width: 60px;
        height: 60px
    }

    .impact-strip {
        align-items: flex-start
    }

    .impact-strip p {
        line-height: 1.6
    }

    .how-section {
        padding: 37px 22px 43px
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 18px
    }

    .steps article {
        max-width: none;
        display: grid;
        grid-template-columns: 29px 1fr;
        column-gap: 8px
    }

    .steps article>span {
        grid-row: span 2;
        padding-top: 3px
    }

    .steps h3 {
        margin: 0 0 4px
    }

    .steps p {
        grid-column: 2
    }

    footer {
        margin: 0 18px;
        min-height: 72px;
        gap: 9px;
        flex-wrap: wrap;
        padding: 14px 0
    }

    footer>span {
        font-size: 8px
    }

    footer>span:last-child {
        margin-left: auto
    }

    .list-fab {
        right: 16px;
        bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    }

    .dialog-shell {
        padding: 27px 22px
    }

    .item-card:nth-child(n+5) {
        display: block
    }
}

/* Student account entry */
.auth-cta {
    border: 0;
    background: var(--green);
    color: #fff;
    border-radius: 5px;
    padding: 10px 15px;
    font: 600 10px 'DM Sans';
    cursor: pointer;
    white-space: nowrap
}

.auth-cta:hover {
    background: var(--green-dark)
}

.auth-cta.signed-in {
    background: #edf4ee;
    color: var(--green)
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font: 800 17px Manrope;
    letter-spacing: -.7px;
    margin-bottom: 23px
}

.auth-brand .brand-mark {
    width: 27px;
    height: 27px;
    border-radius: 8px;
    font-size: 20px
}

.auth-eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 8px
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--line);
    margin: 17px 0 15px
}

.auth-tabs button {
    border: 0;
    background: none;
    padding: 10px;
    color: #89938c;
    font: 600 11px 'DM Sans';
    cursor: pointer;
    border-bottom: 2px solid transparent
}

.auth-tabs button.active {
    color: var(--green);
    border-bottom-color: var(--green)
}

.auth-form {
    display: grid;
    gap: 11px;
    margin-top: 13px
}

.auth-form label {
    font-size: 10px;
    font-weight: 600;
    color: #58645c
}

.auth-form input,
.auth-form select {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 11px 10px;
    border: 1px solid #e4e9e3;
    border-radius: 5px;
    background: white;
    color: var(--ink);
    font: 12px 'DM Sans';
    outline: 0
}

.auth-form input:focus,
.auth-form select:focus {
    border-color: #82a78d;
    box-shadow: 0 0 0 3px #eaf2eb
}

.auth-form input::placeholder {
    color: #a0a8a2
}

.auth-form .primary-action {
    margin-top: 4px
}

.auth-separator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
    color: #a0a8a2;
    font-size: 9px
}

.auth-separator:before,
.auth-separator:after {
    content: '';
    height: 1px;
    background: #edf0ec;
    flex: 1
}

.google-auth-button {
    height: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    background: white;
    border: 1px solid #e2e7e1;
    border-radius: 5px;
    color: #39443d;
    font: 600 10px 'DM Sans';
    cursor: pointer
}

.google-auth-button:hover {
    background: #f9fbf8;
    border-color: #cad8cc
}

.google-g {
    font: bold 15px Arial;
    color: #4285f4
}

.auth-domain-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 13px 0 0;
    padding: 9px;
    background: #f3f7f2;
    border-radius: 5px;
    font-size: 9px;
    color: #77837a
}

.auth-domain-note>span {
    color: var(--green);
    font-weight: bold
}

.auth-domain-note strong {
    color: #405d48
}

.auth-accuracy {
    margin: 10px 0 0;
    text-align: center;
    font-size: 9px;
    line-height: 1.6;
    color: #909990
}

.auth-optional {
    font-weight: 400;
    color: #9aa29c
}

.auth-message {
    margin: 0;
    padding: 9px 10px;
    border-radius: 4px;
    background: #eff6ef;
    color: #42654b;
    font-size: 10px;
    line-height: 1.5
}

.auth-message.error {
    background: #fff0ee;
    color: #a04a43
}

.auth-back {
    display: block;
    margin: 12px auto 0;
    border: 0;
    background: none;
    color: var(--green);
    font: 600 10px 'DM Sans';
    cursor: pointer
}

.auth-form input[name="token"] {
    font: 600 22px Manrope;
    letter-spacing: 8px;
    text-align: center;
    padding: 13px
}

.dialog-title {
    padding-right: 18px
}

.dialog-shell code {
    font-size: 10px;
    color: var(--green);
    background: #f1f5f0;
    padding: 2px 4px;
    border-radius: 3px
}

@media(max-width:620px) {
    .auth-cta {
        font-size: 9px;
        padding: 9px 11px
    }

    .top-actions {
        gap: 6px
    }

    .credit-pill {
        display: none
    }

    .auth-form {
        gap: 9px
    }

    .auth-domain-note {
        font-size: 8px
    }
}

/* Topbar Signed-in Avatar Pill */
.auth-cta.signed-in {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px 5px 6px;
    border-radius: 99px;
    background: #eaf3ec;
    border: 1px solid #cde0d2;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-cta.signed-in:hover {
    background: #dfece2;
    transform: translateY(-1px);
}

.acct-avatar {
    width: 22px;
    height: 22px;
}

/* ============================================================
   MOBILE RESPONSIVE OVERHAUL — PeerPass by Zeficates
   Breakpoints: 768px (tablet) · 480px (phone)
   ============================================================ */

/* ── 768px: Tablet / Small Mobile (Fast, Smooth, White & Orange) ──── */
@media (max-width: 768px) {
  /* Fast & Smooth Touch Foundations */
  *, *::before, *::after {
    -webkit-tap-highlight-color: transparent;
  }

  button, a, input, select, textarea, .filter-chip, .hero-tag-chip, .list-fab {
    touch-action: manipulation;
  }

  /* Snappy touch active micro-interactions */
  button:active,
  .filter-chip:active,
  .hero-tag-chip:active,
  .book-button:active,
  .list-fab:active {
    transform: scale(0.96);
    transition: transform 0.08s ease;
  }

  /* Smooth buttery transitions for theme toggling */
  body, .topbar, .searchbar, .hero, .market-layout, .item-card, .kit-banner, .how-section, .footer-full, .dialog-shell {
    transition: background-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                color 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Mobile Light Theme: White & Orange System */
  :root {
    --ink: #111827;
    --muted: #6b7280;
    --green: #ff6200;
    --green-dark: #e55300;
    --mint: #fff5eb;
    --paper: #ffffff;
    --line: #f0edea;
    --orange: #ff7828;
  }

  /* Topbar */
  .topbar {
    height: 60px;
    padding: 0 16px;
    gap: 10px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #f0f2f5;
  }
  .parent-company-pill { display: none; }
  .campus-select { display: none; }
  .top-links { display: none; }
  .top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
  .credit-pill { display: none; }

  /* Mobile Theme Switcher Button */
  .mobile-theme-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid #fed7aa;
    background: #fff8f3;
    color: #ea580c;
    cursor: pointer;
    padding: 0;
    font-size: 15px;
    box-shadow: 0 2px 8px rgba(255, 98, 0, 0.12);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }
  .mobile-theme-toggle .theme-sun { display: none; }
  .mobile-theme-toggle .theme-moon { display: inline-block; }

  /* Brand Mark & SVG Logo: Orange */
  .brand-mark {
    background: linear-gradient(135deg, #ff7828 0%, #e55300 100%) !important;
    box-shadow: 0 4px 14px rgba(229, 83, 0, 0.32), inset 0 1px 1px rgba(255, 255, 255, 0.35) !important;
  }
  #ppGradStop1 { stop-color: #ff7828 !important; }
  #ppGradStop2 { stop-color: #e55300 !important; }
  .brand-campus-tag {
    color: #e55300 !important;
    background: #fff1e8 !important;
    border: 1px solid #fed7aa !important;
  }
  .footer-brand-rect {
    fill: #ff6200 !important;
  }

  /* Auth CTA button: Orange */
  .auth-cta {
    background: #ff6200 !important;
    color: #ffffff !important;
  }
  .auth-cta:hover {
    background: #e55300 !important;
  }
  .auth-cta.signed-in {
    background: #fff1e8 !important;
    border: 1px solid #fed7aa !important;
    color: #e55300 !important;
  }

  /* Hero Section */
  .hero {
    padding: 38px 20px 68px;
    min-height: auto;
    background: #ffffff;
  }
  .hero::before {
    background: radial-gradient(circle, rgba(255, 98, 0, 0.12) 0%, rgba(255, 98, 0, 0) 70%);
  }
  .hero::after {
    background: radial-gradient(circle, rgba(255, 140, 0, 0.09) 0%, rgba(255, 140, 0, 0) 70%);
  }
  .hero h1 { font-size: 38px; letter-spacing: -1.7px; margin: 12px 0 10px; color: #111827; }
  .hero h1 em { color: #ff6200 !important; }
  .dynamic-word { color: #ff6200 !important; border-bottom: 2px solid rgba(255, 98, 0, 0.35) !important; }
  .eyebrow { color: #ea580c; font-size: 8.5px; }
  .live-dot {
    background: #ff6200;
    box-shadow: 0 0 0 0 rgba(255, 98, 0, 0.75);
    animation: liveDotBeaconOrange 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
  }
  @keyframes liveDotBeaconOrange {
    0% { box-shadow: 0 0 0 0 rgba(255, 98, 0, 0.8); }
    70% { box-shadow: 0 0 0 8px rgba(255, 98, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 98, 0, 0); }
  }

  .hero-copy { max-width: 100%; z-index: 2; }
  .hero-art { width: 320px; height: 240px; right: -80px; top: 30px; opacity: 0.22; }
  .orbit-one { width: 260px; height: 175px; right: 15px; top: 22px; }
  .orbit-two { width: 210px; height: 140px; right: 40px; top: 40px; }
  .card-back  { width: 155px; height: 178px; right: 30px; top: 35px; border-color: #ffedd5; }
  .card-front { width: 155px; height: 190px; right: 115px; top: 25px; border-color: #fed7aa; }
  .star-a { font-size: 20px; top: 25px; right: 60px; color: #ff7828; }
  .star-b { font-size: 14px; top: 165px; right: 5px; color: #ea580c; }
  .star-c { font-size: 10px; top: 200px; right: 110px; color: #f59e0b; }

  /* Hero Stats */
  .hero-stats {
    gap: 14px;
    height: 52px;
    padding: 0 16px;
    justify-content: space-around;
    background: #ffffff;
    border-top: 1px solid #f0edea;
  }
  .hero-stats div { flex-direction: column; align-items: center; gap: 1px; }
  .hero-stats strong { font-size: 11px; color: #111827; }
  .hero-stats span { font-size: 8px; color: #6b7280; }

  /* Searchbar: Orange Accents */
  .searchbar {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  }
  .searchbar:focus-within {
    border-color: #ff8a3d;
    box-shadow: 0 8px 24px rgba(255, 98, 0, 0.12), 0 0 0 3px #fff1e8;
  }
  .searchbar:focus-within .search-icon {
    color: #ff6200;
  }
  .searchbar button {
    background: #ff6200;
    color: #ffffff;
  }
  .searchbar button:hover {
    background: #e55300;
  }

  /* Trending Chips */
  .hero-tag-chip {
    border: 1px solid #fed7aa;
    background: #ffffff;
    color: #e55300;
  }
  .hero-tag-chip:hover,
  .hero-tag-chip:active {
    background: #fff4ec;
    border-color: #fdba74;
  }
  .shield {
    background: #ffede0;
    color: #e55300;
  }

  /* Market Layout */
  .market-layout { display: block; padding: 28px 16px 40px; background: #ffffff; }
  .sidebar { display: none; }

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

  .section-heading h2 { font-size: 20px; color: #111827; }
  .section-heading h2 em { color: #ff6200 !important; }
  .text-button { color: #ff6200; font-size: 9.5px; }

  /* Filter Chips */
  .filter-row {
    margin: 14px 0 12px;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-chip {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #4b5563;
  }
  .filter-chip.active {
    background: #ff6200 !important;
    border-color: #ff6200 !important;
    color: #ffffff !important;
  }
  .sort-select { display: none; }

  /* Item Cards: White & Orange */
  .item-card {
    border: 1px solid #edf0f4;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  }
  .item-card:hover {
    border-color: #fed7aa;
    box-shadow: 0 12px 28px -6px rgba(255, 98, 0, 0.12);
  }
  .item-card:hover .item-title {
    color: #ff6200;
  }
  .item-image:before,
  .item-image:after {
    border-color: rgba(255, 255, 255, 0.6);
  }
  .owner-avatar {
    background: #ffede0;
    color: #e55300;
  }
  .verified {
    color: #f97316;
  }
  .book-button {
    border: 1px solid #fed7aa;
    background: #fff8f3;
    color: #e55300;
    font-weight: 600;
  }
  .book-button:hover,
  .book-button:active {
    background: #ff6200 !important;
    border-color: #ff6200 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(255, 98, 0, 0.25);
  }
  .free-price {
    color: #ea580c;
  }

  /* Kit Banner */
  .kit-banner {
    flex-direction: column;
    min-height: auto;
    padding: 22px 20px;
    background: #fff6f0;
    border: 1px solid #ffedd5;
    box-shadow: 0 12px 30px -10px rgba(235, 83, 0, 0.1);
  }
  .kit-copy { width: 100%; position: relative; z-index: 1; }
  .kit-copy h3 { font-size: 22px; color: #1e293b; }
  .kit-copy p { max-width: 100%; font-size: 10px; color: #64748b; }
  .kit-copy button {
    background: #ff6200;
    color: #ffffff;
  }
  .kit-copy button:hover {
    background: #e55300;
  }
  .kit-circle {
    width: 140px; height: 140px; position: static; margin: 0 auto;
    background: #fedec9;
  }
  .kit-label { color: #ea580c; }
  .kit-label span { color: #f59e0b; }
  .kit-item {
    width: 66px; height: 76px; font-size: 26px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(235, 83, 0, 0.08);
  }
  .kit-visual {
    position: relative; width: 100%; height: 140px; margin-top: 16px;
    overflow: visible; display: flex; justify-content: center;
    align-items: center; opacity: 0.88; top: auto; right: auto;
  }
  .kit-item-one  { position: absolute; top: -10px; left: 10%; right: auto; }
  .kit-item-two  { position: absolute; top: -20px; right: 10%; left: auto; }
  .kit-item-three { position: absolute; top: 30px; left: 50%; transform: translateX(-50%) rotate(4deg); right: auto; }
  .kit-sticker {
    position: static; width: 56px; height: 56px; font-size: 7px; margin: 10px auto 0;
    background: #ff7828;
  }

  /* Impact Strip */
  .impact-icon {
    background: #ffede0;
    color: #e55300;
  }
  .impact-link {
    color: #ea580c;
  }

  /* How It Works */
  .how-section {
    padding: 34px 20px 40px;
    display: block;
    background: #fafafa;
  }
  .steps { grid-template-columns: 1fr; gap: 16px; margin-top: 22px; }
  .steps article { max-width: none; display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; }
  .steps article > span { grid-row: span 2; padding-top: 2px; color: #f97316; }
  .steps h3 { margin: 0 0 3px; }
  .steps p { grid-column: 2; }

  /* Footer */
  .footer-full { padding: 34px 16px 22px; margin-top: 32px; background: #ffffff; border-top: 1px solid #f0edea; }
  .footer-parent-showcase {
    padding: 24px 20px;
    background: linear-gradient(135deg, #fffaf5 0%, #fff4ec 100%);
    border: 1px solid #fedec9;
  }
  .footer-parent-showcase::before {
    background: radial-gradient(circle, rgba(255, 98, 0, 0.08) 0%, transparent 70%);
  }
  .footer-zef-brand-block { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .footer-zef-eagle-wrap {
    flex-direction: row; justify-content: center; gap: 12px; padding: 14px;
    background: #ffffff;
    border: 1px solid rgba(255, 98, 0, 0.18);
    box-shadow: 0 8px 24px rgba(255, 98, 0, 0.08);
  }
  .footer-zef-eagle { width: 80px; height: 80px; }
  .footer-zef-kicker,
  .footer-zef-eyebrow {
    color: #ea580c;
  }
  .footer-zef-headline h2 { font-size: 20px; }
  .footer-pillars-grid { grid-template-columns: 1fr; gap: 10px; }
  .pillar-card {
    background: #ffffff;
    border: 1px solid #fedec9;
  }
  .footer-bottom-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { flex-wrap: wrap; gap: 12px; }
  .footer-links a:hover { color: #ff6200; }

  /* Dialogs */
  .dialog-shell { padding: 24px 18px; background: #ffffff; border: 1px solid #edf0f4; }
  .dialog-kicker { color: #ea580c; }
  .primary-action { background: #ff6200; }
  .primary-action:hover { background: #e55300; }
  .dialog-form input:focus,
  .dialog-form select:focus,
  .dialog-form textarea:focus {
    border-color: #ff8a3d;
    box-shadow: 0 0 0 3px #fff1e8;
  }

  /* List an item button (FAB) — Shifted up to clear Netlify badge */
  .list-fab {
    position: fixed !important;
    right: 16px !important;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 10px 15px 10px 13px !important;
    font-size: 11px !important;
    background: #ff6200 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(255, 98, 0, 0.38) !important;
    z-index: 99 !important;
  }
  .list-fab:hover {
    background: #e55300 !important;
    box-shadow: 0 10px 28px rgba(255, 98, 0, 0.45) !important;
  }

  /* Toast Notification */
  .toast {
    bottom: calc(138px + env(safe-area-inset-bottom, 0px)) !important;
    font-size: 10.5px;
  }

  /* ══════════════════════════════════════════════════════════
     MOBILE DARK MODE OPTION — Black & Orange Theme
     ══════════════════════════════════════════════════════════ */
  html.mobile-dark {
    --ink: #f9fafb;
    --muted: #9ca3af;
    --green: #ff7828;
    --green-dark: #ff8c42;
    --mint: rgba(255, 120, 40, 0.16);
    --paper: #08090c;
    --line: #1f212c;
    --orange: #ff8533;
  }

  html.mobile-dark,
  html.mobile-dark body {
    background: #08090c !important;
    color: #f3f4f6 !important;
  }

  /* Dark Topbar */
  html.mobile-dark .topbar {
    background: rgba(12, 13, 17, 0.94) !important;
    border-bottom: 1px solid #1c1d27 !important;
  }
  html.mobile-dark .brand-title {
    color: #ffffff !important;
  }
  html.mobile-dark .brand-campus-tag {
    background: #251408 !important;
    border-color: #632505 !important;
    color: #ff8533 !important;
  }
  html.mobile-dark .brand-parent {
    color: #71717a !important;
  }
  html.mobile-dark .brand-parent strong,
  html.mobile-dark .zeficates-name {
    color: #d1d5db !important;
  }

  /* Dark Theme Toggle */
  html.mobile-dark .mobile-theme-toggle {
    background: #181923 !important;
    border-color: #2b2e3d !important;
    color: #ff944d !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
  }
  html.mobile-dark .mobile-theme-toggle .theme-sun {
    display: inline-block !important;
  }
  html.mobile-dark .mobile-theme-toggle .theme-moon {
    display: none !important;
  }

  /* Dark Auth CTA */
  html.mobile-dark .auth-cta {
    background: #ff6200 !important;
    color: #ffffff !important;
  }
  html.mobile-dark .auth-cta.signed-in {
    background: #251408 !important;
    border-color: #632505 !important;
    color: #ff8533 !important;
  }

  /* Dark Hero */
  html.mobile-dark .hero {
    background: #08090c !important;
  }
  html.mobile-dark .hero::before {
    background: radial-gradient(circle, rgba(255, 98, 0, 0.16) 0%, rgba(255, 98, 0, 0) 70%) !important;
  }
  html.mobile-dark .hero::after {
    background: radial-gradient(circle, rgba(255, 140, 0, 0.12) 0%, rgba(255, 140, 0, 0) 70%) !important;
  }
  html.mobile-dark .eyebrow {
    color: #ff8533 !important;
  }
  html.mobile-dark .hero h1 {
    color: #ffffff !important;
  }
  html.mobile-dark .hero h1 em {
    color: #ff7828 !important;
  }
  html.mobile-dark .dynamic-word {
    color: #ff7828 !important;
    border-bottom-color: rgba(255, 120, 40, 0.5) !important;
  }
  html.mobile-dark .hero-copy > p {
    color: #9ca3af !important;
  }
  html.mobile-dark .hero-tags-label {
    color: #71717a !important;
  }
  html.mobile-dark .hero-tag-chip {
    background: #13141b !important;
    border-color: #242633 !important;
    color: #ff944d !important;
  }
  html.mobile-dark .hero-tag-chip:hover,
  html.mobile-dark .hero-tag-chip:active {
    background: #1c1d28 !important;
    border-color: #ff7828 !important;
  }
  html.mobile-dark .shield {
    background: #251408 !important;
    color: #ff8533 !important;
  }
  html.mobile-dark .hero-note {
    color: #9ca3af !important;
  }
  html.mobile-dark .hero-stats {
    background: #0d0e13 !important;
    border-top: 1px solid #1c1d27 !important;
    border-bottom: 1px solid #1c1d27 !important;
  }
  html.mobile-dark .hero-stats strong {
    color: #ffffff !important;
  }
  html.mobile-dark .hero-stats span {
    color: #9ca3af !important;
  }

  /* Dark Searchbar */
  html.mobile-dark .searchbar {
    background: #13141c !important;
    border-color: #262836 !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4) !important;
  }
  html.mobile-dark .searchbar input {
    background: transparent !important;
    color: #ffffff !important;
  }
  html.mobile-dark .searchbar input::placeholder {
    color: #71717a !important;
  }
  html.mobile-dark .search-icon {
    color: #71717a !important;
  }
  html.mobile-dark .searchbar:focus-within {
    border-color: #ff7828 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 0 3px rgba(255, 120, 40, 0.22) !important;
  }
  html.mobile-dark .searchbar:focus-within .search-icon {
    color: #ff7828 !important;
  }

  /* Dark Market & Listings */
  html.mobile-dark .market-layout {
    background: #08090c !important;
  }
  html.mobile-dark .section-heading h2 {
    color: #ffffff !important;
  }
  html.mobile-dark .section-heading h2 em {
    color: #ff7828 !important;
  }
  html.mobile-dark .muted-eyebrow {
    color: #71717a !important;
  }
  html.mobile-dark .text-button {
    color: #ff7828 !important;
  }
  html.mobile-dark .filter-chip {
    background: #121319 !important;
    border-color: #242633 !important;
    color: #9ca3af !important;
  }
  html.mobile-dark .filter-chip.active {
    background: #ff6200 !important;
    border-color: #ff6200 !important;
    color: #ffffff !important;
  }
  html.mobile-dark .item-card {
    background: #121319 !important;
    border: 1px solid #1f212c !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4) !important;
  }
  html.mobile-dark .item-card:hover {
    border-color: #ff7828 !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7) !important;
  }
  html.mobile-dark .item-image {
    background: #191b24 !important;
  }
  html.mobile-dark .item-image:before,
  html.mobile-dark .item-image:after {
    border-color: rgba(255, 255, 255, 0.07) !important;
  }
  html.mobile-dark .item-title {
    color: #ffffff !important;
  }
  html.mobile-dark .item-category {
    color: #71717a !important;
  }
  html.mobile-dark .item-price {
    color: #ffffff !important;
  }
  html.mobile-dark .item-price small {
    color: #71717a !important;
  }
  html.mobile-dark .deposit {
    color: #71717a !important;
  }
  html.mobile-dark .item-footer {
    border-top-color: #1e202a !important;
  }
  html.mobile-dark .free-price {
    color: #ff8533 !important;
  }
  html.mobile-dark .owner-line {
    color: #8b92a2 !important;
  }
  html.mobile-dark .owner-avatar {
    background: #251408 !important;
    color: #ff8533 !important;
  }
  html.mobile-dark .verified {
    color: #ff8533 !important;
  }
  html.mobile-dark .book-button {
    background: #22140a !important;
    border-color: #592505 !important;
    color: #ff8533 !important;
  }
  html.mobile-dark .book-button:hover,
  html.mobile-dark .book-button:active {
    background: #ff6200 !important;
    border-color: #ff6200 !important;
    color: #ffffff !important;
  }

  /* Dark Kit Banner */
  html.mobile-dark .kit-banner {
    background: #101117 !important;
    border: 1px solid #291c12 !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6) !important;
  }
  html.mobile-dark .kit-circle {
    background: rgba(255, 98, 0, 0.12) !important;
  }
  html.mobile-dark .kit-label {
    color: #ff8533 !important;
  }
  html.mobile-dark .kit-copy h3 {
    color: #ffffff !important;
  }
  html.mobile-dark .kit-copy p {
    color: #9ca3af !important;
  }
  html.mobile-dark .kit-copy button {
    background: #ff6200 !important;
    color: #ffffff !important;
  }
  html.mobile-dark .kit-item {
    background: #161822 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5) !important;
    border: 1px solid #282a38 !important;
    color: #ffffff !important;
  }
  html.mobile-dark .kit-item small {
    color: #ff8533 !important;
  }
  html.mobile-dark .kit-sticker {
    background: #ff7828 !important;
  }

  /* Dark Impact Strip */
  html.mobile-dark .impact-icon {
    background: #251408 !important;
    color: #ff8533 !important;
  }
  html.mobile-dark .impact-strip p {
    color: #9ca3af !important;
  }
  html.mobile-dark .impact-strip p strong {
    color: #ffffff !important;
  }
  html.mobile-dark .impact-link {
    color: #ff8533 !important;
  }

  /* Dark How It Works */
  html.mobile-dark .how-section {
    background: #08090c !important;
  }
  html.mobile-dark .how-section h2 {
    color: #ffffff !important;
  }
  html.mobile-dark .how-section h2 em {
    color: #ff7828 !important;
  }
  html.mobile-dark .steps article > span {
    color: #ff7828 !important;
  }
  html.mobile-dark .steps h3 {
    color: #ffffff !important;
  }
  html.mobile-dark .steps p {
    color: #9ca3af !important;
  }

  /* Dark Footer */
  html.mobile-dark .footer-full {
    background: #08090c !important;
    border-top: 1px solid #1c1d27 !important;
  }
  html.mobile-dark .footer-parent-showcase {
    background: linear-gradient(135deg, #101117 0%, #151722 100%) !important;
    border: 1px solid #281d14 !important;
  }
  html.mobile-dark .footer-parent-showcase::before {
    background: radial-gradient(circle, rgba(255, 120, 40, 0.12) 0%, transparent 70%) !important;
  }
  html.mobile-dark .footer-zef-eagle-wrap {
    background: #ffffff !important;
    border: 1px solid rgba(255, 120, 40, 0.4) !important;
    box-shadow: 0 8px 24px rgba(255, 120, 40, 0.15) !important;
  }
  html.mobile-dark .footer-zef-kicker,
  html.mobile-dark .footer-zef-eyebrow {
    color: #ff8533 !important;
  }
  html.mobile-dark .footer-zef-headline h2 {
    color: #ffffff !important;
  }
  html.mobile-dark .footer-zef-motto {
    color: #a1a1aa !important;
  }
  html.mobile-dark .footer-zef-description {
    color: #9ca3af !important;
  }
  html.mobile-dark .pillar-card {
    background: #14151e !important;
    border: 1px solid #242633 !important;
  }
  html.mobile-dark .pillar-card strong {
    color: #ffffff !important;
  }
  html.mobile-dark .pillar-card p {
    color: #9ca3af !important;
  }
  html.mobile-dark .footer-copy-text {
    color: #71717a !important;
  }
  html.mobile-dark .footer-copy-text strong {
    color: #d1d5db !important;
  }
  html.mobile-dark .footer-links a {
    color: #9ca3af !important;
  }
  html.mobile-dark .footer-links a:hover {
    color: #ff7828 !important;
  }

  /* Dark Dialogs & Modals */
  html.mobile-dark .app-dialog {
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.85) !important;
  }
  html.mobile-dark .dialog-shell {
    background: #121319 !important;
    border: 1px solid #242633 !important;
    color: #ffffff !important;
  }
  html.mobile-dark .dialog-close {
    color: #9ca3af !important;
  }
  html.mobile-dark .dialog-kicker {
    color: #ff8533 !important;
  }
  html.mobile-dark .dialog-title {
    color: #ffffff !important;
  }
  html.mobile-dark .dialog-text {
    color: #9ca3af !important;
  }
  html.mobile-dark .dialog-form label {
    color: #d1d5db !important;
  }
  html.mobile-dark .dialog-form input,
  html.mobile-dark .dialog-form select,
  html.mobile-dark .dialog-form textarea {
    background: #181a24 !important;
    border: 1px solid #2a2c3a !important;
    color: #ffffff !important;
  }
  html.mobile-dark .dialog-form input:focus,
  html.mobile-dark .dialog-form select:focus,
  html.mobile-dark .dialog-form textarea:focus {
    border-color: #ff7828 !important;
    box-shadow: 0 0 0 3px rgba(255, 120, 40, 0.22) !important;
  }
  html.mobile-dark .primary-action {
    background: #ff6200 !important;
    color: #ffffff !important;
  }
  html.mobile-dark .trust-note {
    color: #71717a !important;
  }

  /* Dark FAB */
  html.mobile-dark .list-fab {
    background: #ff6200 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 26px rgba(255, 98, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15) !important;
  }

  /* Dark Toast */
  html.mobile-dark .toast {
    background: #181923 !important;
    color: #ffffff !important;
    border: 1px solid #ff7828 !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6) !important;
  }
}

/* ── 480px: Phone Fine-Tuning ────────────────────────────── */
@media (max-width: 480px) {
  /* Topbar */
  .topbar { height: 54px; padding: 0 13px; gap: 8px; }
  .brand-parent { display: none; }
  .brand-title { font-size: 17px; }
  .brand-campus-tag { display: none; }
  .brand-mark { width: 30px; height: 30px; border-radius: 9px; }
  .brand-logo-svg { width: 30px; height: 30px; }
  .auth-cta { font-size: 9px; padding: 7px 10px; }
  .mobile-theme-toggle { width: 30px; height: 30px; font-size: 13.5px; }

  /* Hero */
  .hero { padding: 26px 14px 60px; }
  .hero h1 { font-size: 30px; letter-spacing: -1.3px; margin: 10px 0 8px; }
  .hero-copy > p { font-size: 12px; max-width: 100%; line-height: 1.65; }
  .eyebrow { font-size: 8px; letter-spacing: 1px; }
  .hero-art { display: none; }

  /* Searchbar */
  .searchbar { max-width: 100%; height: 44px; padding: 3px 4px 3px 12px; }
  .searchbar input { font-size: 12px; }
  .searchbar button { height: 32px; padding: 0 11px; font-size: 10px; }

  /* Trending chips */
  .hero-tags {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    padding-bottom: 4px; gap: 5px; scrollbar-width: none;
  }
  .hero-tags::-webkit-scrollbar { display: none; }
  .hero-tag-chip { flex-shrink: 0; }

  /* Stats bar */
  .hero-stats {
    height: auto; padding: 10px 14px; gap: 0;
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    justify-content: space-between; scrollbar-width: none;
  }
  .hero-stats::-webkit-scrollbar { display: none; }
  .hero-stats div {
    flex-direction: column; align-items: center; gap: 2px;
    min-width: fit-content; padding: 0 8px;
  }
  .hero-stats i { display: none; }
  .hero-stats strong { font-size: 11px; }
  .hero-stats span { font-size: 8px; white-space: nowrap; }

  /* Market */
  .market-layout { padding: 18px 13px 30px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 4px; }
  .section-heading h2 { font-size: 18px; }
  .text-button { font-size: 9px; }
  .filter-row {
    margin: 10px 0 8px; gap: 5px;
    overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; padding-bottom: 4px;
    scrollbar-width: none;
  }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-chip { padding: 6px 10px; font-size: 9.5px; flex-shrink: 0; }

  /* Listing cards */
  .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .item-image { height: 108px; }
  .item-emoji { font-size: 42px; }
  .item-info { padding: 8px 8px 7px; }
  .item-title { font-size: 10.5px; margin: 3px 0 4px; }
  .item-category { font-size: 7.5px; }
  .item-price { font-size: 12px; }
  .item-price small { font-size: 8px; }
  .deposit { font-size: 8px; }
  .owner-line { font-size: 7.5px; gap: 3px; }
  .owner-avatar { width: 16px; height: 16px; font-size: 7px; }
  .book-button { padding: 5px 7px; font-size: 7.5px; border-radius: 4px; }

  /* Kit banner */
  .kit-banner { padding: 16px 14px; margin-top: 18px; border-radius: 10px; }
  .kit-copy h3 { font-size: 18px; margin: 7px 0 5px; }
  .kit-copy p { font-size: 9.5px; }
  .kit-copy button { padding: 8px 11px; font-size: 9px; }
  .kit-visual { height: 90px; margin-top: 10px; }
  .kit-circle { width: 100px; height: 100px; }
  .kit-item { width: 52px; height: 60px; font-size: 20px; }
  .kit-item small { font-size: 5.5px; }
  .kit-sticker { width: 46px; height: 46px; font-size: 6px; }

  /* Impact */
  .impact-strip { flex-direction: column; gap: 8px; margin: 14px 0 0; }
  .impact-link { display: none; }

  /* How */
  .how-section { padding: 26px 14px 30px; }
  .how-section h2 { font-size: 18px; }

  /* Footer */
  .footer-full { padding: 22px 13px 16px; margin-top: 18px; }
  .footer-parent-showcase { padding: 16px 13px; border-radius: 12px; margin-bottom: 18px; }
  .footer-zef-eagle { width: 55px; height: 55px; }
  .footer-zef-headline h2 { font-size: 16px; letter-spacing: 2px; }
  .footer-zef-motto { font-size: 11.5px; }
  .footer-zef-description { font-size: 11px; line-height: 1.6; }
  .footer-pillars-grid { gap: 8px; }
  .pillar-card { padding: 10px 9px; gap: 8px; }
  .pillar-card strong { font-size: 10px; }
  .pillar-card p { font-size: 8.5px; }
  .footer-bottom-bar { gap: 10px; padding-top: 14px; }
  .footer-brand-lockup { flex-direction: column; gap: 5px; }
  .footer-copy-text { font-size: 9px; }
  .footer-links { gap: 10px; }
  .footer-links a { font-size: 10px; }

  /* Dialog */
  .dialog-shell { padding: 20px 15px; }
  .dialog-title { font-size: 20px; }
  .dialog-text { font-size: 11px; }
  .app-dialog { width: calc(100vw - 20px); margin: auto; }

  /* FAB — Shifted safely above Netlify badge on phone */
  .list-fab {
    right: 14px !important;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 9px 12px 9px 10px !important;
    font-size: 10.5px !important;
  }
  .list-fab span { font-size: 15px; margin-right: 3px; }

  /* Toast */
  .toast {
    width: calc(100vw - 28px);
    text-align: center;
    font-size: 10px;
    bottom: calc(138px + env(safe-area-inset-bottom, 0px)) !important;
  }
}
