/*
  Radial Menu landing page.
  The page is a "desktop": a Windows 11 bloom wallpaper is the stage where the live menu opens.
  Boldness lives in the stage; everything around it stays quiet.
*/

:root {
    color-scheme: dark;
    --ink: #eef0fb;
    --ink-soft: #b4b9d8;
    --ink-faint: #8b91b6;
    --mist: #0c0f1d;
    --paper: #161a2d;
    --line: #272d4a;
    --action: #0a84ff;
    --action-deep: #0068d6;
    --bloom-blue: #2f6bff;
    --bloom-violet: #7b5cff;
    --bloom-cyan: #45c8ff;

    --display: "Bricolage Grotesque", "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
    --text: "Figtree", "Segoe UI", system-ui, sans-serif;

    --radius-stage: 28px;
    --radius-control: 12px;
    --shadow-float: 0 30px 80px -30px rgba(0, 0, 0, 0.8), 0 12px 30px -18px rgba(0, 0, 0, 0.6);
    --glass-soft: rgba(30, 35, 60, 0.7);
    --page: min(1160px, 100% - 48px);
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: clip;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: clip;
    background: var(--mist);
    color: var(--ink);
    font-family: var(--text);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Anchored sections land below the sticky header instead of under it. */
section[id] {
    scroll-margin-top: 84px;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

:focus-visible {
    outline: 3px solid var(--action);
    outline-offset: 3px;
    border-radius: 6px;
}

h1,
h2 {
    font-family: var(--display);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.02;
    margin: 0;
    text-wrap: balance;
}

h1 {
    font-size: clamp(44px, 5.6vw, 76px);
}

h2 {
    font-size: clamp(32px, 4.2vw, 52px);
    letter-spacing: -0.03em;
    line-height: 1.06;
}

p {
    margin: 0;
    text-wrap: pretty;
}

/* ---------- buttons ---------- */

/*
  Gradient button: a radial gradient whose position, spread, colors and stops are typed
  custom properties (@property), so the browser can transition between the two gradients
  on hover. A masked ::before draws the thin gradient border.
*/
@property --pos-x { syntax: "<percentage>"; initial-value: 11.14%; inherits: false; }
@property --pos-y { syntax: "<percentage>"; initial-value: 140%; inherits: false; }
@property --spread-x { syntax: "<percentage>"; initial-value: 150%; inherits: false; }
@property --spread-y { syntax: "<percentage>"; initial-value: 180.06%; inherits: false; }
@property --color-1 { syntax: "<color>"; initial-value: #070b2e; inherits: false; }
@property --color-2 { syntax: "<color>"; initial-value: #1a3a9e; inherits: false; }
@property --color-3 { syntax: "<color>"; initial-value: #2f6bff; inherits: false; }
@property --color-4 { syntax: "<color>"; initial-value: #9fe0ff; inherits: false; }
@property --color-5 { syntax: "<color>"; initial-value: #070b2e; inherits: false; }
@property --border-angle { syntax: "<angle>"; initial-value: 20deg; inherits: true; }
@property --border-color-1 { syntax: "<color>"; initial-value: hsla(220, 100%, 80%, 0.2); inherits: true; }
@property --border-color-2 { syntax: "<color>"; initial-value: hsla(220, 100%, 90%, 0.75); inherits: true; }
@property --stop-1 { syntax: "<percentage>"; initial-value: 37.35%; inherits: false; }
@property --stop-2 { syntax: "<percentage>"; initial-value: 61.36%; inherits: false; }
@property --stop-3 { syntax: "<percentage>"; initial-value: 78.42%; inherits: false; }
@property --stop-4 { syntax: "<percentage>"; initial-value: 89.52%; inherits: false; }
@property --stop-5 { syntax: "<percentage>"; initial-value: 100%; inherits: false; }

.gradient-button {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    min-width: 132px;
    padding: 0 28px;
    border-radius: 14px;
    color: #fff;
    font: 600 16px var(--text);
    text-decoration: none;
    background: radial-gradient(
        var(--spread-x) var(--spread-y) at var(--pos-x) var(--pos-y),
        var(--color-1) var(--stop-1),
        var(--color-2) var(--stop-2),
        var(--color-3) var(--stop-3),
        var(--color-4) var(--stop-4),
        var(--color-5) var(--stop-5)
    );
    box-shadow: 0 14px 30px -16px rgba(26, 40, 140, 0.9);
    transition:
        --pos-x 0.5s, --pos-y 0.5s, --spread-x 0.5s, --spread-y 0.5s,
        --color-1 0.5s, --color-2 0.5s, --color-3 0.5s, --color-4 0.5s, --color-5 0.5s,
        --border-angle 0.5s, --border-color-1 0.5s, --border-color-2 0.5s,
        --stop-1 0.5s, --stop-2 0.5s, --stop-3 0.5s, --stop-4 0.5s, --stop-5 0.5s,
        transform 0.15s ease;
}

.gradient-button::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(var(--border-angle), var(--border-color-1), var(--border-color-2));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.gradient-button:hover {
    --pos-x: 0%;
    --pos-y: 91.51%;
    --spread-x: 120.24%;
    --spread-y: 103.18%;
    --color-1: #c3b6ff;
    --color-2: #7b5cff;
    --color-3: #3d5bff;
    --color-4: #141a6e;
    --color-5: #070b2e;
    --border-angle: 190deg;
    --border-color-1: hsla(250, 100%, 90%, 0.1);
    --border-color-2: hsla(250, 100%, 92%, 0.65);
    --stop-1: 0%;
    --stop-2: 8.8%;
    --stop-3: 21.44%;
    --stop-4: 71.34%;
    --stop-5: 85.76%;
}

.gradient-button:active {
    transform: scale(0.98);
}

.gradient-button-small {
    min-height: 40px;
    min-width: 0;
    padding: 0 18px;
    border-radius: 11px;
    font-size: 15px;
}

.gradient-button-wide {
    width: 100%;
}

.button-quiet {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 14px;
    color: var(--ink);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    background: var(--paper);
    box-shadow: inset 0 0 0 1px var(--line), 0 6px 16px -12px rgba(26, 31, 84, 0.4);
    transition: transform 0.2s cubic-bezier(0.2, 0.9, 0.3, 1.2), box-shadow 0.2s ease, color 0.2s ease;
}

.button-quiet svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: transform 0.2s ease;
}

.button-quiet:hover {
    transform: translateY(-2px);
    color: var(--action);
    box-shadow: inset 0 0 0 1.5px var(--action), 0 12px 24px -14px rgba(10, 132, 255, 0.6);
}

.button-quiet:hover svg {
    transform: translateX(2px);
}

.button-quiet:active {
    transform: translateY(0) scale(0.98);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* ---------- nav ---------- */

.nav {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 28px;
    width: 100%;
    margin: 0;
    padding: 14px max(24px, (100% - 1160px) / 2);
    background: color-mix(in srgb, var(--mist) 86%, transparent);
    backdrop-filter: blur(14px);
}

.nav nav {
    display: flex;
    gap: 24px;
    margin-left: auto;
    font-size: 15px;
    color: var(--ink-soft);
}

.nav nav a {
    text-decoration: none;
}

.nav nav a:hover {
    color: var(--ink);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--display);
    font-weight: 700;
    font-size: 19px;
    letter-spacing: -0.02em;
    text-decoration: none;
}

/* The logo is the product: the radial menu open, first slice lit (brand/radialmenu-mark.svg). */
.brand-mark {
    display: block;
    width: 28px;
    height: 28px;
}

/* ---------- hero ---------- */

.hero {
    position: relative;
    width: var(--page);
    margin: 0 auto;
    padding: 56px 0 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    padding: 5px 16px 5px 5px;
    border-radius: 999px;
    background: var(--paper);
    box-shadow: inset 0 0 0 1px var(--line), 0 6px 18px -12px rgba(26, 31, 84, 0.35);
    color: var(--ink-soft);
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none;
}

.hero-badge-tag {
    padding: 3px 10px;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--bloom-blue), var(--bloom-violet));
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.hero-badge:hover {
    color: var(--ink);
}

.hero h1 {
    font-size: clamp(44px, 7vw, 92px);
    line-height: 0.98;
}

.lead {
    margin-top: 26px;
    max-width: 600px;
    font-size: 19px;
    color: var(--ink-soft);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 36px;
}

.hero-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--ink-faint);
}

/*
  Product shot: the real settings panel rises out of a blue glow and fades into the page,
  so the hero reads as "this is the app" before anything else.
*/
.hero > *:not(.hero-glow) {
    position: relative;
    z-index: 1;
}

.hero-glow {
    position: absolute;
    left: 50%;
    top: 160px;
    width: min(1300px, 130vw);
    height: 720px;
    transform: translateX(-50%);
    background:
        radial-gradient(45% 45% at 50% 50%, rgba(47, 107, 255, 0.62), transparent 72%),
        radial-gradient(30% 38% at 28% 58%, rgba(69, 200, 255, 0.45), transparent 72%),
        radial-gradient(30% 38% at 72% 52%, rgba(123, 92, 255, 0.4), transparent 72%);
    filter: blur(50px);
    pointer-events: none;
}

.hero-shot {
    width: min(1040px, 100%);
    margin: 72px 0 0;
}

.hero-video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 16px;
    background: #10141f;
    box-shadow: 0 40px 90px -40px rgba(20, 40, 140, 0.6);
}

/* ---------- try it: the live demo stage ---------- */

.try {
    width: var(--page);
    margin: 0 auto;
    padding: 0 0 160px;
    text-align: center;
}

.try > p {
    margin: 16px auto 0;
    max-width: 560px;
    color: var(--ink-soft);
    font-size: 18px;
}

.stage.stage-hero {
    width: 100%;
    margin-top: 48px;
    height: clamp(480px, 50vw, 640px);
    text-align: left;
}

/* ---------- tour: tabs that swap real screenshots of the app ---------- */

.tour {
    width: var(--page);
    margin: 0 auto;
    padding: 0 0 160px;
    text-align: center;
}

.tour-head p {
    margin: 16px auto 0;
    max-width: 580px;
    color: var(--ink-soft);
    font-size: 18px;
}

.tour-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin-top: 40px;
    padding: 5px;
    border-radius: 16px;
    background: var(--glass-soft);
    box-shadow: inset 0 0 0 1px var(--line);
}

.tour-tabs button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 11px;
    background: none;
    color: var(--ink-faint);
    font: 600 15px var(--text);
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.tour-tabs button:hover {
    color: var(--ink);
}

.tour-tabs button[aria-selected="true"] {
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 4px 12px -6px rgba(26, 31, 84, 0.35), inset 0 0 0 1px var(--line);
}

.tour-tabs svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tour-caption {
    min-height: 3.2em;
    margin: 22px auto 0;
    max-width: 560px;
    color: var(--ink-soft);
}

.stage.tour-stage {
    width: min(980px, 100%);
    height: 560px;
    margin: 18px auto 0;
    text-align: left;
    transition: background 0.3s ease;
}

.tour-scene {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
}

.tour-scene .radial {
    left: 0;
    top: 0;
}

.tour-scene.is-entering .radial,
.tour-scene.is-entering .tour-cards,
.tour-scene.is-entering .tour-bubble {
    animation: radial-open 0.38s cubic-bezier(0.2, 1.35, 0.35, 1) both;
}

/* Small switch inside the Estilos scene. */
.style-switch {
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 3;
    display: flex;
    gap: 2px;
    padding: 3px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 6px 16px -8px rgba(10, 14, 50, 0.5);
}

.style-switch button {
    min-height: 32px;
    padding: 0 14px;
    border: 0;
    border-radius: 8px;
    background: none;
    color: #4b5274;
    font: 600 13.5px var(--text);
    cursor: pointer;
}

.style-switch button[aria-pressed="true"] {
    background: #141a33;
    color: #fff;
}

.tour-cards {
    position: absolute;
    left: -115px;
    top: calc(var(--ring-half, 150px) + 18px);
    display: grid;
    gap: 8px;
    width: 230px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tour-cards li,
.tour-bubble {
    background: rgba(22, 24, 40, 0.56);
    backdrop-filter: blur(22px) saturate(1.7);
    -webkit-backdrop-filter: blur(22px) saturate(1.7);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 14px 26px -16px rgba(5, 8, 40, 0.7);
    color: #fff;
}

.tour-cards li {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 46px;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

.tour-cards img,
.tour-bubble img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.tour-bubble {
    position: absolute;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
    border-radius: 50%;
}

.tour-bubble img {
    width: 28px;
    height: 28px;
}

.tour-tag {
    position: absolute;
    left: 20px;
    top: 18px;
    z-index: 3;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #141a33;
    font-size: 13.5px;
    font-weight: 600;
}

.tour-panel-shot {
    position: absolute;
    inset: 28px;
    display: grid;
    place-items: center;
    margin: 0;
}

.tour-panel-shot img {
    max-height: 100%;
    width: auto;
    border-radius: 12px;
    box-shadow: 0 24px 60px -24px rgba(8, 10, 50, 0.7);
}

.stage-hero .window {
    left: 13%;
}

.fine {
    margin-top: 14px;
    font-size: 14px;
    color: var(--ink-faint);
}

/* The stage: a Windows 11 style bloom wallpaper. The live menu opens on top of it. */
.stage {
    position: relative;
    overflow: hidden;
    height: clamp(460px, 46vw, 600px);
    border-radius: var(--radius-stage);
    background:
        radial-gradient(60% 80% at 18% 30%, rgba(69, 200, 255, 0.85), transparent 60%),
        radial-gradient(55% 75% at 82% 70%, rgba(123, 92, 255, 0.9), transparent 62%),
        radial-gradient(70% 90% at 55% 110%, rgba(47, 107, 255, 0.95), transparent 70%),
        linear-gradient(160deg, #1b2a8f, #23167a);
    box-shadow: var(--shadow-float);
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.stage-compact {
    height: 420px;
}

.window {
    position: absolute;
    left: 8%;
    top: 10%;
    width: 74%;
    height: 66%;
    border-radius: 14px;
    background: rgba(250, 251, 255, 0.92);
    box-shadow: 0 24px 60px -20px rgba(8, 10, 50, 0.55);
    overflow: hidden;
}

.window-bar {
    display: flex;
    gap: 6px;
    padding: 10px 12px 0;
    background: #e8ebf7;
}

.tab {
    padding: 7px 14px;
    border-radius: 8px 8px 0 0;
    font-size: 12.5px;
    color: #7d84a6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tab-active {
    background: rgba(250, 251, 255, 0.98);
    color: #141a33;
}

.window-body {
    display: grid;
    gap: 12px;
    padding: 26px 28px;
}

.skeleton {
    height: 12px;
    border-radius: 6px;
    background: #e2e6f4;
}

.skeleton-title {
    height: 22px;
    width: 55%;
}

.skeleton-short {
    width: 70%;
}

.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.skeleton-card {
    height: 110px;
    border-radius: 10px;
}

.stage-hint {
    position: absolute;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(10, 14, 50, 0.45);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 14px;
    white-space: nowrap;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.toast {
    position: absolute;
    left: 50%;
    top: 22px;
    z-index: 4;
    transform: translate(-50%, -12px);
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #141a33;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* ---------- the radial menu (rendered by demo.js) ---------- */

.radial {
    --size: 300px;
    --inner: 64px;
    --center: 40px;
    position: absolute;
    width: var(--size);
    height: var(--size);
    margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
    transform-origin: center;
    animation: radial-open 0.38s cubic-bezier(0.2, 1.35, 0.35, 1) both;
}

.radial.is-closing {
    animation: radial-close 0.16s ease-in both;
}

@keyframes radial-open {
    from {
        opacity: 0;
        transform: scale(0.82);
    }
}

@keyframes radial-close {
    to {
        opacity: 0;
        transform: scale(0.94);
    }
}

/* Frosted glass donut: a blurred backdrop masked to a ring. */
.radial-glass,
.radial-center {
    position: absolute;
    border-radius: 50%;
    background: rgba(22, 24, 40, 0.56);
    backdrop-filter: blur(22px) saturate(1.7);
    -webkit-backdrop-filter: blur(22px) saturate(1.7);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.radial-glass {
    inset: 0;
    -webkit-mask: radial-gradient(circle, transparent calc(var(--inner) - 0.5px), #000 var(--inner));
    mask: radial-gradient(circle, transparent calc(var(--inner) - 0.5px), #000 var(--inner));
    filter: drop-shadow(0 18px 30px rgba(5, 8, 40, 0.45));
}

.radial-center {
    left: calc(50% - var(--center));
    top: calc(50% - var(--center));
    width: calc(var(--center) * 2);
    height: calc(var(--center) * 2);
    border: 0;
    color: rgba(255, 255, 255, 0.7);
    font: 500 20px/1 var(--text);
    cursor: pointer;
}

.radial-center:hover {
    background: rgba(70, 70, 90, 0.55);
    color: #fff;
}

.radial svg {
    position: absolute;
    inset: 0;
    overflow: visible;
    pointer-events: none;
}

.radial-sector {
    fill: transparent;
    transition: fill 0.12s ease;
}

.radial-sector.is-hot {
    fill: var(--action);
}

.radial-divider {
    stroke: rgba(255, 255, 255, 0.16);
    stroke-width: 1;
}

.radial-item {
    position: absolute;
    display: grid;
    justify-items: center;
    gap: 4px;
    width: 86px;
    margin: -24px 0 0 -43px;
    padding: 4px;
    border: 0;
    background: none;
    color: #fff;
    font: 600 12.5px/1.15 var(--text);
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    cursor: pointer;
}

.radial-item svg {
    position: static;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.radial-item:focus-visible {
    outline-color: #fff;
}

.radial-light .radial-glass,
.radial-light .radial-center {
    background: rgba(250, 250, 255, 0.62);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.radial-light .radial-glass {
    filter: drop-shadow(0 18px 30px rgba(60, 50, 120, 0.25));
}

.radial-light .radial-center {
    color: rgba(20, 26, 51, 0.5);
}

.radial-light .radial-item {
    color: #1b2038;
    text-shadow: none;
}

.radial-light .radial-item.is-hot {
    color: #fff;
}

.radial-light .radial-divider {
    stroke: rgba(20, 26, 51, 0.1);
}

.radial-light ~ .tour-cards li,
.radial-light ~ .tour-bubble {
    background: rgba(250, 250, 255, 0.66);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8), 0 14px 26px -16px rgba(60, 50, 120, 0.4);
    color: #1b2038;
}

/* Profile rings split the center: close on top, back to the main ring below. */
.radial-center.is-split {
    display: grid;
    grid-template-rows: 1fr 1fr;
    padding: 0;
    font-size: 16px;
}

.radial-center.is-split span:first-child {
    align-self: end;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0 14px;
}

.radial-center.is-split span:last-child {
    align-self: start;
    padding-top: 4px;
    font-size: 10.5px;
    font-weight: 600;
}

/* ---------- feature rows (text and visual swap sides on every other row) ---------- */

.feature {
    width: var(--page);
    margin: 0 auto;
    padding: 0 0 160px;
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 72px;
    align-items: center;
}

.feature-flip {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.feature-flip .feature-copy {
    order: 2;
}

.feature-copy p {
    margin-top: 20px;
    max-width: 520px;
    color: var(--ink-soft);
    font-size: 18px;
}

.points {
    display: grid;
    gap: 14px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.points li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 500;
}

.points svg {
    flex: none;
    width: 36px;
    height: 36px;
    padding: 8px;
    border-radius: 10px;
    background: var(--paper);
    box-shadow: inset 0 0 0 1px var(--line);
    fill: none;
    stroke: var(--bloom-blue);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- profiles: dock + elastic ring swap ---------- */

.profiles-visual {
    position: relative;
}

.profiles-visual .stage-compact {
    height: 460px;
}

/* The ring for a new app springs in: overshoot, settle, like a physical object. */
.radial.is-swapping {
    animation: radial-spring 0.7s linear both;
}

@keyframes radial-spring {
    0% { opacity: 0; transform: scale(0.55) rotate(-14deg); }
    18% { opacity: 1; transform: scale(1.09) rotate(3deg); }
    34% { transform: scale(0.95) rotate(-1.5deg); }
    50% { transform: scale(1.025) rotate(0.6deg); }
    68% { transform: scale(0.992) rotate(0deg); }
    84% { transform: scale(1.004); }
    100% { transform: scale(1); }
}

.radial.is-leaving {
    animation: radial-leave 0.14s ease-in both;
}

@keyframes radial-leave {
    to { opacity: 0; transform: scale(0.8) rotate(8deg); }
}

/*
  macOS-style dock. demo.js drives each icon's size with a spring that follows the pointer
  distance, so neighbours grow too and the row stretches elastically.
*/
.dock {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    width: fit-content;
    height: 82px;
    margin: -50px auto 0;
    padding: 0 14px 12px;
    border-radius: 22px;
    background: var(--glass-soft);
    backdrop-filter: blur(18px) saturate(1.6);
    -webkit-backdrop-filter: blur(18px) saturate(1.6);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), 0 18px 40px -18px rgba(26, 31, 84, 0.55);
}

.dock-item {
    --size: 52px;
    position: relative;
    display: grid;
    place-items: center;
    width: var(--size);
    height: var(--size);
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.dock-icon {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: 24%;
    background: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 6px 14px -8px rgba(10, 14, 50, 0.7);
}

.dock-icon img {
    width: 62%;
    height: 62%;
    object-fit: contain;
    pointer-events: none;
}

.dock-icon svg {
    width: 50%;
    height: 50%;
    fill: none;
    stroke: #fff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dock-item.is-bouncing .dock-icon {
    animation: dock-bounce 0.6s cubic-bezier(0.3, 0, 0.3, 1);
}

@keyframes dock-bounce {
    0%, 100% { transform: translateY(0); }
    30% { transform: translateY(-16px); }
    55% { transform: translateY(0); }
    72% { transform: translateY(-5px); }
}

/* Running-app dot under the app in focus. */
.dock-item::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 4px;
    height: 4px;
    margin-left: -2px;
    border-radius: 50%;
    background: var(--ink);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.dock-item[aria-selected="true"]::after {
    opacity: 1;
}

.dock-label {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(20, 26, 51, 0.88);
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translate(-50%, 4px);
    transition: opacity 0.15s ease, transform 0.15s ease;
    pointer-events: none;
}

.dock-item:hover .dock-label,
.dock-item:focus-visible .dock-label {
    opacity: 1;
    transform: translate(-50%, 0);
}

.profile-caption {
    position: absolute;
    left: 24px;
    top: 20px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #141a33;
    font-size: 13.5px;
    font-weight: 600;
}

/* ---------- gesture illustration ---------- */

.gesture {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-stage);
    background:
        radial-gradient(50% 70% at 25% 30%, rgba(69, 200, 255, 0.7), transparent 60%),
        radial-gradient(60% 80% at 80% 75%, rgba(123, 92, 255, 0.85), transparent 62%),
        linear-gradient(160deg, #1b2a8f, #23167a);
    box-shadow: var(--shadow-float);
    overflow: hidden;
}

.gesture .radial {
    left: 50%;
    top: 50%;
    animation: none;
    pointer-events: none;
}

.gesture-path,
.gesture-cursor {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    pointer-events: none;
}

.gesture-path {
    width: 300px;
    height: 300px;
    margin: -150px 0 0 -150px;
    overflow: visible;
}

.gesture-path path {
    fill: none;
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 2 8;
}

.gesture-cursor {
    width: 26px;
    height: 26px;
    margin: 10px 0 0 130px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.gesture-cursor path {
    fill: #fff;
    stroke: #141a33;
    stroke-width: 1.4;
    stroke-linejoin: round;
}

.screenshot {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-float);
    background: var(--paper);
}

/* ---------- shortcuts: copy on top, app names drifting by like a logo cloud ---------- */

.shortcuts {
    width: min(860px, 100% - 48px);
    margin: 0 auto;
    padding: 0 0 160px;
    text-align: center;
}

.shortcuts h2 {
    font-size: clamp(30px, 3.8vw, 46px);
}

.shortcuts-muted {
    color: var(--ink-faint);
}

.shortcuts > p {
    margin: 20px auto 0;
    max-width: 600px;
    color: var(--ink-soft);
    font-size: 18px;
}

/* Hairlines that fade out at both ends, above and below the strip. */
.shortcuts-rule {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line) 30%, var(--line) 70%, transparent);
}

.shortcuts-rule-short {
    width: min(380px, 100%);
    margin: 40px auto 0;
}

.logo-cloud {
    overflow: hidden;
    padding: 26px 0;
    -webkit-mask: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
    mask: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}

/* demo.js moves the track and duplicates its items so the loop has no seam. */
.logo-track {
    display: flex;
    gap: 42px;
    width: max-content;
    margin: 0;
    padding: 0;
    list-style: none;
    will-change: transform;
}

.logo-track li {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
    font-family: var(--display);
    font-weight: 700;
    font-size: 21px;
    letter-spacing: -0.02em;
    color: var(--ink-soft);
    white-space: nowrap;
    user-select: none;
}

/* ---------- pricing: two plans side by side, the full one highlighted ---------- */

.pricing {
    width: min(920px, 100% - 48px);
    margin: 0 auto;
    padding: 0 0 140px;
    text-align: center;
}

.pricing-head p {
    margin: 14px auto 0;
    max-width: 520px;
    color: var(--ink-soft);
    font-size: 18px;
}

.plans {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 40px;
    align-items: stretch;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 32px 30px;
    border-radius: var(--radius-stage);
    background: var(--paper);
    box-shadow: inset 0 0 0 1px var(--line), var(--shadow-float);
    text-align: left;
}

.price-card {
    transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.15), box-shadow 0.35s ease;
}

.price-card:hover {
    transform: translateY(-6px);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--action) 45%, var(--line)), 0 40px 80px -36px rgba(26, 31, 84, 0.55);
}

.price-card.is-featured:hover {
    box-shadow: inset 0 0 0 2px var(--bloom-blue), 0 44px 90px -34px rgba(47, 107, 255, 0.6);
}

.price-card:hover .price-list li::before {
    animation: check-pop 0.4s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}

.price-card:hover .price-list li:nth-child(2)::before { animation-delay: 0.06s; }
.price-card:hover .price-list li:nth-child(3)::before { animation-delay: 0.12s; }
.price-card:hover .price-list li:nth-child(4)::before { animation-delay: 0.18s; }
.price-card:hover .price-list li:nth-child(5)::before { animation-delay: 0.24s; }

@keyframes check-pop {
    0% { transform: rotate(-45deg) scale(1); }
    45% { transform: rotate(-45deg) scale(1.35); }
    100% { transform: rotate(-45deg) scale(1); }
}

.price-card:hover .plan-badge {
    animation: badge-bounce 0.5s cubic-bezier(0.2, 1.4, 0.4, 1);
}

@keyframes badge-bounce {
    40% { transform: translateY(-4px); }
}

.price-card.is-featured {
    box-shadow: inset 0 0 0 2px var(--bloom-blue), 0 30px 80px -30px rgba(47, 107, 255, 0.55);
}

.plan-badge {
    position: absolute;
    top: -13px;
    left: 32px;
    padding: 4px 12px;
    border-radius: 999px;
    background: linear-gradient(120deg, var(--bloom-blue), var(--bloom-violet));
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.price-card h3 {
    margin: 0;
    font: 800 26px/1.1 var(--display);
    letter-spacing: -0.02em;
}

.plan-for {
    margin-top: 6px;
    min-height: 3.2em;
    color: var(--ink-soft);
}

.price {
    margin-top: 18px;
    font-family: var(--display);
    font-weight: 800;
    font-size: 60px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.currency {
    margin-right: 6px;
    font-size: 24px;
    vertical-align: 24px;
    letter-spacing: 0;
}

.cents {
    font-size: 28px;
    letter-spacing: -0.02em;
}

.price-list {
    display: grid;
    gap: 10px;
    margin: 24px 0 28px;
    padding: 22px 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
    text-align: left;
}

.price-list li {
    position: relative;
    padding-left: 28px;
}

.price-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 7px;
    width: 14px;
    height: 8px;
    border-left: 2.5px solid var(--action);
    border-bottom: 2.5px solid var(--action);
    transform: rotate(-45deg);
}

.price-card .button-quiet,
.price-card .gradient-button {
    margin-top: auto;
}

.button-wide {
    width: 100%;
}

.pricing .fine {
    margin-top: 22px;
}

@media (max-width: 760px) {
    .plans {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .plan-for {
        min-height: 0;
    }
}

/* ---------- faq: one answer open at a time, height eases open ---------- */

.faq {
    width: min(760px, 100% - 48px);
    margin: 0 auto;
    padding-bottom: 140px;
}

.faq-head {
    margin-bottom: 48px;
    text-align: center;
}

.faq-head p {
    margin: 18px auto 0;
    max-width: 560px;
    color: var(--ink-soft);
    font-size: 18px;
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item h3 {
    margin: 0;
}

.faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 24px 0;
    border: 0;
    background: none;
    color: var(--ink);
    font: 600 18px/1.4 var(--text);
    text-align: left;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.faq-trigger:hover {
    opacity: 0.6;
}

.faq-trigger svg {
    flex: none;
    width: 18px;
    height: 18px;
    fill: none;
    stroke: var(--ink-faint);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.25s ease;
}

.faq-trigger[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.faq-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.25s ease-out;
}

.faq-panel > div {
    overflow: hidden;
}

.faq-item.is-open .faq-panel {
    grid-template-rows: 1fr;
}

.faq-panel p {
    padding: 0 0 24px;
    max-width: 640px;
    color: var(--ink-soft);
    font-size: 17px;
}

/* ---------- cinematic footer: revealed under the page like a curtain ---------- */

main {
    position: relative;
    z-index: 1;
    background: var(--mist);
    border-radius: 0 0 32px 32px;
    box-shadow: 0 30px 60px -30px rgba(10, 14, 50, 0.35);
}

.cine-wrap {
    position: relative;
    height: 100vh;
    height: 100svh;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.cine-footer {
    position: fixed;
    left: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    background: var(--paper);
    color: var(--ink);
}

.cine-aurora {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 80vw;
    height: 60vh;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(47, 107, 255, 0.22) 0%,
        rgba(123, 92, 255, 0.18) 40%,
        transparent 70%);
    filter: blur(80px);
    transform: translate(-50%, -50%);
    animation: cine-breathe 8s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes cine-breathe {
    from { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    to { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.cine-grid {
    position: absolute;
    inset: 0;
    background-size: 60px 60px;
    background-image:
        linear-gradient(to right, color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px),
        linear-gradient(to bottom, color-mix(in srgb, var(--ink) 5%, transparent) 1px, transparent 1px);
    -webkit-mask: linear-gradient(transparent, #000 30%, #000 70%, transparent);
    mask: linear-gradient(transparent, #000 30%, #000 70%, transparent);
    pointer-events: none;
}

/* Giant outlined word behind everything; demo.js lifts it in as the footer is revealed. */
.cine-giant {
    position: absolute;
    left: 50%;
    bottom: -9vw;
    padding: 0 0.04em;
    font-family: var(--display);
    font-size: 25vw;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    white-space: nowrap;
    color: transparent;
    /* Solid letters that fade toward the bottom; no outline, so overlapping strokes don't show as boxes. */
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--ink) 11%, transparent) 15%,
        color-mix(in srgb, var(--ink) 3%, transparent) 70%,
        transparent 90%);
    -webkit-background-clip: text;
    background-clip: text;
    transform: translate(-50%, var(--giant-y, 10vh)) scale(var(--giant-scale, 0.8));
    opacity: var(--giant-opacity, 0);
    pointer-events: none;
    user-select: none;
}

.cine-marquee {
    position: absolute;
    top: 104px;
    left: 0;
    z-index: 2;
    width: 100%;
    overflow: hidden;
    padding: 16px 0;
    border-block: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
    background: color-mix(in srgb, var(--mist) 60%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 25px 50px -12px rgba(10, 14, 50, 0.25);
    transform: rotate(-2deg) scale(1.1);
}

.cine-marquee-track {
    display: flex;
    width: max-content;
    animation: cine-marquee 40s linear infinite;
}

@keyframes cine-marquee {
    to { transform: translateX(-50%); }
}

.cine-marquee-group {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 0 24px;
    color: var(--ink-faint);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    white-space: nowrap;
}

.cine-star {
    color: color-mix(in srgb, var(--bloom-blue) 60%, transparent);
    letter-spacing: 0;
}

.cine-star.is-alt {
    color: color-mix(in srgb, var(--bloom-violet) 60%, transparent);
}

.cine-main {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(1000px, 100% - 48px);
    margin: 150px auto 0;
    transform: translateY(var(--main-y, 50px));
    opacity: var(--main-opacity, 0);
}

.cine-title {
    margin-bottom: 48px;
    padding: 0 0.12em 0.08em;
    font-size: clamp(48px, 8vw, 104px);
    text-align: center;
    background: linear-gradient(180deg, var(--ink) 0%, color-mix(in srgb, var(--ink) 45%, transparent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px color-mix(in srgb, var(--ink) 15%, transparent));
}

.cine-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
}

.cine-secondary {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
}

/* Glass pill, tinted from the page's own ink so it works in both themes. */
.cine-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border: 1px solid color-mix(in srgb, var(--ink) 9%, transparent);
    border-radius: 999px;
    background: linear-gradient(145deg,
        color-mix(in srgb, var(--ink) 4%, transparent),
        color-mix(in srgb, var(--ink) 1%, transparent));
    box-shadow:
        0 10px 30px -10px color-mix(in srgb, var(--ink) 18%, transparent),
        inset 0 1px 1px color-mix(in srgb, #fff 40%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s, color 0.4s, box-shadow 0.4s;
}

.cine-pill:hover {
    border-color: color-mix(in srgb, var(--ink) 22%, transparent);
    background: linear-gradient(145deg,
        color-mix(in srgb, var(--ink) 9%, transparent),
        color-mix(in srgb, var(--ink) 2%, transparent));
    color: var(--ink);
}

/* Footer links keep their glass look but take the corner shape of the "Comprar agora" buttons. */
.cine-links .cine-pill {
    border-radius: 11px;
}

.cine-links .cine-pill-big {
    border-radius: 14px;
}

.cine-pill-big {
    padding: 20px 40px;
    color: var(--ink);
    font-size: 17px;
    font-weight: 700;
}

.cine-pill svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* Magnetic pills follow the pointer; demo.js sets --mx/--my, CSS springs them back. */
.magnetic {
    transform: perspective(600px) translate(var(--mx, 0), var(--my, 0)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--ms, 1));
    transition-property: transform, background, border-color, color, box-shadow;
    transition-duration: 1.1s, 0.4s, 0.4s, 0.4s, 0.4s;
    transition-timing-function: cubic-bezier(0.2, 1.8, 0.3, 1), ease, ease, ease, ease;
}

.magnetic.is-tracking {
    transition-duration: 0.35s, 0.4s, 0.4s, 0.4s, 0.4s;
    transition-timing-function: cubic-bezier(0.2, 0.8, 0.3, 1), ease, ease, ease, ease;
}

.cine-bottom {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 0 48px 32px;
}

.cine-copy {
    max-width: 380px;
    color: var(--ink-faint);
    font-size: 12px;
}

.cine-made {
    margin: 0;
    padding: 10px 22px;
    font-size: 13px;
    font-weight: 600;
}

.cine-heart {
    display: inline-block;
    color: #ff4d6d;
    animation: cine-heartbeat 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
}

@keyframes cine-heartbeat {
    0%, 30%, 100% { transform: scale(1); }
    15%, 45% { transform: scale(1.2); }
}

.cine-top {
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    cursor: pointer;
}

.cine-top svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.3s ease;
}

.cine-top:hover svg {
    transform: translateY(-5px);
}

@media (max-width: 760px) {
    .cine-bottom {
        flex-direction: column;
        gap: 16px;
        padding: 0 24px 24px;
        text-align: center;
    }

    .cine-copy {
        order: 2;
    }

    .cine-top {
        display: none;
    }

    .cine-title {
        margin-bottom: 32px;
    }

    .cine-pill-big {
        padding: 18px 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .price-card:hover,
    .button-quiet:hover {
        transform: none;
    }

    .price-card:hover .price-list li::before,
    .price-card:hover .plan-badge {
        animation: none;
    }

    .cine-aurora,
    .cine-marquee-track,
    .cine-heart {
        animation: none;
    }

    .cine-giant {
        --giant-y: 0;
        --giant-scale: 1;
        --giant-opacity: 1;
    }

    .cine-main {
        --main-y: 0;
        --main-opacity: 1;
    }
}

/* ---------- small screens ---------- */

@media (max-width: 880px) {
    .nav nav {
        display: none;
    }

    .nav .gradient-button-small {
        margin-left: auto;
    }

    .feature,
    .feature-flip {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-bottom: 110px;
    }

    .feature-flip .feature-copy {
        order: 0;
    }

    .window {
        width: 86%;
    }

    .stage-hero .window {
        left: 7%;
    }
}

@media (max-width: 520px) {
    .nav {
        gap: 10px;
    }

    .brand {
        font-size: 17px;
    }

    .stage.tour-stage {
        height: 520px;
    }

    .hero {
        padding-top: 32px;
    }

    .hero-actions {
        flex-direction: column;
        align-self: stretch;
    }

    .stage-hero {
        margin-top: 48px;
    }

    .radial {
        --size: 250px;
        --inner: 54px;
        --center: 34px;
    }

    .radial-item {
        width: 70px;
        margin-left: -35px;
        font-size: 11px;
    }

    .stage-hint {
        font-size: 12.5px;
    }

    .profiles-visual .stage-compact {
        height: 400px;
    }

    .logo-cloud {
        -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
        mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    }

    .logo-track li {
        font-size: 18px;
    }

    .dock {
        gap: 10px;
    }

    .dock-item {
        --size: 46px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .radial,
    .radial.is-closing,
    .radial.is-swapping,
    .radial.is-leaving,
    .dock-item.is-bouncing .dock-icon {
        animation-duration: 0.01s;
    }

    /* No drifting strip: the app names wrap into a still, centered block. */
    .logo-cloud {
        -webkit-mask: none;
        mask: none;
    }

    .logo-track {
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px 32px;
        width: auto;
    }

    .faq-panel,
    .faq-trigger svg {
        transition: none;
    }
}

@media (max-width: 640px) {
    /* The tab row scrolls sideways instead of wrapping into a tall block. */
    .tour-tabs {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .tour-tabs button {
        padding: 0 12px;
        font-size: 14px;
    }

    .hero-shot {
        margin-top: 48px;
        padding: 5px;
        border-radius: 14px;
    }

    .hero-video {
        aspect-ratio: 4 / 5;
        border-radius: 10px;
    }
}

.brand {
    white-space: nowrap;
}

/* ---------- legal pages: Termos de uso and Política de privacidade ---------- */

.nav .legal-back {
    min-height: 40px;
    margin-left: auto;
    font-size: 15px;
}

.legal {
    padding: 56px 24px 120px;
}

.legal article {
    max-width: 720px;
    margin: 0 auto;
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.7;
}

.legal h1 {
    color: var(--ink);
    font-size: clamp(38px, 5vw, 56px);
}

.legal h2 {
    margin: 48px 0 12px;
    color: var(--ink);
    font-size: clamp(24px, 3vw, 30px);
}

.legal h3 {
    margin: 28px 0 6px;
    color: var(--ink);
    font: 700 19px/1.3 var(--text);
}

.legal article p,
.legal article ul {
    margin: 0 0 14px;
}

.legal article ul {
    padding-left: 22px;
}

.legal li {
    margin-bottom: 6px;
}

.legal b {
    color: var(--ink);
    font-weight: 600;
}

.legal a {
    color: var(--bloom-cyan);
}

.legal article .legal-date {
    margin-top: 12px;
    color: var(--ink-faint);
    font-size: 15px;
}

.legal article .legal-links {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

/* ---------- animated hero background (velaris.js) ---------- */

/* Full window width behind the hero, fading into the page at the bottom; scroll.js makes it drift and fade. */
.hero > canvas.velaris {
    position: absolute;
    top: 0;
    left: 50%;
    z-index: 0;
    width: 100vw;
    height: 100%;
    transform: translate(-50%, var(--hero-drift, 0px));
    -webkit-mask: linear-gradient(#000 55%, transparent 96%);
    mask: linear-gradient(#000 55%, transparent 96%);
    opacity: calc(0.85 * var(--hero-fade, 1));
    pointer-events: none;
}

/* The small print stays readable over the brightest parts of the gradient. */
.hero.has-velaris .hero-note,
.hero.has-velaris .lead {
    color: var(--ink);
    text-shadow: 0 1px 12px rgba(12, 15, 29, 0.6);
}

.hero.has-velaris .hero-glow {
    display: none;
}

/* ---------- scroll animations (scroll.js) ---------- */

.reveal-ready .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal-ready .reveal.is-in {
    opacity: 1;
    transform: none;
}

/* The hero video settles from 92% to full size as it comes up the screen. */
.hero-shot {
    transform: scale(var(--shot-scale, 1));
    transform-origin: 50% 0;
    will-change: transform;
}

/* More room between the hero video and "Experimente aqui mesmo". */
.try {
    padding-top: 96px;
}

@media (max-width: 640px) {
    .try {
        padding-top: 48px;
    }
}

/* ---------- shiny buy buttons ---------- */

/*
  Shiny buy buttons (pure CSS port of a "shiny button" component): a bright arc runs around the border,
  white speckles follow it, a soft sheen turns inside and, on hover, the arc opens up and a glow breathes.
  Brand colors instead of the original orange. Keeps the site's button sizes and corners.
*/

@property --shiny-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@property --shiny-offset { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@property --shiny-percent { syntax: "<percentage>"; initial-value: 5%; inherits: false; }
@property --shiny-shine { syntax: "<color>"; initial-value: white; inherits: false; }

.gradient-button.shiny {
    --shiny-base: #0b1233;
    --shiny-inset: #1d2758;
    --shiny-accent: #2f6bff;
    --shiny-accent-soft: #45c8ff;
    --shiny-duration: 3s;
    --shiny-ease: 0.8s cubic-bezier(0.25, 1, 0.5, 1);

    isolation: isolate;
    overflow: hidden;
    border: 1px solid transparent;
    background:
        linear-gradient(var(--shiny-base), var(--shiny-base)) padding-box,
        conic-gradient(
            from calc(var(--shiny-angle) - var(--shiny-offset)),
            transparent,
            var(--shiny-accent) var(--shiny-percent),
            var(--shiny-shine) calc(var(--shiny-percent) * 2),
            var(--shiny-accent) calc(var(--shiny-percent) * 3),
            transparent calc(var(--shiny-percent) * 4)
        ) border-box;
    box-shadow: inset 0 0 0 1px var(--shiny-inset), 0 14px 30px -16px rgba(26, 40, 140, 0.9);
    transition: var(--shiny-ease);
    transition-property: --shiny-offset, --shiny-percent, --shiny-shine;
    animation:
        shiny-angle var(--shiny-duration) linear infinite,
        shiny-angle calc(var(--shiny-duration) / 0.4) linear infinite reverse paused;
    animation-composition: add;
}

.gradient-button.shiny:active {
    transform: translateY(1px);
}

/* Speckles that light up where the arc passes. */
.gradient-button.shiny::before {
    --shiny-dot: 2px;
    inset: auto;
    left: 50%;
    top: 50%;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    padding: 0;
    translate: -50% -50%;
    z-index: -1;
    background: radial-gradient(circle at var(--shiny-dot) var(--shiny-dot), white calc(var(--shiny-dot) / 4), transparent 0)
        padding-box;
    background-size: calc(var(--shiny-dot) * 2) calc(var(--shiny-dot) * 2);
    background-repeat: space;
    -webkit-mask: conic-gradient(from calc(var(--shiny-angle) + 45deg), black, transparent 10% 90%, black);
    mask: conic-gradient(from calc(var(--shiny-angle) + 45deg), black, transparent 10% 90%, black);
    -webkit-mask-composite: source-over;
    mask-composite: add;
    border-radius: inherit;
    opacity: 0.4;
    animation:
        shiny-angle var(--shiny-duration) linear infinite,
        shiny-angle calc(var(--shiny-duration) / 0.4) linear infinite reverse paused;
    animation-composition: add;
}

/* A slow sheen turning inside the button. */
.gradient-button.shiny::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: -1;
    width: 100%;
    aspect-ratio: 1;
    translate: -50% -50%;
    background: linear-gradient(-50deg, transparent, var(--shiny-accent), transparent);
    -webkit-mask: radial-gradient(circle at bottom, transparent 40%, black);
    mask: radial-gradient(circle at bottom, transparent 40%, black);
    opacity: 0.6;
    pointer-events: none;
    animation:
        shiny-turn var(--shiny-duration) linear infinite,
        shiny-turn calc(var(--shiny-duration) / 0.4) linear infinite reverse paused;
    animation-composition: add;
}

/* The label stays static so its glow below is sized by the whole button, not by the text. */
.gradient-button.shiny span {
    position: static;
}

/* Glow that breathes from below while hovered. */
.gradient-button.shiny span::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: -1;
    width: calc(100% + 1rem);
    height: calc(100% + 1rem);
    translate: -50% -50%;
    box-shadow: inset 0 -1ex 2rem 4px var(--shiny-accent);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--shiny-ease);
    animation: shiny-breathe calc(var(--shiny-duration) * 1.5) linear infinite;
}

.gradient-button.shiny:is(:hover, :focus-visible) {
    --shiny-percent: 20%;
    --shiny-offset: 95deg;
    --shiny-shine: var(--shiny-accent-soft);
}

.gradient-button.shiny:is(:hover, :focus-visible),
.gradient-button.shiny:is(:hover, :focus-visible)::before,
.gradient-button.shiny:is(:hover, :focus-visible)::after {
    animation-play-state: running;
}

.gradient-button.shiny:is(:hover, :focus-visible) span::before {
    opacity: 1;
}

@keyframes shiny-angle {
    to { --shiny-angle: 360deg; }
}

@keyframes shiny-turn {
    to { rotate: 360deg; }
}

@keyframes shiny-breathe {
    from, to { scale: 1; }
    50% { scale: 1.2; }
}

@media (prefers-reduced-motion: reduce) {
    .gradient-button.shiny,
    .gradient-button.shiny::before,
    .gradient-button.shiny::after,
    .gradient-button.shiny span::before {
        animation: none !important;
    }

    .gradient-button.shiny {
        transition: none;
    }
}
