/* Pixnative – proposal 2: bold and dark. System fonts only, no build step. */
:root {
    --bg: #07070d;
    --bg-raise: #101019;
    --bg-panel: #161624;
    --text: #f4f3fb;
    --muted: #b4b3c6;
    --line: #2a2a3d;
    --violet: #7c3aed;
    --blue: #1d6bff;
    --cyan: #4cc9ff;
    --on-cyan: #04060c;
    --hover-bg: #fff;
    --hover-text: #04060c;
    --header-bg: rgba(7, 7, 13, 0.88);
    --line-strong: #55557a;
    --dim: #26264a;
    --stroke: #8a8ab4;
    --accent-gradient: linear-gradient(135deg, var(--violet), var(--blue) 55%, #4cc9ff);
    color-scheme: dark;
    --error: #ff8f8f;
    --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --space-1: 0.5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 3rem;
    --space-5: 5rem;
    --radius: 14px;
    --width: 1200px;
    --size-huge: clamp(2.6rem, 9.5vw, 7.5rem);
    --size-big: clamp(2rem, 6vw, 4.5rem);
}

@media (prefers-color-scheme: light) {
    :root {
        --error: #b42318;
        --bg: #fbfbfe;
        --bg-raise: #f0f0f8;
        --bg-panel: #fff;
        --text: #14141f;
        --muted: #4a4a63;
        --line: #d4d4e4;
        --cyan: #0b5bd3;
        --on-cyan: #fff;
        --hover-bg: #14141f;
        --hover-text: #fff;
        --header-bg: rgba(251, 251, 254, 0.9);
        --line-strong: #7c7c9c;
        --dim: #dcdcf0;
        --stroke: #6a6a92;
        --accent-gradient: linear-gradient(135deg, #6d28d9, #1d4ed8 55%, #0369a1);
        color-scheme: light;
    }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; overflow-x: clip; max-width: 100%; }
img, svg { max-width: 100%; }
a { color: var(--cyan); text-underline-offset: 0.2em; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.04; margin: 0 0 var(--space-2); letter-spacing: -0.03em; font-weight: 800; }
h1 { font-size: var(--size-huge); letter-spacing: -0.045em; }
h2 { font-size: var(--size-big); }
h3 { font-size: 1.4rem; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0 0 var(--space-2); }
.container { width: min(100% - 2.5rem, var(--width)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--cyan); color: var(--on-cyan); padding: 0.6rem 1rem; z-index: 100; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.note { color: var(--muted); font-size: 0.95rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 0 var(--space-2); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.eyebrow::before { content: ""; width: 0.7rem; height: 0.7rem; border-radius: 3px; background: var(--accent-gradient); }
.lead { font-size: clamp(1.15rem, 2.4vw, 1.5rem); line-height: 1.45; color: var(--muted); max-width: 38rem; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-3) 0 0; }
@media (max-width: 480px) { .hero .actions .button { flex: 1 1 100%; } }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 3.25rem; padding: 0.7rem 1.6rem; border: 2px solid var(--cyan); border-radius: 999px; background: var(--cyan); color: var(--on-cyan); font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; transition: transform 0.2s, background-color 0.2s, color 0.2s, border-color 0.2s; }
.button:hover { background: var(--hover-bg); border-color: var(--hover-bg); color: var(--hover-text); transform: translateY(-2px); }
.button::after { content: "→"; transition: transform 0.2s; }
.button:hover::after { transform: translateX(4px); }
.button-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.button-ghost:hover { background: transparent; color: var(--cyan); border-color: var(--cyan); }
.button-small { min-height: 2.5rem; padding: 0.35rem 1.1rem; font-size: 0.95rem; }
.button-small::after, .button-nav::after { content: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.5rem; gap: var(--space-2); }
.brand img { display: block; width: 8.5rem; height: auto; }
.brand .logo-light { display: none; }
@media (prefers-color-scheme: light) {
    .brand .logo-dark { display: none; }
    .brand .logo-light { display: block; }
}
.nav-toggle { display: none; background: none; border: 2px solid var(--line-strong); border-radius: 10px; color: var(--text); width: 2.9rem; height: 2.9rem; cursor: pointer; align-items: center; justify-content: center; }
.main-nav ul { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.main-nav a:not(.button) { display: block; padding: 0.5rem 0.9rem; color: var(--text); text-decoration: none; font-weight: 600; border-radius: 999px; position: relative; }
.main-nav a:not(.button):hover { color: var(--cyan); }
.main-nav a[aria-current="page"]:not(.button) { color: var(--cyan); }
.main-nav a[aria-current="page"]:not(.button)::after { content: ""; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.1rem; height: 3px; border-radius: 2px; background: var(--accent-gradient); }
.button-nav { margin-left: 0.5rem; }
@media (min-width: 860px) { .header-tools { order: 3; } }
@media (max-width: 859px) {
    .nav-toggle { display: inline-flex; }
    .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); padding: var(--space-2) 1.25rem var(--space-3); }
    .main-nav.is-open { display: block; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav a:not(.button) { font-size: 1.5rem; font-weight: 800; padding: 0.7rem 0; border-bottom: 1px solid var(--line); border-radius: 0; }
    .main-nav a[aria-current="page"]:not(.button)::after { content: none; }
    .button-nav { margin: var(--space-2) 0 0; width: 100%; }
}

/* Pixel motif: the loose pixel of the logo */
.pixel-art { position: relative; z-index: 1; }
.pixel-art svg { display: block; width: 100%; height: auto; overflow: visible; }
.loose-pixel { transform-box: fill-box; transform-origin: center; animation: drift 7s ease-in-out infinite; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(-18px, 14px) rotate(-6deg); } }
.pixel-field { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; opacity: 0.45; mask-image: radial-gradient(ellipse at 75% 40%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 75% 40%, #000 0%, transparent 70%); }
.pixel-cluster { display: grid; gap: 6px; width: min(100%, 22rem); }
.pixel-cluster.cols-3 { grid-template-columns: repeat(3, 1fr); }
.pixel-cluster.cols-4 { grid-template-columns: repeat(4, 1fr); }
.pixel-cluster i { aspect-ratio: 1; border-radius: 22%; background: var(--bg-panel); }
.pixel-cluster i.on { background: var(--accent-gradient); }
.pixel-cluster i.dim { background: var(--dim); }
.pixel-cluster i.off { visibility: hidden; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: var(--space-4) 0 var(--space-5); border-bottom: 1px solid var(--line); }
.hero-inner { position: relative; z-index: 1; display: grid; gap: var(--space-3); align-items: center; }
.hero h1 { margin-bottom: var(--space-3); hyphens: manual; overflow-wrap: normal; text-wrap: balance; }
.hero h1 em { font-style: normal; background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-visual { min-width: 0; }
.hero { padding: var(--space-3) 0 var(--space-4); }
.hero-home h1 { font-size: clamp(2.1rem, 8vw, 3.4rem); line-height: 1.08; }
.hero-home .hero-visual { position: absolute; right: -2rem; top: -1rem; width: 7rem; opacity: 0.22; z-index: 0; }
.hero-home .hero-text { position: relative; z-index: 1; }
@media (min-width: 900px) {
    .hero { padding: var(--space-4) 0; }
    .hero-inner { grid-template-columns: 1.35fr 1fr; gap: var(--space-4); }
    .hero-home { display: flex; align-items: center; }
    .hero-home .hero-inner { width: min(100% - 2.5rem, var(--width)); }
    .hero-home h1 { font-size: clamp(2.8rem, 5vw, 4.6rem); }
    .hero-home .hero-visual { position: static; width: 100%; max-width: 18rem; justify-self: end; opacity: 0.85; }
}
.hero-page .hero-inner { grid-template-columns: 1fr; }
.hero-page h1 { font-size: clamp(2.2rem, 8vw, 4rem); }
.hero-page .hero-visual { position: absolute; right: -2rem; top: 1.5rem; width: 7rem; opacity: 0.12; z-index: 0; }
.hero-page .hero-text { position: relative; z-index: 1; }
.hero-page { --hero-art: 7rem; }
.hero-page .pixel-cluster { --cell: calc((var(--hero-art) - 18px) / 4); width: auto; grid-template-columns: repeat(var(--cols), var(--cell)); justify-content: end; }
.hero-page .pixel-cluster.cols-3 { --cols: 3; }
.hero-page .pixel-cluster.cols-4 { --cols: 4; }
@media (min-width: 900px) {
    .hero-page { --hero-art: clamp(10rem, 22vw, 18rem); }
    .hero-page .hero-inner { grid-template-columns: minmax(0, 1fr) clamp(10rem, 22vw, 18rem); gap: var(--space-4); }
    .hero-page .hero-text { max-width: 52rem; }
    .hero-page h1 { font-size: clamp(2.6rem, 4.6vw, 4.6rem); }
    .hero-page .hero-visual { position: static; width: 100%; opacity: 1; justify-self: end; }
}

/* Sections */
.section { padding: var(--space-5) 0; }
.section-panel { background: var(--bg-raise); border-block: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: var(--space-4); }

/* Service rows */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row { display: grid; gap: var(--space-1) var(--space-3); padding: var(--space-3) 0; border-bottom: 1px solid var(--line); transition: padding-left 0.3s, background-color 0.3s; }
.row:hover { padding-left: 1rem; background: linear-gradient(90deg, rgba(124, 58, 237, 0.14), transparent 70%); }
.row-no { font-size: 1rem; font-weight: 800; color: var(--cyan); letter-spacing: 0.1em; }
.row h3 { font-size: clamp(1.8rem, 5vw, 3.2rem); letter-spacing: -0.035em; line-height: 1.05; margin: 0; }
.row p { margin: 0; color: var(--muted); }
@media (min-width: 800px) {
    .row { grid-template-columns: 4rem 1.2fr 1fr; align-items: baseline; padding: var(--space-4) 0; }
}

/* Concept gallery */
.concepts { position: relative; display: flex; gap: var(--space-3); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 var(--space-2); margin: 0; scrollbar-color: var(--cyan) var(--bg-panel); }
.concept { flex: 0 0 min(84%, 24rem); margin: 0; scroll-snap-align: start; display: flex; flex-direction: column; gap: var(--space-2); }
.concept:nth-child(2) { margin-top: var(--space-4); }
.concept .browser { transition: transform 0.3s; }
.concept:hover .browser { transform: translateY(-6px) rotate(-0.6deg); }
.concept figcaption { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; min-height: 8rem; }
.concept figcaption .note { color: var(--muted); }
.concept .concept-open { margin-top: auto; }
@media (min-width: 1000px) {
    .concepts { overflow: visible; }
    .concept { flex: 1 1 0; }
}
.concept-frame { aspect-ratio: 4 / 5.5; }

/* FAQ */
.faq-layout { display: grid; gap: var(--space-3); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: var(--space-2) 2.5rem var(--space-2) 0; font-size: 1.25rem; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.25rem; top: 0.7rem; font-size: 1.8rem; color: var(--cyan); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); max-width: 40rem; }
@media (min-width: 900px) { .faq-layout { grid-template-columns: 1fr 1.3fr; gap: var(--space-4); } }

/* Big CTA surface */
.cta { position: relative; overflow: hidden; padding: var(--space-5) 0; background: var(--accent-gradient); color: #fff; }
.cta h2 { font-size: clamp(1.6rem, 7vw, 6rem); letter-spacing: -0.045em; max-width: 20ch; hyphens: auto; }
.cta .lead { color: #fff; }
.cta .note { color: #f0eefc; }
.cta .button { background: #07070d; border-color: #07070d; color: #fff; }
.cta .button:hover { background: #fff; border-color: #fff; color: #07070d; }
.cta .button-ghost { background: transparent; border-color: #fff; color: #fff; }
.cta .button-ghost:hover { background: #fff; color: #07070d; }
.cta .pixel-cluster { position: absolute; right: -3rem; bottom: -3rem; width: 14rem; opacity: 0.35; }
.cta .pixel-cluster i { background: rgba(255, 255, 255, 0.4); }
.cta .pixel-cluster i.on { background: #fff; }
.cta .pixel-cluster i.dim { background: rgba(255, 255, 255, 0.15); }
.cta .container { position: relative; z-index: 1; }
@media (min-width: 900px) { .cta .container { padding-right: 11rem; } .cta .pixel-cluster { right: -2rem; bottom: 50%; transform: translateY(50%); width: 12rem; opacity: 0.3; } }

/* Cards and steps (sub pages) */
.cards { display: grid; gap: var(--space-3); }
.card { padding: var(--space-3); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-panel); transition: transform 0.25s, border-color 0.25s; }
.card:hover { transform: translateY(-4px); border-color: var(--cyan); }
.card h2, .card h3 { margin-bottom: var(--space-1); font-size: 1.7rem; }
.card p { color: var(--muted); }
.card.track { display: flex; flex-direction: column; scroll-margin-top: 6rem; }
.card.track .actions { margin-top: auto; padding-top: var(--space-2); }
.card-featured { border: 2px solid transparent; background: linear-gradient(var(--bg-panel), var(--bg-panel)) padding-box, var(--accent-gradient) border-box; box-shadow: 0 12px 40px rgba(90, 80, 220, 0.25); }
.card-featured:hover { border-color: transparent; }
.card .badge { align-self: flex-start; margin: 0 0 var(--space-1); padding: 0.25rem 0.8rem; border-radius: 999px; background: var(--accent-gradient); color: #fff; font-size: 0.85rem; font-weight: 800; }
@media (min-width: 900px) { .cards .card-featured { margin-block: -1.5rem; padding-block: calc(var(--space-3) + 1.5rem); } }
.card-wide { padding: var(--space-4) var(--space-3); }
.card-wide h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
@media (min-width: 800px) {
    .cards { grid-template-columns: repeat(3, 1fr); }
    .cards.cards-2 { grid-template-columns: repeat(2, 1fr); }
    .cards .card:nth-child(2):not(.track) { transform: translateY(1.5rem); }
    .cards .card:nth-child(2):not(.track):hover { transform: translateY(calc(1.5rem - 4px)); }
}
.step-no { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 10px; background: var(--accent-gradient); color: #fff; font-weight: 800; }
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.process li { padding: var(--space-3); border-top: 4px solid var(--cyan); background: var(--bg-panel); border-radius: 0 0 var(--radius) var(--radius); }
.process h3 { margin-top: var(--space-2); }
.process p { color: var(--muted); margin: 0; }
@media (min-width: 800px) { .process { grid-template-columns: repeat(3, 1fr); } }
.split { display: grid; gap: var(--space-4); }
.split p { color: var(--muted); font-size: 1.2rem; }
.split h2 { font-size: clamp(1.9rem, 5vw, 3.2rem); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--space-5); } }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.checks li { position: relative; padding: var(--space-2) 0 var(--space-2) 2.2rem; border-bottom: 1px solid var(--line); color: var(--muted); }
.checks li::before { content: ""; position: absolute; left: 0; top: 1.5rem; width: 0.9rem; height: 0.9rem; border-radius: 3px; background: var(--accent-gradient); }
.checks strong { color: var(--text); }

/* AI-design story */
.story { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); }
.story-step { display: grid; gap: var(--space-2); }
.story-head { display: flex; align-items: center; gap: var(--space-2); }
.story-head h3 { margin: 0; font-size: clamp(1.8rem, 5vw, 3rem); letter-spacing: -0.035em; }
.story-body { min-width: 0; }
.story-body > p { color: var(--muted); max-width: 40rem; }
.directions { display: grid; gap: var(--space-3); margin-top: var(--space-2); }
.direction { margin: 0; }
.direction figcaption { display: flex; flex-direction: column; gap: 0.2rem; margin-top: var(--space-2); }
.direction figcaption span { color: var(--muted); }
.devices, .final { margin: 0; display: grid; gap: var(--space-2); align-items: end; }
.final { margin-top: var(--space-2); }
@media (min-width: 700px) {
    .directions { grid-template-columns: repeat(2, 1fr); }
    .directions .direction:nth-child(2) { margin-top: var(--space-4); }
    .final { grid-template-columns: 1fr minmax(150px, 28%); }
}
.final .phone { width: 60%; max-width: 240px; justify-self: center; }
@media (min-width: 700px) { .final .phone { width: 100%; } }
#proces { scroll-margin-top: 5rem; }

/* Site footer */
.site-footer { background: var(--bg-raise); border-top: 1px solid var(--line); padding: var(--space-4) 0 var(--space-3); }
.footer-grid { display: grid; gap: var(--space-3); }
.footer-emblem { width: 4rem; height: 4rem; }
.site-footer h2 { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: var(--space-1); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: 0.15rem 0; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--cyan); text-decoration: underline; }
.copyright { margin: var(--space-4) auto 0; color: var(--muted); font-size: 0.9rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; } }

.section > .container > .note { margin-top: var(--space-3); }

/* 404 */
.page-head { padding: var(--space-5) 0; }
.page-head h1 { font-size: clamp(2.4rem, 9vw, 6rem); }

/* Design concepts: sample pages in a browser frame (kept light/colourful against the dark site) */
.browser { container-type: inline-size; border-radius: 12px; overflow: hidden; border: 1px solid #3a3a58; background: #e9e8f2; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5); display: flex; flex-direction: column; }
.browser-bar { display: flex; gap: 6px; padding: 10px 12px; background: #d7d6e6; flex: none; }
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: #a6a5bf; }
.cx { --bg: #fff; --fg: #1d1d1d; --accent: #1d1d1d; --on-accent: #fff; --font: system-ui, sans-serif; background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 15px; line-height: 1.5; padding: 14px 18px 18px; text-align: left; }
.cx p { margin: 0; }
.cx-nav { display: flex; align-items: center; gap: 14px; font-size: 13px; padding-bottom: 12px; }
.cx-brand { margin-right: auto; font-size: 15px; }
.cx-nav > span:not(.cx-btn) { display: none; }
.cx-btn { display: inline-block; background: var(--accent); color: var(--on-accent); padding: 7px 14px; font-weight: 700; font-size: 13px; border-radius: 4px; white-space: nowrap; }
.cx-hero { display: grid; gap: 14px; }
.cx-copy { display: grid; gap: 10px; justify-items: start; align-content: center; }
.cx-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.cx-title { font-size: 24px; line-height: 1.15; font-weight: 800; letter-spacing: 0; }
.cx-art { display: block; width: 100%; height: auto; border-radius: 4px; object-fit: cover; }
.cx-hero > .cx-art { height: 150px; }
.cx-grid3 { display: grid; gap: 14px; margin-top: 22px; }
.cx-h { font-weight: 700; }
.cx-foot { margin-top: 22px; padding-top: 12px; font-size: 12px; opacity: 0.8; }
@container (min-width: 440px) {
    .cx-nav > span:not(.cx-btn) { display: inline; }
    .cx-hero { grid-template-columns: 1.1fr 1fr; align-items: center; }
    .cx-hero > .cx-art { height: 190px; }
    .cx-title { font-size: 28px; }
    .cx-grid3 { grid-template-columns: repeat(3, 1fr); }
}
.concept-frame .cx { flex: 1; overflow: hidden; }
.cx-craft { --bg: #17181b; --fg: #fff; --accent: #f2b705; --on-accent: #17181b; font-family: "Arial Narrow", "Helvetica Neue", Arial, sans-serif; }
.cx-craft .cx-title { text-transform: uppercase; letter-spacing: 0.01em; }
.cx-craft .cx-kicker { color: #f2b705; }
.cx-craft .cx-btn { border-radius: 0; }
.cx-craft .cx-grid3 > div { border-top: 4px solid #f2b705; padding-top: 8px; }
.cx-clinic { --bg: #fbf6ee; --fg: #2a3a35; --accent: #2f7a63; font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif; line-height: 1.65; }
.cx-clinic .cx-btn { border-radius: 999px; padding: 9px 18px; }
.cx-clinic .cx-title { font-weight: 600; }
.cx-clinic .cx-kicker { color: #2f7a63; text-transform: none; letter-spacing: 0.02em; font-size: 14px; }
.cx-clinic .cx-grid3 > div { background: #fff; border-radius: 14px; padding: 14px; }
.cx-consult { --bg: #f8f5ee; --fg: #1d1d1d; --accent: #a3361f; font-family: Georgia, "Times New Roman", serif; }
.cx-consult .cx-title { font-weight: 400; font-size: 30px; letter-spacing: -0.01em; }
.cx-consult .cx-kicker { font-family: system-ui, sans-serif; color: #a3361f; }
.cx-consult .cx-btn { border-radius: 0; font-family: system-ui, sans-serif; }
.cx-consult .cx-nav { border-bottom: 1px solid #1d1d1d; margin-bottom: 16px; }
.cx-list { list-style: none; margin: 22px 0 0; padding: 0; }
.cx-list li { display: grid; grid-template-columns: 2.5rem 1fr; padding: 10px 0; border-top: 1px solid #1d1d1d; }
.cx-list span { font-style: italic; color: #a3361f; }
.cx-plc { --bg: #fff; --fg: #111418; --accent: #0083b8; font-family: "Segoe UI", system-ui, sans-serif; }
.cx-plc .cx-kicker { color: #006a96; }
.cx-plc .cx-btn { border-radius: 6px; }
.cx-plc .cx-nav { border-bottom: 1px solid #d5dde3; margin-bottom: 14px; }
.cx-plc .cx-grid3 > div { background: #f3f7fa; border-left: 4px solid #0083b8; border-radius: 6px; padding: 12px; }
.cx-craftlight { --bg: #f7f3ea; --fg: #24332b; --accent: #3f6b57; font-family: Georgia, "Times New Roman", serif; line-height: 1.6; }
.cx-craftlight .cx-btn { border-radius: 999px; padding: 9px 18px; font-family: system-ui, sans-serif; }
.cx-craftlight .cx-kicker { color: #3f6b57; text-transform: none; letter-spacing: 0.02em; font-size: 14px; font-family: system-ui, sans-serif; }
.cx-craftlight .cx-title { font-weight: 400; }
.cx-craftlight .cx-grid3 > div { background: #fff; border-radius: 14px; padding: 14px; }
.cx-craftlight .cx-art { border-radius: 14px; }
.phone { container-type: inline-size; border: 6px solid #2a2a3d; border-radius: 22px; overflow: hidden; background: #2a2a3d; box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5); }
.phone .cx-brand { white-space: nowrap; font-size: 12px; }
.phone .cx { font-size: 12px; padding: 10px 10px 12px; }
.phone .cx-title { font-size: 17px; }
.phone .cx-text, .phone .cx-nav .cx-btn { display: none; }
.phone .cx-btn { font-size: 11px; padding: 5px 10px; }
.final .cx-hero > .cx-art, .phone .cx-hero > .cx-art { height: auto; aspect-ratio: 4 / 3; }

/* Concept dialog */
.concept-dialog { width: min(960px, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); overflow: auto; padding: var(--space-3); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raise); color: var(--text); }
.concept-dialog::backdrop { background: rgba(0, 0, 0, 0.8); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); margin-bottom: var(--space-2); }
.dialog-head h2 { margin: 0; font-size: 1.4rem; letter-spacing: -0.01em; }
.concept-dialog .cx { font-size: 16px; padding: 20px 28px 28px; }
.concept-dialog .cx-title { font-size: 34px; }
.concept-dialog .cx-hero > .cx-art { height: 250px; }
body.dialog-open { overflow: hidden; }

/* Motion: reveal on scroll, only when JS is on and motion is allowed */
@media (prefers-reduced-motion: no-preference) {
    .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
    .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Pricing */
.price { margin: 0 0 var(--space-1); font-size: 1.2rem; }
.price strong { color: var(--text); font-size: 2.2rem; }

/* Contact page */
.contact { display: grid; gap: var(--space-4); align-items: start; }
.contact-main > * { max-width: 40rem; }
.contact-main h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.contact-form { padding: var(--space-3); border: 2px solid transparent; background: linear-gradient(var(--bg-panel), var(--bg-panel)) padding-box, var(--accent-gradient) border-box; box-shadow: 0 12px 40px rgba(90, 80, 220, 0.25); }
.contact-form:hover { border-color: transparent; }
.contact-form .field input:focus, .contact-form .field textarea:focus { outline: 3px solid var(--cyan); outline-offset: 2px; border-color: var(--cyan); }
.contact-form .button { justify-self: start; }
.contact-aside { max-width: 40rem; }
.contact-aside:hover { transform: none; }
.contact-list { margin: var(--space-2) 0 0; padding: 0; list-style: none; display: grid; gap: var(--space-1); color: var(--muted); }
.contact-list li { position: relative; padding-left: 1.6rem; }
.contact-list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.7rem; height: 0.7rem; border-radius: 3px; background: var(--accent-gradient); }
@media (min-width: 900px) {
    .contact { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
    .contact-aside { position: sticky; top: 6rem; }
}

/* Customer area */
.auth > * { max-width: 36rem; }
.auth h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.auth-form { display: grid; gap: var(--space-2); margin-bottom: var(--space-2); }
.auth-form:hover { transform: none; border-color: var(--line); }
.field label { display: block; margin-bottom: 0.35rem; font-weight: 700; }
.field input { width: 100%; min-height: 3rem; padding: 0.6rem 0.9rem; border: 2px solid var(--line-strong); border-radius: 10px; background: var(--bg-raise); color: var(--text); font: inherit; }
.field textarea { width: 100%; padding: 0.6rem 0.9rem; border: 2px solid var(--line-strong); border-radius: 10px; background: var(--bg-raise); color: var(--text); font: inherit; resize: vertical; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.field-error, .form-message-error { color: var(--error); font-weight: 600; margin: 0.35rem 0 0; }
.form-message { padding: var(--space-2); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-panel); }
.form-message-error { border-color: var(--error); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
