/* ShareFlowX — homepage design system */

:root {
    --paper: #f7f6f2;
    --paper-2: #efede6;
    --white: #ffffff;
    --ink: #0d1424;
    --ink-2: #2a3345;
    --muted: #5d6576;
    --line: #dedbd2;
    --line-dark: rgba(255, 255, 255, 0.12);
    --accent: #2848e0;
    --accent-ink: #1a34b8;
    --accent-soft: #e6eaff;
    --signal: #e8572a;
    --ok: #0f8a5f;

    --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

    --radius: 14px;
    --radius-sm: 8px;
    --max: 1200px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.08;
    margin: 0;
}

p { margin: 0; }

.container {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 28px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
}
.eyebrow::before {
    content: '';
    width: 18px;
    height: 1px;
    background: currentColor;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 12px;
    background: var(--ink);
    color: var(--white);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    z-index: 100;
}
.skip-link:focus { left: 12px; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--accent); }

.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: var(--accent-ink); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--accent-soft); }

.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Navigation ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 246, 242, 0.86);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}
.brand img {
    height: 30px;
    width: auto;
    filter: brightness(0) saturate(100%);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--ink-2);
    text-decoration: none;
    transition: color 0.15s;
}
.nav-links a:hover { color: var(--accent); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { padding: 11px 18px; font-size: 14px; }

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--ink);
    position: relative;
    transition: transform 0.2s var(--ease), opacity 0.2s;
}
.nav-toggle span::before,
.nav-toggle span::after { content: ''; position: absolute; left: 0; }
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    padding: 88px 0 96px;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line) 1px, transparent 1px),
        linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 64px 64px;
    opacity: 0.45;
    mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(2.6rem, 5.6vw, 4.6rem);
    margin: 22px 0 24px;
}
.hero h1 em {
    font-style: normal;
    color: var(--accent);
}

.hero-lede {
    font-size: 19px;
    color: var(--muted);
    max-width: 540px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    font-size: 14px;
    color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { color: var(--ok); flex-shrink: 0; }

/* Product mock */

.mock {
    position: relative;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 1px 0 rgba(13, 20, 36, 0.04), 0 30px 60px -20px rgba(13, 20, 36, 0.22);
    overflow: hidden;
}
.mock-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    background: #fbfaf7;
}
.mock-bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--line);
}
.mock-bar strong {
    margin-left: 10px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
}
.mock-body { padding: 22px; display: grid; gap: 16px; }

.mock-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.mock-title { font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.mock-pill {
    font-family: var(--font-mono);
    font-size: 11px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-ink);
}
.mock-field {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 14px;
}
.mock-field small {
    display: block;
    font-size: 12px;
    color: var(--muted);
}
.mock-price {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--ok);
}
.mock-target {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.mock-chip {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 6px;
    background: var(--paper-2);
    color: var(--ink-2);
}
.mock-progress {
    height: 6px;
    background: var(--paper-2);
    border-radius: 99px;
    overflow: hidden;
}
.mock-progress span {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--accent);
    transform-origin: left;
    animation: fill 2.4s var(--ease) 0.6s both;
}
@keyframes fill { from { transform: scaleX(0.04); } to { transform: scaleX(1); } }

.mock-status {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--muted);
}

.mock-float {
    position: absolute;
    right: -18px;
    bottom: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--ink);
    color: var(--white);
    border-radius: 12px;
    font-size: 13px;
    box-shadow: 0 18px 40px -12px rgba(13, 20, 36, 0.45);
}
.mock-float b { font-family: var(--font-mono); font-weight: 500; }
.mock-wrap { position: relative; padding-right: 18px; }

/* ---------- Platform strip ---------- */

.strip {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--white);
}
.strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 40px;
    padding: 22px 28px;
}
.strip-label {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}
.strip-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 40px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    color: var(--ink-2);
}

/* ---------- Sections ---------- */

.section { padding: 112px 0; }
.section-white { background: var(--white); }
.section-dark { background: var(--ink); color: var(--white); }

.section-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 64px;
    align-items: end;
    margin-bottom: 56px;
}
.section-head h2 {
    font-size: clamp(2rem, 3.8vw, 3.1rem);
    margin-top: 16px;
}
.section-head p {
    color: var(--muted);
    font-size: 18px;
    max-width: 520px;
}
.section-dark .section-head p,
.section-dark .eyebrow { color: rgba(255, 255, 255, 0.62); }

/* ---------- Apps ---------- */

.apps-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 20px;
}

.app {
    display: flex;
    flex-direction: column;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 0.2s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.app:hover {
    border-color: var(--ink);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -24px rgba(13, 20, 36, 0.35);
}
.app-featured {
    background: var(--ink);
    color: var(--white);
    border-color: var(--ink);
}
.app-featured:hover { border-color: var(--accent); }

.app-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}
.app-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
}
.app-featured .app-icon { background: var(--accent); color: var(--white); }

.tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--muted);
}
.app-featured .tag { border-color: rgba(255, 255, 255, 0.24); color: rgba(255, 255, 255, 0.8); }

.app h3 { font-size: 24px; margin-bottom: 12px; }
.app > p { color: var(--muted); font-size: 16px; }
.app-featured > p { color: rgba(255, 255, 255, 0.7); }

.checklist {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
    font-size: 15px;
}
.checklist li {
    position: relative;
    padding-left: 26px;
}
.checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 14px;
    height: 8px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}
.app-featured .checklist li::before { border-color: #8ea2ff; }

.app-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: auto;
    padding-top: 28px;
}
.app-links a {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--line);
    padding-bottom: 2px;
    transition: border-color 0.15s, color 0.15s;
}
.app-links a:hover { color: var(--accent); border-color: var(--accent); }
.app-featured .app-links a { color: var(--white); border-color: rgba(255, 255, 255, 0.3); }
.app-featured .app-links a:hover { color: #8ea2ff; border-color: #8ea2ff; }

.roadmap-note {
    margin-top: 28px;
    font-size: 15px;
    color: var(--muted);
}
.roadmap-note a { color: var(--accent); font-weight: 600; }

/* ---------- Flagship detail ---------- */

.compare {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--white);
}
.compare > div { padding: 40px; }
.compare > div + div { border-left: 1px solid var(--line); background: #fbfbff; }
.compare h3 { font-size: 22px; margin: 14px 0 12px; }
.compare p { color: var(--muted); }
.compare .label-problem { color: var(--signal); }
.compare .label-solution { color: var(--accent); }

.x-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 15px; }
.x-list li { position: relative; padding-left: 26px; }
.x-list li::before,
.x-list li::after {
    content: '';
    position: absolute;
    left: 2px;
    top: 0.75em;
    width: 12px;
    height: 2px;
    background: var(--signal);
    transform: rotate(45deg);
}
.x-list li::after { transform: rotate(-45deg); }

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 64px;
    counter-reset: step;
}
.step {
    position: relative;
    padding: 28px 28px 0 0;
    border-top: 1px solid var(--ink);
}
.step::before {
    counter-increment: step;
    content: '0' counter(step);
    display: block;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 18px;
}
.step h4 { font-size: 19px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }

.fit {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 64px;
}
.fit-card {
    padding: 28px;
    border-radius: var(--radius);
    background: var(--paper);
    border: 1px solid var(--line);
}
.fit-card h4 {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}
.fit-card ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; font-size: 15px; }

/* ---------- Pricing ---------- */

.pricing {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.plan {
    display: flex;
    flex-direction: column;
    padding: 36px 32px;
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.03);
}
.plan-featured {
    background: var(--white);
    color: var(--ink);
    border-color: var(--white);
}
.plan-head { display: flex; justify-content: space-between; align-items: center; }
.plan h3 { font-size: 20px; }
.plan .tag { border-color: var(--line); color: var(--accent); }
.plan-price {
    margin: 22px 0 6px;
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
}
.plan-price span { font-size: 16px; font-weight: 500; letter-spacing: 0; opacity: 0.6; }
.plan-desc { font-size: 15px; opacity: 0.65; }
.plan ul {
    list-style: none;
    padding: 24px 0 0;
    margin: 24px 0 32px;
    border-top: 1px solid var(--line-dark);
    display: grid;
    gap: 12px;
    font-size: 15px;
}
.plan-featured ul { border-color: var(--line); }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: '—'; opacity: 0.4; }
.plan .btn { margin-top: auto; width: 100%; }
.plan:not(.plan-featured) .btn { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.3); }
.plan:not(.plan-featured) .btn:hover { border-color: var(--white); }
.pricing-note {
    margin-top: 32px;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
}

/* ---------- Custom development ---------- */

.custom-intro {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
    align-items: start;
}
.custom-intro h2 {
    font-size: clamp(2.2rem, 4.4vw, 3.6rem);
    margin: 16px 0 24px;
}
.custom-intro .lede { font-size: 19px; color: var(--muted); max-width: 560px; }

.custom-aside {
    padding: 32px;
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--white);
}
.custom-aside h3 { font-size: 20px; margin-bottom: 18px; }
.custom-aside dl { margin: 0; display: grid; gap: 16px; }
.custom-aside dt {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}
.custom-aside dd { margin: 4px 0 0; font-size: 15px; color: rgba(255, 255, 255, 0.86); }

.services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin-top: 64px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.service {
    padding: 32px 28px;
    background: var(--white);
    transition: background 0.2s var(--ease);
}
.service:hover { background: #fbfbff; }
.service svg { color: var(--accent); margin-bottom: 24px; }
.service h3 { font-size: 19px; margin-bottom: 10px; }
.service p { font-size: 15px; color: var(--muted); }

.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 72px;
}
.process-item h4 {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 18px;
    margin-bottom: 8px;
}
.process-item h4 span { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--accent); }
.process-item p { font-size: 15px; color: var(--muted); }

/* ---------- Forms ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
    align-items: start;
}
.contact-copy h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin: 16px 0 20px; }
.contact-copy p { color: var(--muted); }
.contact-copy .contact-direct {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 6px;
    font-size: 15px;
}
.contact-direct a { font-weight: 600; color: var(--accent); text-decoration: none; }
.contact-direct a:hover { text-decoration: underline; text-underline-offset: 4px; }

.form-card {
    padding: 40px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 30px 60px -40px rgba(13, 20, 36, 0.3);
}
.section-white .form-card { background: var(--paper); }

.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.field label .opt { font-weight: 400; color: var(--muted); }

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 13px 14px;
    font: inherit;
    font-size: 15px;
    color: var(--ink);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    transition: border-color 0.15s, box-shadow 0.15s;
    appearance: none;
    -webkit-appearance: none;
}
.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235d6576' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder,
.field textarea::placeholder { color: #9aa0ab; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-soft);
}
.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid { border-color: var(--signal); }

.form-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 6px;
}
.form-foot p { font-size: 13px; color: var(--muted); }
.form-foot a { color: var(--ink-2); }
.form button[disabled] { opacity: 0.6; cursor: progress; }

.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Docs / Support ---------- */

.docs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 96px;
}
.doc {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}
.doc h3 { font-size: 19px; margin-bottom: 18px; }
.doc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.doc a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 15px;
    color: var(--ink-2);
    text-decoration: none;
    border-bottom: 1px solid var(--paper-2);
    transition: color 0.15s;
}
.doc li:last-child a { border-bottom: 0; }
.doc a:hover { color: var(--accent); }
.doc a span { transition: transform 0.2s var(--ease); }
.doc a:hover span { transform: translateX(3px); }

.support-teaser {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px 32px;
    padding: 32px 36px;
    border-radius: var(--radius);
    background: var(--white);
    border: 1px solid var(--line);
}
.support-teaser h3 { font-size: 21px; margin-bottom: 6px; }
.support-teaser p { color: var(--muted); font-size: 15px; }

.captcha:empty { display: none; }
.captcha { min-height: 78px; }

/* ---------- CTA band ---------- */

.cta-band {
    position: relative;
    padding: 72px;
    border-radius: 24px;
    background: var(--accent);
    color: var(--white);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.4fr auto;
    gap: 32px;
    align-items: center;
}
.cta-band::after {
    content: '';
    position: absolute;
    right: -120px;
    top: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 0 60px rgba(255, 255, 255, 0.05), 0 0 0 120px rgba(255, 255, 255, 0.04);
    pointer-events: none;
}
.cta-band h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, 0.8); font-size: 18px; max-width: 560px; }
.cta-band .actions { position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.cta-band .btn-ghost:hover { border-color: var(--white); }

/* ---------- Footer ---------- */

.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 36px;
    font-size: 15px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--line-dark);
}
.footer-grid img { height: 30px; width: auto; margin-bottom: 20px; }
.footer-grid p { max-width: 320px; color: rgba(255, 255, 255, 0.55); }
.footer-grid h4 {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 18px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; color: rgba(255, 255, 255, 0.75); transition: color 0.15s; }
.footer-grid a:hover { color: var(--white); }
.footer-base {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 28px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}

/* ---------- Toast ---------- */

.toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    z-index: 80;
    max-width: calc(100% - 32px);
    padding: 14px 20px;
    border-radius: 12px;
    background: var(--ink);
    color: var(--white);
    font-size: 15px;
    box-shadow: 0 20px 40px -12px rgba(13, 20, 36, 0.5);
    transform: translate(-50%, 20px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
.toast.is-error { background: var(--signal); }

/* ---------- Motion ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

.hero .load { opacity: 0; transform: translateY(14px); animation: rise 0.8s var(--ease) forwards; }
.hero .load:nth-child(2) { animation-delay: 0.08s; }
.hero .load:nth-child(3) { animation-delay: 0.16s; }
.hero .load:nth-child(4) { animation-delay: 0.24s; }
.hero .load:nth-child(5) { animation-delay: 0.32s; }
.hero .mock-wrap { animation-delay: 0.3s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .reveal, .hero .load { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1040px) {
    .hero-grid, .custom-intro, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
    .mock-wrap { max-width: 560px; }
    .apps-grid { grid-template-columns: 1fr 1fr; }
    .app-featured { grid-column: 1 / -1; }
    .services, .process, .steps { grid-template-columns: 1fr 1fr; }
    .steps { row-gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cta-band { grid-template-columns: 1fr; padding: 56px; }
}

@media (max-width: 860px) {
    .nav-links,
    .nav-actions .btn-ghost { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav-open .nav-links {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        padding: 16px 28px 28px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
    }
    .nav-open .nav-links a { display: block; padding: 10px 0; font-size: 17px; }
    .section-head { grid-template-columns: 1fr; gap: 16px; }
    .compare { grid-template-columns: 1fr; }
    .compare > div + div { border-left: 0; border-top: 1px solid var(--line); }
    .pricing, .fit, .docs { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .container { padding: 0 20px; }
    .section { padding: 80px 0; }
    .hero { padding: 56px 0 72px; }
    .apps-grid, .services, .process, .steps, .form-row, .footer-grid { grid-template-columns: 1fr; }
    .form-card { padding: 26px 22px; }
    .compare > div, .app { padding: 28px 24px; }
    .cta-band { padding: 40px 28px; border-radius: 18px; }
    .mock-float { right: 0; bottom: -18px; }
    .mock-wrap { padding-right: 0; }
    .nav-actions .btn-primary { display: none; }
}
