@font-face {
    font-family: "TikTokSans";
    src: url("../font/TikTokSans-VariableFont.ttf") format("truetype");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

body.home {
    --ld-bg: #ffffff;
    --ld-surface: #f7f7f8;
    --ld-surface-2: #f1f2f4;
    --ld-text: #111111;
    --ld-muted: #666666;
    --ld-border: #e7e7e9;
    --ld-primary: #913d45;
    --ld-primary-hover: #77313a;
    --ld-accent: #fcedee;
    --ld-radius: 24px;
    --ld-shadow: 0 16px 40px rgba(17, 17, 17, 0.06);
    --ld-header: 76px;
    background: var(--ld-bg) !important;
    color: var(--ld-text) !important;
    font-family: "TikTokSans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

.ld-wrap {
    width: min(1240px, calc(100% - 2rem));
    margin-inline: auto;
}

.ld-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 1.15rem;
    border: 1px solid transparent;
    border-radius: 14px;
    font: inherit;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    text-decoration: none !important;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.ld-btn--lg { min-height: 54px; padding: 0 1.35rem; }

.ld-btn--primary {
    background: var(--ld-primary);
    color: #fff !important;
}

.ld-btn--primary:hover { background: var(--ld-primary-hover); }

.ld-btn--secondary {
    background: var(--ld-surface);
    color: var(--ld-text) !important;
    border-color: var(--ld-border);
}

.ld-btn--secondary:hover { background: var(--ld-surface-2); }

.ld-demo {
    width: min(26rem, calc(100% - 2rem));
    padding: 1.5rem 1.4rem 1.4rem;
    border: 1px solid var(--ld-border);
    border-radius: 24px;
    background: #fff;
    color: var(--ld-text);
    box-shadow: 0 24px 60px rgba(17, 17, 17, 0.16);
}

.ld-demo::backdrop { background: rgba(17, 17, 17, 0.46); }

.ld-demo h2 {
    margin: 0 2rem 0.45rem 0;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.ld-demo p {
    margin: 0 0 1.15rem;
    color: var(--ld-muted);
    line-height: 1.45;
}

.ld-demo__choices { display: grid; gap: 0.65rem; }

.ld-demo__choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 64px;
    padding: 0.85rem 1rem;
    border: 1px solid var(--ld-border);
    border-radius: 16px;
    background: #fff;
    color: var(--ld-text) !important;
    text-decoration: none !important;
}

.ld-demo__choice strong { font-size: 1.05rem; font-weight: 800; }
.ld-demo__choice span { color: var(--ld-muted); font-size: 0.92rem; font-weight: 650; }

.ld-demo__choice:hover {
    border-color: var(--ld-primary);
    background: var(--ld-accent);
}

.ld-demo__close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
}

.ld-demo__close::before,
.ld-demo__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 1.5px;
    background: var(--ld-text);
}

.ld-demo__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.ld-demo__close::after { transform: translate(-50%, -50%) rotate(-45deg); }

.ld-demo__close:hover { background: var(--ld-surface); }

.ld-btn:focus-visible,
.ld-demo__choice:focus-visible,
.ld-demo__close:focus-visible,
.site-logo:focus-visible,
.site-nav a:focus-visible,
.site-nav__toggle:focus-visible {
    outline: 2px solid var(--ld-primary);
    outline-offset: 3px;
}

.site-header {
    position: fixed;
    z-index: 40;
    top: 0;
    right: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--ld-border);
    backdrop-filter: blur(16px);
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--ld-header);
    gap: 1rem;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--ld-text) !important;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-decoration: none !important;
}

.site-logo__mark {
    width: 32px;
    height: 32px;
    color: var(--ld-primary);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.site-nav > a {
    padding: 0.55rem 0.8rem;
    color: var(--ld-muted) !important;
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 10px;
}

.site-nav > a:hover { color: var(--ld-text) !important; background: var(--ld-surface); }

.site-nav__actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-left: 0.7rem;
}

.site-nav__toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
}

.site-nav__toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    margin: 4px auto;
    background: var(--ld-text);
}

.ld-hero {
    padding: calc(var(--ld-header) + 3.5rem) 0 4.5rem;
    background:
        radial-gradient(520px 280px at 88% 18%, rgba(145, 61, 69, 0.08), transparent 70%),
        var(--ld-bg);
}

.ld-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 3.5rem;
    align-items: center;
}

.ld-eyebrow {
    display: inline-flex;
    margin: 0 0 1.15rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: var(--ld-accent);
    color: var(--ld-primary);
    font-size: 0.88rem;
    font-weight: 700;
}

.ld-hero h1 {
    margin: 0;
    max-width: 12ch;
    color: var(--ld-text);
    font-size: clamp(2.35rem, 4.6vw, 4.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 0.98;
}

.ld-lead {
    max-width: 38rem;
    margin: 1.25rem 0 0;
    color: var(--ld-muted);
    font-size: 1.15rem;
    line-height: 1.5;
}

.ld-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.8rem;
}

.ld-hero__note {
    max-width: 34rem;
    margin: 1.15rem 0 0;
    color: var(--ld-muted);
    font-size: 0.95rem;
    line-height: 1.45;
}

.ld-hero__stage {
    position: relative;
    min-height: 540px;
}

.ld-collage {
    position: relative;
    height: 540px;
}

.ld-collage img {
    position: absolute;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(17, 17, 17, 0.12);
}

.ld-collage__main {
    width: 68%;
    height: 78%;
    top: 0;
    right: 0;
}

.ld-collage__side {
    width: 42%;
    height: 42%;
    left: 0;
    bottom: 12%;
    border: 6px solid #fff;
}

.ld-collage__accent {
    width: 40%;
    height: 65%;
    right: -1%;
    top: 45%;
    bottom: 0;
    border: 6px solid #fff;
}

.ld-browser {
    overflow: hidden;
    border: 1px solid var(--ld-border);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--ld-shadow);
}

.ld-browser__chrome {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    height: 44px;
    padding: 0 1rem;
    background: var(--ld-surface);
    border-bottom: 1px solid var(--ld-border);
}

.ld-browser__chrome span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #dddde1;
}

.ld-browser__chrome em {
    margin-left: 0.55rem;
    color: var(--ld-muted);
    font-size: 0.82rem;
    font-style: normal;
}

.ld-browser img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.ld-float {
    position: absolute;
    z-index: 2;
    max-width: 220px;
    padding: 0.95rem 1rem;
    border: 1px solid var(--ld-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 28px rgba(17, 17, 17, 0.08);
}

.ld-float strong,
.ld-float span { display: block; }

.ld-float strong {
    font-size: 0.98rem;
    font-weight: 750;
}

.ld-float span {
    margin-top: 0.2rem;
    color: var(--ld-muted);
    font-size: 0.84rem;
    line-height: 1.35;
}

.ld-collage .ld-float {
    left: 4%;
    top: 8%;
    max-width: 11rem;
}

@media (max-width: 1024px) {
    .site-nav__toggle { display: inline-block; }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
        padding: 0.6rem 1rem 1rem;
        background: #fff;
        border-bottom: 1px solid var(--ld-border);
    }

    .site-header.is-open .site-nav { display: flex; }

    .site-nav__actions {
        flex-direction: column;
        align-items: stretch;
        margin: 0.45rem 0 0;
    }

    .site-nav__actions .ld-btn { width: 100%; }

    .ld-hero__grid { grid-template-columns: 1fr; gap: 2rem; }
    .ld-hero h1 { max-width: 14ch; }
    .ld-hero__stage,
    .ld-collage { min-height: 0; height: 420px; }
    .ld-collage__side,
    .ld-collage__accent { display: none; }
    .ld-collage__main { width: 100%; height: 100%; left: 0; right: auto; }
    .ld-collage .ld-float { left: 1rem; top: 1rem; }
}

@media (max-width: 767px) {
    .ld-wrap { width: min(1240px, calc(100% - 2rem)); }
    .ld-hero { padding-top: calc(var(--ld-header) + 1.8rem); }
    .ld-hero h1 { font-size: clamp(2.25rem, 11vw, 2.75rem); }
    .ld-actions .ld-btn { width: 100%; }
    .ld-hero__stage,
    .ld-collage { height: 320px; }
    .ld-browser img { height: 240px; }
}

@media (min-width: 1025px) {
    .ld-wrap { width: min(1240px, calc(100% - 4rem)); }
}

@media (prefers-reduced-motion: reduce) {
    .ld-btn { transition: none; }
}

.ld-section { padding: 4.5rem 0; }
.ld-section--surface { background: var(--ld-surface); }

.ld-section__head {
    display: grid;
    gap: 0.8rem;
    max-width: 44rem;
    margin-bottom: 2.5rem;
}

.ld-section h2 {
    margin: 0;
    font-size: clamp(2.15rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.ld-section__head p,
.ld-orders__panel p,
.ld-card p,
.ld-case p,
.ld-price__for {
    margin: 0;
    color: var(--ld-muted);
    font-size: 1.05rem;
    line-height: 1.5;
}

.ld-section {
    scroll-margin-top: calc(var(--ld-header) + 1rem);
}

.ld-ticker {
    overflow: hidden;
    border-block: 1px solid var(--ld-border);
    background: var(--ld-surface);
}

.ld-ticker__track {
    display: flex;
    width: max-content;
    animation: ld-ticker 32s linear infinite;
}

.ld-ticker__line {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 1rem 0;
}

.ld-ticker__line span {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    padding-right: 2rem;
    color: var(--ld-text);
    font-size: 1.05rem;
    font-weight: 700;
    white-space: nowrap;
}

.ld-ticker__line span::after {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--ld-primary);
}

@keyframes ld-ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.ld-orders {
    display: grid;
    gap: 1.25rem;
}

.ld-orders__menu {
    display: flex;
    gap: 0.45rem;
    margin: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.ld-orders__menu::-webkit-scrollbar { display: none; }

.ld-orders__pick {
    position: relative;
    display: inline-flex;
    flex: none;
    align-items: center;
    min-height: 44px;
    padding: 0 0.95rem;
    border: 1px solid var(--ld-border);
    border-radius: 999px;
    background: #fff;
    color: var(--ld-text);
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
}

.ld-orders__pick input {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.ld-orders__pick:hover { background: var(--ld-surface); }

.ld-orders__pick:has(:checked) {
    border-color: var(--ld-primary);
    background: var(--ld-primary);
    color: #fff;
}

.ld-orders__pick:has(:focus-visible) {
    outline: 2px solid var(--ld-primary);
    outline-offset: 3px;
}

.ld-orders__stage,
.ld-orders__panel,
.ld-orders__frame { min-width: 0; }

.ld-orders__panel { display: none; }

.ld-orders__panel figcaption { max-width: 38rem; }

.ld-orders:has(#feature-clients:checked) [data-panel="feature-clients"],
.ld-orders:has(#feature-cart:checked) [data-panel="feature-cart"],
.ld-orders:has(#feature-orders:checked) [data-panel="feature-orders"],
.ld-orders:has(#feature-site:checked) [data-panel="feature-site"],
.ld-orders:has(#feature-custom:checked) [data-panel="feature-custom"],
.ld-orders:has(#feature-delivery:checked) [data-panel="feature-delivery"],
.ld-orders:has(#feature-notify:checked) [data-panel="feature-notify"],
.ld-orders:has(#feature-showcase:checked) [data-panel="feature-showcase"] {
    display: grid;
    gap: 1rem;
}

.ld-orders__panel h3,
.ld-card h3,
.ld-case h3,
.ld-price h3 {
    margin: 0 0 0.45rem;
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.ld-orders__frame {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 28px;
    background: var(--ld-accent);
}

.ld-orders__frame img {
    position: absolute;
    inset: 1.25rem;
    width: calc(100% - 2.5rem);
    height: calc(100% - 2.5rem);
    object-fit: contain;
    object-position: center;
}

.ld-card,
.ld-case,
.ld-price {
    border: 1px solid var(--ld-border);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.04);
}

.ld-showcase {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

.ld-steps,
.ld-build {
    display: grid;
    gap: 0.85rem;
    margin: 1.6rem 0 0;
    padding: 0;
    list-style: none;
}

.ld-steps li,
.ld-build li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.85rem;
    align-items: start;
}

.ld-steps span,
.ld-build span {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--ld-primary);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
}

.ld-steps strong { display: block; }
.ld-steps p { margin: 0.2rem 0 0; color: var(--ld-muted); line-height: 1.45; }

.ld-showcase__stage { position: relative; }
.ld-showcase .ld-browser img { height: auto; max-height: 460px; object-fit: contain; background: #fff; }

.ld-phone {
    position: absolute;
    right: -0.5rem;
    bottom: -1.2rem;
    width: 168px;
    padding: 0.45rem;
    border-radius: 28px;
    background: #111;
    box-shadow: var(--ld-shadow);
}

.ld-phone img {
    display: block;
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 22px;
}

.ld-channels,
.ld-cases,
.ld-pricing {
    display: grid;
    gap: 1rem;
}

.ld-card,
.ld-price { padding: 1.5rem; }

.ld-card a,
.site-footer a {
    color: var(--ld-primary);
    font-weight: 700;
    text-decoration: none;
}

.ld-card a:hover,
.site-footer a:hover { color: var(--ld-primary-hover); }

.ld-build {
    grid-template-columns: 1fr;
    margin-top: 1.5rem;
}

.ld-case { overflow: hidden; display: flex; flex-direction: column; }
.ld-case__photo { height: 210px; background: var(--ld-accent); }
.ld-case__photo img { width: 100%; height: 100%; object-fit: cover; }
.ld-case__body { display: flex; flex: 1; flex-direction: column; gap: 0.7rem; padding: 1.15rem 1.2rem 1.25rem; }
.ld-case p { flex: 1; }
.ld-case__links { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.ld-btn--sm { min-height: 40px; padding: 0 0.85rem; font-size: 0.88rem; }

.ld-pricing { align-items: stretch; }
.ld-price { display: flex; flex-direction: column; }
.ld-price ul { flex: 1; margin: 1rem 0 1.4rem; padding: 0; list-style: none; }
.ld-price li { padding: 0.45rem 0; border-top: 1px solid var(--ld-border); }
.ld-price__sum { margin: 1rem 0 0; }
.ld-price__sum b { font-size: 3rem; font-weight: 800; letter-spacing: -0.04em; }
.ld-price__sum s { display: block; margin-bottom: 0.15rem; color: var(--ld-muted); font-size: 0.95rem; }
.ld-price__sum span { color: var(--ld-muted); }
.ld-price--featured { border-color: var(--ld-primary); background: var(--ld-accent); }
.ld-price__badge {
    display: inline-flex;
    margin: 0 0 0.8rem;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: var(--ld-primary);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
}

.ld-final { padding: 0 0 4.5rem; }
.ld-final__panel {
    padding: 3rem 1.5rem;
    border-radius: 28px;
    background: var(--ld-primary);
    color: #fff;
    text-align: center;
}
.ld-final h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
}
.ld-final p { margin: 0.8rem auto 1.4rem; max-width: 28rem; color: rgba(255, 255, 255, 0.86); font-size: 1.1rem; }
.ld-btn--light { background: #fff; color: var(--ld-primary) !important; }
.ld-btn--light:hover { background: var(--ld-accent); }

.site-footer {
    padding: 3rem 0 1.5rem;
    background: var(--ld-surface);
    border-top: 1px solid var(--ld-border);
    color: var(--ld-text);
}
.site-footer__grid { display: grid; gap: 1.8rem; }
.site-footer h2 { margin: 0 0 0.8rem; font-size: 0.92rem; font-weight: 800; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: 0.45rem; }
.site-footer__brand p { max-width: 22rem; margin: 0.9rem 0 0; color: var(--ld-muted); line-height: 1.5; }
.site-footer a { color: var(--ld-muted); font-weight: 600; }
.site-footer__bottom { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--ld-border); }
.site-footer__bottom p { margin: 0; color: var(--ld-muted); font-size: 0.9rem; }

@media (min-width: 900px) {
    .ld-orders {
        grid-template-columns: 250px minmax(0, 1fr);
        gap: 2rem;
        align-items: start;
    }

    .ld-orders__menu {
        display: grid;
        gap: 0.15rem;
        overflow: visible;
    }

    .ld-orders__pick {
        justify-content: flex-start;
        min-height: 48px;
        padding: 0 0.9rem;
        border: 0;
        border-radius: 12px;
        background: transparent;
    }

    .ld-orders__pick:hover { background: var(--ld-surface); }

    .ld-orders__pick:has(:checked) {
        background: var(--ld-accent);
        color: var(--ld-primary);
    }

    .ld-orders__frame { height: 560px; }
}

@media (min-width: 768px) {
    .ld-channels,
    .ld-cases { grid-template-columns: 1fr 1fr; }
    .ld-pricing { grid-template-columns: 1fr 1fr; max-width: 860px; }
    .ld-build { grid-template-columns: 1fr 1fr; }
    .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 767px) {
    .ld-phone { position: static; width: min(220px, 70%); margin: 1rem auto 0; }
    .ld-final__panel .ld-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .ld-ticker { overflow-x: auto; }
    .ld-ticker__track { animation: none; }
    .ld-ticker__line[aria-hidden="true"] { display: none; }
}

@media (min-width: 1025px) {
    .ld-section { padding: 6rem 0; }
    .ld-showcase { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
    .ld-channels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ld-cases { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ld-build { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .site-footer__grid { grid-template-columns: 1.5fr repeat(4, 1fr); }
}
