/* TidyBox Landing — dark navy hero + light content sections + amber CTAs */

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

html {
    scroll-behavior: smooth;
}

html { background: var(--tb-bg); }

body.landing-page {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--tb-text);
    background: transparent;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.max-w-8xl { max-width: 88rem; }

/* ───────── Interactive cardboard-box grid ─────────
   Sits fixed behind all content. Dark hero/footer/usecase cards stay
   opaque so the grid is only visible behind the light content
   sections, where it scatters on mouse/scroll and re-orders itself. */

#interactive-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    grid-template-rows: repeat(auto-fill, minmax(80px, 1fr));
    gap: 15px;
    padding: 15px;
    overflow: hidden;
    pointer-events: none;
}

.bg-box {
    width: 100%;
    height: 100%;
    background: var(--tb-box-mid);
    opacity: 0.18;
    border-radius: 8px;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
    transform-origin: center;
}

@media (prefers-reduced-motion: reduce) {
    #interactive-bg { display: none; }
}

/* ───────── Top nav (over dark hero) ───────── */

.tb-topnav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    background: rgba(6, 32, 40, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.25s ease;
}

.tb-topnav__inner {
    max-width: 88rem;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 1.5rem;
}

.tb-topnav__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #fff;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
}

.tb-topnav__brand img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.tb-topnav__brand-name { color: #fff; }

.tb-topnav__links {
    display: none;
    gap: 2.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
}

@media (min-width: 900px) {
    .tb-topnav__links { display: flex; }
}

.tb-topnav__links a {
    transition: color 0.2s ease;
}

.tb-topnav__links a:hover {
    color: #fff;
}

.tb-topnav__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tb-topnav__login {
    color: rgba(255, 255, 255, 0.88);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    transition: color 0.2s, background 0.2s;
}

.tb-topnav__login:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

/* ───────── Buttons ───────── */

.btn-primary,
.tb-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: var(--tb-accent);
    color: #1A1208;
    font-weight: 700;
    border: none;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 18px rgba(242, 164, 85, 0.25);
    cursor: pointer;
}

.btn-primary:hover,
.btn-primary:focus-visible,
.tb-btn-primary:hover,
.tb-btn-primary:focus-visible {
    background: var(--tb-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(242, 164, 85, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--tb-text);
    border: 1.5px solid var(--tb-border);
    font-weight: 600;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-outline:hover,
.btn-outline:focus-visible {
    background: var(--tb-bg-soft);
    border-color: #C9D0D4;
    color: var(--tb-text);
}

.landing-page a:focus-visible,
.landing-page button:focus-visible {
    outline: 2px solid var(--tb-accent);
    outline-offset: 3px;
}

/* ───────── Hero (dark navy) ───────── */

.tb-hero {
    position: relative;
    z-index: 1;
    padding: 9rem 1.25rem 5rem;
    background:
        radial-gradient(1200px 700px at 85% 25%, rgba(13, 60, 76, 0.55) 0%, rgba(13, 60, 76, 0) 70%),
        linear-gradient(180deg, #062028 0%, #04181F 100%);
    color: #fff;
    overflow: hidden;
}

.tb-hero__inner {
    max-width: 88rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .tb-hero {
        padding: 10rem 2rem 6rem;
    }
    .tb-hero__inner {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        gap: 4rem;
    }
}

.tb-hero__title {
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0 0 1.5rem;
    color: #FFFFFF;
}

.tb-hero__title-accent {
    color: var(--tb-accent);
}

.tb-hero__lead {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 32rem;
    margin: 0 0 2rem;
}

.tb-hero__cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.tb-hero__cta-row .btn-primary,
.tb-hero__cta-row .btn-secondary {
    padding: 0.95rem 1.75rem;
    border-radius: 14px;
    font-size: 0.98rem;
}

.tb-hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.tb-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.15;
}

.tb-feature-pill__icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(242, 164, 85, 0.18);
    color: var(--tb-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.tb-feature-pill__label {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.tb-feature-pill__label-small {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    font-size: 0.78rem;
}

/* ───────── Hero visual (boxes + floating cards) ───────── */

.tb-hero__visual {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.tb-hero__boxes-img {
    width: 100%;
    max-width: 640px;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.35));
}

.tb-hero__floater {
    position: absolute;
    background: #fff;
    color: var(--tb-text);
    border-radius: 18px;
    padding: 1rem 1.1rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.tb-hero__floater--storage {
    top: 18%;
    left: -2%;
    width: 230px;
}

.tb-hero__floater--box {
    top: 4%;
    right: -2%;
    width: 240px;
}

.tb-hero__floater--qr {
    bottom: 6%;
    right: 4%;
    width: 210px;
}

@media (max-width: 720px) {
    .tb-hero__floater--storage { left: 0; width: 200px; top: 8%; }
    .tb-hero__floater--box { right: 0; width: 200px; }
    .tb-hero__floater--qr { right: 4%; width: 180px; }
}

.tb-hero__floater-title {
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--tb-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
}

.tb-hero__floater-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.tb-hero__floater-list li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--tb-text);
    font-weight: 500;
}

.tb-hero__floater-list li i {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--tb-bg-soft);
    color: var(--tb-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.tb-hero__floater-list li span:last-child {
    color: var(--tb-text-muted);
    font-size: 0.75rem;
    margin-left: auto;
}

.tb-hero__floater-cta {
    width: 100%;
    background: var(--tb-primary);
    color: #fff;
    border: none;
    padding: 0.55rem 0.85rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.82rem;
    text-align: center;
    margin-top: 0.65rem;
    cursor: pointer;
}

.tb-hero__floater-meta {
    color: var(--tb-text-muted);
    font-size: 0.72rem;
    margin-top: 0.65rem;
}

.tb-hero__floater-qty {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background: var(--tb-bg-soft);
    border-radius: 10px;
    padding: 0.35rem 0.75rem;
    font-weight: 700;
    color: var(--tb-text);
    gap: 0.75rem;
    margin: 0.5rem 0;
}

.tb-hero__floater-qty button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--tb-text-muted);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

/* ───────── Section base ───────── */

.tb-section {
    position: relative;
    z-index: 1;
    padding: 5rem 1.25rem;
    background: transparent;
}

.tb-section--soft {
    background: linear-gradient(180deg,
        rgba(236, 239, 241, 0.35) 0%,
        rgba(236, 239, 241, 0.55) 50%,
        rgba(236, 239, 241, 0.35) 100%);
}

.tb-section__inner {
    position: relative;
    max-width: 76rem;
    margin: 0 auto;
}

.tb-section__heading {
    text-align: center;
    margin-bottom: 3.5rem;
}

.tb-section__title {
    font-size: clamp(1.75rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--tb-text);
    margin: 0 0 0.75rem;
    letter-spacing: -0.01em;
}

.tb-section__sub {
    color: var(--tb-text-muted);
    font-size: 1.05rem;
    margin: 0;
}

/* ───────── How it works (numbered cards) ───────── */

.tb-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .tb-steps { grid-template-columns: repeat(3, 1fr); }
}

.tb-step {
    background: var(--tb-surface);
    border: 1px solid var(--tb-border);
    border-radius: 24px;
    padding: 1.75rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tb-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(6, 32, 40, 0.08);
}

.tb-step__header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.tb-step__num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--tb-night);
    color: #fff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.tb-step__title {
    font-weight: 700;
    color: var(--tb-text);
    font-size: 1.1rem;
    margin: 0;
}

.tb-step__body {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
}

.tb-step__text {
    color: var(--tb-text-muted);
    line-height: 1.55;
    margin: 0;
    font-size: 0.95rem;
}

.tb-step__art {
    flex-shrink: 0;
    width: 130px;
    height: 130px;
    border-radius: 16px;
    background: var(--tb-bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tb-step__art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ───────── Powerful Features (4 column) ───────── */

.tb-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) { .tb-features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tb-features-grid { grid-template-columns: repeat(4, 1fr); } }

.tb-feature-card {
    background: var(--tb-surface);
    border: 1px solid var(--tb-border);
    border-radius: 20px;
    padding: 1.6rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tb-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(6, 32, 40, 0.08);
}

.tb-feature-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--tb-night);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.tb-feature-card__title {
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--tb-text);
    margin: 0 0 0.6rem;
    line-height: 1.25;
}

.tb-feature-card__text {
    color: var(--tb-text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
}

/* ───────── Use Cases (2 dark cards w/ images) ───────── */

.tb-usecases {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) { .tb-usecases { grid-template-columns: repeat(2, 1fr); } }

.tb-usecase {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: var(--tb-night);
    color: #fff;
    min-height: 280px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
}

.tb-usecase__copy {
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
}

.tb-usecase__title {
    font-weight: 800;
    font-size: 1.35rem;
    margin: 0 0 0.65rem;
    line-height: 1.2;
    color: #fff;
}

.tb-usecase__text {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0 0 1.25rem;
}

.tb-usecase__cta {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.55rem 1.1rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: background 0.2s, border-color 0.2s;
}

.tb-usecase__cta:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}

.tb-usecase__art {
    background-size: cover;
    background-position: center;
    min-height: 100%;
}

.tb-usecase__art--household {
    background-image: url("/img/households.jpg");
}

.tb-usecase__art--business {
    background-image: url("/img/manufacturers.jpg");
}

@media (max-width: 640px) {
    .tb-usecase { grid-template-columns: 1fr; }
    .tb-usecase__art { min-height: 180px; }
}

/* ───────── Pricing ───────── */

.tb-pricing {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 900px) { .tb-pricing { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }

.tb-price-card {
    background: var(--tb-surface);
    border: 1px solid var(--tb-border);
    border-radius: 24px;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.tb-price-card:hover {
    box-shadow: 0 14px 36px rgba(6, 32, 40, 0.08);
}

.tb-price-card--featured {
    border: 2px solid var(--tb-accent);
    box-shadow: 0 20px 50px rgba(242, 164, 85, 0.18);
}

.tb-price-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--tb-accent);
    color: #1A1208;
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(242, 164, 85, 0.35);
}

.tb-price-card__name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--tb-text);
    margin: 0 0 0.25rem;
}

.tb-price-card__subtitle {
    font-size: 0.85rem;
    color: var(--tb-text-muted);
    margin: 0 0 1rem;
    line-height: 1.4;
    min-height: 1.4em;
}

.tb-price-card__price {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--tb-text);
    margin: 0 0 1.5rem;
    letter-spacing: -0.02em;
}

.tb-price-card__price-unit {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--tb-text-muted);
}

.tb-price-card__list {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    display: grid;
    gap: 0.7rem;
    flex-grow: 1;
}

.tb-price-card__list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--tb-text);
    font-size: 0.93rem;
}

.tb-price-card__list li::before {
    content: "✓";
    color: var(--tb-accent);
    font-weight: 800;
    flex-shrink: 0;
}

.tb-price-card__cta {
    width: 100%;
    text-align: center;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
}

.tb-price-card__note {
    margin: 0.55rem 0 0;
    text-align: center;
    color: var(--tb-text-muted);
    font-size: 0.8rem;
}

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

.tidybox-footer {
    position: relative;
    z-index: 1;
    background: var(--tb-darker);
    color: #fff;
    padding: 4rem 1.25rem 2rem;
}

.tidybox-footer__inner {
    max-width: 80rem;
    margin: 0 auto 3rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .tidybox-footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
}

@media (max-width: 480px) {
    .tidybox-footer__inner { grid-template-columns: 1fr; }
}

.tidybox-footer__brandline {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1rem;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.tidybox-footer__icon {
    width: 2rem;
    height: 2rem;
    border-radius: 6px;
}

.tidybox-footer__brand p {
    max-width: 17rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.55;
}

.tidybox-footer__group h2 {
    color: #fff;
    font-weight: 700;
    margin: 0 0 1rem;
    font-size: 0.92rem;
}

.tidybox-footer__group a {
    display: block;
    width: max-content;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
    font-weight: 400;
    margin-top: 0.5rem;
    transition: color 0.2s ease;
}

.tidybox-footer__group a:hover,
.tidybox-footer__group a:focus-visible {
    color: var(--tb-accent);
}

.tidybox-footer__copyright {
    max-width: 80rem;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.tidybox-footer__mt-disclaimer {
    max-width: 80rem;
    margin: 1rem auto 0;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.75rem;
    font-style: italic;
    line-height: 1.5;
    text-align: center;
}

/* ───────── Language switcher (placed in dark header) ───────── */

[data-tb-langswitcher] button {
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.06);
}

[data-tb-langswitcher] button:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

[data-tb-langswitcher-menu] {
    background: #fff;
    color: var(--tb-text);
    border: 1px solid var(--tb-border);
}

/* ───────── Reduced motion ───────── */

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

/* ═════════════════════════════════════════════════════════════════
   Shared app-shell layout (used by dashboard / locations / batches /
   profile / chat / login / signup / etc.). Pre-redesign these lived
   in landing.css under the dark "starfield" theme; this is the new
   light-theme equivalent so all 20+ pages that still mark up
   .landing-shell / .landing-header continue to render.
   ═════════════════════════════════════════════════════════════════ */

.landing-shell {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 64px;
}

@media (min-width: 760px) {
    .landing-shell {
        width: min(1220px, calc(100% - 48px));
        padding-bottom: 84px;
    }
}

.landing-header {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 16px;
    padding: 8px 0 20px;
    z-index: 10;
}

@media (min-width: 760px) {
    .landing-header {
        grid-template-columns: auto 1fr;
        gap: 32px;
        padding-top: 18px;
    }
}

.landing-brand {
    display: inline-flex;
    align-items: center;
}

.landing-brand__logo {
    width: min(168px, 38vw);
}

.landing-menu-toggle {
    justify-self: end;
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    width: 48px;
    height: 48px;
    padding: 14px;
    border: 1px solid var(--tb-border);
    border-radius: 14px;
    background: var(--tb-surface);
    box-shadow: 0 6px 18px rgba(6, 32, 40, 0.06);
    cursor: pointer;
}

.landing-menu-toggle__line {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--tb-text);
}

.landing-header__panel {
    grid-column: 1 / -1;
    display: none;
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--tb-border);
    border-radius: 22px;
    background: var(--tb-surface);
    box-shadow: 0 14px 36px rgba(6, 32, 40, 0.08);
}

.landing-header__panel.is-open {
    display: grid;
}

.landing-nav,
.landing-header__actions {
    display: grid;
    gap: 12px;
}

@media (min-width: 760px) {
    .landing-menu-toggle {
        display: none;
    }

    .landing-header__panel {
        grid-column: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .landing-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 24px;
        margin-inline: auto;
    }

    .landing-header__actions {
        display: flex;
        align-items: center;
        gap: 14px;
    }
}

.landing-nav a,
.landing-link {
    color: var(--tb-text-muted);
    font-size: 0.96rem;
    font-weight: 600;
    transition: color 200ms ease;
}

.landing-nav a:hover,
.landing-link:hover {
    color: var(--tb-text);
}

.landing-lang-switcher {
    position: relative;
    width: max-content;
    z-index: 100;
}

.landing-lang-switcher__toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 96px;
    padding: 10px 14px;
    border: 1px solid var(--tb-border);
    border-radius: 999px;
    background: var(--tb-surface);
    color: var(--tb-text);
    cursor: pointer;
    transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
    font-weight: 600;
}

.landing-lang-switcher__toggle:hover,
.landing-lang-switcher.is-open .landing-lang-switcher__toggle {
    border-color: var(--landing-border-strong);
    box-shadow: 0 6px 18px rgba(6, 32, 40, 0.08);
}

.landing-lang-switcher__chevron {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 200ms ease;
}

.landing-lang-switcher.is-open .landing-lang-switcher__chevron {
    transform: rotate(225deg) translateY(-1px);
}

.landing-lang-switcher__menu {
    position: absolute;
    inset-inline-end: 0;
    top: calc(100% + 10px);
    display: none;
    min-width: 220px;
    margin: 0;
    padding: 8px;
    list-style: none;
    border: 1px solid var(--tb-border);
    border-radius: 18px;
    background: var(--tb-surface);
    box-shadow: 0 18px 42px rgba(6, 32, 40, 0.16);
}

.landing-lang-switcher.is-open .landing-lang-switcher__menu {
    display: grid;
    gap: 4px;
}

.landing-lang-switcher__item {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 12px;
    align-items: center;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--tb-text-muted);
    transition: background 200ms ease, color 200ms ease;
}

.landing-lang-switcher__item:hover,
.landing-lang-switcher__item--active {
    background: rgba(242, 164, 85, 0.1);
    color: var(--tb-text);
}

.landing-lang-switcher__code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    padding: 5px 7px;
    border-radius: 999px;
    background: var(--tb-bg-soft);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.landing-lang-switcher__flag {
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.03);
}

.landing-lang-switcher__name {
    white-space: nowrap;
}

@media (max-width: 759px) {
    .landing-lang-switcher__menu {
        position: static;
        min-width: 0;
        width: 100%;
        border-radius: 14px;
        box-shadow: none;
        max-height: 40vh;
        overflow-y: auto;
    }

    .landing-lang-switcher { width: 100%; }
}

.landing-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, border-color 200ms ease, color 200ms ease;
}

.landing-button:hover {
    transform: translateY(-1px);
}

.landing-button--solid {
    color: #1A1208;
    background: var(--tb-accent);
    box-shadow: 0 6px 18px rgba(242, 164, 85, 0.25);
}

.landing-button--solid:hover {
    background: var(--tb-accent-hover);
    box-shadow: 0 8px 22px rgba(242, 164, 85, 0.35);
}

.landing-button--ghost,
.landing-button--outline {
    color: var(--tb-text);
    background: var(--tb-surface);
    border-color: var(--tb-border);
}

.landing-button--ghost:hover,
.landing-button--outline:hover {
    background: var(--tb-bg-soft);
    border-color: #C9D0D4;
}

.landing-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}
