/* asyncta.com: clean, confident, mobile first. One accent colour, Inter, plenty of air.
   Motion: sections fade up on scroll (reveal.js), a slow glow behind the hero example and the
   accent word's underline drawn on load. All of it stops for prefers-reduced-motion. */

:root {
    --ink: #0f1a30;
    --text: #1a1d2e;
    --text-muted: #5b6075;
    --bg: #ffffff;
    --bg-tint: #f4f5fb;
    --bg-elev: #ffffff;
    --border: #e3e5ef;
    --accent: #127c70;
    --accent-dark: #0e665c;
    --accent-2: #1f2a44;
    --mint: #2bb3a3;
    --accent-soft: rgba(18, 124, 112, 0.08);

    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 1px 2px rgba(15, 26, 48, 0.05), 0 8px 24px rgba(15, 26, 48, 0.06);
    --shadow-lift: 0 2px 6px rgba(15, 26, 48, 0.06), 0 20px 44px rgba(15, 26, 48, 0.12);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;

    --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 1rem; top: -4rem; z-index: 100;
    background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; color: #fff; }

.muted { color: var(--text-muted); }
.small { font-size: 0.9rem; }
.center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 46rem; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.25rem; }
.wrap.narrow { max-width: 760px; }

/* ---------------------------------------------------------------- buttons */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    min-height: 44px; padding: 0.7rem 1.3rem;
    border: 1.5px solid transparent; border-radius: 999px;
    font: 600 1rem/1.2 var(--font); text-decoration: none; text-align: center;
    cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(18, 124, 112, 0.28); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(18, 124, 112, 0.34); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.92rem; }
.btn-lg { min-height: 52px; padding: 0.85rem 1.6rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.text-link { font-weight: 600; text-decoration: none; }
.text-link::after { content: " \203A"; }
.text-link:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- header */

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: saturate(1.4) blur(12px);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid var(--border);
}
.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand . actions" "nav nav nav";
    align-items: center; column-gap: 1rem;
    padding-top: 0.6rem; padding-bottom: 0.35rem;
}
.brand { grid-area: brand; display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-name { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.nav { grid-area: nav; display: flex; gap: 0.25rem; overflow-x: auto; margin: 0.35rem 0 0; max-width: 100%; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a {
    padding: 0.5rem 0.75rem; border-radius: 999px; white-space: nowrap;
    color: var(--text); text-decoration: none; font-weight: 500; font-size: 0.97rem;
}
.nav a:hover { background: var(--bg-tint); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.header-actions { grid-area: actions; display: flex; align-items: center; gap: 0.5rem; }
.lang-switch { display: flex; align-items: center; }
.lang-link { color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 0.85rem; letter-spacing: 0.03em; padding: 0.5rem 0.35rem; }
.lang-link:hover { color: var(--ink); }
.lang-link[aria-current="true"] { color: var(--accent); }

@media (min-width: 880px) {
    .header-inner { grid-template-areas: "brand nav actions"; padding-top: 0.75rem; padding-bottom: 0.75rem; }
    .nav { margin: 0; justify-content: center; }
}

/* ---------------------------------------------------------------- sections */

.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-top-0 { padding-top: 0; }
.section-tint { background: var(--bg-tint); }
.section-head { max-width: 44rem; margin-bottom: 2rem; }
.section-head p { color: var(--text-muted); }

.eyebrow {
    display: inline-block; margin-bottom: 1rem;
    font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    color: var(--accent);
}

.page-intro { padding: clamp(2.5rem, 6vw, 4.5rem) 0 2rem; }

/* ---------------------------------------------------------------- hero */

.hero { position: relative; overflow: hidden; padding: clamp(2rem, 6vw, 5rem) 0 clamp(1rem, 3vw, 2rem); }
.hero-inner { display: grid; gap: 2.5rem; align-items: center; }
.hero-title { font-size: clamp(2.2rem, 6.2vw, 3.9rem); line-height: 1.06; max-width: 17ch; }
.hero-lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--text-muted); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.6rem 0 0.8rem; }
.hero-note { font-size: 0.92rem; color: var(--text-muted); }

.accent-word {
    position: relative; white-space: nowrap;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.accent-word::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -0.06em; height: 0.12em; border-radius: 1em;
    background: linear-gradient(90deg, var(--accent), var(--mint));
    transform-origin: left; transform: scaleX(1);
}

/* The stage: soft lights drifting behind the hero, a dotted floor, three example windows in 3D. */
.hero { isolation: isolate; }
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: radial-gradient(rgba(15, 26, 48, 0.10) 1px, transparent 1.2px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(ellipse 60% 70% at 72% 45%, #000 10%, transparent 70%);
    mask-image: radial-gradient(ellipse 60% 70% at 72% 45%, #000 10%, transparent 70%);
}
.hero-aurora { position: absolute; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.hero-aurora span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.hero-aurora span:nth-child(1) { width: 46vmax; height: 46vmax; right: -12vmax; top: -18vmax; background: radial-gradient(circle, rgba(43, 179, 163, 0.75), transparent 65%); }
.hero-aurora span:nth-child(2) { width: 38vmax; height: 38vmax; right: 18vmax; bottom: -22vmax; background: radial-gradient(circle, rgba(31, 42, 68, 0.45), transparent 65%); }
.hero-aurora span:nth-child(3) { width: 26vmax; height: 26vmax; left: -8vmax; top: 10%; background: radial-gradient(circle, rgba(18, 124, 112, 0.30), transparent 65%); }

.hero-stage { position: relative; width: 100%; max-width: 700px; margin: 0 auto; aspect-ratio: 16 / 12.5; perspective: 1500px; }
.hero-stage::after { /* the shadow on the floor under the windows */
    content: ""; position: absolute; left: 12%; right: 8%; bottom: 1%; height: 10%; z-index: 0;
    background: radial-gradient(ellipse at center, rgba(15, 26, 48, 0.28), transparent 70%); filter: blur(10px);
}
.hero-glow {
    position: absolute; inset: 0 -4% 8%; z-index: 0; border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(43, 179, 163, 0.55), rgba(31, 42, 68, 0.35), rgba(43, 179, 163, 0.35), rgba(43, 179, 163, 0.55));
    filter: blur(56px); opacity: 0.5;
}
.stage-3d {
    position: absolute; inset: 0; z-index: 1; transform-style: preserve-3d;
    transform: rotateX(var(--rx, 4deg)) rotateY(var(--ry, -8deg));
    transition: transform .8s var(--ease);
}
.stage-win { position: absolute; width: 70%; transform-style: preserve-3d; }
.stage-win-0 { left: -10%; top: 0; transform: translateZ(-160px) rotateY(18deg); }
.stage-win-1 { right: -12%; top: 6%; transform: translateZ(-110px) rotateY(-16deg); }
.stage-win-2 { left: 10%; top: 32%; width: 78%; transform: translateZ(50px); }
.stage-win-0 .browser, .stage-win-1 .browser { filter: saturate(.85) brightness(.97); }
.browser {
    position: relative; z-index: 1;
    background: #fff; border-radius: 16px; overflow: hidden;
    border: 1px solid rgba(15, 26, 48, 0.08);
    box-shadow: 0 1px 2px rgba(15, 26, 48, 0.08), 0 14px 28px -10px rgba(15, 26, 48, 0.25), 0 40px 70px -24px rgba(15, 26, 48, 0.40);
}
.stage-win-2 .browser { box-shadow: 0 1px 2px rgba(15, 26, 48, 0.08), 0 20px 36px -12px rgba(15, 26, 48, 0.30), 0 60px 90px -30px rgba(15, 26, 48, 0.50), 0 0 0 1px rgba(43, 179, 163, 0.18); }
.stage-win-2 .browser::after { /* a light sweeping across the front window */
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.55) 48%, transparent 60%);
    transform: translateX(-120%);
}
.browser-bar { display: flex; gap: 6px; padding: 9px 12px; background: linear-gradient(#f6f7fb, #eceef5); border-bottom: 1px solid var(--border); }
.browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: #d4d7e3; }
.browser-bar span:nth-child(1) { background: #f08a7e; }
.browser-bar span:nth-child(2) { background: #f3c969; }
.browser-bar span:nth-child(3) { background: #6fcf97; }
.browser img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }

.stage-chip {
    position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.55rem 0.9rem; border-radius: 999px; font-size: 0.88rem; font-weight: 600; color: var(--ink);
    background: rgba(255, 255, 255, 0.82); border: 1px solid rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px -10px rgba(15, 26, 48, 0.35);
}
.stage-chip-price { right: 0; bottom: 6%; transform: translateZ(110px); flex-direction: column; align-items: flex-start; gap: 0; border-radius: 16px; }
.stage-chip-price .chip-label { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.stage-chip-price strong { font-size: 1.35rem; letter-spacing: -0.02em; color: var(--accent); }
.stage-chip-google { left: 2%; bottom: 14%; transform: translateZ(90px); color: var(--accent-dark); }
.stage-chip-google span { color: var(--ink); }

@media (min-width: 900px) {
    .hero-inner { grid-template-columns: 1fr 1.1fr; gap: 3rem; }
}

/* ---------------------------------------------------------------- benefits */

.benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.benefit {
    position: relative; overflow: hidden;
    padding: 1.6rem; border-radius: var(--radius); background: linear-gradient(180deg, #fff, #fafbfe);
    border: 1px solid var(--border); box-shadow: var(--shadow);
}
.benefit svg {
    box-sizing: content-box; padding: 12px; border-radius: 14px; margin-bottom: 1rem; color: var(--accent);
    background: linear-gradient(135deg, rgba(43, 179, 163, 0.16), rgba(31, 42, 68, 0.06));
    box-shadow: inset 0 0 0 1px rgba(18, 124, 112, 0.14), 0 8px 18px -8px rgba(18, 124, 112, 0.45);
}

/* Cards that tilt under the pointer (hero.js), with a soft light where the pointer is. */
[data-tilt] { transform-style: preserve-3d; }
[data-tilt]::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
    background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(43, 179, 163, 0.16), transparent 70%);
    transition: opacity .3s;
}
.anim-ready [data-tilt].visible { transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .7s var(--ease); }
.anim-ready [data-tilt].visible.is-tilting {
    transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-4px);
    box-shadow: var(--shadow-lift);
}
[data-tilt].is-tilting::before { opacity: 1; }
.benefit p { color: var(--text-muted); margin: 0; }
@media (min-width: 760px) { .benefits { grid-template-columns: repeat(3, 1fr); } }

/* ---------------------------------------------------------------- prices */

.price-strip { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }
.price-mini {
    position: relative; box-shadow: var(--shadow);
    display: flex; flex-direction: column; gap: 0.3rem;
    padding: 1.4rem 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--border);
}
.price-mini.is-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow); }
.price-mini-name { font-weight: 600; }
.price-mini-value { font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.price-mini-line { color: var(--text-muted); font-size: 0.95rem; }
@media (min-width: 760px) { .price-strip { grid-template-columns: repeat(3, 1fr); } }

.price-grid { display: grid; gap: 1.5rem 1.25rem; }
.price-card {
    position: relative; display: flex; flex-direction: column;
    padding: 1.8rem 1.6rem; border-radius: var(--radius-lg); background: #fff;
    border: 1px solid var(--border); box-shadow: var(--shadow);
}
.price-card.is-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-lift); }
.price-card h3 { margin-bottom: 0.4rem; }
.price { font-size: 2.4rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; margin: 0; }
.price-time { color: var(--text-muted); font-size: 0.95rem; }
.price-list-title { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin: 0.5rem 0 0.6rem; }
.price-card .check-list { margin-bottom: 1.5rem; }
.price-card .btn { margin-top: auto; }
.price-badge {
    position: absolute; top: -0.8rem; left: 1.6rem;
    background: var(--accent); color: #fff; font-size: 0.8rem; font-weight: 700;
    padding: 0.25rem 0.7rem; border-radius: 999px;
}
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }

.check-list, .plain-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.check-list li { position: relative; padding-left: 1.75rem; margin-bottom: 0.55rem; }
.check-list li::before {
    content: ""; position: absolute; left: 0; top: 0.3em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
    background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23127c70' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.plain-list li { padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.plain-list li:last-child { border-bottom: 0; }

.split { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.others { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.others li { display: flex; flex-direction: column; gap: 0.25rem; padding: 1.3rem 1.4rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--border); }
.others span { color: var(--text-muted); }
@media (min-width: 760px) { .others { grid-template-columns: repeat(3, 1fr); } }

/* ---------------------------------------------------------------- steps */

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
.step {
    position: relative; padding: 1.5rem 1.4rem 1.4rem; border-radius: var(--radius);
    background: #fff; border: 1px solid var(--border); counter-increment: step;
}
.step::before {
    content: counter(step); display: inline-grid; place-items: center;
    width: 2.2rem; height: 2.2rem; margin-bottom: 0.9rem; border-radius: 50%;
    background: var(--ink); color: #fff; font-weight: 700;
}
.step p { color: var(--text-muted); margin: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* ---------------------------------------------------------------- examples */

.example-grid { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.75rem 1.5rem; }
@media (min-width: 600px) { .example-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .example-grid { grid-template-columns: repeat(3, 1fr); } }
.example-card { display: flex; flex-direction: column; }
.example-link { display: flex; flex-direction: column; gap: 0.2rem; text-decoration: none; color: var(--text); }
.example-shot {
    position: relative; display: block; margin-bottom: 0.7rem; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s;
}
.example-shot img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.example-link:hover .example-shot { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.example-kind { font-size: 0.88rem; color: var(--text-muted); }
.example-brand { color: var(--ink); font-size: 1.05rem; }
.example-want { margin-top: 0.35rem; font-size: 0.95rem; }
.example-badge {
    position: absolute; top: 0.7rem; left: 0.7rem; z-index: 2;
    background: rgba(15, 26, 48, 0.82); color: #fff; font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.05em; text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 999px;
}
.browser .example-badge { top: 3rem; }

/* ---------------------------------------------------------------- real work (clients, not examples) */

.work-card { display: grid; gap: 1.2rem 2rem; align-items: center; }
.work-shot { position: relative; display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s; }
.work-shot img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.work-shot:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.work-text h3 { margin: 0 0 0.5rem; color: var(--ink); font-size: 1.35rem; }
.work-text p { margin: 0 0 1rem; }
.work-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem 1.2rem; }
.client-badge {
    position: absolute; top: 0.7rem; right: 0.7rem; z-index: 2;
    background: var(--accent); color: #fff; font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.05em; text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 999px;
}
@media (min-width: 820px) { .work-card { grid-template-columns: 1.1fr 1fr; } }
@media (prefers-reduced-motion: reduce) { .work-shot { transition: none; } .work-shot:hover { transform: none; } }

/* ---------------------------------------------------------------- closing call */

.final-cta {
    background: radial-gradient(ellipse 60% 80% at 50% 0%, rgba(43, 179, 163, 0.28), transparent 70%), linear-gradient(180deg, #16223d, var(--ink) 70%);
    color: #d5dbe6; position: relative; overflow: hidden;
}
.final-cta::before {
    content: ""; position: absolute; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
    right: -15vw; top: -30%; border-radius: 50%;
    background: radial-gradient(circle, rgba(43, 179, 163, 0.35), transparent 65%);
}
.final-inner { position: relative; text-align: center; max-width: 720px; }
.final-cta h2 { color: #fff; }
.final-cta p { color: #c3c7e6; font-size: 1.1rem; margin-bottom: 1.6rem; }
.final-cta .quick-contact { justify-content: center; margin-top: 1.5rem; }
.final-cta .quick-btn { color: #fff; border-color: rgba(255, 255, 255, 0.25); }
.final-cta .quick-btn:hover { border-color: #fff; }

/* ---------------------------------------------------------------- quick contact */

.quick-contact { list-style: none; margin: 1rem 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.quick-btn {
    display: inline-flex; align-items: center; gap: 0.45rem; min-height: 44px; padding: 0.55rem 1rem;
    border: 1.5px solid var(--border); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600;
}
.quick-btn:hover { border-color: var(--ink); color: var(--ink); }

/* ---------------------------------------------------------------- faq, prose */

.faq { margin-bottom: 2rem; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
    list-style: none; cursor: pointer; padding: 1.1rem 2.2rem 1.1rem 0; position: relative;
    font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+"; position: absolute; right: 0.4rem; top: 50%; transform: translateY(-50%);
    font-size: 1.4rem; font-weight: 400; color: var(--accent);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--text-muted); padding-bottom: 1rem; margin: 0; }

.industry-links { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; color: var(--text-muted); }
.cta-line { font-size: 1.1rem; font-weight: 600; color: var(--ink); }

.prose h1 { margin-bottom: 1rem; }
.prose p { color: var(--text); }

/* ---------------------------------------------------------------- forms */

input, textarea, select {
    width: 100%; font: inherit; color: var(--text);
    background: #fff; border: 1.5px solid var(--border); border-radius: 10px;
    padding: 0.7rem 0.85rem; min-height: 46px;
    transition: border-color .15s, box-shadow .15s;
}
input[type="checkbox"], input[type="radio"] { width: auto; min-height: 0; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(18, 124, 112, 0.18); }
textarea { resize: vertical; min-height: 8rem; }

.contact-layout { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1.4fr 1fr; gap: 4rem; } }
.contact-card { padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.form { display: grid; gap: 1.1rem; }
.form label { display: grid; gap: 0.35rem; }
.form label > span:first-child { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.field-error { color: #c4262e; font-size: 0.9rem; }
.validation-summary { color: #c4262e; }
.validation-summary ul { margin: 0; padding-left: 1.2rem; }
.privacy-note { font-size: 0.88rem; color: var(--text-muted); margin: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-aside h2 { font-size: 1.3rem; }
.contact-email, .contact-phone { font-size: 1.2rem; font-weight: 700; text-decoration: none; }

.liked-example {
    display: flex; align-items: center; gap: 0.9rem; padding: 0.6rem; border-radius: 12px;
    background: var(--bg-tint); border: 1px solid var(--border);
}
.liked-example img { border-radius: 8px; width: 96px; height: 60px; object-fit: cover; flex: none; }
.liked-text { display: grid; flex: 1; line-height: 1.35; }
.liked-eyebrow, .liked-kind { font-size: 0.82rem; color: var(--text-muted); }
.liked-text a { font-weight: 700; text-decoration: none; }
.liked-remove {
    flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
    border: 0; background: transparent; color: var(--text-muted); cursor: pointer;
}
.liked-remove:hover { background: #fff; color: var(--ink); }

/* ---------------------------------------------------------------- footer */

.site-footer { background: #0b1324; color: #a9aecb; font-size: 0.95rem; }
.site-footer a { color: #dfe2f7; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-cta { text-align: center; padding: 3.5rem 1.25rem 3rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer-cta-title { color: #fff; font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.4rem; }
.footer-cta-text { margin-bottom: 1.4rem; }
.site-footer .footer-cta .btn-primary { color: #fff; text-decoration: none; }
.footer-grid { display: grid; gap: 2rem; padding-top: 3rem; padding-bottom: 2rem; }
.brand-footer { color: #fff; margin-bottom: 0.8rem; }
.site-footer .brand-footer:hover { text-decoration: none; }
.footer-title { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.8rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-small { padding-top: 1.2rem; padding-bottom: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.08); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------------------------------------------------------------- motion (only with html.anim-ready) */

.anim-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.anim-ready .reveal.visible { opacity: 1; transform: none; }
.anim-ready .benefits .reveal:nth-child(2), .anim-ready .price-strip .reveal:nth-child(2), .anim-ready .steps .reveal:nth-child(2) { transition-delay: .08s; }
.anim-ready .benefits .reveal:nth-child(3), .anim-ready .price-strip .reveal:nth-child(3), .anim-ready .steps .reveal:nth-child(3) { transition-delay: .16s; }
.anim-ready .steps .reveal:nth-child(4) { transition-delay: .24s; }

.anim-ready .hero-glow { animation: glow-turn 18s linear infinite; }
@keyframes glow-turn { to { transform: rotate(1turn); } }

.anim-ready .accent-word::after { animation: underline-draw 1s .35s var(--ease) both; }
@keyframes underline-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@keyframes rise-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }

/* Home: the text comes up line by line, the windows fly into place and then float. */
.anim-ready .hero-text > * { animation: rise-in .8s var(--ease) both; }
.anim-ready .hero-text > :nth-child(2) { animation-delay: .08s; }
.anim-ready .hero-text > :nth-child(3) { animation-delay: .16s; }
.anim-ready .hero-text > :nth-child(4) { animation-delay: .24s; }
.anim-ready .hero-text > :nth-child(5) { animation-delay: .32s; }
.anim-ready .stage-float { animation: win-in 1.1s var(--ease) both, float 7s 1.2s ease-in-out infinite alternate; }
.anim-ready .stage-win-0 .stage-float { animation-delay: .25s, 1.4s; animation-duration: 1.1s, 8s; }
.anim-ready .stage-win-1 .stage-float { animation-delay: .4s, 1.6s; animation-duration: 1.1s, 9s; }
.anim-ready .stage-win-2 .stage-float { animation-delay: .1s, 1.2s; }
.anim-ready .stage-win-2 .browser::after { animation: sheen 9s 1.4s ease-in-out infinite; }
.anim-ready .stage-chip { animation: chip-in .8s var(--ease) both, float 6s 1.6s ease-in-out infinite alternate; }
.anim-ready .stage-chip-price { animation-delay: .9s, 1.8s; }
.anim-ready .stage-chip-google { animation-delay: 1.05s, 2.2s; }
.anim-ready .hero-aurora span { animation: drift 18s ease-in-out infinite alternate; }
.anim-ready .hero-aurora span:nth-child(2) { animation-duration: 23s; animation-delay: -6s; }
.anim-ready .hero-aurora span:nth-child(3) { animation-duration: 27s; animation-delay: -12s; }
@keyframes win-in { from { opacity: 0; transform: translate3d(0, 60px, -120px) rotateX(18deg); } to { opacity: 1; transform: none; } }
@keyframes chip-in { from { opacity: 0; scale: .7; } to { opacity: 1; scale: 1; } }
@keyframes float { from { translate: 0 0; } to { translate: 0 -12px; } }
@keyframes sheen { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-6vmax, 4vmax) scale(1.15); } }

/* The logo turns once on load and settles into place. */
.anim-ready .brand img { animation: logo-settle 1.2s .1s backwards; transform-origin: 50% 55%; }
@keyframes logo-settle {
    0% { opacity: 0; transform: translateY(-8px) rotate(-120deg) scale(.5); animation-timing-function: cubic-bezier(.2, .8, .3, 1); }
    55% { opacity: 1; transform: translateY(0) rotate(14deg) scale(1.08); animation-timing-function: ease-in-out; }
    75% { transform: rotate(-5deg) scale(.98); }
    90% { transform: rotate(2deg) scale(1.01); }
    100% { transform: none; }
}
.brand:hover img { transform: rotate(-8deg) scale(1.06); transition: transform .4s var(--ease); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------------------------------------------------------------- examples: 3D carousel (carousel.js)
   A dark stage in the logo colours, a teal light drifting across it, the cards on an S-shaped ribbon
   with their reflections on the floor. Without JS: a plain row that scrolls sideways. */

.carousel-section { padding: 0; }
.carousel {
    --card-w: min(64vw, calc((100svh - 14rem) * 1.18), 980px);
    position: relative; overflow: hidden; outline: none; color: #fff;
    background:
        radial-gradient(ellipse 70% 55% at 50% 36%, rgba(43, 179, 163, 0.20), transparent 70%),
        linear-gradient(180deg, #16223d 0%, var(--ink) 60%, #08101f 100%);
    padding-bottom: 1.2rem;
}
.carousel::before {
    content: ""; position: absolute; inset: -20% -10%; z-index: 0; pointer-events: none;
    background: radial-gradient(38% 48% at 50% 32%, rgba(43, 179, 163, 0.22), transparent 70%);
    animation: stage-light 16s ease-in-out infinite alternate;
}
.carousel::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 36%; z-index: 0; pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.5));
}
@keyframes stage-light { from { transform: translateX(-18%); } to { transform: translateX(18%); } }

.carousel-viewport, .carousel-controls, .carousel-hint { position: relative; z-index: 1; }
.carousel-track { list-style: none; margin: 0; padding: 1.5rem 1.2rem; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; }
.carousel-item { flex: 0 0 var(--card-w); width: var(--card-w); scroll-snap-align: center; }
.carousel-card {
    position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden;
    color: #fff; background: #1f2a44; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    -webkit-user-drag: none; user-select: none; backface-visibility: hidden;
    -webkit-box-reflect: below 3px linear-gradient(transparent 64%, rgba(255, 255, 255, 0.18));
}
.carousel-card img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; }
.carousel-caption {
    position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column;
    padding: 2rem 1rem 0.8rem; line-height: 1.25;
    background: linear-gradient(180deg, transparent, rgba(8, 16, 31, 0.85));
}
.carousel-kind { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #7fe0d4; }
.carousel-brand { font-size: 1.3rem; font-weight: 700; }
.carousel-card:focus-visible { outline: 2px solid #7fe0d4; outline-offset: 3px; }

.carousel.is-3d .carousel-viewport {
    height: calc(var(--card-w) * 0.625 * 1.22 + 2.4rem);
    perspective: 1400px; perspective-origin: 50% 40%; touch-action: pan-y; cursor: grab;
}
.carousel.is-3d .carousel-viewport:active { cursor: grabbing; }
.carousel.is-3d .carousel-track { position: absolute; inset: 0; padding: 0; display: block; overflow: visible; transform-style: preserve-3d; pointer-events: none; }
.carousel.is-3d .carousel-item {
    position: absolute; top: 2rem; left: 50%; margin-left: calc(var(--card-w) / -2);
    transform-style: preserve-3d; backface-visibility: hidden; will-change: transform; pointer-events: auto;
}
.carousel.is-3d .carousel-item.is-front .carousel-card {
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(127, 224, 212, 0.35), 0 0 60px rgba(43, 179, 163, 0.25);
}
.carousel.is-3d .carousel-item:not(.is-front) .carousel-caption { opacity: 0.7; }

.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 0.9rem; padding: 0 1rem; }
.carousel:not(.is-3d) .carousel-controls .carousel-btn { display: none; }
.carousel-btn {
    display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.06); color: #fff;
    cursor: pointer; transition: background .2s, transform .2s var(--ease);
}
.carousel-btn[hidden] { display: none; }
.carousel-btn:hover { background: rgba(43, 179, 163, 0.35); transform: scale(1.06); }
.carousel-btn:focus-visible, .carousel-want:focus-visible { outline: 2px solid #7fe0d4; outline-offset: 2px; }
.carousel-pause .icon-play, .carousel.is-paused .carousel-pause .icon-pause { display: none; }
.carousel.is-paused .carousel-pause .icon-play { display: block; }
.carousel-want { margin: 0 0.4rem; }
.carousel-hint { margin: 0.8rem 1rem 0; text-align: center; font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); }
@media (max-width: 700px) {
    .carousel { --card-w: min(84vw, 420px); }
    .carousel-brand { font-size: 1.05rem; }
    .carousel-hint { display: none; }
    .carousel-controls { flex-wrap: wrap; }
    .carousel-want { order: 3; flex-basis: 100%; text-align: center; margin: 0.4rem 0 0; }
}
@media (prefers-reduced-motion: reduce) {
    .carousel::before { animation: none; }
    .carousel-btn { transition: none; }
}
