/*
Theme Name: SVOI
Theme URI: https://example.com/
Author: SVOI
Author URI: https://example.com/
Description: Premium WordPress theme for SVOI, a custom messenger development service.
Version: 1.1.08
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
Text Domain: svoi
*/

:root {
    --ink: #07111f;
    --ink-2: #101b2b;
    --graphite: #182231;
    --steel: #33465c;
    --muted: #3f5166;
    --line: rgba(12, 24, 39, 0.12);
    --line-dark: rgba(255, 255, 255, 0.12);
    --paper: #f5f7fa;
    --white: #ffffff;
    --mist: #e8edf3;
    --cyan: #27d6f2;
    --blue: #2357ff;
    --deep-blue: #102c80;
    --success: #2bbf7a;
    --error: #c74747;
    --radius: 8px;
    --radius-lg: 18px;
    --shadow: 0 24px 70px rgba(7, 17, 31, 0.16);
    --shadow-soft: 0 18px 60px rgba(7, 17, 31, 0.09);
    --font: Inter, Manrope, "Segoe UI", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    letter-spacing: 0;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0;
    color: var(--muted);
}

h1,
h2,
h3 {
    margin: 0;
    color: inherit;
    line-height: 0.98;
    letter-spacing: 0;
    overflow-wrap: break-word;
}

p,
a,
button,
span,
strong {
    overflow-wrap: break-word;
}

h1 {
    font-size: clamp(34px, 4.6vw, 64px);
    max-width: 860px;
}

h2 {
    font-size: clamp(28px, 3.1vw, 46px);
    max-width: 920px;
}

h3 {
    font-size: clamp(20px, 1.9vw, 28px);
}

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.narrow {
    width: min(920px, calc(100% - 40px));
}

.section {
    padding: 118px 0;
}

.section-dark {
    color: var(--ink);
    background:
        radial-gradient(circle at 86% 12%, rgba(35, 87, 255, 0.12), transparent 30%),
        radial-gradient(circle at 8% 88%, rgba(39, 214, 242, 0.12), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f3f7fc 100%);
}

.section-muted {
    background: #e9eef5;
}

.section-head {
    display: grid;
    gap: 20px;
    margin-bottom: 54px;
}

.section-head p {
    max-width: 700px;
}

.visual-story-section .section-head p {
    max-width: 880px;
    color: var(--graphite);
    font-size: 22px;
    line-height: 1.48;
}

.eyebrow {
    color: var(--cyan);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.button,
.button:visited {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border: 1px solid rgba(39, 214, 242, 0.42);
    border-radius: var(--radius);
    color: var(--white);
    background: linear-gradient(135deg, var(--deep-blue), var(--blue));
    box-shadow: 0 14px 35px rgba(35, 87, 255, 0.26);
    font-weight: 800;
    cursor: pointer;
    text-align: center;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(39, 214, 242, 0.8);
    box-shadow: 0 20px 45px rgba(35, 87, 255, 0.32);
}

.button-ghost {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.68);
    border-color: var(--line);
    box-shadow: none;
}

.button-ghost.on-dark {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(12, 24, 39, 0.14);
}

.button-light {
    color: var(--ink);
    background: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.skip-link,
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
    z-index: 9999;
    top: 12px;
    left: 12px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    clip: auto;
    color: var(--white);
    background: var(--ink);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid transparent;
    background: rgba(245, 247, 250, 0.84);
    backdrop-filter: blur(18px);
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
    border-color: var(--line);
    background: rgba(245, 247, 250, 0.94);
    box-shadow: 0 12px 30px rgba(7, 17, 31, 0.08);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    min-height: 76px;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
}

.brand-mark {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(7, 17, 31, 0.14);
    overflow: hidden;
}

.brand-mark img {
    width: 44px;
    height: 44px;
}

.brand-text {
    font-size: 18px;
    letter-spacing: 0.08em;
}

.primary-nav {
    justify-self: center;
}

.menu,
.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-nav a,
.footer-grid a {
    display: inline-flex;
    padding: 10px 12px;
    border-radius: var(--radius);
    color: var(--steel);
    font-size: 15px;
    font-weight: 700;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
    color: var(--ink);
    background: rgba(7, 17, 31, 0.05);
}

.header-cta {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--ink);
    background: var(--white);
    font-size: 15px;
    font-weight: 800;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.menu-toggle span:not(.screen-reader-text) {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 118px;
}

.hero-product {
    color: var(--ink);
    padding: 82px 0 86px;
    background:
        radial-gradient(circle at 82% 8%, rgba(35, 87, 255, 0.13), transparent 30%),
        radial-gradient(circle at 8% 88%, rgba(39, 214, 242, 0.12), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f3f7fc 100%);
}

.hero-product::before {
    position: absolute;
    top: -28%;
    right: -18%;
    width: 58%;
    aspect-ratio: 1;
    border: 48px solid rgba(35, 87, 255, 0.05);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.hero::after {
    position: absolute;
    right: -12%;
    bottom: -28%;
    width: 52%;
    height: 56%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.hero-product::after {
    border-color: rgba(35, 87, 255, 0.08);
}

.hero-grid,
.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.78fr);
    align-items: center;
    gap: 64px;
}

.hero-copy {
    display: grid;
    gap: 28px;
    min-width: 0;
}

.hero-product .hero-copy {
    gap: 28px;
}

.hero-lead {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(18px, 2vw, 22px);
}

.hero-product .hero-lead {
    max-width: 660px;
    color: #35485e;
    font-size: clamp(20px, 2.05vw, 25px);
    line-height: 1.42;
}

.hero-product h1 {
    max-width: 720px;
    font-size: clamp(42px, 4.35vw, 62px);
    line-height: 1.04;
}

.hero-product .hero-grid {
    grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
    gap: 54px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-product .hero-actions {
    padding-top: 4px;
}

.hero-product .hero-actions .button {
    min-height: 60px;
    padding: 17px 30px;
    font-size: 17px;
}

.hero-choice-line {
    max-width: 560px;
    color: var(--deep-blue);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.42;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 6px;
}

.hero-proof span {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.05);
    font-size: 15px;
    font-weight: 700;
}

.hero-product .button-ghost.on-dark {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.78);
    border-color: rgba(12, 24, 39, 0.14);
}

.hero-product .hero-proof span {
    color: #35485e;
    border-color: rgba(12, 24, 39, 0.1);
    background: rgba(255, 255, 255, 0.76);
}

.owner-note {
    display: grid;
    max-width: 590px;
    gap: 9px;
    padding: 18px 20px;
    border: 1px solid rgba(35, 87, 255, 0.14);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(238, 245, 255, 0.86));
    box-shadow: 0 18px 50px rgba(7, 17, 31, 0.08);
}

.owner-note span {
    color: var(--blue);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.owner-note p {
    color: var(--graphite);
    font-size: 16px;
    line-height: 1.45;
}

.app-preview-stack {
    position: relative;
    display: grid;
    min-height: 500px;
    isolation: isolate;
}

.app-preview-stack::before {
    position: absolute;
    inset: 12% 6% 8%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(35, 87, 255, 0.2), rgba(39, 214, 242, 0.08) 38%, transparent 68%);
    filter: blur(18px);
    content: "";
    z-index: -1;
}

.phone-shot {
    position: absolute;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(12, 24, 39, 0.08);
    border-radius: 30px;
    background: var(--white);
    box-shadow: 0 26px 70px rgba(7, 17, 31, 0.16);
    transition: transform 260ms ease, box-shadow 260ms ease;
    will-change: transform;
}

.phone-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.phone-shot-login {
    right: 0;
    top: 52px;
    width: min(44%, 286px);
    aspect-ratio: 945 / 1680;
    transform: rotate(3deg);
}

.phone-shot-login:hover,
.phone-shot-login:focus-within {
    transform: rotate(3deg) scale(1.045) translateY(-8px);
    box-shadow: 0 34px 86px rgba(7, 17, 31, 0.2);
}

.phone-shot-chat {
    left: 16px;
    bottom: 0;
    width: min(56%, 336px);
    aspect-ratio: 945 / 1680;
    transform: rotate(-2deg);
    z-index: 2;
}

.phone-shot-chat:hover,
.phone-shot-chat:focus-within {
    transform: rotate(-2deg) scale(1.045) translateY(-8px);
    box-shadow: 0 34px 86px rgba(7, 17, 31, 0.2);
}

.product-shell {
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(12, 24, 39, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 26px 70px rgba(7, 17, 31, 0.12);
    backdrop-filter: blur(20px);
}

.media-frame {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(12, 24, 39, 0.08);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 22px 60px rgba(7, 17, 31, 0.1);
}

.media-frame::after {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.media-frame img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 500ms ease;
}

.media-frame:hover img {
    transform: scale(1.025);
}

.hero-media {
    box-shadow: 0 34px 120px rgba(0, 0, 0, 0.38);
    transform: rotate(1deg);
}

.section-visual {
    margin-top: 58px;
}

.media-frame-light {
    border-color: rgba(12, 24, 39, 0.08);
    background: var(--white);
    box-shadow: var(--shadow);
}

.hero-mockup {
    transform: rotate(1deg);
}

.compact-mockup {
    max-width: 520px;
}

.product-topbar {
    display: flex;
    gap: 7px;
    padding: 16px;
    border-bottom: 1px solid rgba(12, 24, 39, 0.08);
}

.product-topbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c8d2df;
}

.product-grid {
    display: grid;
    grid-template-columns: 132px 1fr;
    min-height: 430px;
}

.product-sidebar {
    display: grid;
    min-width: 0;
    align-content: start;
    gap: 10px;
    padding: 18px 14px;
    border-right: 1px solid rgba(12, 24, 39, 0.08);
    background: #f6f9ff;
}

.product-brandline {
    margin-bottom: 8px;
    color: var(--cyan);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.channel {
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--steel);
    font-size: 14px;
    font-weight: 800;
}

.channel.active {
    color: var(--blue);
    border-color: rgba(35, 87, 255, 0.18);
    background: #eef5ff;
}

.product-chat {
    display: grid;
    min-width: 0;
    align-content: start;
    gap: 16px;
    padding: 20px;
}

.chat-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(12, 24, 39, 0.08);
}

.chat-head strong,
.chat-head span,
.chat-head em {
    display: block;
}

.chat-head strong {
    color: var(--ink);
    font-size: 16px;
}

.chat-head span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 14px;
}

.chat-head em {
    border-radius: 999px;
    padding: 5px 9px;
    color: var(--cyan);
    background: rgba(39, 214, 242, 0.1);
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.message {
    display: flex;
}

.message span {
    max-width: 82%;
    padding: 13px 14px;
    border: 1px solid rgba(12, 24, 39, 0.08);
    border-radius: 14px;
    color: var(--graphite);
    background: #f5f8fd;
    font-size: 15px;
    overflow-wrap: anywhere;
}

.message.outgoing {
    justify-content: flex-end;
}

.message.outgoing span {
    color: var(--white);
    border-color: rgba(35, 87, 255, 0.26);
    background: linear-gradient(135deg, var(--deep-blue), var(--blue));
}

.message.compact span {
    max-width: 68%;
}

.admin-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 8px;
}

.admin-strip div {
    padding: 13px;
    border: 1px solid rgba(12, 24, 39, 0.08);
    border-radius: 12px;
    background: #f6f9ff;
}

.admin-strip b,
.admin-strip span {
    display: block;
}

.admin-strip b {
    color: var(--ink);
    font-size: 14px;
}

.admin-strip span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
}

.split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 72px;
}

.statement-list {
    display: grid;
    gap: 16px;
}

.statement-list article {
    position: relative;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 16px;
    align-items: start;
    min-height: auto;
    padding: 18px 20px;
    border: 1px solid rgba(35, 87, 255, 0.16);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.96));
    box-shadow: 0 22px 56px rgba(35, 87, 255, 0.1);
}

.statement-list article:nth-child(2) {
    border-color: rgba(39, 214, 242, 0.22);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(232, 252, 255, 0.96));
}

.statement-list article:nth-child(3) {
    border-color: rgba(35, 87, 255, 0.26);
    background:
        linear-gradient(135deg, #ffffff, #eef5ff);
}

.statement-list span {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 999px;
    color: var(--white);
    background: linear-gradient(135deg, var(--deep-blue), var(--blue));
    box-shadow: 0 10px 24px rgba(35, 87, 255, 0.22);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
}

.statement-list p {
    color: var(--graphite);
    font-size: clamp(19px, 1.55vw, 24px);
    font-weight: 800;
    line-height: 1.24;
}

.feature-grid,
.pricing-grid,
.solution-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-card,
.format-card,
.solution-card {
    min-height: 280px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-soft);
}

.feature-card span,
.solution-card span,
.steps span,
.timeline span {
    display: inline-flex;
    margin-bottom: 42px;
    color: var(--steel);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.feature-card h3,
.solution-card h2 {
    margin-bottom: 16px;
    font-size: 25px;
    line-height: 1.1;
}

.feature-card p,
.solution-card p {
    color: var(--steel);
}

.visual-story-section {
    padding-top: 96px;
    padding-bottom: 104px;
    background: #ffffff;
}

.visual-story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.visual-story-card {
    overflow: hidden;
    border: 1px solid rgba(12, 24, 39, 0.1);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow-soft);
}

.visual-story-card figure {
    margin: 0;
    overflow: hidden;
    background: var(--mist);
}

.visual-story-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    filter: saturate(0.96) contrast(1.02);
}

.visual-story-card div {
    display: grid;
    gap: 15px;
    padding: 28px;
}

.visual-story-card span {
    color: var(--blue);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.visual-story-card h3 {
    font-size: clamp(28px, 2vw, 34px);
    line-height: 1.08;
}

.visual-story-card p {
    color: var(--steel);
    font-size: 20px;
    line-height: 1.48;
}

.custom-build-section {
    padding-top: 104px;
    padding-bottom: 104px;
    background:
        radial-gradient(circle at 90% 14%, rgba(35, 87, 255, 0.11), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.custom-build-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: 72px;
    align-items: start;
}

.custom-build-grid h2 {
    margin: 12px 0 22px;
}

.custom-build-grid > div:first-child p:not(.eyebrow) {
    max-width: 610px;
    color: var(--steel);
    font-size: 19px;
}

.custom-function-list {
    display: grid;
    gap: 12px;
}

.custom-function-list article {
    display: grid;
    grid-template-columns: 58px minmax(150px, 0.42fr) 1fr;
    gap: 22px;
    align-items: start;
    padding: 22px 24px;
    border: 1px solid rgba(12, 24, 39, 0.1);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.76);
    box-shadow: var(--shadow-soft);
}

.custom-function-list span {
    color: var(--blue);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.custom-function-list b {
    color: var(--ink);
    font-size: 19px;
    line-height: 1.16;
}

.custom-function-list p {
    color: var(--steel);
}

.showcase-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 72px;
    align-items: start;
}

.showcase-grid h2 {
    margin: 12px 0 22px;
}

.scenario-list {
    display: grid;
    gap: 12px;
}

.scenario-list article {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 20px;
    align-items: center;
    min-height: 88px;
    padding: 22px 24px;
    border: 1px solid rgba(12, 24, 39, 0.1);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.64);
}

.scenario-list b {
    font-size: 19px;
}

.scenario-list span {
    color: var(--steel);
}

.formats-section {
    color: var(--ink);
    background:
        radial-gradient(circle at 88% 8%, rgba(35, 87, 255, 0.1), transparent 28%),
        linear-gradient(180deg, #f6f9fd 0%, #ffffff 100%);
}

.formats-section .section-head p {
    color: var(--muted);
}

.pricing-grid {
    grid-template-columns: repeat(3, 1fr);
}

.format-card {
    display: flex;
    min-height: 520px;
    flex-direction: column;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.82);
    border-color: rgba(12, 24, 39, 0.1);
    box-shadow: var(--shadow-soft);
}

.format-card.is-featured {
    border-color: rgba(35, 87, 255, 0.22);
    background:
        radial-gradient(circle at 88% 0%, rgba(35, 87, 255, 0.12), transparent 34%),
        linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.format-card h3 {
    margin: 18px 0 24px;
}

.format-card ul {
    display: grid;
    gap: 12px;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
}

.format-card li {
    display: flex;
    gap: 10px;
    color: var(--steel);
}

.format-card li::before {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    margin-top: 9px;
    border-radius: 50%;
    background: var(--cyan);
    content: "";
}

.format-card strong {
    margin-top: auto;
    color: var(--ink);
    font-size: 15px;
}

.process-strip {
    background: #f7f9fc;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.steps article {
    min-height: 250px;
    padding: 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.steps h3 {
    margin-bottom: 14px;
    font-size: 26px;
}

.quiz-section {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.92)),
        var(--mist);
}

.quiz-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.76fr) minmax(420px, 0.9fr);
    gap: 72px;
    align-items: start;
}

.quiz-grid h2 {
    margin: 12px 0 22px;
}

.svoi-quiz {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
}

.quiz-hp {
    position: absolute;
    left: -9999px;
}

.quiz-progress {
    height: 5px;
    overflow: hidden;
    margin-bottom: 28px;
    border-radius: 999px;
    background: var(--mist);
}

.quiz-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    transition: width 220ms ease;
}

.quiz-step {
    display: none;
}

.quiz-step.is-active {
    display: grid;
    gap: 13px;
}

.quiz-step h3 {
    margin-bottom: 8px;
    font-size: clamp(24px, 3vw, 34px);
}

.quiz-step label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px 15px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--graphite);
    background: #fbfcfe;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease;
}

.quiz-step label:hover,
.quiz-step label:focus-within {
    border-color: rgba(35, 87, 255, 0.35);
    background: #f4f7ff;
}

.quiz-step input[type="radio"],
.quiz-step input[type="checkbox"] {
    margin-top: 5px;
    accent-color: var(--blue);
}

.quiz-step .quiz-consent {
    display: grid;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
}

.quiz-consent-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.quiz-step .quiz-consent-label {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    min-height: 66px;
    padding: 16px 18px;
    border: 1px solid rgba(35, 87, 255, 0.28);
    border-radius: 14px;
    background: #f6f8ff;
    color: var(--ink);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.quiz-step .quiz-consent-label:hover,
.quiz-step .quiz-consent-label:focus-within,
.quiz-consent-input:focus-visible + .quiz-consent-label {
    border-color: rgba(35, 87, 255, 0.55);
    background: #f2f6ff;
    box-shadow: 0 0 0 4px rgba(35, 87, 255, 0.08);
}

.quiz-consent-box {
    position: relative;
    width: 34px;
    height: 34px;
    border: 2px solid rgba(11, 25, 46, 0.28);
    border-radius: 9px;
    background: #ffffff;
    box-shadow: inset 0 0 0 2px #ffffff;
}

.quiz-consent-input:checked + .quiz-consent-label .quiz-consent-box {
    border-color: var(--blue);
    background: var(--blue);
}

.quiz-consent-input:checked + .quiz-consent-label .quiz-consent-box::after {
    position: absolute;
    left: 10px;
    top: 5px;
    width: 9px;
    height: 17px;
    border: solid #ffffff;
    border-width: 0 3px 3px 0;
    content: "";
    transform: rotate(45deg);
}

.quiz-consent-copy {
    font-size: 17px;
    font-weight: 850;
    line-height: 1.35;
}

.quiz-consent-policy {
    justify-self: start;
    margin-left: 52px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 850;
    line-height: 1.3;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.field-label {
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--steel) !important;
    font-size: 15px;
    font-weight: 800;
}

.svoi-quiz input[type="text"],
.svoi-quiz textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 15px;
    color: var(--ink);
    background: #fbfcfe;
    outline: none;
}

.svoi-quiz textarea {
    min-height: 110px;
    resize: vertical;
}

.svoi-quiz input:focus,
.svoi-quiz textarea:focus {
    border-color: rgba(35, 87, 255, 0.55);
    box-shadow: 0 0 0 4px rgba(35, 87, 255, 0.08);
}

.quiz-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.quiz-submit {
    display: none;
}

.quiz-result-card {
    display: grid;
    gap: 12px;
    padding: 22px;
    border: 1px solid rgba(23, 129, 255, 0.18);
    border-radius: 18px;
    background:
        linear-gradient(145deg, rgba(224, 247, 255, 0.72), rgba(255, 255, 255, 0.96) 54%),
        #ffffff;
    box-shadow: 0 24px 52px rgba(34, 82, 145, 0.12);
}

.quiz-result-kicker {
    color: var(--cyan);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.quiz-result-card h4 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.02;
}

.quiz-result-card p {
    margin: 0;
    color: #26384d;
    font-size: 18px;
    font-weight: 750;
    line-height: 1.45;
}

.quiz-result-card .quiz-result-subtitle {
    color: var(--blue);
    font-size: 20px;
    font-weight: 950;
}

.quiz-result-list {
    display: grid;
    gap: 10px;
    margin: 4px 0 0;
    padding: 0;
}

.quiz-result-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--graphite);
    font-size: 16px;
    font-weight: 850;
    line-height: 1.35;
    list-style: none;
}

.quiz-result-list li::before {
    width: 9px;
    min-width: 9px;
    height: 9px;
    margin-top: 7px;
    border-radius: 999px;
    background: var(--cyan);
    content: "";
}

.quiz-show-contact {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
}

.quiz-contact-fields {
    display: none;
    gap: 12px;
    margin-top: 8px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.quiz-contact-fields h4 {
    margin: 0 0 4px;
    color: var(--ink);
    font-size: 22px;
}

.svoi-quiz.is-contact-open .quiz-contact-fields {
    display: grid;
}

.svoi-quiz.is-contact-open .quiz-show-contact {
    display: none;
}

.svoi-quiz.is-result-stage:not(.is-contact-open) .quiz-submit {
    display: none !important;
}
.quiz-status {
    min-height: 24px;
    margin-top: 18px;
    color: var(--success);
    font-weight: 800;
}

.quiz-status.is-error {
    color: var(--error);
}

.quiz-telegram {
    display: none;
    margin-top: 12px;
    color: var(--deep-blue);
    font-weight: 900;
}

.quiz-telegram.is-visible {
    display: inline-flex;
}

.faq-list {
    display: grid;
    gap: 12px;
}

details {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
}

summary {
    padding: 24px 26px;
    color: var(--ink);
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
}

details p {
    padding: 0 26px 24px;
    max-width: 760px;
}

.page-hero {
    padding: 96px 0;
}

.page-hero p:not(.eyebrow) {
    margin-top: 24px;
    max-width: 780px;
    color: #35485e;
    font-size: 20px;
}

.content-page {
    max-width: 820px;
}

.content-page h2 {
    margin: 38px 0 14px;
    font-size: 34px;
}

.content-page p {
    margin-bottom: 10px;
}

.solution-grid {
    grid-template-columns: repeat(2, 1fr);
}

.solution-card {
    min-height: 340px;
}

.timeline {
    display: grid;
    gap: 16px;
}

.timeline article {
    display: grid;
    grid-template-columns: 90px 0.7fr 1fr;
    gap: 34px;
    align-items: start;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.timeline span {
    margin: 0;
}

.timeline h2 {
    font-size: clamp(26px, 3vw, 42px);
}

.contact-panel {
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    color: var(--ink);
    background:
        radial-gradient(circle at 90% 8%, rgba(35, 87, 255, 0.12), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
    box-shadow: var(--shadow-soft);
}

.contact-panel h2 {
    margin: 12px 0 18px;
}

.contact-panel p {
    color: var(--steel);
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.site-footer {
    color: var(--ink);
    background:
        radial-gradient(circle at 82% 8%, rgba(35, 87, 255, 0.1), transparent 30%),
        linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
}

.footer-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    padding: 76px 0;
    border-bottom: 1px solid var(--line);
}

.footer-cta h2 {
    max-width: 900px;
    margin-top: 12px;
    font-size: clamp(30px, 4vw, 58px);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 40px;
    padding: 44px 0;
}

.footer-grid p {
    max-width: 360px;
    margin-top: 18px;
    color: var(--steel);
}

.footer-brand .brand-mark {
    background: rgba(255, 255, 255, 0.72);
}

.footer-grid .menu,
.footer-grid ul,
.footer-contacts {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-grid a {
    color: var(--steel);
    padding-left: 0;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
    color: var(--blue);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1060px) {
    .hero-product .hero-grid,
    .hero-grid,
    .page-hero-grid,
    .split,
    .showcase-grid,
    .visual-story-grid,
    .custom-build-grid,
    .quiz-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .format-card {
        min-height: auto;
    }

    .hero-visual {
        max-width: 660px;
    }

    .hero-product .hero-visual {
        width: 100%;
        max-width: 560px;
        margin-inline: auto;
    }

    .hero-media {
        transform: none;
    }

    .app-preview-stack {
        min-height: 540px;
    }
}

@media (max-width: 820px) {
    .container,
    .narrow {
        width: min(100% - 28px, 1180px);
    }

    .section {
        padding: 76px 0;
    }

    .header-inner {
        grid-template-columns: auto auto;
        justify-content: space-between;
        min-height: 68px;
    }

    .menu-toggle {
        display: inline-flex;
        flex-direction: column;
    }

    .primary-nav {
        position: fixed;
        inset: 68px 14px auto;
        display: none;
        padding: 18px;
        border: 1px solid var(--line);
        border-radius: var(--radius-lg);
        background: rgba(255, 255, 255, 0.97);
        box-shadow: var(--shadow);
    }

    .primary-nav.is-open {
        display: block;
    }

    .primary-nav ul,
    .primary-nav .menu {
        display: grid;
    }

    .primary-nav a {
        width: 100%;
        padding: 14px;
    }

    .header-cta {
        display: none;
    }

    .hero {
        padding: 70px 0 86px;
    }

    .app-preview-stack {
        width: min(100%, 520px);
        min-height: 500px;
        margin-inline: auto;
    }

    .section-visual {
        margin-top: 34px;
    }

    .hero-grid,
    .page-hero-grid,
    .quiz-grid {
        gap: 42px;
    }

    .product-grid {
        grid-template-columns: minmax(0, 1fr);
        min-height: auto;
    }

    .product-sidebar {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        overflow-x: auto;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .product-brandline {
        grid-column: 1 / -1;
    }

    .admin-strip,
    .feature-grid,
    .visual-story-grid,
    .solution-grid,
    .steps,
    .footer-cta,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .scenario-list article,
    .statement-list article,
    .custom-function-list article,
    .timeline article {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .svoi-quiz,
    .contact-panel {
        padding: 22px;
    }

    .quiz-actions {
        flex-direction: column;
    }

    .quiz-actions .button {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .container,
    .narrow {
        width: calc(100% - 28px);
        max-width: 362px;
        margin-left: 14px;
        margin-right: 14px;
    }

    h1 {
        font-size: 32px;
        line-height: 1.12;
    }

    .hero-product h1 {
        font-size: 40px;
        line-height: 1.04;
    }

    .hero-product .hero-lead {
        font-size: 18px;
    }

    .hero-choice-line {
        font-size: 16px;
    }

    h2 {
        font-size: 32px;
        line-height: 1.1;
    }

    .eyebrow {
        font-size: 12px;
    }

    .hero {
        padding-top: 62px;
    }

    .hero-actions,
    .contact-links {
        flex-direction: column;
    }

    .hero-actions .button,
    .contact-links .button {
        width: 100%;
    }

    .hero-proof span {
        max-width: 100%;
    }

    .hero-mockup {
        transform: none;
    }

    .app-preview-stack {
        min-height: 430px;
    }

    .phone-shot {
        border-radius: 22px;
    }

    .phone-shot-login {
        right: 0;
        top: 8px;
        width: 46%;
    }

    .phone-shot-chat {
        left: 0;
        width: 58%;
    }

    .media-frame {
        border-radius: 18px;
    }

    .product-shell {
        border-radius: 18px;
    }

    .product-chat {
        padding: 16px;
    }

    .message span {
        max-width: 100%;
    }

    .message.outgoing {
        justify-content: flex-start;
    }

    .product-sidebar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .channel {
        font-size: 11px;
    }

    .chat-head {
        display: grid;
        align-items: flex-start;
        gap: 10px;
    }

    .admin-strip {
        grid-template-columns: 1fr;
    }

    .feature-card,
    .format-card,
    .solution-card,
    .steps article,
    .timeline article {
        padding: 22px;
    }
}

/* Readability pass for sales blocks */
.feature-card p,
.solution-card p,
.custom-function-list p,
.scenario-list span,
.format-card li,
.steps p,
.quiz-grid p,
details p,
.footer-grid p {
    font-size: 18px;
    line-height: 1.48;
}

.feature-card h3,
.format-card h3,
.steps h3,
.custom-function-list b,
.scenario-list b {
    line-height: 1.12;
}

.custom-function-list b,
.scenario-list b {
    font-size: 22px;
}

.format-card strong {
    font-size: 17px;
    line-height: 1.42;
}

.custom-build-grid > div:first-child p:not(.eyebrow),
.formats-section .section-head p {
    font-size: 21px;
    line-height: 1.48;
}

@media (max-width: 520px) {
    .feature-card p,
    .solution-card p,
    .custom-function-list p,
    .scenario-list span,
    .format-card li,
    .steps p,
    .quiz-grid p,
    details p,
    .footer-grid p {
        font-size: 17px;
    }
}

.format-apply {
    width: 100%;
    margin-top: 20px;
    min-height: 56px;
    font-size: 18px;
}

.format-card.is-featured .format-apply {
    box-shadow: 0 18px 42px rgba(35, 87, 255, 0.28);
}

@media (max-width: 520px) {
    .format-apply {
        min-height: 54px;
        font-size: 17px;
    }
}

.format-card.is-featured .format-apply:hover,
.format-card.is-featured .format-apply:focus-visible {
    transform: translateY(-3px) scale(1.045);
    box-shadow: 0 24px 54px rgba(35, 87, 255, 0.34);
}

.case-section {
    background:
        radial-gradient(circle at 82% 12%, rgba(35, 87, 255, 0.1), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

.case-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
    gap: 72px;
    align-items: center;
}

.case-copy {
    display: grid;
    gap: 24px;
}

.case-copy h2 {
    max-width: 720px;
}

.case-copy p:not(.eyebrow) {
    max-width: 650px;
    color: var(--graphite);
    font-size: 22px;
    line-height: 1.46;
}

.case-points {
    display: grid;
    gap: 12px;
    max-width: 620px;
}

.case-points span {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 18px;
    border: 1px solid rgba(35, 87, 255, 0.14);
    border-radius: 16px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.76);
    font-size: 19px;
    font-weight: 800;
    box-shadow: 0 14px 38px rgba(7, 17, 31, 0.06);
}

.case-points span::before {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    margin-top: 9px;
    border-radius: 50%;
    background: var(--cyan);
    content: "";
}

.case-shots {
    position: relative;
    min-height: 620px;
    isolation: isolate;
}

.case-shots::before {
    position: absolute;
    inset: 12% 8% 10%;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(35, 87, 255, 0.18), rgba(39, 214, 242, 0.08) 42%, transparent 70%);
    filter: blur(18px);
    content: "";
    z-index: -1;
}

.case-shot {
    position: absolute;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(12, 24, 39, 0.09);
    border-radius: 30px;
    background: var(--white);
    box-shadow: 0 28px 76px rgba(7, 17, 31, 0.16);
    transition: transform 260ms ease, box-shadow 260ms ease;
}

.case-shot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-shot-main {
    left: 0;
    bottom: 0;
    width: min(54%, 330px);
    aspect-ratio: 945 / 1680;
    transform: rotate(-2deg);
    z-index: 2;
}

.case-shot-side {
    right: 10%;
    top: 34px;
    width: min(42%, 270px);
    aspect-ratio: 945 / 1680;
    transform: rotate(3deg);
}

.case-shot:hover {
    transform: translateY(-8px) scale(1.035);
    box-shadow: 0 36px 90px rgba(7, 17, 31, 0.2);
}

.case-shot-main:hover {
    transform: rotate(-2deg) translateY(-8px) scale(1.035);
}

.case-shot-side:hover {
    transform: rotate(3deg) translateY(-8px) scale(1.035);
}

@media (max-width: 1060px) {
    .case-grid {
        grid-template-columns: 1fr;
    }

    .case-shots {
        width: min(100%, 620px);
        min-height: 580px;
        margin-inline: auto;
    }
}

@media (max-width: 520px) {
    .case-copy p:not(.eyebrow) {
        font-size: 18px;
    }

    .case-points span {
        font-size: 17px;
    }

    .case-shots {
        min-height: 430px;
    }

    .case-shot {
        border-radius: 22px;
    }

    .case-shot-main {
        width: 58%;
    }

    .case-shot-side {
        right: 0;
        top: 8px;
        width: 46%;
    }
}

.case-shot figcaption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 3;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 16px;
    color: var(--white);
    background: linear-gradient(135deg, rgba(16, 44, 128, 0.92), rgba(35, 87, 255, 0.86));
    box-shadow: 0 16px 36px rgba(7, 17, 31, 0.24);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.22;
    text-align: center;
}

@media (max-width: 520px) {
    .case-shot figcaption {
        left: 10px;
        right: 10px;
        bottom: 10px;
        padding: 10px 12px;
        border-radius: 12px;
        font-size: 11px;
    }
}

.case-media {
    display: grid;
    gap: 18px;
}

.case-media-label {
    justify-self: start;
    max-width: 560px;
    padding: 12px 16px;
    border: 1px solid rgba(35, 87, 255, 0.16);
    border-radius: 999px;
    color: var(--deep-blue);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 34px rgba(7, 17, 31, 0.08);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.25;
}

@media (max-width: 520px) {
    .case-media-label {
        border-radius: 16px;
        font-size: 16px;
    }
}

.mobile72-section {
    padding: 56px 0 64px;
    background:
        radial-gradient(circle at 84% 12%, rgba(35, 87, 255, 0.1), transparent 34%),
        linear-gradient(180deg, #f7fbff 0%, #eef4fb 100%);
}

.mobile72-grid {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 22px;
    align-items: stretch;
}

.mobile72-copy {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    justify-content: center;
    padding: 34px;
    border: 1px solid rgba(35, 87, 255, 0.13);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 22px 48px rgba(7, 17, 31, 0.08);
}

.mobile72-copy h2 {
    max-width: 760px;
    margin: 20px 0 0;
    font-size: clamp(36px, 4.1vw, 58px);
    line-height: 1.04;
}

.mobile72-copy p:not(.eyebrow) {
    max-width: 720px;
    margin: 18px 0 0;
    color: var(--graphite);
    font-size: clamp(19px, 1.55vw, 24px);
    line-height: 1.46;
}

.mobile72-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.mobile72-site-link {
    border-color: rgba(35, 87, 255, 0.2);
    background: #ffffff;
}

.mobile72-proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mobile72-proof article {
    display: flex;
    min-height: 148px;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    border: 1px solid rgba(12, 24, 39, 0.1);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 38px rgba(7, 17, 31, 0.07);
}

.mobile72-proof strong {
    color: var(--ink);
    font-size: clamp(26px, 2.6vw, 40px);
    font-weight: 900;
    line-height: 1.04;
}

.mobile72-proof span {
    margin-top: 12px;
    color: var(--graphite);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.mobile72-wide {
    grid-column: 1 / -1;
    min-height: 136px;
    border-color: rgba(39, 214, 242, 0.28) !important;
    background: linear-gradient(135deg, #ffffff, #eefcff) !important;
}

@media (max-width: 1060px) {
    .mobile72-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .mobile72-section {
        padding: 34px 0 42px;
    }

    .mobile72-copy {
        padding: 22px;
        border-radius: 22px;
    }

    .mobile72-copy h2 {
        font-size: 30px;
    }

    .mobile72-copy p:not(.eyebrow),
    .mobile72-proof span {
        font-size: 17px;
    }

    .mobile72-proof {
        grid-template-columns: 1fr;
    }

    .mobile72-proof article {
        min-height: auto;
        padding: 18px;
        border-radius: 20px;
    }
}
/* Compact Mobile72 proof block */
.mobile72-section {
    padding: 38px 0 48px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.mobile72-card {
    display: grid;
    gap: 22px;
    padding: 28px;
    border: 1px solid rgba(35, 87, 255, 0.13);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 22px 48px rgba(7, 17, 31, 0.08);
}

.mobile72-top {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
    gap: 24px;
    align-items: end;
}

.mobile72-top h2 {
    max-width: 780px;
    margin: 18px 0 0;
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.04;
}

.mobile72-top p:not(.eyebrow) {
    margin: 0;
    color: var(--graphite);
    font-size: clamp(19px, 1.45vw, 23px);
    font-weight: 750;
    line-height: 1.34;
}

.mobile72-proof {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.mobile72-proof article {
    min-height: 126px;
    padding: 20px;
    border: 1px solid rgba(12, 24, 39, 0.09);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(7, 17, 31, 0.06);
}

.mobile72-proof strong {
    display: block;
    color: var(--ink);
    font-size: clamp(24px, 2vw, 34px);
    font-weight: 950;
    line-height: 1.05;
}

.mobile72-proof span {
    display: block;
    margin-top: 12px;
    color: var(--graphite);
    font-size: 18px;
    font-weight: 750;
    line-height: 1.25;
}

.mobile72-bottom {
    display: flex;
    gap: 18px;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border: 1px solid rgba(39, 214, 242, 0.22);
    border-radius: 22px;
    background: linear-gradient(135deg, #ffffff, #eefcff);
}

.mobile72-bottom p {
    max-width: 820px;
    margin: 0;
    color: var(--graphite);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.32;
}

.mobile72-site-link {
    flex: 0 0 auto;
    border-color: rgba(35, 87, 255, 0.22);
    background: #ffffff;
}

@media (max-width: 1060px) {
    .mobile72-top,
    .mobile72-proof {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mobile72-top p:not(.eyebrow) {
        align-self: start;
    }
}

@media (max-width: 720px) {
    .mobile72-top,
    .mobile72-proof {
        grid-template-columns: 1fr;
    }

    .mobile72-bottom {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 520px) {
    .mobile72-section {
        padding: 28px 0 36px;
    }

    .mobile72-card {
        padding: 18px;
        border-radius: 24px;
    }

    .mobile72-top h2 {
        font-size: 29px;
    }

    .mobile72-top p:not(.eyebrow),
    .mobile72-bottom p,
    .mobile72-proof span {
        font-size: 17px;
    }

    .mobile72-proof article {
        min-height: auto;
        padding: 18px;
        border-radius: 18px;
    }
}
/* Mobile72 image refresh */
.mobile72-top {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
    align-items: stretch;
}

.mobile72-heading {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mobile72-heading p:not(.eyebrow) {
    max-width: 640px;
    margin: 18px 0 0;
}

.mobile72-visual {
    min-height: 250px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(35, 87, 255, 0.14);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(7, 17, 31, 0.08);
}

.mobile72-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.01);
}

@media (max-width: 1060px) {
    .mobile72-top {
        grid-template-columns: 1fr;
    }

    .mobile72-visual {
        min-height: 320px;
    }
}

@media (max-width: 520px) {
    .mobile72-visual {
        min-height: 210px;
        border-radius: 18px;
    }
}
/* Mobile72 clean block */
.mobile72-section {
    padding: 42px 0 48px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.mobile72-clean-card {
    display: grid;
    grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
    gap: 28px;
    align-items: center;
    padding: 22px;
    border: 1px solid rgba(12, 24, 39, 0.08);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 22px 48px rgba(7, 17, 31, 0.08);
}

.mobile72-clean-image {
    height: 390px;
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
    background: #edf3f8;
}

.mobile72-clean-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.mobile72-clean-copy {
    padding: 10px 18px 10px 4px;
}

.mobile72-clean-copy h2 {
    max-width: 720px;
    margin: 18px 0 0;
    font-size: clamp(36px, 4.2vw, 58px);
    line-height: 1.03;
}

.mobile72-clean-copy p:not(.eyebrow) {
    max-width: 720px;
    margin: 18px 0 0;
    color: var(--graphite);
    font-size: clamp(19px, 1.5vw, 23px);
    font-weight: 750;
    line-height: 1.36;
}

.mobile72-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.mobile72-tags span {
    padding: 10px 13px;
    border: 1px solid rgba(35, 87, 255, 0.14);
    border-radius: 999px;
    color: var(--ink);
    background: #ffffff;
    font-size: 16px;
    font-weight: 850;
    line-height: 1;
}

.mobile72-clean-copy .mobile72-actions {
    margin-top: 28px;
}

.mobile72-site-link {
    border-color: rgba(35, 87, 255, 0.2);
    background: #ffffff;
}

@media (max-width: 1060px) {
    .mobile72-clean-card {
        grid-template-columns: 1fr;
    }

    .mobile72-clean-image {
        height: 340px;
    }

    .mobile72-clean-copy {
        padding: 0 6px 8px;
    }
}

@media (max-width: 520px) {
    .mobile72-section {
        padding: 28px 0 36px;
    }

    .mobile72-clean-card {
        gap: 18px;
        padding: 14px;
        border-radius: 24px;
    }

    .mobile72-clean-image {
        height: 210px;
        border-radius: 18px;
    }

    .mobile72-clean-copy h2 {
        font-size: 29px;
    }

    .mobile72-clean-copy p:not(.eyebrow) {
        font-size: 17px;
    }

    .mobile72-tags span {
        font-size: 15px;
    }
}
.mobile72-site-link,
.mobile72-site-link:visited {
    color: var(--deep-blue) !important;
    background: rgba(255, 255, 255, 0.72) !important;
    border-color: rgba(39, 214, 242, 0.72) !important;
    box-shadow: 0 16px 34px rgba(35, 87, 255, 0.12) !important;
}

.mobile72-site-link:hover,
.mobile72-site-link:focus-visible {
    color: var(--ink) !important;
    background: #ffffff !important;
    border-color: rgba(35, 87, 255, 0.42) !important;
}
.mobile72-tags {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 560px;
    gap: 10px;
}

.mobile72-tags span {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 520px) {
    .mobile72-tags {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .mobile72-tags span {
        justify-content: flex-start;
        white-space: normal;
    }
}
/* Process timeline with images */
.process-timeline article {
    grid-template-columns: 70px minmax(170px, 230px) minmax(220px, 0.62fr) minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding: 22px;
}

.timeline-media {
    width: 100%;
    height: 136px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(12, 24, 39, 0.08);
    border-radius: 20px;
    background: #edf3f8;
    box-shadow: 0 14px 30px rgba(7, 17, 31, 0.07);
}

.timeline-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.28s ease;
}

.process-timeline article:hover .timeline-media img {
    transform: scale(1.04);
}

.process-timeline h2 {
    margin: 0;
}

.process-timeline p {
    margin: 0;
}

@media (max-width: 1060px) {
    .process-timeline article {
        grid-template-columns: 58px minmax(160px, 220px) minmax(0, 1fr);
    }

    .process-timeline p {
        grid-column: 3;
    }
}

@media (max-width: 820px) {
    .process-timeline article {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .process-timeline p {
        grid-column: auto;
    }

    .timeline-media {
        height: 220px;
    }
}

@media (max-width: 520px) {
    .timeline-media {
        height: 170px;
        border-radius: 18px;
    }
}
/* Process cards rebuild */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.process-timeline article {
    position: relative;
    display: flex !important;
    min-height: 100%;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    padding: 16px 16px 20px;
    border: 1px solid rgba(12, 24, 39, 0.08);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 20px 42px rgba(7, 17, 31, 0.08);
}

.process-timeline article > span {
    position: absolute;
    top: 28px;
    left: 28px;
    z-index: 2;
    display: inline-flex;
    min-width: 44px;
    height: 34px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.64);
    border-radius: 999px;
    color: var(--deep-blue);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 24px rgba(7, 17, 31, 0.12);
    font-size: 14px;
    font-weight: 950;
    letter-spacing: 0.08em;
}

.process-timeline .timeline-media {
    width: 100%;
    height: 170px;
    margin: 0;
    overflow: hidden;
    border-radius: 20px;
    background: #edf3f8;
}

.process-timeline .timeline-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.process-timeline h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(23px, 1.6vw, 30px);
    line-height: 1.08;
    letter-spacing: 0;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

.process-timeline p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    font-weight: 650;
    line-height: 1.42;
}

@media (max-width: 1280px) {
    .process-timeline {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .process-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .process-timeline {
        grid-template-columns: 1fr;
    }

    .process-timeline article {
        padding: 14px 14px 18px;
        border-radius: 22px;
    }

    .process-timeline .timeline-media {
        height: 190px;
        border-radius: 18px;
    }

    .process-timeline h2 {
        font-size: 28px;
    }
}
/* Process cards final sizing */
.process-timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
}

.process-timeline article {
    padding: 18px 18px 22px !important;
}

.process-timeline .timeline-media {
    height: 210px !important;
}

.process-timeline h2 {
    font-size: clamp(30px, 2.2vw, 42px) !important;
    line-height: 1.04 !important;
}

.process-timeline p {
    font-size: 19px !important;
    line-height: 1.38 !important;
}

@media (min-width: 1281px) {
    .process-timeline article:nth-child(4) {
        grid-column: 1 / span 1;
    }

    .process-timeline article:nth-child(5) {
        grid-column: 2 / span 1;
    }
}

@media (max-width: 980px) {
    .process-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 560px) {
    .process-timeline {
        grid-template-columns: 1fr !important;
    }
}
/* Customization block refresh */
.custom-build-section {
    padding-top: 82px;
    padding-bottom: 86px;
}

.custom-build-grid {
    align-items: center;
    gap: 56px;
}

.custom-build-visual {
    margin: 28px 0 0;
    height: 310px;
    overflow: hidden;
    border: 1px solid rgba(12, 24, 39, 0.09);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 22px 44px rgba(7, 17, 31, 0.08);
}

.custom-build-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.custom-function-list {
    gap: 14px;
}

.custom-function-list article {
    grid-template-columns: 54px minmax(140px, 0.34fr) 1fr;
    align-items: center;
    min-height: 112px;
    padding: 20px 22px;
}

.custom-function-list b {
    font-size: 24px;
}

.custom-function-list p {
    font-size: 19px;
    line-height: 1.38;
}

@media (max-width: 1060px) {
    .custom-build-visual {
        height: 340px;
    }
}

@media (max-width: 820px) {
    .custom-function-list article {
        grid-template-columns: 1fr;
        align-items: start;
    }
}

@media (max-width: 520px) {
    .custom-build-visual {
        height: 220px;
        border-radius: 22px;
    }

    .custom-function-list b {
        font-size: 23px;
    }
}
/* Home hierarchy: scenarios first, pain second */
.hero-product + .visual-story-section {
    padding-top: 84px;
    padding-bottom: 104px;
    background: #ffffff;
}

.visual-story-section + .problem-section {
    padding-top: 88px;
    padding-bottom: 94px;
    border-top: 1px solid rgba(12, 24, 39, 0.07);
    background:
        radial-gradient(circle at 88% 14%, rgba(35, 87, 255, 0.08), transparent 28%),
        linear-gradient(180deg, #f5f9ff 0%, #eef4fb 100%);
}

.visual-story-section + .problem-section .split {
    align-items: center;
}

.visual-story-section + .problem-section h2 {
    max-width: 760px;
}

.visual-story-section + .problem-section .statement-list article {
    background: rgba(255, 255, 255, 0.88);
}

@media (max-width: 820px) {
    .hero-product + .visual-story-section,
    .visual-story-section + .problem-section {
        padding-top: 64px;
        padding-bottom: 70px;
    }
}
/* Feature cards with product visuals */
.feature-card.feature-card-visual {
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background: #ffffff;
}

.feature-card-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    margin: 0;
    overflow: hidden;
    background: #eef4fb;
}

.feature-card-media img {
    display: block;
    transition: transform 280ms ease;
}

.feature-card-media--portrait {
    padding: 14px 18px 0;
    background: #f2f6fc;
}

.feature-card-media--portrait img {
    width: auto;
    height: 100%;
    max-width: 82%;
    object-fit: contain;
    object-position: center top;
    border-radius: 14px 14px 0 0;
    box-shadow: 0 12px 32px rgba(28, 55, 98, 0.14);
}

.feature-card-media--landscape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.feature-card-visual:hover .feature-card-media img {
    transform: scale(1.035);
}

.feature-card.feature-card-visual .feature-card-media span {
    position: absolute;
    top: 14px;
    left: 14px;
    min-width: 42px;
    min-height: 42px;
    margin: 0;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(17, 78, 220, 0.14);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--blue);
    letter-spacing: 0;
    box-shadow: 0 8px 24px rgba(17, 41, 84, 0.12);
}

.feature-card-body {
    padding: 24px 26px 28px;
}

.feature-card-body h3 {
    margin-bottom: 12px;
}

@media (max-width: 1100px) {
    .feature-card-media {
        height: 230px;
    }
}

@media (max-width: 640px) {
    .feature-card-media {
        height: 230px;
    }

    .feature-card-body {
        padding: 22px;
    }
}
/* Readable secondary text across light sections */
.site-main p,
.site-footer p,
.scenario-list span,
.format-card li,
.footer-grid a,
.chat-head span,
.admin-strip span,
.process-timeline p {
    font-weight: 500;
}

input::placeholder,
textarea::placeholder {
    color: #526276;
    opacity: 1;
}
.format-card .format-price {
    margin: 18px 0 4px;
    color: var(--ink);
    font-size: clamp(26px, 2.2vw, 34px);
    font-weight: 850;
    line-height: 1;
}
/* Clear package hierarchy */
.formats-section .pricing-grid {
    align-items: stretch;
}

.formats-section .format-card {
    min-height: 650px;
    padding: 30px;
}

.formats-section .format-card.is-featured {
    border: 2px solid #b9c9ff;
    background: #f3f6ff;
}

.formats-section .format-card.is-premium {
    border: 2px solid #23334a;
    color: #ffffff;
    background: linear-gradient(160deg, #182335 0%, #0b1422 58%, #111f31 100%);
    box-shadow: 0 24px 60px rgba(6, 17, 31, 0.24);
    transform: translateY(-8px);
}

.formats-section .format-card.is-premium .eyebrow {
    color: #36d7f2;
}

.formats-section .format-card.is-premium h3,
.formats-section .format-card.is-premium .format-price,
.formats-section .format-card.is-premium .format-card-footer strong {
    color: #ffffff;
}

.formats-section .format-card.is-premium .format-summary,
.formats-section .format-card.is-premium li {
    color: #d7e2ef;
}

.formats-section .format-card.is-premium li::before {
    background: #36d7f2;
    box-shadow: 0 0 0 4px rgba(54, 215, 242, 0.12);
}

.formats-section .format-card.is-premium .format-card-footer {
    border-color: rgba(255, 255, 255, 0.14);
}

.formats-section .format-card.is-premium .format-apply {
    width: 100%;
    color: #07111f;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.formats-section .format-card.is-premium .format-apply:hover,
.formats-section .format-card.is-premium .format-apply:focus-visible {
    color: #07111f;
    background: #36d7f2;
    transform: translateY(-2px);
}

.formats-section .format-card h3 {
    min-height: 76px;
    margin: 18px 0 0;
    font-size: clamp(25px, 2vw, 31px);
}

.formats-section .format-card .format-price {
    min-height: 42px;
    margin: 22px 0 10px;
    font-size: clamp(28px, 2.3vw, 36px);
}

.formats-section .format-card .format-price--custom {
    display: flex;
    align-items: center;
    font-size: 24px;
}

.formats-section .format-summary {
    min-height: 52px;
    margin-bottom: 22px;
    color: #35485e;
    font-size: 17px;
    line-height: 1.42;
}

.formats-section .format-card ul {
    gap: 10px;
    margin-bottom: 24px;
}

.formats-section .format-card li {
    font-size: 17px;
    line-height: 1.38;
}

.format-card-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(12, 24, 39, 0.1);
}

.format-card-footer strong {
    display: block;
    margin: 0;
    font-size: 16px;
}

.format-card-footer .format-apply {
    margin-top: 18px;
}

@media (max-width: 900px) {
    .formats-section .format-card {
        min-height: 0;
    }

    .formats-section .format-card.is-premium {
        transform: none;
    }

    .formats-section .format-card h3,
    .formats-section .format-summary {
        min-height: 0;
    }
}
/* Compact, consistent package cards */
.formats-section .pricing-grid {
    gap: 20px;
    align-items: stretch;
}

.formats-section .format-card,
.formats-section .format-card.is-featured,
.formats-section .format-card.is-premium {
    min-height: 680px;
    padding: 28px;
    border: 1px solid rgba(12, 24, 39, 0.12);
    color: var(--ink);
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(7, 17, 31, 0.09);
    transform: none;
}

.formats-section .format-card.is-featured {
    border: 2px solid #9eb5ff;
    background: #f3f6ff;
}

.formats-section .format-card.is-premium {
    border: 2px solid #b8d9e2;
    background: #f3fbfd;
}

.formats-section .format-card.is-premium .eyebrow {
    color: #168fa6;
}

.formats-section .format-card.is-premium h3,
.formats-section .format-card.is-premium .format-price,
.formats-section .format-card.is-premium .format-summary,
.formats-section .format-card.is-premium li,
.formats-section .format-card.is-premium .format-card-footer strong {
    color: inherit;
}

.formats-section .format-card h3 {
    min-height: 68px;
    margin: 16px 0 0;
    font-size: clamp(24px, 1.8vw, 29px);
}

.formats-section .format-card .format-price {
    min-height: 38px;
    margin: 18px 0 10px;
    font-size: clamp(28px, 2vw, 34px);
}

.formats-section .format-summary {
    min-height: 50px;
    margin-bottom: 20px;
    font-size: 16px;
}

.formats-section .format-card ul {
    gap: 9px;
    margin-bottom: 20px;
}

.formats-section .format-card li {
    font-size: 16px;
    line-height: 1.38;
}

.formats-section .format-card li::before,
.formats-section .format-card.is-premium li::before {
    background: var(--cyan);
    box-shadow: none;
}

.formats-section .format-card-footer,
.formats-section .format-card.is-premium .format-card-footer {
    padding-top: 18px;
    border-color: rgba(12, 24, 39, 0.1);
}

.formats-section .format-card-footer strong {
    min-height: 44px;
    font-size: 15px;
    line-height: 1.4;
}

.formats-section .format-card .format-apply,
.formats-section .format-card.is-premium .format-apply {
    width: 100%;
    min-height: 52px;
    margin-top: 14px;
    color: #ffffff;
    background: var(--blue);
    box-shadow: 0 12px 28px rgba(35, 87, 255, 0.2);
}

.formats-section .format-card .format-apply:hover,
.formats-section .format-card .format-apply:focus-visible,
.formats-section .format-card.is-premium .format-apply:hover,
.formats-section .format-card.is-premium .format-apply:focus-visible {
    color: #ffffff;
    background: var(--deep-blue);
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .formats-section .format-card,
    .formats-section .format-card.is-featured,
    .formats-section .format-card.is-premium {
        min-height: 0;
    }
}
/* Visual process on the homepage */
.process-strip .process-head {
    max-width: 760px;
    margin-bottom: 38px;
}

.steps.steps-visual {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    border: 0;
}

.steps-visual article {
    min-height: 390px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(12, 24, 39, 0.11);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 16px 42px rgba(7, 17, 31, 0.08);
}

.step-media {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    margin: 0;
    overflow: hidden;
    background: #edf3fa;
}

.step-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 280ms ease;
}

.step-media--portrait {
    padding-top: 12px;
}

.step-media--portrait img {
    width: auto;
    max-width: 76%;
    object-fit: contain;
    object-position: center top;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 10px 28px rgba(27, 53, 94, 0.14);
}

.steps-visual article:hover .step-media img {
    transform: scale(1.035);
}

.step-content {
    padding: 22px;
}

.steps.steps-visual .step-content span {
    margin: 0 0 18px;
    color: var(--blue);
    font-size: 14px;
}

.steps.steps-visual .step-content h3 {
    margin-bottom: 12px;
    font-size: 24px;
}

.steps.steps-visual .step-content p {
    color: #35485e;
    font-size: 17px;
    line-height: 1.42;
}

@media (max-width: 960px) {
    .steps.steps-visual {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .steps.steps-visual {
        grid-template-columns: 1fr;
    }

    .steps-visual article {
        min-height: 0;
    }

    .step-media {
        height: 210px;
    }
}
/* Solutions page aligned with the homepage */
.solutions-page {
    background: #f5f8fc;
}

.solutions-page .section {
    padding-block: 88px;
}

.solutions-case {
    background: #ffffff;
}

.solutions-case-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(480px, 1.12fr);
    gap: 64px;
    align-items: center;
}

.solutions-case-copy {
    display: grid;
    gap: 24px;
    align-content: center;
}

.solutions-case-copy h1 {
    max-width: 720px;
    font-size: clamp(40px, 4vw, 62px);
    line-height: 1.02;
}

.solutions-lead,
.solutions-overview-copy > p:not(.eyebrow) {
    max-width: 650px;
    color: #35485e;
    font-size: 19px;
    line-height: 1.48;
}

.solutions-highlights {
    display: grid;
    max-width: 640px;
    border-top: 1px solid rgba(12, 24, 39, 0.12);
}

.solutions-highlights span {
    position: relative;
    padding: 15px 0 15px 28px;
    border-bottom: 1px solid rgba(12, 24, 39, 0.12);
    color: var(--ink-2);
    font-size: 17px;
    font-weight: 750;
    line-height: 1.35;
}

.solutions-highlights span::before {
    position: absolute;
    top: 23px;
    left: 2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    content: "";
}

.solutions-case-copy .button {
    justify-self: start;
}

.solutions-case-media {
    min-width: 0;
}

.solutions-case-caption {
    margin: 0 0 16px 24px;
    color: var(--deep-blue);
    font-size: 16px;
    font-weight: 800;
}

.solutions-phones {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    border: 1px solid rgba(35, 87, 255, 0.11);
    border-radius: 18px;
    background: #eef4fb;
    box-shadow: 0 22px 58px rgba(7, 17, 31, 0.1);
}

.solutions-phone {
    position: absolute;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(12, 24, 39, 0.1);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 24px 56px rgba(7, 17, 31, 0.16);
    transition: transform 260ms ease, box-shadow 260ms ease;
}

.solutions-phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solutions-phone-main {
    left: 9%;
    bottom: -6%;
    width: 46%;
    aspect-ratio: 941 / 1672;
    z-index: 2;
}

.solutions-phone-side {
    top: 8%;
    right: 8%;
    width: 40%;
    aspect-ratio: 941 / 1672;
}

.solutions-phone:hover {
    transform: translateY(-6px) scale(1.025);
    box-shadow: 0 30px 66px rgba(7, 17, 31, 0.2);
}

.solutions-overview {
    background: #eef3f9;
}

.solutions-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(460px, 1.12fr);
    gap: 64px;
    align-items: center;
}

.solutions-overview-copy {
    display: grid;
    gap: 22px;
}

.solutions-overview-copy h2 {
    font-size: clamp(34px, 3.3vw, 50px);
    line-height: 1.04;
}

.solutions-overview-copy .text-link {
    justify-self: start;
    color: var(--deep-blue);
    font-size: 17px;
    font-weight: 800;
    border-bottom: 1px solid currentColor;
}

.solutions-overview-media {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(12, 24, 39, 0.1);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 20px 52px rgba(7, 17, 31, 0.1);
}

.solutions-overview-media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.solutions-experience {
    background: #ffffff;
}

.solutions-experience .mobile72-clean-card {
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(7, 17, 31, 0.08);
}

.solutions-experience .mobile72-clean-image {
    border-radius: 14px;
}

@media (max-width: 1040px) {
    .solutions-case-grid,
    .solutions-overview-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .solutions-case-media,
    .solutions-overview-media {
        width: min(100%, 720px);
        margin-inline: auto;
    }
}

@media (max-width: 620px) {
    .solutions-page .section {
        padding-block: 64px;
    }

    .solutions-case-copy h1 {
        font-size: 38px;
    }

    .solutions-lead,
    .solutions-overview-copy > p:not(.eyebrow) {
        font-size: 18px;
    }

    .solutions-phones {
        min-height: 480px;
    }

    .solutions-phone-main {
        left: 5%;
        width: 56%;
    }

    .solutions-phone-side {
        right: 4%;
        width: 48%;
    }

    .solutions-case-caption {
        margin-left: 0;
    }
}
/* Solutions typography matched to the homepage */
.page-template-page-solutions .case-copy {
    gap: 22px;
}

.page-template-page-solutions .case-copy h2 {
    font-size: clamp(36px, 3.1vw, 48px);
    line-height: 1.04;
}

.page-template-page-solutions .case-copy p:not(.eyebrow) {
    color: #35485e;
    font-size: 19px;
    line-height: 1.48;
}

.page-template-page-solutions .case-points span {
    padding: 14px 16px;
    font-size: 17px;
    line-height: 1.35;
}

.page-template-page-solutions .case-media-label {
    padding: 0;
    border: 0;
    border-radius: 0;
    color: var(--cyan);
    background: transparent;
    box-shadow: none;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-template-page-solutions .page-hero h1 {
    font-size: clamp(40px, 4.2vw, 62px);
    line-height: 1.02;
}

.page-template-page-solutions .page-hero p:not(.eyebrow),
.page-template-page-solutions .mobile72-clean-copy > p:not(.eyebrow) {
    color: #35485e;
    font-size: 19px;
    line-height: 1.48;
}

.page-template-page-solutions .mobile72-clean-copy h2 {
    font-size: clamp(34px, 3.1vw, 46px);
    line-height: 1.04;
}

@media (max-width: 520px) {
    .page-template-page-solutions .case-copy h2,
    .page-template-page-solutions .page-hero h1 {
        font-size: 36px;
    }

    .page-template-page-solutions .case-copy p:not(.eyebrow),
    .page-template-page-solutions .page-hero p:not(.eyebrow),
    .page-template-page-solutions .mobile72-clean-copy > p:not(.eyebrow) {
        font-size: 18px;
    }
}
/* Exact homepage typography for the Solutions case */
.page-template-page-solutions .case-copy {
    gap: 28px;
}

.page-template-page-solutions .case-copy h2 {
    max-width: 720px;
    font-size: clamp(42px, 4.35vw, 62px);
    line-height: 1.04;
}

.page-template-page-solutions .case-copy p:not(.eyebrow) {
    max-width: 660px;
    color: #35485e;
    font-size: clamp(20px, 2.05vw, 25px);
    line-height: 1.42;
}

.page-template-page-solutions .case-points span {
    padding: 16px 18px;
    font-size: 19px;
    line-height: 1.35;
}

.page-template-page-solutions .case-copy > .button {
    width: auto;
    justify-self: start;
}

.page-template-page-solutions .case-media-label {
    color: var(--cyan);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

@media (max-width: 520px) {
    .page-template-page-solutions .case-copy h2 {
        font-size: 40px;
        line-height: 1.04;
    }

    .page-template-page-solutions .case-copy p:not(.eyebrow) {
        font-size: 18px;
    }

    .page-template-page-solutions .case-points span {
        font-size: 17px;
    }
}
/* One text accent for all Solutions labels */
.page-template-page-solutions .eyebrow,
.page-template-page-solutions .case-media-label {
    color: #102c80 !important;
}
/* Stronger Solutions copy and matching bullets */
.page-template-page-solutions .case-copy p:not(.eyebrow) {
    font-weight: 650;
}

.page-template-page-solutions .case-points span::before {
    background: #102c80 !important;
}
/* Direct contacts on the first screen, in the Mobile72 style */
.hero-actions-secondary {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: -8px;
}

.btn-contact {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 17px;
    border: 1px solid rgba(12, 24, 39, 0.12);
    border-radius: 16px;
    color: #1f293d;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(17, 17, 20, 0.06);
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.btn-contact:hover,
.btn-contact:focus-visible {
    transform: translateY(-2px);
    color: var(--ink);
    border-color: #cfd9e8;
    box-shadow: 0 14px 28px rgba(17, 17, 20, 0.1);
}

.btn-contact-icon {
    display: inline-grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    flex: 0 0 26px;
}

.btn-contact-icon svg {
    width: 16px;
    height: 16px;
    fill: #ffffff;
}

.btn-contact-icon-phone {
    background: linear-gradient(180deg, #1f293d 0%, #111827 100%);
}

.btn-contact-icon-telegram {
    background: linear-gradient(180deg, #37aee2 0%, #1e96d4 100%);
}

@media (max-width: 640px) {
    .hero-actions-secondary {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .btn-contact {
        min-height: 54px;
        padding-inline: 12px;
    }
}

.btn-contact-icon-phone {
    background: linear-gradient(180deg, #34c759 0%, #18a84a 100%);
}

/* Home section eyebrow should stay cyan */
.visual-story-section .eyebrow {
    color: var(--cyan);
}
/* Lower the hero screenshots a bit after shortening the offer */
.hero-product .hero-visual {
    padding-top: 34px;
}

@media (max-width: 1060px) {
    .hero-product .hero-visual {
        padding-top: 12px;
    }
}
/* Force cyan label on the homepage work section */
.hero-product + .visual-story-section .eyebrow {
    color: #27d6f2 !important;
}
/* Unified top labels across the whole site */
.eyebrow,
.visual-story-section .eyebrow,
.hero-product + .visual-story-section .eyebrow,
.page-template-page-solutions .eyebrow,
.case-media-label,
.page-template-page-solutions .case-media-label,
.formats-section .format-card.is-premium .eyebrow {
    color: var(--cyan) !important;
}
/* Apple-like blue tone experiment */
:root {
    --apple-sky: #dff7ff;
    --apple-sky-soft: #f0fbff;
    --apple-blue: #0071e3;
    --apple-blue-deep: #005bbd;
}

body {
    background: #f6fbff;
}

.hero-product {
    background:
        linear-gradient(122deg, rgba(213, 246, 255, 0.86) 0%, rgba(255, 255, 255, 0) 42%),
        linear-gradient(180deg, #ffffff 0%, #ebfaff 58%, #f8fcff 100%) !important;
}

.hero-product::before {
    border-color: rgba(0, 113, 227, 0.08) !important;
}

.hero-product::after {
    border-color: rgba(0, 113, 227, 0.1) !important;
}

.hero-product + .visual-story-section,
.custom-build-section,
.quiz-section {
    background:
        linear-gradient(128deg, rgba(218, 247, 255, 0.72) 0%, rgba(255, 255, 255, 0) 46%),
        linear-gradient(180deg, #fbfeff 0%, #edfaff 100%) !important;
}

.visual-story-section,
.formats-section {
    background: linear-gradient(180deg, #ffffff 0%, #eefaff 100%) !important;
}

.format-card,
.feature-card,
.solution-card,
.custom-function-list article,
.visual-card,
.case-points span,
.scenario-list article,
.steps article,
.timeline article {
    border-color: rgba(0, 113, 227, 0.13) !important;
    box-shadow: 0 22px 64px rgba(0, 113, 227, 0.08) !important;
}

.button-primary,
.format-apply,
.quiz-submit {
    background: linear-gradient(180deg, #1688ff 0%, var(--apple-blue) 100%) !important;
    box-shadow: 0 18px 46px rgba(0, 113, 227, 0.26) !important;
}

.button-primary:hover,
.button-primary:focus-visible,
.format-apply:hover,
.format-apply:focus-visible,
.quiz-submit:hover,
.quiz-submit:focus-visible {
    background: linear-gradient(180deg, #0a7cf3 0%, var(--apple-blue-deep) 100%) !important;
}

.hero-choice-line,
.eyebrow,
.case-media-label {
    color: #00b8e6 !important;
}

.btn-contact,
.hero-proof span,
.case-media-label {
    border-color: rgba(0, 113, 227, 0.16) !important;
    background-color: rgba(255, 255, 255, 0.86) !important;
}

/* Custom function checklist */
.custom-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.custom-check-grid article {
    display: flex;
    flex-direction: column;
    min-height: 216px;
    padding: 24px;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 252, 255, 0.9));
}

.custom-function-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.custom-check-grid .custom-function-head span {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: var(--apple-blue);
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(0, 113, 227, 0.14);
    font-size: 14px;
    font-weight: 950;
    letter-spacing: 0;
}

.custom-check-grid .custom-function-head b {
    color: var(--ink);
    font-size: 22px;
    line-height: 1.08;
}

.custom-check-list {
    display: grid;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.custom-check-list li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-items: start;
    color: var(--graphite);
    font-size: 17px;
    font-weight: 850;
    line-height: 1.28;
}

.custom-check-list li::before {
    content: "✓";
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(180deg, #1688ff 0%, var(--apple-blue) 100%);
    box-shadow: 0 8px 18px rgba(0, 113, 227, 0.22);
    font-size: 11px;
    font-weight: 950;
}

@media (max-width: 1060px) {
    .custom-check-grid {
        grid-template-columns: 1fr;
    }

    .custom-check-grid article {
        min-height: 0;
    }
}

@media (max-width: 520px) {
    .custom-check-grid article {
        padding: 20px;
        border-radius: 22px;
    }

    .custom-check-grid .custom-function-head b {
        font-size: 21px;
    }

    .custom-check-list li {
        font-size: 16px;
    }
}
/* Standardize cyan label sizing across the site */
.eyebrow,
.hero-choice-line,
.case-media-label,
.solutions-case-caption {
    font-size: 16px !important;
    line-height: 1.45 !important;
}

@media (max-width: 860px) {
    .eyebrow,
    .hero-choice-line,
    .case-media-label,
    .solutions-case-caption {
        font-size: 14px !important;
    }
}

.footer-legal {
    padding: 0 0 42px;
}

.footer-legal p {
    margin: 0;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    color: #344960;
    font-size: 15px;
    line-height: 1.65;
}

/* Final mobile layout polish */
@media (max-width: 900px) {
    .section, .page-section { padding-top: 86px; padding-bottom: 86px; }
    .section-head, .page-hero-copy, .hero-copy { margin-bottom: 32px; }
    .hero-grid, .page-hero-grid, .quiz-grid, .case-grid, .mobile72-clean-card, .custom-build-grid, .showcase-grid { gap: 34px; }
    .hero-visual, .case-media, .solutions-case-media { width: min(100%, 460px); margin-inline: auto; }
    .app-preview-stack { width: min(100%, 440px); min-height: 470px; margin-inline: auto; }
    .phone-shot-login { width: 45%; }
    .phone-shot-chat { width: 58%; }
    .case-shots { min-height: 520px; }
    .visual-story-grid, .feature-grid, .custom-check-grid, .pricing-grid, .steps.steps-visual { gap: 18px; }
    .format-card, .visual-story-card, .feature-card, .steps-visual article { min-height: 0; }
    .mobile72-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 640px) {
    .container { width: calc(100% - 28px); margin-inline: 14px; }
    .section, .page-section { padding-top: 74px; padding-bottom: 74px; }
    .hero-product, .page-hero { padding-top: 54px; padding-bottom: 62px; }
    .hero-product h1, .page-hero h1 { font-size: clamp(34px, 10vw, 46px); line-height: 1.04; }
    h2, .section-title { font-size: clamp(30px, 8.4vw, 40px); line-height: 1.07; }
    .hero-lead, .section-copy, .page-hero p, .hero-copy p, .footer-legal p { font-size: 17px; line-height: 1.5; }
    .hero-actions, .mobile72-actions { grid-template-columns: 1fr; width: 100%; }
    .hero-actions .button, .mobile72-actions .button, .format-card .button { width: 100%; }
    .app-preview-stack { min-height: 410px; }
    .case-shots { min-height: 410px; }
    .case-shot-main { width: 60%; }
    .case-shot-side { width: 48%; }
    .visual-story-card, .feature-card, .format-card, .custom-check-grid article, .contact-panel, .svoi-quiz, .steps-visual article { padding: 20px; border-radius: 20px; }
    .steps-visual article .step-media, .visual-story-card .feature-card-media { height: 210px; }
    .footer-grid { gap: 28px; }
}
@media (max-width: 420px) {
    .container { width: calc(100% - 24px); margin-inline: 12px; }
    .section, .page-section { padding-top: 64px; padding-bottom: 64px; }
    .hero-product h1, .page-hero h1 { font-size: 34px; }
    h2, .section-title { font-size: 29px; }
    .eyebrow, .hero-choice-line, .case-media-label, .solutions-case-caption { font-size: 13px !important; }
    .app-preview-stack { min-height: 365px; }
    .phone-shot-login { width: 46%; }
    .phone-shot-chat { width: 60%; }
    .case-shots { min-height: 365px; }
    .visual-story-card, .feature-card, .format-card, .custom-check-grid article, .contact-panel, .svoi-quiz, .steps-visual article { padding: 18px; }
    .custom-check-list li, .format-card li, .steps-visual article p, .visual-story-card p { font-size: 16px; }
}

#quiz { scroll-margin-top: 88px; }


/* Elektron-Nik header lockup */
.site-header .brand {
    gap: 10px;
}

.site-header .brand-mark {
    position: relative;
    display: block;
    width: 58px;
    height: 50px;
    flex: 0 0 58px;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
}

.site-header .brand-mark img {
    position: absolute;
    top: -34px;
    left: -10px;
    width: 190px;
    max-width: none;
    height: auto;
}

.site-header .brand-text {
    color: var(--ink);
    font-size: 17px;
    line-height: 1.15;
    letter-spacing: 0;
    white-space: nowrap;
}

.site-header .brand-text strong {
    color: var(--apple-blue);
    font-weight: 900;
}

@media (max-width: 820px) {
    .site-header .brand { gap: 7px; }
    .site-header .brand-mark { width: 48px; height: 42px; flex-basis: 48px; }
    .site-header .brand-mark img { width: 158px; top: -28px; left: -8px; }
    .site-header .brand-text { font-size: 14px; }
}

@media (max-width: 380px) {
    .site-header .brand-mark { width: 44px; flex-basis: 44px; }
    .site-header .brand-mark img { left: -9px; }
    .site-header .brand-text { font-size: 13px; }
}
/* Mobile-first hero refinement */
.hero-lead-mobile { display: none; }

@media (max-width: 640px) {
    .site-header .header-inner {
        min-height: 68px;
        gap: 8px;
    }

    .site-header .brand-mark {
        width: 42px;
        height: 38px;
        flex-basis: 42px;
    }

    .site-header .brand-mark img {
        width: 145px;
        top: -26px;
        left: -8px;
    }

    .site-header .brand-text {
        max-width: 205px;
        font-size: 13px;
        line-height: 1.1;
    }

    .menu-toggle {
        width: 46px;
        height: 46px;
    }

    .hero-product {
        min-height: auto;
        padding: 34px 0 40px;
    }

    .hero-product .hero-grid {
        display: flex;
        flex-direction: column;
        gap: 22px;
    }

    .hero-product .hero-copy {
        margin: 0;
    }

    .hero-product h1 {
        max-width: 350px;
        margin: 0;
        font-size: 32px;
        line-height: 1.02;
    }

    .hero-lead-desktop { display: none; }

    .hero-product .hero-lead-mobile {
        display: block;
        margin: 18px 0 0;
        color: #24384f;
        font-size: 17px;
        line-height: 1.45;
    }

    .hero-product .hero-actions {
        margin-top: 22px;
    }

    .hero-product .hero-actions .button {
        min-height: 56px;
        padding: 15px 20px;
        font-size: 17px;
    }

    .hero-product .hero-choice-line {
        display: none;
    }

    .hero-product .hero-visual {
        width: 100%;
        margin-top: 0;
    }

    .hero-product .app-preview-stack {
        width: min(100%, 350px);
        min-height: 300px;
        margin: 0 auto;
    }

    .hero-product .phone-shot-login {
        width: 47%;
    }

    .hero-product .phone-shot-chat {
        width: 61%;
    }
}

@media (max-width: 380px) {
    .site-header .brand-text { max-width: 180px; font-size: 12px; }
    .hero-product h1 { font-size: 29px; }
    .hero-product .hero-lead-mobile { font-size: 16px; }
    .hero-product .app-preview-stack { min-height: 280px; }
}
/* Mobile menu and hero stacking */
@media (max-width: 820px) {
    .site-header {
        z-index: 1000;
    }

    .primary-nav {
        position: fixed;
        top: 76px;
        right: 12px;
        left: 12px;
        z-index: 1100;
        width: calc(100% - 24px);
        max-width: none;
        margin: 0;
        padding: 8px;
        border: 1px solid #dce7f2;
        border-radius: 16px;
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 18px 50px rgba(10, 34, 66, .18);
        backdrop-filter: blur(18px);
    }

    .primary-nav ul,
    .primary-nav .menu {
        width: 100%;
        gap: 0;
    }

    .primary-nav li + li {
        border-top: 1px solid #edf2f7;
    }

    .primary-nav a {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 48px;
        padding: 11px 14px;
        border-radius: 10px;
        font-size: 16px;
        line-height: 1.2;
    }

    .primary-nav a:hover,
    .primary-nav a:focus-visible {
        background: #eef7ff;
    }
}

@media (max-width: 640px) {
    .hero-product .hero-copy,
    .hero-product .hero-actions {
        position: relative;
        z-index: 3;
    }

    .hero-product .hero-visual {
        position: relative;
        z-index: 1;
        display: block;
        clear: both;
        width: 100%;
        margin: 8px 0 0 !important;
        padding: 0 !important;
        transform: none !important;
    }

    .hero-product .app-preview-stack {
        position: relative;
        top: auto;
        width: min(100%, 340px);
        min-height: 315px;
        margin: 0 auto;
        transform: none;
    }

    .hero-product .phone-shot-chat {
        left: 4px;
        width: 58%;
    }

    .hero-product .phone-shot-login {
        top: 18px;
        right: 4px;
        width: 44%;
    }
}
/* Compact mobile hero previews */
@media (max-width: 640px) {
    .hero-product {
        padding-top: 28px;
        padding-bottom: 34px;
    }

    .hero-product .hero-grid {
        gap: 0;
    }

    .hero-product h1 {
        max-width: 330px;
        font-size: 31px;
        line-height: 1.05;
    }

    .hero-product .hero-lead-mobile {
        max-width: 340px;
        margin-top: 16px;
        font-size: 16px;
        line-height: 1.42;
    }

    .hero-product .hero-actions {
        margin-top: 20px;
    }

    .hero-product .hero-visual {
        margin-top: 28px !important;
    }

    .hero-product .app-preview-stack {
        width: min(100%, 330px);
        height: 286px;
        min-height: 286px;
        overflow: hidden;
        border-radius: 24px;
    }

    .hero-product .phone-shot {
        height: 270px;
        aspect-ratio: auto;
        border-radius: 20px;
        box-shadow: 0 18px 44px rgba(7, 35, 74, .16);
    }

    .hero-product .phone-shot img {
        height: 100%;
        object-fit: cover;
        object-position: top center;
    }

    .hero-product .phone-shot-chat {
        bottom: -8px;
        left: 8px;
        width: 52%;
        transform: rotate(-1.5deg);
    }

    .hero-product .phone-shot-login {
        top: 8px;
        right: 8px;
        width: 45%;
        transform: rotate(1.5deg);
    }
}

@media (max-width: 380px) {
    .hero-product h1 {
        font-size: 28px;
    }

    .hero-product .app-preview-stack {
        height: 264px;
        min-height: 264px;
    }

    .hero-product .phone-shot {
        height: 250px;
    }
}
/* Mobile hero rhythm alignment */
@media (max-width: 640px) {
    .hero-product .container {
        width: calc(100% - 40px);
        margin-inline: 20px;
    }

    .hero-product {
        padding: 30px 0 28px;
    }

    .hero-product .hero-grid,
    .hero-product .hero-copy {
        display: block;
    }

    .hero-product h1 {
        width: 100%;
        max-width: none;
        margin: 0;
        font-size: 30px;
        line-height: 1.08;
    }

    .hero-product .hero-lead-mobile {
        width: 100%;
        max-width: none;
        margin: 24px 0 0;
        font-size: 16px;
        line-height: 1.48;
    }

    .hero-product .hero-actions {
        width: 100%;
        margin: 28px 0 0;
        padding: 0;
    }

    .hero-product .hero-actions .button {
        width: 100%;
        min-height: 54px;
        padding: 14px 18px;
        font-size: 16px;
        border-radius: 12px;
    }

    .hero-product .hero-visual {
        width: 100%;
        max-width: none;
        margin: 22px 0 0 !important;
    }

    .hero-product .app-preview-stack {
        width: 100%;
        height: 260px;
        min-height: 260px;
        margin: 0;
        border-radius: 20px;
    }

    .hero-product .phone-shot {
        height: 248px;
        border-radius: 18px;
    }

    .hero-product .phone-shot-chat {
        bottom: -4px;
        left: 4px;
        width: 51%;
    }

    .hero-product .phone-shot-login {
        top: 4px;
        right: 4px;
        width: 45%;
    }
}

@media (max-width: 380px) {
    .hero-product .container {
        width: calc(100% - 32px);
        margin-inline: 16px;
    }

    .hero-product h1 {
        font-size: 27px;
    }

    .hero-product .hero-lead-mobile {
        font-size: 15px;
    }

    .hero-product .app-preview-stack {
        height: 240px;
        min-height: 240px;
    }

    .hero-product .phone-shot {
        height: 230px;
    }
}
/* Mobile hero CTA follows the product preview */
.hero-actions-mobile { display: none; }
@media (max-width: 640px) {
  .hero-product .hero-copy > .hero-actions { display: none; }
  .hero-product .hero-actions-mobile { display: flex; width: 100%; margin: 18px 0 0; padding: 0; }
  .hero-product .hero-actions-mobile .button { width: 100%; min-height: 54px; padding: 14px 18px; font-size: 16px; border-radius: 12px; }
}

/* Mobile hero: one complete product screen */
@media (max-width: 640px) {
  .hero-product .app-preview-stack {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: auto;
    min-height: 0;
    padding: 0;
  }

  .hero-product .phone-shot-login {
    display: none;
  }

  .hero-product .phone-shot-chat {
    position: relative;
    inset: auto;
    width: min(76%, 285px);
    height: auto;
    aspect-ratio: 945 / 1680;
    transform: none;
    border-radius: 22px;
    box-shadow: 0 22px 48px rgba(20, 59, 120, 0.16);
  }

  .hero-product .phone-shot-chat img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
  }
}
/* Mobile hero lead readability */
@media (max-width: 640px) {
  .hero-product .hero-copy .hero-lead-mobile {
    font-size: 19px;
    line-height: 1.48;
    font-weight: 500;
    color: #24364f;
  }
}
/* Keep every mobile section centered on wider phones as well. */
@media (max-width: 640px) {
  .container,
  .narrow {
    width: calc(100% - 28px);
    max-width: none;
    margin-right: 14px;
    margin-left: 14px;
  }

  .visual-story-grid,
  .custom-build-grid,
  .steps.steps-visual,
  .quiz-grid {
    width: 100%;
    min-width: 0;
  }

  .visual-story-card,
  .custom-build-grid > *,
  .steps-visual article,
  .svoi-quiz {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
}

@media (max-width: 420px) {
  .container,
  .narrow {
    width: calc(100% - 24px);
    margin-right: 12px;
    margin-left: 12px;
  }
}
/* Blend the supplied logo's white canvas into the header background. */
.site-header .brand-mark { background: transparent !important; box-shadow: none !important; }
.site-header .brand-mark img { mix-blend-mode: multiply; }


/* Use the dedicated transparent logo mark without source-image cropping. */
.site-header .brand-mark {
  width: 58px;
  height: 50px;
  overflow: visible;
}
.site-header .brand-mark img {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: normal;
}
@media (max-width: 820px) {
  .site-header .brand-mark { width: 48px; height: 42px; }
}
@media (max-width: 640px) {
  .site-header .brand-mark { width: 42px; height: 38px; }
}
/* Mobile quiz: equal side gutters and no horizontal overflow. */
@media (max-width: 640px) {
  #quiz,
  #quiz .container,
  #quiz .quiz-grid,
  #quiz .svoi-quiz,
  #quiz .quiz-step,
  #quiz .quiz-result-card,
  #quiz .quiz-contact-fields,
  #quiz .quiz-actions {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }

  #quiz .quiz-grid {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  #quiz .svoi-quiz {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    overflow-x: clip;
    overflow-y: visible;
  }

  #quiz .quiz-contact-fields {
    width: 100%;
    scroll-margin-top: 88px;
  }

  #quiz .quiz-result-card {
    width: 100%;
    padding: 18px;
  }

  #quiz .quiz-result-list,
  #quiz .quiz-result-list li,
  #quiz label,
  #quiz input,
  #quiz textarea,
  #quiz button {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 420px) {
  #quiz .quiz-grid {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  #quiz .quiz-contact-fields {
    width: 100%;
    scroll-margin-top: 88px;
  }

  #quiz .quiz-result-card {
    padding: 16px;
  }
}


/* Mobile quiz alignment and reliable contact reveal in in-app browsers. */
@media (max-width: 640px) {
    .container,
    .narrow,
    #quiz .container {
        width: calc(100% - 28px);
        max-width: none;
        margin-right: auto;
        margin-left: auto;
    }

    #quiz .quiz-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        margin: 0;
        gap: 28px;
    }

    #quiz .svoi-quiz,
    #quiz .quiz-step,
    #quiz .quiz-result-card,
    #quiz .quiz-contact-fields,
    #quiz .quiz-actions {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    #quiz .svoi-quiz {
        overflow: visible;
    }

    #quiz .quiz-contact-fields {
        scroll-margin-top: 96px;
    }
}


/* Compact consent control: small visual checkbox with a comfortable touch target. */
.quiz-step .quiz-consent {
    gap: 4px;
}

.quiz-step .quiz-consent-label {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 44px;
    padding: 6px 2px;
    border: 0;
    border-radius: 8px;
    background: transparent;
}

.quiz-step .quiz-consent-label:hover,
.quiz-step .quiz-consent-label:focus-within,
.quiz-consent-input:focus-visible + .quiz-consent-label {
    border-color: transparent;
    background: rgba(35, 87, 255, 0.045);
    box-shadow: none;
}

.quiz-consent-box {
    width: 22px;
    height: 22px;
    border: 1.5px solid rgba(11, 25, 46, 0.34);
    border-radius: 6px;
    box-shadow: none;
}

.quiz-consent-input:checked + .quiz-consent-label .quiz-consent-box::after {
    left: 6px;
    top: 3px;
    width: 7px;
    height: 12px;
    border-width: 0 2px 2px 0;
}

.quiz-consent-copy {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
}

.quiz-consent-policy {
    margin-left: 34px;
    padding: 5px 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
}

@media (max-width: 640px) {
    .quiz-step .quiz-consent-label {
        min-height: 48px;
        padding: 7px 2px;
    }

    .quiz-consent-copy {
        font-size: 15px;
    }

    .quiz-consent-policy {
        margin-left: 34px;
        font-size: 13px;
    }
}

@media (max-width: 420px) {
    .quiz-step .quiz-consent-label {
        grid-template-columns: 24px minmax(0, 1fr);
        gap: 9px;
    }

    .quiz-consent-copy {
        font-size: 14px;
    }
}
/* Align the consent checkmark consistently across mobile browsers. */
.quiz-consent-input:checked + .quiz-consent-label .quiz-consent-box::after {
    left: 0;
    top: 0;
    width: 19px;
    height: 20px;
    border: 0;
    content: "✓";
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    transform: none;
}
/* Neutral text-only brand lockup. */
.site-header .brand-mark,
.footer-brand .brand-mark {
    display: none;
}
/* Header typography lockup: Разработка мессенджеров. */
.site-header .brand-text {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    color: var(--ink);
    line-height: 1;
    white-space: nowrap;
}

.site-header .brand-text small {
    color: #4a5f78;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.28em;
    line-height: 1.2;
}

.site-header .brand-text strong {
    position: relative;
    display: inline-block;
    padding-bottom: 7px;
    color: var(--ink);
    font-size: 25px;
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 1;
}

.site-header .brand-text strong::after {
    position: absolute;
    right: 28%;
    bottom: 0;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #087cf0 0%, rgba(8, 124, 240, 0) 100%);
    content: "";
}

@media (max-width: 820px) {
    .site-header .brand-text small {
        font-size: 8px;
        letter-spacing: 0.23em;
    }

    .site-header .brand-text strong {
        font-size: 20px;
    }
}

@media (max-width: 420px) {
    .site-header .brand-text strong {
        font-size: 18px;
    }
}
/* Post-launch support uses the existing card and FAQ design language. */
.support-section {
    scroll-margin-top: 88px;
    background: var(--paper);
}

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

.support-card {
    min-width: 0;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-soft);
}

.support-number {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.support-card h3 {
    margin-bottom: 16px;
    font-size: 25px;
    line-height: 1.1;
}

.support-card p {
    color: var(--steel);
    font-size: 18px;
    line-height: 1.48;
}

.support-actions {
    margin-top: 34px;
}

.support-actions .button {
    max-width: 100%;
}

.support-faq {
    background: #e9eef5;
}

.support-faq summary:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
    border-radius: var(--radius-lg);
}

@media (max-width: 1000px) {
    .support-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .support-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .support-card {
        padding: 22px;
        border-radius: 20px;
    }

    .support-number {
        margin-bottom: 22px;
    }

    .support-card h3 {
        font-size: 23px;
    }

    .support-actions .button {
        width: 100%;
    }

    .support-faq summary {
        padding: 22px 20px;
        font-size: 18px;
        line-height: 1.4;
    }

    .support-faq details p {
        padding: 0 20px 22px;
    }
}
