@font-face {
    font-family: 'IBM Plex Sans';
    src: url('fonts/ibm-plex-sans-latin-wght-normal.woff2') format('woff2-variations');
    font-weight: 100 700;
    font-display: swap;
}
@font-face {
    font-family: 'IBM Plex Mono';
    src: url('fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

:root {
    --teal: #007779;
    --teal-dark: #005a5c;
    --teal-soft: #e6f4f2;
    --ink: #0b1b24;
    --muted: #51626b;
    --line: #dbe4e6;
    --bg: #ffffff;
    --bg-alt: #f5f8f8;
    --amber: #f2a900;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(11, 27, 36, .06), 0 12px 32px rgba(11, 27, 36, .08);
    --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'IBM Plex Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 10;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--mono); font-weight: 500; letter-spacing: .04em;
    color: var(--ink); text-decoration: none; font-size: 18px;
}
.brand svg { color: var(--teal); }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--ink); }
.lang {
    font-family: var(--mono); font-size: 13px !important;
    border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px;
}
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--teal); color: #fff !important; text-decoration: none;
    font-weight: 600; font-size: 15px;
    padding: 11px 20px; border-radius: 10px; border: 0;
    transition: background .15s;
}
.btn:hover { background: var(--teal-dark); }
.btn.ghost { background: transparent; color: var(--teal) !important; box-shadow: inset 0 0 0 1.5px var(--teal); }
.btn.ghost:hover { background: var(--teal-soft); }
.nav .btn { padding: 8px 14px; }

/* Hero */
.hero { padding: 72px 0 40px; background: linear-gradient(180deg, var(--teal-soft), var(--bg) 70%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow {
    font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
    color: var(--teal); margin: 0 0 14px;
}
h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 18px; font-weight: 650; }
h1 em { font-style: normal; color: var(--teal); }
.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Screenshot frame */
.shot img { width: 100%; }
.shot {
    border-radius: var(--radius); overflow: hidden;
    background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(0, 119, 121, .05) 14px 28px), var(--bg-alt);
    box-shadow: var(--shadow); border: 1px solid var(--line);
}
.shot::before {
    content: ''; display: block; height: 26px;
    background:
        radial-gradient(circle at 14px 13px, #ff5f57 4px, transparent 5px),
        radial-gradient(circle at 30px 13px, #febc2e 4px, transparent 5px),
        radial-gradient(circle at 46px 13px, #28c840 4px, transparent 5px),
        #eef2f3;
    border-bottom: 1px solid var(--line);
}
.shot.missing {
    aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center;
    background:
        repeating-linear-gradient(135deg, transparent 0 14px, rgba(0, 119, 121, .05) 14px 28px),
        var(--bg-alt);
    color: var(--muted); font-family: var(--mono); font-size: 13px; padding: 0;
    grid-template-rows: 26px 1fr;
}
.shot.missing::after { padding: 20px; }
.shot.missing::before { align-self: start; width: 100%; }
.shot.missing::after { content: attr(data-label); }

/* Sections */
section { padding: 84px 0; }
section.alt { background: var(--bg-alt); }
h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 12px; font-weight: 650; }
.section-lead { color: var(--muted); font-size: 18px; max-width: 40em; margin: 0 0 44px; }

.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.benefit .ico {
    width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
    background: var(--teal-soft); color: var(--teal); margin-bottom: 14px;
}
.benefit h3 { font-size: 18px; margin: 0 0 6px; }
.benefit p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Steps */
.steps { display: grid; gap: 72px; counter-reset: step; }
.step { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.step:nth-child(even) .step-text { order: 2; }
.step-num {
    font-family: var(--mono); font-size: 13px; color: var(--teal);
    border: 1.5px solid var(--teal); border-radius: 999px; padding: 2px 10px;
    display: inline-block; margin-bottom: 14px;
}
.step h3 { font-size: 26px; line-height: 1.2; margin: 0 0 10px; letter-spacing: -.01em; }
.step p { color: var(--muted); margin: 0 0 12px; }
.step ul { margin: 0; padding: 0; list-style: none; }
.step li { padding-left: 24px; position: relative; margin: 6px 0; font-size: 15.5px; }
.step li::before {
    content: ''; position: absolute; left: 2px; top: .55em; width: 10px; height: 6px;
    border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg);
}

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: #fff; padding: 22px 24px; }
.feature h3 { font-size: 16px; margin: 0 0 4px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; }
.gallery figure { margin: 0; }
.gallery figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* Demo band */
.demo-band { background: var(--teal); color: #fff; padding: 64px 0; }
.demo-band .wrap { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.demo-band .eyebrow { color: #bfe6e2; }
.demo-band h2 { margin-bottom: 10px; }
.demo-band p { margin: 0; color: #e3f4f2; max-width: 40em; }
.demo-band .btn { background: #fff; color: var(--teal) !important; padding: 14px 26px; font-size: 16px; }
.demo-band .btn:hover { background: var(--teal-soft); }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: stretch; }
.price-card {
    background: var(--ink); color: #fff; border-radius: var(--radius); padding: 36px;
}
.price-card h3 { margin: 0 0 6px; font-size: 22px; }
.price-card .big { font-size: 40px; font-weight: 650; letter-spacing: -.02em; margin: 14px 0 6px; }
.price-card p { color: #b8c6cc; margin: 0 0 22px; }
.price-card ul { padding: 0; margin: 0 0 28px; list-style: none; }
.price-card li { padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 15.5px; }
.price-card .btn { background: #fff; color: var(--ink) !important; }
.price-card .btn:hover { background: var(--teal-soft); }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; background: #fff; }
.contact-card h3 { margin: 0 0 10px; font-size: 22px; }
.contact-card p { color: var(--muted); margin: 0 0 16px; }
.contact-card address { font-style: normal; line-height: 1.7; margin-bottom: 22px; }
.mono { font-family: var(--mono); font-size: .92em; }

/* Footer */
.site-footer { background: #07141b; color: #9fb0b7; padding: 48px 0 36px; font-size: 14px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: #fff; margin-bottom: 10px; }
.site-footer h4 { color: #fff; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 10px; font-family: var(--mono); font-weight: 500; }
.site-footer a { color: #cfe3e6; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p { margin: 0 0 6px; }
.legal-line { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; margin-top: 8px; font-size: 13px; }

/* Legal page */
.legal { padding: 56px 0 84px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: 38px; }
.legal h2 { font-size: 22px; margin-top: 40px; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 8px 20px; margin: 0; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }
.todo { background: #fff4d6; border-radius: 4px; padding: 0 4px; }

@media (max-width: 960px) {
    .hero .wrap, .step, .pricing, .demo-band .wrap { grid-template-columns: 1fr; }
    .demo-band .btn { justify-self: start; }
    .step:nth-child(even) .step-text { order: 0; }
    .benefits { grid-template-columns: 1fr 1fr; }
    .features { grid-template-columns: 1fr 1fr; }
    .site-footer .wrap { grid-template-columns: 1fr 1fr; }
    .nav a:not(.btn):not(.lang) { display: none; }
}
@media (max-width: 600px) {
    body { font-size: 16px; }
    .wrap { width: calc(100% - 32px); }
    section { padding: 60px 0; }
    .hero { padding-top: 44px; }
    .benefits, .features, .gallery, .site-footer .wrap { grid-template-columns: 1fr; }
    .legal dl { grid-template-columns: 1fr; gap: 2px; }
    .legal dd { margin-bottom: 10px; }
    .nav { gap: 10px; }
}
