/* Hybrid UI: editorial marketing pages sharing the cabinet's warm product language. */
:root {
    --bg: #fff;
    --alt: #f8f5f0;
    --ink: #171614;
    --muted: #77716a;
    --line: #e9e4de;
    --accent: #f18413;
    --accent-hover: #db7309;
    --accent-soft: #fff1dd;
    --wrap: 1180px;
    --radius: 18px;
}

body {
    letter-spacing: -.006em;
    background:
        radial-gradient(circle at 75% 2%, rgba(241,132,19,.07), transparent 32rem),
        var(--bg);
}

.wrap { padding-inline: 24px; }

header.site {
    background: rgba(255,255,255,.82);
    backdrop-filter: blur(16px) saturate(150%);
}

header.site .bar { height: 72px; }

header.site .brand {
    font-size: 19px;
    letter-spacing: -.03em;
}

header.site .brand::before {
    width: 31px;
    height: 31px;
    border-radius: 10px;
    -webkit-mask: none;
    mask: none;
    background-color: var(--accent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-9 8.4 8.5 8.5 0 0 1-3.9-.9L3 20l1.3-3.1A8.38 8.38 0 0 1 3.5 11 8.5 8.5 0 0 1 12 3a8.38 8.38 0 0 1 9 8.5z'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 18px;
    box-shadow: 0 7px 18px rgba(240,132,19,.24);
}

header.site nav { gap: 25px; }
header.site nav a { color: #5f5a54; font-weight: 500; }
header.site nav a.btn,
header.site nav a.btn:hover { color: #fff; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    box-shadow: 0 7px 19px rgba(240,132,19,.2);
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(240,132,19,.25);
}

.btn.ghost {
    background: rgba(255,255,255,.72);
    color: var(--ink);
    border-color: var(--line);
    box-shadow: 0 4px 14px rgba(44,35,25,.04);
}

.btn.ghost:hover { background: #fff8ee; color: var(--accent); }

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(241,132,19,.3);
    outline-offset: 3px;
}

section { padding: 82px 0; }
section.alt { border-block: 1px solid rgba(233,228,222,.7); }

.eyebrow {
    letter-spacing: .12em;
    font-size: 12px;
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -170px;
    top: -260px;
    border-radius: 50%;
    border: 90px solid rgba(241,132,19,.035);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(480px, 1.12fr);
    gap: clamp(42px, 7vw, 88px);
    align-items: center;
}

.hero-copy { position: relative; z-index: 1; }

.hero .product-preview {
    position: relative;
    min-width: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 23px;
    background: rgba(255,255,255,.76);
    box-shadow: 0 30px 80px rgba(66,48,28,.13);
    transform: rotate(.5deg);
}

.preview-window {
    overflow: hidden;
    border: 1px solid #ece8e2;
    border-radius: 15px;
    background: #fbfaf8;
}

.preview-bar {
    height: 38px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 13px;
    background: #fff;
    border-bottom: 1px solid #ece8e2;
}

.preview-bar i { width: 7px; height: 7px; border-radius: 50%; background: #ded8d0; }
.preview-layout { display: grid; grid-template-columns: 118px 1fr; min-height: 322px; }
.preview-side { padding: 18px 11px; background: #fff; border-right: 1px solid #ece8e2; }
.preview-logo { width: 55px; height: 8px; margin: 0 6px 20px; border-radius: 10px; background: #292623; }
.preview-nav { height: 27px; margin: 7px 0; border-radius: 8px; background: #f4f1ed; }
.preview-nav.active { background: #fff0dc; box-shadow: inset 2px 0 var(--accent); }
.preview-content { padding: 22px 20px; }
.preview-title { width: 48%; height: 13px; margin-bottom: 8px; border-radius: 8px; background: #24211f; }
.preview-sub { width: 34%; height: 7px; margin-bottom: 22px; border-radius: 8px; background: #d4cec7; }
.preview-tools { display: grid; grid-template-columns: 1.6fr 1fr; gap: 8px; margin-bottom: 13px; }
.preview-tools span { height: 29px; border: 1px solid #e5e0da; border-radius: 8px; background: #fff; }
.preview-tabs { display: flex; gap: 7px; margin-bottom: 13px; }
.preview-tabs span { width: 58px; height: 7px; border-radius: 8px; background: #dcd6cf; }
.preview-tabs span:first-child { background: var(--accent); }
.preview-comment { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; margin-top: 8px; padding: 12px; border: 1px solid #e8e3dc; border-radius: 10px; background: #fff; }
.preview-avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(145deg, #ffd69e, #fff0dc); }
.preview-lines i { display: block; width: 85%; height: 6px; margin: 5px 0; border-radius: 5px; background: #d9d3cb; }
.preview-lines i:first-child { width: 45%; background: #3b3733; }
.preview-action { width: 54px; height: 24px; border-radius: 7px; background: #fff0dc; }

.product-proof {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 27px;
    color: #69635c;
    font-size: 13px;
    font-weight: 600;
}

.product-proof span::before { content: "✓"; color: var(--accent); margin-right: 7px; }

.features,
.steps { gap: 18px; }

.feature,
.step,
.plan,
.ccard,
.demo-article,
.req-card {
    border-color: var(--line) !important;
    box-shadow: 0 12px 35px rgba(52,41,29,.045);
    transition: transform .17s ease, border-color .17s ease, box-shadow .17s ease;
}

.feature:hover,
.step:hover,
.plan:hover,
.ccard:hover {
    transform: translateY(-3px);
    border-color: #ddd5cb !important;
    box-shadow: 0 20px 45px rgba(52,41,29,.08);
}

.feature .ic,
.ccard .ic {
    font-size: 0 !important;
    position: relative;
}

.feature .ic::after,
.ccard .ic::after {
    content: "";
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-radius: 6px;
}

.feature:nth-child(2) .ic::after { border-radius: 50%; box-shadow: inset 0 0 0 4px var(--accent-soft); }
.feature:nth-child(3) .ic::after { border-width: 0 0 2px 2px; border-radius: 0; transform: rotate(-45deg); }
.feature:nth-child(4) .ic::after { border-radius: 4px 9px 4px 9px; }
.feature:nth-child(5) .ic::after { border-radius: 50%; border-right-color: transparent; }
.feature:nth-child(6) .ic::after { transform: rotate(45deg); border-radius: 4px; }

.plan.hot { transform: translateY(-7px); }
.plan.hot:hover { transform: translateY(-10px); }

footer.site { background: #f6f2ed; padding: 46px 0; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { max-width: 700px; }
    .hero .product-preview { max-width: 720px; }
    .plan.hot { transform: none; }
    .plan.hot:hover { transform: translateY(-3px); }
}

@media (max-width: 720px) {
    .wrap { padding-inline: 18px; }
    header.site .bar { height: 64px; }
    header.site nav { gap: 12px; }
    header.site nav > a:not(.btn):last-of-type { display: none; }
    .hero-grid { gap: 42px; }
    .preview-layout { grid-template-columns: 78px 1fr; min-height: 270px; }
    .preview-side { padding-inline: 7px; }
    .preview-content { padding: 17px 12px; }
    .preview-comment { grid-template-columns: 26px 1fr; }
    .preview-avatar { width: 26px; height: 26px; }
    .preview-action { display: none; }
    .product-proof { gap: 10px 18px; }
}

@media (max-width: 460px) {
    header.site .brand { font-size: 0; }
    header.site .brand::before { margin-right: 0; }
    .hero .product-preview { padding: 7px; border-radius: 17px; }
    .preview-side { display: none; }
    .preview-layout { grid-template-columns: 1fr; }
}
