:root {
    --ink: #12141a;
    --ink-soft: #1c1f28;
    --muted: #5c6578;
    --paper: #ffffff;
    --paper-2: #f4f5f8;
    --line: #e4e6ec;
    --line-dark: #d5d8e0;
    --accent: #e6007e;
    --accent-hot: #ff2e9a;
    --accent-ink: #b80066;
    --cyan: #0d9f86;
    --phone: #10131a;
    --bubble: #f7f8fb;
    --max: 1140px;
    --font: "Outfit", sans-serif;
    --display: "Space Grotesk", sans-serif;
    --brand: "Michroma", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.55;
    background: var(--paper);
    min-height: 100vh;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

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

.band {
    width: 100%;
}

.band-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding-left: clamp(1.25rem, 4vw, 2.5rem);
    padding-right: clamp(1.25rem, 4vw, 2.5rem);
}

.band-tint {
    background: var(--paper-2);
}

/* —— Top bar —— */
.top {
    position: fixed;
    inset: 0 0 auto;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
    color: var(--ink);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--brand);
    font-weight: 400;
    font-size: 0.86rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;
}

.logo img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}

.top-right {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 2vw, 1.4rem);
    min-width: 0;
}

.langs {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    max-width: min(52vw, 420px);
}

.langs::-webkit-scrollbar { display: none; }

.langs button {
    border: 0;
    border-bottom: 3px solid transparent;
    background: none;
    padding: 0 0 2px;
    color: var(--muted);
    font: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    cursor: pointer;
    flex: 0 0 auto;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.langs button:hover {
    color: var(--ink);
}

.langs button.active {
    color: var(--accent-ink);
    font-weight: 800;
    border-bottom-color: currentColor;
}

.top-cta {
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    border: 1px solid var(--ink);
    background: var(--ink);
    padding: 0.55rem 0.95rem;
    border-radius: 0;
    white-space: nowrap;
    cursor: pointer;
    color: #fff;
    font-family: inherit;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.top-cta:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}

@media (max-width: 640px) {
    .top {
        flex-wrap: wrap;
        gap: 0.65rem 1rem;
        padding-bottom: 0.75rem;
    }

    .top-right {
        width: 100%;
        justify-content: space-between;
    }

    .langs { max-width: calc(100% - 8rem); }
}

/* —— Hero (full-bleed light) —— */
.hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    color: var(--ink);
    background:
        radial-gradient(1000px 520px at 88% 12%, rgba(230, 0, 126, 0.12), transparent 58%),
        radial-gradient(800px 420px at 8% 78%, rgba(13, 159, 134, 0.08), transparent 52%),
        linear-gradient(165deg, #ffffff 0%, #f7f8fb 55%, #eef0f5 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(18, 20, 26, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 20, 26, 0.045) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 88%);
    pointer-events: none;
    animation: gridShift 18s linear infinite;
}

.hero-grid {
    position: relative;
    z-index: 1;
    max-width: var(--max);
    margin: 0 auto;
    min-height: 100svh;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    padding: clamp(5.5rem, 12vh, 7rem) clamp(1.25rem, 4vw, 2.5rem) 3rem;
}

.brand-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin: 0 0 0.85rem;
}

.brand-logo-link { display: inline-flex; line-height: 0; border-radius: 12px; text-decoration: none; }
.brand-logo-link:hover { opacity: 0.92; }
.brand-logo {
    width: clamp(56px, 8vw, 72px);
    height: clamp(56px, 8vw, 72px);
    border-radius: 12px;
    object-fit: cover;
    flex: 0 0 auto;
    box-shadow: 0 0 0 1px var(--line);
}

.brand-mark {
    margin: 0;
    font-family: var(--brand);
    font-weight: 400;
    font-size: clamp(1.45rem, 4vw, 2.55rem);
    letter-spacing: 0.08em;
    line-height: 1.15;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0 0 1rem;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(2rem, 4.6vw, 3.35rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
    max-width: 13ch;
}

.lead {
    margin: 0 0 1.75rem;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.18rem);
    max-width: 34ch;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.55rem;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 1.02rem;
    text-decoration: none;
    border-radius: 0;
    border: 0;
    cursor: pointer;
    letter-spacing: 0.01em;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    background: var(--accent-hot);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(230, 0, 126, 0.35);
}

.btn:active { transform: translateY(0); }

.hero-visual {
    position: relative;
    min-height: 420px;
    display: grid;
    place-items: center;
}

.hero-glow {
    position: absolute;
    inset: 10% 6%;
    background:
        radial-gradient(circle at 50% 40%, rgba(230, 0, 126, 0.18), transparent 62%),
        radial-gradient(circle at 70% 70%, rgba(13, 159, 134, 0.12), transparent 55%);
    filter: blur(8px);
    border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
    animation: drift 12s ease-in-out infinite alternate;
}

.phone {
    position: relative;
    width: min(280px, 72vw);
    background: var(--phone);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    padding: 1.1rem 0.85rem 1.4rem;
    box-shadow: 0 28px 60px rgba(18, 20, 26, 0.18);
    animation: float 5.5s ease-in-out infinite;
}

.phone-notch {
    width: 38%;
    height: 10px;
    margin: 0 auto 1.1rem;
    background: #05060a;
    border-radius: 999px;
}

.bubble {
    background: var(--bubble);
    color: var(--ink);
    border-radius: 14px 14px 14px 4px;
    padding: 1rem 1.05rem;
    font-size: 0.98rem;
    line-height: 1.45;
    animation: rise 0.9s ease 0.25s both;
}

.bubble p { margin: 0; }
.bubble p + p { margin-top: 0.55rem; }

.linkish {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* —— Scheme —— */
.scheme {
    padding: 0;
    background: #fff;
}

.scheme .band-inner {
    padding-top: 0;
    padding-bottom: 0;
}

.flow {
    list-style: none;
    margin: 0;
    padding: 1.75rem 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    border-block: 1px solid var(--line-dark);
}

.flow li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(0.95rem, 1.8vw, 1.12rem);
    padding: 0.85rem 0.5rem;
    opacity: 0;
    transform: translateY(12px);
}

.flow.is-in li {
    animation: rise 0.55s ease forwards;
}

.flow.is-in li:nth-child(1) { animation-delay: 0.05s; }
.flow.is-in li:nth-child(2) { animation-delay: 0.18s; }
.flow.is-in li:nth-child(3) { animation-delay: 0.31s; }
.flow.is-in li:nth-child(4) { animation-delay: 0.44s; }

.flow li:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -0.55rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-weight: 600;
    font-family: var(--font);
}

/* —— SMS example —— */
.sms {
    background: #fff;
    padding-top: 3.5rem;
    padding-bottom: 2rem;
}

.sms h2,
.panel h2,
.audience h2,
.start h2,
.trust h2,
.roi h2,
.demo h2 {
    margin: 0 0 0.55rem;
    font-family: var(--display);
    font-size: clamp(1.45rem, 2.8vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.example-note {
    margin: 0 0 1.25rem;
    color: #5c6578;
    max-width: 36rem;
    font-size: 1.02rem;
}

.sms-card {
    margin: 0;
    max-width: 36rem;
}

.sms-card blockquote {
    margin: 0;
    padding: 1.35rem 1.5rem;
    background: var(--paper);
    border-left: 3px solid var(--accent);
    font-size: 1.12rem;
    line-height: 1.5;
}

.sms-card p { margin: 0; }
.sms-card p + p { margin-top: 0.6rem; }

.bubble-meta {
    margin: 0.55rem 0 0 !important;
    color: #5c6578;
    font-size: 0.92em;
    line-height: 1.35;
}

.bubble .bubble-meta { color: #5c6578; }

.booking-note {
    margin: 1.1rem 0 0;
    max-width: 36rem;
    color: var(--ink);
    font-weight: 600;
    font-size: 1.05rem;
}

/* —— Shared section blocks —— */
.panel,
.audience,
.start,
.trust {
    padding-top: 3rem;
    padding-bottom: 2rem;
}

.section-lead {
    margin: 0 0 1.35rem;
    color: #5c6578;
    max-width: 40rem;
}

.points,
.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
    max-width: 40rem;
    counter-reset: point;
}

.points li,
.steps li {
    position: relative;
    padding-left: 2.5rem;
    font-size: 1.08rem;
    line-height: 1.45;
    font-weight: 600;
}

.points li::before,
.steps li::before {
    counter-increment: point;
    content: counter(point, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0.1rem;
    font-family: var(--display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.02em;
}

.industries {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.65rem;
    max-width: 48rem;
}

.industries li {
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--line-dark);
    background: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.industries li:hover {
    border-color: var(--accent);
    color: var(--accent-ink);
}

.trust { padding-bottom: 2.5rem; }

/* —— Profit / ROI —— */
.roi {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.roi h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.35rem);
}

.roi .section-lead {
    margin: 0 0 1.5rem;
    max-width: 36rem;
}

.profit-math {
    margin: 0 0 1.25rem;
    max-width: 48rem;
    font-family: var(--display);
    font-size: clamp(1.2rem, 2.5vw, 1.65rem);
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.profit-cost {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.65rem 1rem;
    margin: 0 0 1rem;
    font-size: 1.05rem;
}

.profit-cost span { color: var(--muted); }

.profit-cost strong {
    font-family: var(--display);
    font-size: clamp(1.45rem, 2.6vw, 1.9rem);
    font-weight: 700;
    color: var(--cyan);
}

.roi-note {
    margin: 0;
    max-width: 36rem;
    font-size: 1rem;
}

/* —— Demo CTA —— */
.demo {
    padding-top: 3.75rem;
    padding-bottom: 4rem;
}

.demo h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.35rem);
    max-width: 18ch;
}

.demo-lead {
    margin: 0 0 1.5rem;
    max-width: 42ch;
}

/* —— Meeting modal —— */
body.modal-open { overflow: hidden; }

.modal {
    position: fixed;
    inset: 0;
    z-index: 40;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.modal[hidden] { display: none; }

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 8, 12, 0.72);
}

.modal-card {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    max-height: min(92vh, 820px);
    overflow: auto;
    background: #fff;
    border: 1px solid var(--line-dark);
    border-radius: 0;
    padding: 1.5rem 1.35rem 1.4rem;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.modal-close {
    position: absolute;
    top: 0.65rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    font-size: 1.6rem;
    line-height: 1;
    color: #5c6578;
    cursor: pointer;
}

.modal-card h2 {
    margin: 0 2rem 0.4rem 0;
    font-family: var(--display);
    font-size: 1.45rem;
    font-weight: 700;
}

.modal-lead {
    margin: 0 0 1.15rem;
    color: #5c6578;
    font-size: 0.98rem;
}

.meeting-form {
    display: grid;
    gap: 0.35rem;
}

.meeting-form label {
    font-size: 0.92rem;
    font-weight: 600;
    margin-top: 0.55rem;
}

.meeting-form input,
.meeting-form textarea,
.meeting-form select {
    width: 100%;
    border: 1px solid var(--line-dark);
    border-radius: 0;
    background: #fff;
    padding: 0.7rem 0.8rem;
    font: inherit;
    color: inherit;
}

.meeting-form textarea { resize: vertical; min-height: 84px; }

.meeting-form input:focus,
.meeting-form textarea:focus,
.meeting-form select:focus {
    outline: 2px solid rgba(230, 0, 126, 0.25);
    border-color: var(--accent);
}

.meeting-form input.is-invalid,
.meeting-form textarea.is-invalid,
.meeting-form select.is-invalid {
    border-color: #b42318;
    background: #fff5f5;
}

.meeting-form input.is-invalid:focus,
.meeting-form textarea.is-invalid:focus,
.meeting-form select.is-invalid:focus {
    outline: 2px solid rgba(180, 35, 24, 0.25);
    border-color: #b42318;
}

.field-hint {
    margin: 0.2rem 0 0;
    color: #5c6578;
    font-size: 0.86rem;
}

.field-error {
    margin: 0.15rem 0 0;
    color: #b42318;
    font-size: 0.86rem;
    font-weight: 600;
}

.form-row {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 0.75rem;
    margin-top: 0.35rem;
}

.form-row > div { display: grid; gap: 0.35rem; align-content: start; }

.form-error {
    margin: 0.6rem 0 0;
    color: #b42318;
    font-size: 0.92rem;
    font-weight: 600;
}

.meeting-form .btn { margin-top: 1rem; width: 100%; }

.meeting-done p {
    margin: 0.4rem 0 1.2rem;
    line-height: 1.45;
}

.meeting-done .btn { width: 100%; }

@media (max-width: 560px) {
    .form-row { grid-template-columns: 1fr; }
    .modal-card { padding: 1.25rem 1rem 1.2rem; }
}

/* —— Footer —— */
.foot {
    background: var(--paper-2);
    color: var(--muted);
    font-size: 0.88rem;
    padding: 1.75rem 0 2.25rem;
    border-top: 1px solid var(--line);
}

.foot-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.65rem;
}

.foot img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
    flex: 0 0 auto;
}

.foot strong {
    font-family: var(--brand);
    font-weight: 400;
    font-size: 0.74rem;
    color: var(--ink);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    flex: 0 0 auto;
}

.foot-tag { flex: 0 1 auto; }

.foot-sep { color: var(--line-dark); }

.foot a {
    color: inherit;
    text-decoration: none;
    word-break: break-all;
    transition: color 0.2s ease;
}

.foot a:hover { color: var(--accent-hot); }

@media (max-width: 720px) {
    .foot-sep { display: none; }
    .foot a,
    .foot-inner > span:not(.foot-tag):not(.foot-sep) {
        flex: 1 1 100%;
        padding-left: calc(28px + 0.65rem);
    }
}

/* —— Motion —— */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes drift {
    from { transform: rotate(-4deg) scale(1); }
    to { transform: rotate(5deg) scale(1.05); }
}

@keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes gridShift {
    from { background-position: 0 0, 0 0; }
    to { background-position: 72px 72px, 72px 72px; }
}

.hero-copy {
    animation: rise 0.75s ease both;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .phone,
    .hero-glow,
    .bubble,
    .hero-copy,
    .flow.is-in li,
    .hero::before {
        animation: none !important;
        opacity: 1;
        transform: none;
    }
}

/* —— Responsive —— */
@media (max-width: 860px) {
    .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 5.5rem;
        padding-bottom: 2.5rem;
    }

    .hero { min-height: auto; }

    .hero h1 { max-width: none; }

    .hero-visual {
        min-height: 340px;
        order: -1;
    }

    .flow {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .flow li {
        justify-content: flex-start;
        text-align: left;
        padding: 0.7rem 0;
    }

    .flow li:not(:last-child)::after {
        content: "↓";
        right: auto;
        left: 0.15rem;
        top: auto;
        bottom: -0.35rem;
        transform: none;
    }

    .flow li span { padding-left: 1.4rem; }
}

@media (max-width: 480px) {
    .brand-mark { font-size: 2rem; }
    .phone { width: min(250px, 78vw); }
}
