@font-face {
    font-family: Manrope;
    src: url('manrope.ttf') format('truetype');
    font-display: swap;
    font-weight: 200 800;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #fffaf5;
    color: #1c1917;
    font: 17px/1.65 Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: #b4400a;
    text-underline-offset: 4px;
}

a:focus-visible,
summary:focus-visible,
button:focus-visible {
    outline: 3px solid #ff8b38;
    outline-offset: 4px;
}

.skip {
    position: absolute;
    left: 12px;
    top: -100px;
    z-index: 20;
    background: #fff;
    padding: 10px 14px;
    border-radius: 8px;
}

.skip:focus {
    top: 12px;
}

header,
main,
footer {
    width: min(1120px, calc(100% - 48px));
    margin: auto;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid #ece3d8;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1c1917;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

.brand img {
    width: 48px;
    height: 48px;
    border-radius: 14px;
}

.brand small {
    display: block;
    margin-top: 3px;
    color: #6b6259;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .09em;
}

nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 14px;
}

nav a {
    color: #1c1917;
    text-decoration: none;
}

nav a:hover {
    color: #b4400a;
    text-decoration: underline;
}

main {
    padding: 58px 0 72px;
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 56px;
    align-items: center;
}

.hero-media {
    position: relative;
}

.hero-media img {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: auto;
    border-radius: 32px;
    box-shadow: 0 24px 70px #f3780626;
}

.hero-media .badge {
    position: absolute;
    right: 0;
    bottom: 18px;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid #ece3d8;
    border-radius: 12px;
    box-shadow: 0 10px 30px #3b240c14;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
}

.pill {
    display: inline-block;
    padding: 7px 12px;
    background: #ffe8d9;
    border: 1px solid #ffc9a8;
    border-radius: 999px;
    color: #9a3412;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.eyebrow {
    margin: 18px 0 0;
    color: #b4400a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

h1 {
    margin: 14px 0 22px;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.045em;
}

h1 em {
    color: #e85d00;
    font-style: normal;
}

h2 {
    margin: 0 0 16px;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -.025em;
}

h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.3;
}

p {
    margin: 0 0 16px;
}

.lead {
    max-width: 700px;
    color: #544c44;
    font-size: 20px;
    line-height: 1.6;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 28px 0 14px;
}

.button {
    display: inline-block;
    padding: 14px 22px;
    background: #e85d00;
    border-radius: 12px;
    box-shadow: 0 8px 24px #e85d0029;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.button:hover {
    background: #c94f00;
}

.secondary {
    display: inline-block;
    padding: 14px 18px;
    color: #1c1917;
    font-weight: 700;
    text-decoration: none;
}

.secondary:hover {
    color: #b4400a;
    text-decoration: underline;
}

.meta {
    color: #6b6259;
    font-size: 13px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 64px 0;
}

.card {
    padding: 26px;
    background: #fff;
    border: 1px solid #ece3d8;
    border-radius: 18px;
}

.card p {
    margin: 0;
    color: #544c44;
    font-size: 15px;
}

.card .number {
    margin: 0 0 10px;
    color: #b4400a;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.card .icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    background: #fff1e6;
    border-radius: 12px;
    color: #b4400a;
    font-size: 18px;
    font-weight: 800;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
    padding: 56px 0;
    border-top: 1px solid #ece3d8;
}

.split p:last-child {
    margin-bottom: 0;
}

.section {
    padding: 56px 0;
    border-top: 1px solid #ece3d8;
}

.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
}

.section-head h2 {
    margin: 0;
}

.section-head p {
    max-width: 460px;
    margin: 0;
    color: #544c44;
    font-size: 15px;
}

.demo-browser {
    margin: 8px 0 0;
    background: #fff;
    border: 1px solid #e4d9cc;
    border-radius: 20px;
    box-shadow: 0 24px 60px #3b240c14;
    overflow: hidden;
}

.demo-chrome {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 11px 16px;
    background: #f6efe7;
    border-bottom: 1px solid #e4d9cc;
}

.demo-chrome i {
    width: 10px;
    height: 10px;
    background: #d9c9b8;
    border-radius: 50%;
}

.demo-chrome span {
    margin-left: 8px;
    color: #8a7c6d;
    font-size: 12px;
}

.demo-page {
    position: relative;
    background: #fffdfb;
}

.demo-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 26px;
    border-bottom: 1px solid #f0e7dc;
    color: #6b6259;
    font-size: 12px;
    font-weight: 700;
}

.demo-nav strong {
    color: #1c1917;
    font-size: 14px;
    letter-spacing: .02em;
}

.demo-content {
    padding: 34px 26px 40px;
    text-align: center;
}

.demo-content h3 {
    margin: 0 auto 10px;
    max-width: 420px;
    font-size: 26px;
    letter-spacing: -.02em;
}

.demo-content p {
    max-width: 420px;
    margin: 0 auto;
    color: #8a7c6d;
    font-size: 14px;
}

.demo-note {
    margin: 12px 0 0;
    color: #6b6259;
    font-size: 12px;
    text-align: center;
}

.presets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.preset {
    padding: 18px;
    background: #fff;
    border: 1px solid #ece3d8;
    border-radius: 14px;
}

.preset-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 12px;
    min-height: 54px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.4;
    text-align: center;
}

.preset-bar b {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.preset p {
    margin: 12px 0 0;
    color: #6b6259;
    font-size: 12px;
}

.preset strong {
    display: block;
    color: #1c1917;
    font-size: 14px;
}

.checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.checklist li {
    position: relative;
    padding-left: 30px;
}

.checklist li::before {
    position: absolute;
    left: 0;
    top: 0;
    color: #1f7a4d;
    content: "✓";
    font-weight: 800;
}

.checklist.no li::before {
    color: #a8a29e;
    content: "—";
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.gallery figure {
    margin: 0;
    background: #fff;
    border: 1px solid #ece3d8;
    border-radius: 16px;
    overflow: hidden;
}

.gallery img {
    display: block;
    width: 100%;
    border-bottom: 1px solid #ece3d8;
}

.gallery figcaption {
    padding: 12px 16px;
    color: #6b6259;
    font-size: 13px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.steps li {
    padding: 24px;
    background: #fff;
    border: 1px solid #ece3d8;
    border-radius: 16px;
    counter-increment: step;
}

.steps li::before {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    background: #1c1917;
    border-radius: 50%;
    color: #fff;
    content: counter(step);
    font-size: 14px;
    font-weight: 800;
}

.steps h3 {
    font-size: 17px;
}

.steps p {
    margin: 0;
    color: #544c44;
    font-size: 14px;
}

details {
    padding: 18px 0;
    border-bottom: 1px solid #ece3d8;
}

details summary {
    cursor: pointer;
    font-weight: 800;
}

details p {
    margin: 12px 0 0;
    color: #544c44;
}

footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 18px;
    padding: 28px 0 40px;
    border-top: 1px solid #ece3d8;
    color: #6b6259;
    font-size: 13px;
}

footer nav {
    gap: 18px;
}

.content {
    max-width: 820px;
}

.content h1 {
    font-size: clamp(34px, 4.4vw, 54px);
}

.content section {
    padding: 32px 0;
    border-top: 1px solid #ece3d8;
}

.content section:first-of-type {
    border-top: 0;
}

.content h2 {
    font-size: 26px;
}

.content h3 {
    margin-top: 24px;
}

.content ol,
.content ul {
    padding-left: 22px;
}

.content li {
    margin-bottom: 8px;
}

.content code {
    padding: 2px 6px;
    background: #f4ece3;
    border-radius: 5px;
    font-size: .9em;
}

.content table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.content th,
.content td {
    padding: 10px 12px;
    border-bottom: 1px solid #ece3d8;
    text-align: left;
    vertical-align: top;
}

.content th {
    background: #fff3e8;
    font-size: 13px;
    letter-spacing: .03em;
}

.note {
    padding: 16px 18px;
    background: #fff3e8;
    border: 1px solid #ffd7bb;
    border-radius: 12px;
    font-size: 15px;
}

.license-text {
    max-height: 620px;
    margin: 0;
    padding: 20px;
    overflow: auto;
    background: #fff;
    border: 1px solid #ece3d8;
    border-radius: 12px;
    color: #3f3831;
    font: 13px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.note strong {
    color: #9a3412;
}

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

.plan {
    display: flex;
    flex-direction: column;
    padding: 26px;
    background: #fff;
    border: 1px solid #ece3d8;
    border-radius: 18px;
}

.plan-featured {
    border-color: #ffb98b;
    box-shadow: 0 18px 46px #e85d001f;
}

.plan-name {
    margin: 0 0 6px;
    color: #b4400a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.plan-price {
    margin: 0 0 12px;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.03em;
}

.plan-price span {
    color: #6b6259;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
}

.plan-desc {
    margin: 0 0 18px;
    color: #544c44;
    font-size: 15px;
}

.plan-list {
    flex: 1;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
    font-size: 14px;
}

.plan-list li {
    position: relative;
    padding: 5px 0 5px 26px;
    border-bottom: 1px solid #f4ece3;
}

.plan-list li:last-child {
    border-bottom: 0;
}

.plan-list li::before {
    position: absolute;
    left: 0;
    color: #1f7a4d;
    content: "✓";
    font-weight: 800;
}

.plan .button {
    text-align: center;
}

.plan-foot {
    margin: 12px 0 0;
    color: #6b6259;
    font-size: 12px;
}

.plan-note {
    max-width: 820px;
    margin-top: 20px;
}

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-media {
        order: -1;
    }

    .hero-media img {
        max-width: 320px;
    }

    .cards,
    .steps {
        grid-template-columns: 1fr 1fr;
    }

    .presets {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    header {
        align-items: flex-start;
        flex-direction: column;
    }

    nav {
        flex-wrap: wrap;
        gap: 14px 20px;
    }

    main {
        padding: 38px 0 56px;
    }

    .cards,
    .steps,
    .presets,
    .plans,
    .gallery,
    .split,
    .checklist {
        grid-template-columns: 1fr;
    }

    .section,
    .split {
        padding: 40px 0;
    }

    .lead {
        font-size: 18px;
    }

    .demo-content {
        padding: 26px 18px 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
