:root {
    color-scheme: dark;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
    color: #f8fafc;
    background: #080712;
    --bg: #080712;
    --surface: rgb(15 23 42 / 78%);
    --surface-strong: rgb(15 23 42 / 96%);
    --surface-soft: rgb(255 255 255 / 12%);
    --border: rgb(255 255 255 / 14%);
    --border-strong: rgb(196 181 253 / 38%);
    --text: #f8fafc;
    --muted: #cbd5e1;
    --muted-2: #94a3b8;
    --purple: #7c3aed;
    --purple-light: #c4b5fd;
    --pink: #db2777;
    --cyan: #22d3ee;
    --gold: #f59e0b;
    --success: #22c55e;
    --danger: #ef4444;
    --radius-sm: 0.75rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --gradient-primary: linear-gradient(135deg, #4f46e5, #2563eb 58%, #0f766e);
    --gradient-surface: linear-gradient(145deg, rgb(15 23 42 / 90%), rgb(30 41 59 / 72%) 48%, rgb(88 28 135 / 26%));
    --gradient-surface-strong: linear-gradient(145deg, rgb(15 23 42 / 96%), rgb(30 41 59 / 82%) 55%, rgb(124 58 237 / 24%));
    --focus-ring: 0 0 0 4px rgb(196 181 253 / 18%), 0 0 0 1px rgb(196 181 253 / 38%);
    --shadow-glow: 0 0 32px 0 rgb(124 58 237 / 32%), 0 20px 55px rgb(124 58 237 / 18%);
    --shadow-card: 0 24px 70px rgb(0 0 0 / 32%), 0 0 60px rgb(124 58 237 / 10%);
    --shadow-float: 0 34px 100px rgb(0 0 0 / 38%), 0 0 86px rgb(124 58 237 / 16%);
    --ease: 180ms cubic-bezier(.2, .8, .2, 1);
}

.demo-topbar {
    margin: 1rem 0;
    padding: 1rem 1.25rem;
}

.future-object-field {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.future-object-field::before,
.future-object-field::after {
    position: absolute;
    z-index: -1;
    content: "";
    pointer-events: none;
}

.future-object-field::before {
    inset: 10% auto auto 6%;
    width: 10rem;
    height: 10rem;
    background: linear-gradient(135deg, rgb(34 211 238 / 28%), rgb(124 58 237 / 18%));
    border: 1.5px solid rgb(255 255 255 / 16%);
    border-radius: 2.5rem;
    filter: blur(1.2px);
    box-shadow: 0 0 80px 24px rgb(124 58 237 / 12%);
    transform: rotate(18deg);
    animation: object-drift 14s ease-in-out infinite alternate;
}

.future-object-field::after {
    right: 6%;
    bottom: 8%;
    width: 13rem;
    height: 13rem;
    background: radial-gradient(circle at 35% 30%, rgb(255 255 255 / 28%), transparent 18%), linear-gradient(135deg, rgb(219 39 119 / 22%), rgb(124 58 237 / 18%));
    border: 1.5px solid rgb(255 255 255 / 14%);
    border-radius: 999px;
    box-shadow: 0 0 120px 32px rgb(219 39 119 / 10%);
    animation: object-pulse 11s ease-in-out infinite alternate;
}

.future-orb {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(2.5px);
    opacity: 0.85;
    transition: filter 0.4s, opacity 0.4s;
    animation: orb-float 9s ease-in-out infinite alternate;
}

.orb-one {
    top: 14%;
    right: 18%;
    width: 5.5rem;
    height: 5.5rem;
    background: linear-gradient(135deg, rgb(34 211 238 / 22%), rgb(124 58 237 / 18%));
    box-shadow: 0 0 62px 12px rgb(34 211 238 / 22%);
    animation-delay: 0s;
}

.orb-two {
    left: 14%;
    bottom: 12%;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, rgb(219 39 119 / 22%), rgb(124 58 237 / 16%));
    box-shadow: 0 0 56px 10px rgb(219 39 119 / 18%);
    animation-delay: 2.5s;
}

@keyframes orb-float {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0.85;
    }
    50% {
        transform: translateY(-12px) scale(1.08);
        opacity: 1;
    }
    100% {
        transform: translateY(8px) scale(0.96);
        opacity: 0.8;
    }
}

@keyframes object-drift {
    from { transform: translate3d(0, 0, 0) rotate(18deg); }
    to { transform: translate3d(1.5rem, -1rem, 0) rotate(32deg); }
}

@keyframes object-pulse {
    from { transform: scale(1); opacity: 0.74; }
    to { transform: scale(1.08); opacity: 0.96; }
}

* {
    box-sizing: border-box;
}

.pricing-hero {
    margin: 3rem 0 2rem;
    padding: clamp(2rem, 5vw, 4rem);
    background: linear-gradient(135deg, rgb(15 23 42 / 94%), rgb(88 28 135 / 66%));
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 1.5rem;
    box-shadow: var(--shadow-card);
}

.pricing-hero h1 {
    max-width: 820px;
    margin: 0 0 1rem;
    font-size: clamp(2.3rem, 5vw, 4.2rem);
    line-height: 1;
    letter-spacing: -0.06em;
}

.pricing-hero p:not(.eyebrow) {
    max-width: 760px;
    color: #dbeafe;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.plan-card {
    display: grid;
    gap: 0.85rem;
    padding: 1.5rem;
    background: rgb(15 23 42 / 78%);
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 1.25rem;
    box-shadow: var(--shadow-card);
}

.featured-plan {
    border-color: rgb(196 181 253 / 42%);
    box-shadow: var(--shadow-glow);
    transform: translateY(-0.35rem);
}

.plan-card h2,
.plan-card p {
    margin: 0;
}

.plan-card h2,
.legal-page h1,
.legal-page h2 {
    margin-top: 0;
}

.plan-price {
    color: #fff;
    font-size: 2.4rem;
    line-height: 1;
    letter-spacing: -0.05em;
}

.plan-card ul {
    display: grid;
    gap: 0.45rem;
    margin: 0.5rem 0 0;
    padding-left: 1.1rem;
    color: #cbd5e1;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 8% 4%, rgb(124 58 237 / 42%), transparent 34rem),
        radial-gradient(circle at 88% 6%, rgb(236 72 153 / 28%), transparent 32rem),
        radial-gradient(circle at 55% 42%, rgb(34 211 238 / 10%), transparent 36rem),
        linear-gradient(180deg, rgb(15 23 42 / 72%), rgb(8 7 18 / 30%) 42rem),
        #080712;
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -2;
    content: "";
    background:
        radial-gradient(circle at 50% 0, rgb(255 255 255 / 6%), transparent 22rem),
        linear-gradient(rgb(255 255 255 / 3%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 3%) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(circle at 50% 0, #000, transparent 76%);
    opacity: 0.9;
    pointer-events: none;
}

body::after {
    position: fixed;
    inset: auto -10rem -14rem auto;
    z-index: -1;
    width: 34rem;
    height: 34rem;
    content: "";
    background:
        radial-gradient(circle at 34% 38%, rgb(34 211 238 / 28%), transparent 42%),
        radial-gradient(circle, rgb(124 58 237 / 18%), transparent 72%);
    filter: blur(10px);
    animation: ambient-float 12s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes ambient-float {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(-4rem, -3rem, 0) scale(1.12); }
}

body,
button,
input,
textarea {
    font: inherit;
}

img,
svg,
video,
canvas {
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    max-width: 100%;
}

.container {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 100;
    padding: 0.75rem 1rem;
    color: #fff;
    background: #7c3aed;
    border-radius: 999px;
    box-shadow: var(--shadow-glow);
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform var(--ease);
}

.skip-link:focus {
    transform: translateY(0);
}

.page-shell {
    position: relative;
    padding-bottom: 1rem;
    isolation: isolate;
}

.page-shell::before {
    position: absolute;
    inset: 1.5rem -1rem auto;
    z-index: -1;
    height: 18rem;
    content: "";
    background: linear-gradient(135deg, rgb(255 255 255 / 8%), transparent 34%, rgb(124 58 237 / 8%));
    border: 1px solid rgb(255 255 255 / 7%);
    border-radius: 2rem;
    filter: blur(0.2px);
    opacity: 0.48;
    pointer-events: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: linear-gradient(180deg, rgb(8 7 18 / 88%), rgb(8 7 18 / 70%));
    color: #fff;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
    box-shadow: 0 20px 60px rgb(0 0 0 / 24%), 0 1px 0 rgb(255 255 255 / 6%) inset;
    backdrop-filter: blur(22px) saturate(160%);
}

.nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    min-height: 72px;
}

.nav-links,
.nav-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
}

.nav-links {
    justify-content: center;
}

.nav-actions {
    justify-content: flex-end;
}

.nav a {
    padding: 0.55rem 0.75rem;
    color: #fff;
    border: 1px solid transparent;
    border-radius: 999px;
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.nav a:hover,
.nav a:focus-visible {
    color: #fff;
    background: rgb(255 255 255 / 10%);
    border-color: rgb(255 255 255 / 12%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 12%);
    transform: translateY(-1px);
    outline: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-right: auto;
    padding: 0;
    border-radius: 0;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.brand-text,
.brand span:last-child {
    display: grid;
    gap: 0.05rem;
}

.brand-logo {
    display: block;
    width: clamp(12rem, 20vw, 15rem);
    height: auto;
    aspect-ratio: 10 / 3;
    object-fit: contain;
}

.footer-brand-logo {
    width: clamp(10rem, 16vw, 12.5rem);
}

.brand:has(.brand-logo) .brand-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.brand strong {
    line-height: 1;
}

.brand small {
    color: #c4b5fd;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand:hover {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

.brand-mark {
    display: inline-grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    color: #fff;
    background: var(--gradient-primary);
    border-radius: 0.8rem;
    box-shadow: 0 12px 30px rgb(124 58 237 / 36%), inset 0 1px 0 rgb(255 255 255 / 28%);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.brand-icon {
    display: block;
    width: 3.6rem;
    height: auto;
    aspect-ratio: 209 / 180;
    object-fit: contain;
    filter: drop-shadow(0 16px 28px rgb(124 58 237 / 34%));
}

.hero-brand-icon,
.dashboard-brand-icon,
.panel-brand-icon,
.ai-helper-icon {
    margin-bottom: 0.85rem;
}

.panel-brand-icon {
    width: 2.85rem;
}

.nav-cta {
    background: rgb(255 255 255 / 10%);
    border-color: rgb(255 255 255 / 12%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 12%);
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 2rem;
    align-items: center;
    margin: 4rem 0 2rem;
    padding: clamp(2rem, 5vw, 4rem);
    background: linear-gradient(135deg, rgb(15 23 42 / 95%), rgb(88 28 135 / 78%) 56%, rgb(14 116 144 / 24%));
    border: 1px solid rgb(255 255 255 / 16%);
    border-radius: 1.75rem;
    box-shadow: var(--shadow-float);
    overflow: hidden;
}

.hero::before {
    position: absolute;
    inset: -2px;
    content: "";
    background:
        radial-gradient(circle at 18% 20%, rgb(34 211 238 / 18%), transparent 20rem),
        radial-gradient(circle at 84% 8%, rgb(219 39 119 / 22%), transparent 18rem),
        linear-gradient(135deg, rgb(255 255 255 / 9%), transparent 38%);
    pointer-events: none;
}

.hero > * {
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-top: 0;
    margin-bottom: 1rem;
    max-width: 760px;
    font-size: clamp(2.35rem, 6vw, 4.5rem);
    line-height: 0.98;
    letter-spacing: -0.07em;
}

.hero-copy {
    max-width: 700px;
    color: #dbeafe;
    font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero-panel {
    position: relative;
    padding: 1.5rem;
    background: rgb(2 6 23 / 48%);
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 1.1rem;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 12%), 0 20px 50px rgb(0 0 0 / 18%);
    backdrop-filter: blur(14px);
}

.url-capture {
    display: grid;
    gap: 1rem;
}

.url-capture label {
    margin: 0;
}

.url-capture strong {
    display: block;
    margin-top: 0.35rem;
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.url-input-row {
    display: grid;
    gap: 0.75rem;
}

.url-input-row input {
    min-height: 3.25rem;
    color: #0f172a;
    -webkit-text-fill-color: #0f172a;
    caret-color: #7c3aed;
    background: #fff;
    border: 2px solid transparent;
    box-shadow: 0 18px 40px rgb(0 0 0 / 18%);
}

.url-input-row input:hover,
.url-input-row input:active,
.url-input-row input:not(:placeholder-shown),
.url-input-row input:-webkit-autofill,
.url-input-row input:-webkit-autofill:hover,
.url-input-row input:-webkit-autofill:focus,
.url-input-row input:-webkit-autofill:active {
    color: #0f172a;
    -webkit-text-fill-color: #0f172a;
    caret-color: #7c3aed;
    background: #fff;
    box-shadow: 0 18px 40px rgb(0 0 0 / 18%), inset 0 0 0 1000px #fff;
}

.url-input-row input:focus {
    color: #0f172a;
    -webkit-text-fill-color: #0f172a;
    background: #fff;
    border-color: #c4b5fd;
    outline: 0;
    box-shadow: 0 0 0 4px rgb(196 181 253 / 18%), 0 18px 40px rgb(0 0 0 / 18%);
}

.url-input-row input::placeholder {
    color: #64748b;
    -webkit-text-fill-color: #64748b;
}

.intro-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: center;
    margin: 2rem 0;
    padding: 2rem;
    background: var(--gradient-surface);
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card), inset 0 1px 0 rgb(255 255 255 / 9%);
    backdrop-filter: blur(14px) saturate(130%);
}

.intro-card h2 {
    margin: 0;
    font-size: clamp(1.7rem, 4vw, 2.7rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.intro-card p:last-child {
    color: #cbd5e1;
    font-size: 1.05rem;
}

.final-cta {
    background: linear-gradient(135deg, rgb(124 58 237 / 34%), rgb(15 23 42 / 82%) 58%, rgb(34 211 238 / 12%));
    border-color: rgb(196 181 253 / 22%);
}

.compact-heading {
    max-width: 760px;
    margin-bottom: 1.5rem;
}

.compact-heading h2 {
    margin: 0;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.process-section {
    margin: 3rem 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.process-step {
    padding: 1.25rem;
    background: var(--gradient-surface);
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: var(--radius-md);
    box-shadow: 0 18px 46px rgb(0 0 0 / 22%), inset 0 1px 0 rgb(255 255 255 / 8%);
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.process-step:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
    box-shadow: 0 26px 70px rgb(0 0 0 / 28%), 0 0 48px rgb(124 58 237 / 12%);
}

.process-step span {
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    color: #fff;
    background: var(--gradient-primary);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 24%), 0 12px 26px rgb(124 58 237 / 24%);
    font-size: 0.85rem;
    font-weight: 800;
}

.process-step h3 {
    margin-bottom: 0.5rem;
}

.process-step p {
    color: #cbd5e1;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0.85rem 1.2rem;
    color: #fff;
    background: #2563eb;
    border-radius: 999px;
    border: 1px solid rgb(147 197 253 / 28%);
    box-shadow: 0 16px 36px rgb(37 99 235 / 24%), inset 0 1px 0 rgb(255 255 255 / 18%);
    cursor: pointer;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: transform var(--ease), box-shadow var(--ease), filter var(--ease), background var(--ease), border-color var(--ease);
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
    background: #1d4ed8;
    border-color: rgb(191 219 254 / 38%);
    box-shadow: 0 22px 50px rgb(37 99 235 / 30%), inset 0 1px 0 rgb(255 255 255 / 22%);
    outline: 0;
}

.button.secondary {
    background: rgb(255 255 255 / 10%);
    border-color: rgb(255 255 255 / 16%);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 14%);
}

.button.secondary:hover,
.button.secondary:focus-visible {
    background: rgb(255 255 255 / 15%);
    box-shadow: 0 16px 34px rgb(0 0 0 / 18%), inset 0 1px 0 rgb(255 255 255 / 18%);
}

.button.small {
    margin-top: 0;
    min-height: 2.25rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.875rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin: 1.5rem 0 2rem;
}

.trust-strip span {
    display: grid;
    gap: 0.25rem;
    padding: 1rem;
    color: #cbd5e1;
    background: linear-gradient(145deg, rgb(255 255 255 / 9%), rgb(124 58 237 / 9%));
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 1rem;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%), 0 16px 38px rgb(0 0 0 / 18%);
}

.trust-strip strong {
    color: #fff;
}

.detail-grid {
    margin-top: 1.25rem;
}

.card,
.status-card {
    position: relative;
    padding: 1.5rem;
    background: var(--gradient-surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 18px 50px rgb(0 0 0 / 28%), 0 0 60px rgb(124 58 237 / 10%), inset 0 1px 0 rgb(255 255 255 / 8%);
    backdrop-filter: blur(18px) saturate(120%);
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease), background var(--ease);
    overflow: hidden;
}

.card::before,
.status-card::before,
.auth-panel::before,
.legal-page::before,
.table-card::before,
.demo-topbar::before,
.demo-files-panel::before,
.refinement-panel::before,
.generated-demo::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(135deg, rgb(255 255 255 / 14%), transparent 38%);
    opacity: 0.32;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-3px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-float);
    filter: brightness(1.04) saturate(1.08);
}

.card h2,
.card h3 {
    margin-top: 0;
}

.card p {
    color: #cbd5e1;
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    color: #ddd6fe;
    background: rgb(124 58 237 / 20%);
    border: 1px solid rgb(196 181 253 / 24%);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
}

.feature-list {
    display: grid;
    gap: 0.85rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    padding: 0.8rem 0.9rem;
    color: #e2e8f0;
    background: linear-gradient(135deg, rgb(255 255 255 / 9%), rgb(124 58 237 / 8%));
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 0.85rem;
}

.status-card {
    margin: 3rem 0;
    border-left: 0.5rem solid #dc2626;
}

.status-card.success {
    border-color: #16a34a;
}

.site-footer {
    margin-top: 4rem;
    padding: 2.5rem 0;
    color: #94a3b8;
    border-top: 1px solid rgb(255 255 255 / 8%);
    background:
        radial-gradient(circle at 12% 0, rgb(124 58 237 / 18%), transparent 24rem),
        linear-gradient(180deg, transparent, rgb(15 23 42 / 62%));
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: center;
}

.footer-brand {
    display: grid;
    gap: 0.75rem;
    max-width: 620px;
}

.footer-brand p,
.footer-brand small {
    margin: 0;
}

.footer-logo {
    width: fit-content;
    margin: 0;
    padding: 0;
}

.footer-logo:hover,
.footer-logo:focus-visible {
    background: transparent;
    box-shadow: none;
    outline: 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-end;
}

.footer-links a {
    color: #c4b5fd;
    text-decoration: none;
}

.footer-link-button {
    padding: 0;
    color: #c4b5fd;
    background: transparent;
    border: 0;
    cursor: pointer;
    font: inherit;
}

.footer-link-button:hover,
.footer-link-button:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
    color: #fff;
    text-decoration: underline;
    outline: 0;
}

.cookie-consent {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    background: rgb(15 23 42 / 96%);
    border-top: 1px solid rgb(255 255 255 / 14%);
    box-shadow: 0 -18px 54px rgb(0 0 0 / 36%);
    backdrop-filter: blur(18px) saturate(140%);
}

.cookie-consent[hidden] {
    display: none;
}

.cookie-consent-bar {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    width: min(100% - 2rem, 1120px);
    margin: 0 auto;
    padding: 1rem 0;
    justify-content: space-between;
}

.cookie-consent-bar p {
    max-width: 780px;
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.45;
}

.cookie-consent-bar strong {
    color: #fff;
}

.cookie-consent-bar a {
    color: var(--purple-light);
    font-weight: 700;
    text-decoration: none;
}

.cookie-consent-bar a:hover,
.cookie-consent-bar a:focus-visible {
    color: #fff;
    text-decoration: underline;
    outline: 0;
}

.cookie-consent-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 0.65rem;
    align-items: center;
    justify-content: flex-end;
}

.cookie-consent-actions .button {
    min-width: 7.5rem;
    min-height: 2.6rem;
    padding: 0.75rem 1rem;
}

.eyebrow {
    color: #c4b5fd;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.page-heading {
    margin: 3rem 0 1.5rem;
    padding: clamp(1rem, 3vw, 1.5rem) 0;
}

.page-heading h1 {
    max-width: 880px;
    margin: 0 0 1rem;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1;
    letter-spacing: -0.06em;
    text-wrap: balance;
}

.page-heading p:not(.eyebrow) {
    max-width: 780px;
    color: #cbd5e1;
    font-size: 1.08rem;
}

.notice {
    margin-bottom: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgb(124 58 237 / 22%), rgb(34 211 238 / 8%));
    border: 1px solid rgb(196 181 253 / 28%);
    border-radius: 0.75rem;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%), 0 14px 34px rgb(0 0 0 / 16%);
}

.dashboard-flash-message {
    transition: opacity 250ms ease, transform 250ms ease;
}

.dashboard-flash-message.is-dismissing {
    opacity: 0;
    transform: translateY(-0.35rem);
}

.auth-panel,
.legal-page {
    position: relative;
    max-width: 760px;
    margin: 3rem auto;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    background: var(--gradient-surface-strong);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card), 0 0 60px rgb(124 58 237 / 10%);
    overflow: hidden;
    backdrop-filter: blur(16px);
}

.auth-panel form,
.legal-page > * {
    position: relative;
    z-index: 1;
}

label {
    display: grid;
    gap: 0.5rem;
    margin: 1rem 0;
    color: #e2e8f0;
    font-size: 0.95rem;
    font-weight: 650;
}

input,
textarea,
select {
    box-sizing: border-box;
    width: 100%;
    min-height: 3rem;
    padding: 0.85rem 1rem;
    color: #f8fafc;
    background: linear-gradient(135deg, rgb(2 6 23 / 88%) 60%, rgb(124 58 237 / 12%) 100%);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    outline: 0;
    box-shadow: 0 4px 18px rgb(124 58 237 / 10%);
    transition: border-color var(--ease), box-shadow var(--ease), background var(--ease), transform var(--ease);
}

input[type="checkbox"] {
    width: 1.1rem;
    min-height: 1.1rem;
    accent-color: #2563eb;
    box-shadow: none;
}

.checkbox-label {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    width: fit-content;
    margin: 0.35rem 0 1rem;
    color: var(--muted);
    font-weight: 650;
}

input:hover,
textarea:hover,
select:hover {
    border-color: var(--border-strong);
    filter: brightness(1.04);
}

input:focus,
textarea:focus,
select:focus {
    background: rgb(2 6 23 / 88%);
    border-color: var(--purple-light);
    box-shadow: var(--focus-ring), 0 14px 32px rgb(124 58 237 / 12%);
    filter: brightness(1.06) saturate(1.08);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    box-shadow: var(--focus-ring);
    outline: 0;
}

@media (max-width: 760px) {
    .ai-helper-banner {
        align-items: flex-start;
        flex-direction: column;
    }

    .nav {
        padding: 0.75rem 0;
    }

    .brand {
        width: 100%;
    }

    .nav-links,
    .nav-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .hero {
        grid-template-columns: 1fr;
        margin-top: 2rem;
    }

    .trust-strip,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .intro-card {
        grid-template-columns: 1fr;
    }

    .dashboard-hero {
        grid-template-columns: 1fr;
    }

    .dashboard-welcome,
    .dashboard-section-heading,
    .panel-heading-row {
        align-items: start;
        flex-direction: column;
    }

    .profile-security-panel .button.small {
        width: fit-content;
    }

    .dashboard-main-grid,
    .start-panel,
    .profile-layout,
    .payment-row {
        grid-template-columns: 1fr;
    }
}

.auth-actions,
.admin-tabs,
.inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
}

.auth-actions {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.85rem;
    margin-top: 1.1rem;
}

.auth-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.75rem;
    align-items: center;
    color: var(--muted-2);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    height: 1px;
    content: "";
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 18%), transparent);
}

.google-auth-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    min-height: 3.15rem;
    padding: 0.85rem 1rem;
    color: #0f172a;
    background: linear-gradient(180deg, #fff, #eef2ff);
    border: 1px solid rgb(255 255 255 / 70%);
    border-radius: 999px;
    box-shadow: 0 16px 34px rgb(0 0 0 / 22%), inset 0 1px 0 rgb(255 255 255 / 80%);
    font-weight: 800;
    text-decoration: none;
    transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease), filter var(--ease);
}

.google-auth-button:hover,
.google-auth-button:focus-visible {
    transform: translateY(-1px);
    border-color: #fff;
    box-shadow: 0 20px 46px rgb(0 0 0 / 28%), 0 0 32px rgb(196 181 253 / 16%);
    filter: saturate(108%);
    outline: 0;
}

.google-mark {
    display: inline-grid;
    width: 1.75rem;
    height: 1.75rem;
    place-items: center;
    color: #fff;
    background: conic-gradient(from -45deg, #4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0);
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 45%);
    font-weight: 900;
}

.auth-secondary-link {
    justify-self: center;
    color: var(--purple-light);
    font-weight: 700;
    text-decoration: none;
}

.auth-secondary-link:hover,
.auth-secondary-link:focus-visible {
    color: #fff;
    text-decoration: underline;
    outline: 0;
}

.auth-panel .button,
.auth-actions .button,
.inline-form .button,
form .button {
    width: auto;
    min-width: 10rem;
}

.auth-actions .google-auth-button {
    width: 100%;
}

.dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
    gap: 1.5rem;
    align-items: center;
    margin: 2rem 0;
    padding: clamp(1.5rem, 4vw, 2.25rem);
    background: linear-gradient(135deg, rgb(88 28 135 / 72%), rgb(15 23 42 / 86%) 58%, rgb(14 116 144 / 18%));
    border: 1px solid rgb(255 255 255 / 15%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-float);
}

.dashboard-shell {
    display: grid;
    gap: 1.75rem;
    margin-top: 2.5rem;
}

.dashboard-welcome,
.dashboard-panel,
.profile-card {
    padding: clamp(1.5rem, 4vw, 2.25rem);
    background: var(--gradient-surface-strong);
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card), inset 0 1px 0 rgb(255 255 255 / 8%);
}

.dashboard-welcome {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgb(88 28 135 / 68%), rgb(15 23 42 / 82%));
}

.dashboard-hero-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-end;
}

.dashboard-welcome h1,
.dashboard-panel h2,
.dashboard-section-heading h2,
.profile-card h1,
.profile-main h2 {
    margin: 0 0 0.75rem;
    letter-spacing: -0.05em;
}

.dashboard-welcome h1,
.dashboard-panel h2,
.dashboard-section-heading h2 {
    line-height: 1.05;
}

.dashboard-main-grid {
    display: block;
}

.start-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.start-step-list {
    display: grid;
    gap: 0.6rem;
    margin: 1.1rem 0 0;
    padding: 0;
    list-style: none;
}

.start-step-list li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.7rem;
    align-items: start;
    padding: 0.75rem;
    background: rgb(2 6 23 / 34%);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 0.95rem;
}

.start-step-list span {
    display: inline-grid;
    width: 1.65rem;
    height: 1.65rem;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--purple), #2563eb);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    box-shadow: 0 0 24px rgb(124 58 237 / 24%);
}

.start-step-list strong,
.start-step-list small {
    display: block;
}

.start-step-list strong {
    color: #fff;
}

.start-step-list small {
    margin-top: 0.1rem;
    color: #cbd5e1;
}

.url-helper-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.url-helper-grid span,
.delivery-next-steps span {
    display: inline-flex;
    gap: 0.4rem;
    align-items: center;
    min-width: 0;
    padding: 0.6rem 0.7rem;
    color: #dbeafe;
    background: rgb(37 99 235 / 12%);
    border: 1px solid rgb(147 197 253 / 16%);
    border-radius: 0.8rem;
    font-size: 0.8rem;
    font-weight: 750;
}

.quick-actions-list {
    display: grid;
    gap: 0.75rem;
}

.quick-actions-list a {
    display: block;
    padding: 0.9rem 1rem;
    color: #e2e8f0;
    background: linear-gradient(135deg, rgb(255 255 255 / 8%), rgb(124 58 237 / 8%));
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 0.9rem;
    text-decoration: none;
    transition: transform var(--ease), border-color var(--ease), background var(--ease);
}

.quick-actions-list a:hover,
.quick-actions-list a:focus-visible {
    transform: translateX(0.2rem);
    border-color: var(--border-strong);
    background: linear-gradient(135deg, rgb(255 255 255 / 11%), rgb(124 58 237 / 12%));
    outline: 0;
}

.dashboard-section-heading {
    display: flex;
    gap: 1rem;
    align-items: start;
    justify-content: space-between;
}

.dashboard-section-heading > div {
    display: grid;
    gap: 0.35rem;
}

.dashboard-section-heading .eyebrow,
.dashboard-section-heading h2,
.dashboard-section-heading p {
    margin-top: 0;
}

.dashboard-section-heading p:last-child {
    max-width: 440px;
    color: #cbd5e1;
}

.user-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.compact-user-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.user-project-card {
    display: grid;
    gap: 0.8rem;
    padding: 1.25rem;
    background: var(--gradient-surface);
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 1rem;
    box-shadow: var(--shadow-card), inset 0 1px 0 rgb(255 255 255 / 8%);
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.user-project-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-float);
}

.status-card-2 {
    border-color: rgb(34 197 94 / 24%);
}

.status-card-3 {
    border-color: rgb(245 158 11 / 34%);
}

.project-url-line a {
    color: #bfdbfe;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.project-url-line a:hover,
.project-url-line a:focus-visible {
    color: #fff;
    text-decoration: underline;
    outline: 0;
}

.user-project-card h3 {
    margin: 0;
    font-size: 1.25rem;
}

.site-image-manager {
    display: grid;
    gap: 1rem;
    margin-top: 0.35rem;
    padding: 1rem;
    background: rgb(2 6 23 / 34%);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 1rem;
}

.site-image-manager__header,
.site-image-actions,
.site-image-card__actions {
    display: flex;
    gap: 0.75rem;
    align-items: start;
    justify-content: space-between;
}

.site-image-manager__header h4,
.site-image-manager__header p {
    margin: 0;
}

.site-image-manager code {
    color: #bfdbfe;
    background: rgb(15 23 42 / 70%);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 0.45rem;
    padding: 0.08rem 0.35rem;
}

.site-image-limit {
    flex: 0 0 auto;
    padding: 0.4rem 0.7rem;
    color: #dbeafe;
    background: rgb(37 99 235 / 22%);
    border: 1px solid rgb(147 197 253 / 28%);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 800;
}

.site-image-actions {
    align-items: stretch;
}

.site-image-form {
    display: grid;
    flex: 1 1 0;
    gap: 0.65rem;
    min-width: 0;
    padding: 0.85rem;
    background: rgb(15 23 42 / 54%);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 0.9rem;
}

.site-image-form label {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
}

.site-image-form label span {
    color: #dbeafe;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-image-form input[type="file"],
.site-image-form textarea {
    width: 100%;
    border-color: rgb(255 255 255 / 14%);
    background: rgb(2 6 23 / 50%);
}

.site-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
}

.site-image-card {
    display: grid;
    gap: 0.65rem;
    padding: 0.7rem;
    background: rgb(15 23 42 / 56%);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 0.9rem;
}

.site-image-card.is-pending {
    border-color: rgb(34 211 238 / 35%);
    box-shadow: 0 0 28px rgb(34 211 238 / 10%);
}

.site-image-preview-trigger {
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    cursor: zoom-in;
    background: rgb(2 6 23 / 60%);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 0.75rem;
}

.site-image-preview-trigger img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform var(--ease), filter var(--ease);
}

.site-image-preview-trigger:hover img,
.site-image-preview-trigger:focus-visible img {
    filter: saturate(1.1);
    transform: scale(1.04);
}

.site-image-card strong,
.site-image-card span {
    display: block;
    overflow-wrap: anywhere;
}

.site-image-card strong {
    color: #f8fafc;
    font-size: 0.86rem;
}

.site-image-card span {
    color: #94a3b8;
    font-size: 0.78rem;
}

.site-image-card__actions {
    flex-wrap: wrap;
    justify-content: flex-start;
}

.image-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: none;
    place-items: center;
    padding: clamp(1rem, 4vw, 2rem);
    background: rgb(2 6 23 / 82%);
    backdrop-filter: blur(16px);
}

.image-preview-modal.is-open {
    display: grid;
}

.image-preview-modal__panel {
    display: grid;
    gap: 1rem;
    width: min(920px, 100%);
    max-height: 92vh;
    padding: 1rem;
    background: var(--gradient-surface-strong);
    border: 1px solid rgb(255 255 255 / 16%);
    border-radius: 1.25rem;
    box-shadow: var(--shadow-float);
}

.image-preview-modal__topline {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.image-preview-modal__topline h3 {
    margin: 0;
}

.image-preview-modal img {
    display: block;
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    background: rgb(2 6 23 / 70%);
    border-radius: 1rem;
}

.project-card-topline {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: space-between;
    color: #94a3b8;
    font-size: 0.82rem;
}

.empty-project-card,
.delivery-card {
    background: rgb(15 23 42 / 62%);
}

.profile-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.35fr) minmax(0, 0.65fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.profile-card {
    align-self: start;
    min-width: 0;
}

.profile-card p,
.profile-details span {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.profile-avatar {
    display: grid;
    width: 4.25rem;
    height: 4.25rem;
    margin-bottom: 1rem;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #db2777);
    border-radius: 1.25rem;
    box-shadow: 0 18px 42px rgb(124 58 237 / 32%);
    font-size: 1.5rem;
    font-weight: 900;
}

.profile-details {
    display: grid;
    gap: 0.5rem;
    margin: 1.25rem 0;
}

.profile-details span {
    color: #cbd5e1;
}

.profile-main {
    display: grid;
    gap: 1.25rem;
}

.profile-form {
    display: grid;
    max-width: 560px;
}

.panel-heading-row {
    display: flex;
    gap: 1rem;
    align-items: start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.profile-security-panel .panel-heading-row {
    align-items: center;
}

.profile-security-panel .button.small {
    flex: 0 0 auto;
    min-height: 2.6rem;
    padding-inline: 1rem;
}

.profile-security-panel .actions {
    align-items: center;
    margin-top: 0.5rem;
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.85rem;
}

.profile-info-grid div,
.view-mode-card,
.edit-mode-panel {
    min-width: 0;
    padding: 1rem;
    background: linear-gradient(135deg, rgb(255 255 255 / 8%), rgb(124 58 237 / 7%));
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 0.9rem;
}

.profile-info-grid span {
    display: block;
    margin-bottom: 0.3rem;
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-info-grid strong,
.view-mode-card strong {
    display: block;
    color: #f8fafc;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.view-mode-card p {
    margin-bottom: 0;
}

.payment-list {
    display: grid;
    gap: 0.75rem;
}

.payment-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, rgb(255 255 255 / 8%), rgb(124 58 237 / 7%));
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 0.9rem;
}

.payment-row div {
    display: grid;
    gap: 0.25rem;
}

.payment-row span {
    color: #94a3b8;
    font-size: 0.88rem;
}

.success-text {
    border-color: rgb(34 197 94 / 45%);
}

.dashboard-hero h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.dashboard-url-form {
    padding: 1rem;
    background: rgb(2 6 23 / 42%);
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 1.1rem;
}

.dashboard-url-form .url-capture strong,
.dashboard-url-form strong {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.dashboard-url-form .url-input-row input {
    min-height: 3rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0 2rem;
}

.stat-card {
    display: grid;
    gap: 0.75rem;
    padding: 1.25rem;
    background: var(--gradient-surface);
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 1rem;
    box-shadow: var(--shadow-card), inset 0 1px 0 rgb(255 255 255 / 8%);
}

.icon-badge {
    display: inline-flex;
    width: 2.35rem;
    height: 2.35rem;
    align-items: center;
    justify-content: center;
    padding: 0.55rem;
    border-radius: 0.85rem;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 18%), 0 14px 30px rgb(0 0 0 / 18%);
}

.icon-badge svg,
svg.icon-badge {
    width: 2.35rem;
    height: 2.35rem;
    stroke: currentColor;
    stroke-width: 2.25;
}

.icon-inline,
.nav a .icon-inline,
.footer-links a .icon-inline {
    width: 1.05rem;
    height: 1.05rem;
    flex: 0 0 auto;
    stroke-width: 2.35;
    vertical-align: -0.18em;
}

.icon-link,
.icon-title,
.icon-text {
    display: inline-flex;
    gap: 0.55rem;
    align-items: center;
}

.icon-title {
    gap: 0.7rem;
}

.icon-title .icon-badge {
    flex: 0 0 auto;
}

.icon-card-heading {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.icon-card-heading h2,
.icon-card-heading h3 {
    margin-top: 0.1rem;
}

.icon-card-heading p {
    margin-top: 0.25rem;
}

.icon-purple {
    color: #ddd6fe;
    background: rgb(124 58 237 / 24%);
    border: 1px solid rgb(196 181 253 / 22%);
}

.icon-green {
    color: #bbf7d0;
    background: rgb(34 197 94 / 18%);
    border: 1px solid rgb(134 239 172 / 20%);
}

.icon-amber {
    color: #fde68a;
    background: rgb(245 158 11 / 18%);
    border: 1px solid rgb(253 230 138 / 20%);
}

.icon-pink {
    color: #fbcfe8;
    background: rgb(219 39 119 / 20%);
    border: 1px solid rgb(251 207 232 / 20%);
}

.stat-card span {
    display: block;
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.stat-card p {
    margin: 0.45rem 0 0;
    color: #cbd5e1;
    font-size: 0.95rem;
}

.generation-card {
    display: grid;
    gap: 0.75rem;
}

.generation-card h2 {
    margin-bottom: 0;
}

.generation-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.generation-progress {
    display: grid;
    gap: 0.55rem;
    padding: 0.9rem;
    background: linear-gradient(135deg, rgb(255 255 255 / 8%), rgb(34 211 238 / 6%));
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 0.9rem;
}

.generation-progress div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #e2e8f0;
    font-size: 0.88rem;
    font-weight: 800;
}

.generation-progress progress {
    width: 100%;
    height: 0.65rem;
    overflow: hidden;
    accent-color: #8b5cf6;
    background: rgb(15 23 42 / 90%);
    border: 0;
    border-radius: 999px;
}

.generation-progress p {
    margin: 0;
    color: #cbd5e1;
    font-size: 0.92rem;
}

.generation-step-list {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.generation-step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.7rem;
    align-items: start;
    padding: 0.7rem;
    color: #94a3b8;
    background: rgb(15 23 42 / 46%);
    border: 1px solid rgb(255 255 255 / 8%);
    border-radius: 0.85rem;
}

.generation-step-marker {
    display: inline-grid;
    width: 1rem;
    height: 1rem;
    margin-top: 0.2rem;
    place-items: center;
    background: rgb(148 163 184 / 22%);
    border: 1px solid rgb(255 255 255 / 15%);
    border-radius: 999px;
}

.generation-step strong,
.generation-step small {
    display: block;
}

.generation-step strong {
    color: #e2e8f0;
    font-size: 0.9rem;
}

.generation-step small {
    margin-top: 0.15rem;
    color: inherit;
    font-size: 0.8rem;
}

.generation-step.is-done {
    color: #bbf7d0;
    border-color: rgb(34 197 94 / 20%);
}

.generation-step.is-done .generation-step-marker {
    background: #22c55e;
    border-color: rgb(187 247 208 / 45%);
    box-shadow: 0 0 22px rgb(34 197 94 / 28%);
}

.generation-step.is-done .generation-step-marker::before {
    width: 0.35rem;
    height: 0.55rem;
    content: "";
    border-right: 2px solid #052e16;
    border-bottom: 2px solid #052e16;
    transform: rotate(42deg) translateY(-1px);
}

.generation-step.is-current {
    color: #dbeafe;
    background: linear-gradient(135deg, rgb(37 99 235 / 18%), rgb(124 58 237 / 14%));
    border-color: rgb(147 197 253 / 28%);
}

.generation-step.is-current .generation-step-marker {
    background: #60a5fa;
    border-color: rgb(219 234 254 / 56%);
    box-shadow: 0 0 24px rgb(96 165 250 / 38%);
}

.generation-step.is-attention {
    color: #fde68a;
    background: rgb(245 158 11 / 10%);
    border-color: rgb(245 158 11 / 30%);
}

.generation-step.is-attention .generation-step-marker {
    background: #f59e0b;
    border-color: rgb(253 230 138 / 52%);
    box-shadow: 0 0 24px rgb(245 158 11 / 34%);
}

.generation-meta span {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
    padding: 0.65rem 0.75rem;
    color: #e2e8f0;
    background: linear-gradient(135deg, rgb(255 255 255 / 9%), rgb(37 99 235 / 7%));
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 0.85rem;
    font-size: 0.86rem;
}

.generation-meta small {
    color: #93c5fd;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.generation-meta strong {
    overflow: hidden;
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-action-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
    padding: 0.9rem;
    background: linear-gradient(135deg, rgb(15 23 42 / 68%), rgb(2 6 23 / 54%));
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 0.95rem;
}

.project-action-copy {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.project-action-copy strong {
    color: #f8fafc;
    font-size: 0.92rem;
}

.project-action-copy span {
    color: #cbd5e1;
    font-size: 0.86rem;
}

.project-actions {
    justify-content: flex-end;
}

.project-actions .button.small {
    min-width: 0;
}

.delivery-card {
    background: linear-gradient(145deg, rgb(15 23 42 / 92%), rgb(22 101 52 / 18%), rgb(30 41 59 / 70%));
}

.delivery-next-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.delivery-next-steps span {
    color: #bbf7d0;
    background: rgb(34 197 94 / 12%);
    border-color: rgb(134 239 172 / 17%);
}

.delivery-actions {
    align-items: center;
}

.hosting-client-panel,
.demo-hosting-panel,
.hosting-request-card {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgb(2 6 23 / 48%), rgb(37 99 235 / 10%));
    border: 1px solid rgb(147 197 253 / 16%);
    border-radius: 1rem;
}

.hosting-client-panel h4,
.demo-hosting-panel h2,
.hosting-request-card h2,
.hosting-client-panel p,
.demo-hosting-panel p {
    margin: 0;
}

.hosting-live-link {
    display: inline-flex;
    width: max-content;
    margin-top: 0.65rem;
    color: #bfdbfe;
    font-weight: 800;
    text-decoration: none;
}

.hosting-request-details summary {
    width: max-content;
    padding: 0.55rem 0.8rem;
    color: #fff;
    cursor: pointer;
    background: rgb(255 255 255 / 10%);
    border: 1px solid rgb(255 255 255 / 14%);
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 800;
    list-style: none;
}

.hosting-request-details summary::-webkit-details-marker {
    display: none;
}

.hosting-request-form,
.hosting-admin-form {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.85rem;
}

.hosting-request-form label,
.hosting-admin-form label {
    display: grid;
    gap: 0.35rem;
}

.hosting-request-form label span,
.hosting-admin-form label span {
    color: #dbeafe;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hosting-request-form input,
.hosting-request-form select,
.hosting-request-form textarea,
.hosting-admin-form input,
.hosting-admin-form select,
.hosting-admin-form textarea {
    width: 100%;
    border-color: rgb(255 255 255 / 14%);
    background: rgb(2 6 23 / 48%);
}

.demo-hosting-panel {
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
    margin: 0 0 2rem;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    background: linear-gradient(135deg, rgb(22 101 52 / 18%), rgb(15 23 42 / 90%) 46%, rgb(37 99 235 / 16%));
    box-shadow: var(--shadow-card), inset 0 1px 0 rgb(255 255 255 / 8%);
}

.hosting-request-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
}

.hosting-request-card {
    background: var(--gradient-surface-strong);
    box-shadow: var(--shadow-card), inset 0 1px 0 rgb(255 255 255 / 8%);
}

.hosting-detail-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.hosting-detail-list span {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
    padding: 0.65rem 0.75rem;
    background: rgb(255 255 255 / 7%);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 0.8rem;
}

.hosting-detail-list small {
    color: #93c5fd;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.hosting-detail-list strong {
    overflow: hidden;
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hosting-status {
    display: inline-flex;
    width: max-content;
    padding: 0.35rem 0.65rem;
    color: #dbeafe;
    background: rgb(37 99 235 / 18%);
    border: 1px solid rgb(147 197 253 / 24%);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 850;
}

.hosting-status-live {
    color: #bbf7d0;
    background: rgb(34 197 94 / 18%);
    border-color: rgb(134 239 172 / 24%);
}

.hosting-status-waiting_on_client,
.hosting-status-canceled {
    color: #fecaca;
    background: rgb(239 68 68 / 14%);
    border-color: rgb(248 113 113 / 24%);
}

.hosting-status-provisioning,
.hosting-status-in_review {
    color: #fde68a;
    background: rgb(245 158 11 / 14%);
    border-color: rgb(253 230 138 / 24%);
}

.demo-workspace-panel {
    display: grid;
    gap: 1rem;
}

.ai-helper-banner {
    position: relative;
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.15rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgb(37 99 235 / 24%), rgb(124 58 237 / 20%) 58%, rgb(34 211 238 / 12%));
    border: 1px solid rgb(147 197 253 / 22%);
    border-radius: 1.1rem;
    box-shadow: var(--shadow-card), inset 0 1px 0 rgb(255 255 255 / 10%);
}

.ai-helper-banner::before {
    position: absolute;
    inset: -4rem auto auto 55%;
    width: 13rem;
    height: 13rem;
    content: "";
    background: radial-gradient(circle, rgb(255 255 255 / 18%), transparent 62%);
    pointer-events: none;
}

.ai-helper-banner > * {
    position: relative;
    z-index: 1;
}

.ai-helper-banner h2,
.ai-helper-banner p {
    margin: 0;
}

.ai-helper-banner p:not(.eyebrow) {
    color: #dbeafe;
}

.ai-helper-icon {
    flex: 0 0 auto;
    margin-bottom: 0;
}

.demo-tool-card {
    overflow: hidden;
    background: linear-gradient(145deg, rgb(15 23 42 / 88%), rgb(30 41 59 / 62%));
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 1rem;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%);
}

.demo-tool-card summary {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    list-style: none;
}

.demo-tool-card summary::-webkit-details-marker {
    display: none;
}

.demo-tool-card summary::after {
    margin-left: auto;
    color: #c4b5fd;
    content: "Expand";
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.demo-tool-card[open] summary::after {
    content: "Collapse";
}

.demo-tool-icon {
    display: inline-grid;
    flex: 0 0 auto;
    width: 2.6rem;
    height: 2.6rem;
    place-items: center;
    border-radius: 0.85rem;
}

.demo-tool-icon.files {
    color: #bfdbfe;
    background: rgb(37 99 235 / 22%);
    border: 1px solid rgb(147 197 253 / 24%);
}

.demo-tool-icon.images {
    color: #fbcfe8;
    background: rgb(219 39 119 / 20%);
    border: 1px solid rgb(251 207 232 / 22%);
}

.demo-tool-title {
    display: grid;
    gap: 0.2rem;
}

.demo-tool-title h2,
.demo-tool-title h3,
.demo-tool-title p {
    margin: 0;
}

.demo-tool-body {
    display: grid;
    gap: 1rem;
    padding: 0 1rem 1rem;
}

.site-image-upload-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: end;
}

.ai-image-form textarea {
    min-height: 8rem;
    resize: vertical;
}

.site-image-section-title {
    display: grid;
    gap: 0.2rem;
}

.site-image-section-title h4,
.site-image-section-title p {
    margin: 0;
}

.auth-panel form > .button {
    width: 100%;
    margin-top: 0.75rem;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

pre {
    max-height: 20rem;
    overflow: auto;
    padding: 1rem;
    color: #cbd5e1;
    background: rgb(2 6 23 / 80%);
    border-radius: 0.75rem;
    white-space: pre-wrap;
}

.error-text {
    border-color: rgb(248 113 113 / 45%);
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.4rem;
    padding: 0.55rem 0.85rem;
    color: #e2e8f0;
    background: rgb(255 255 255 / 8%);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 999px;
    text-decoration: none;
    transition: transform var(--ease), background var(--ease), border-color var(--ease);
}

.pill:hover {
    transform: translateY(-1px);
    background: rgb(255 255 255 / 12%);
    border-color: rgb(196 181 253 / 24%);
}

.pill.active {
    color: #fff;
    background: #2563eb;
    border-color: rgb(147 197 253 / 28%);
    box-shadow: 0 14px 34px rgb(37 99 235 / 24%);
}

.table-card {
    position: relative;
    overflow-x: auto;
    background: var(--gradient-surface-strong);
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card), inset 0 1px 0 rgb(255 255 255 / 8%);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    color: #ddd6fe;
    background: linear-gradient(135deg, rgb(255 255 255 / 8%), rgb(124 58 237 / 10%));
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.data-table tbody tr {
    transition: background var(--ease);
}

.data-table tbody tr:hover {
    background: rgb(255 255 255 / 6%);
}

.data-table th,
.data-table td {
    padding: 0.9rem;
    border-bottom: 1px solid rgb(255 255 255 / 8%);
    text-align: left;
    vertical-align: top;
}

.data-table a {
    color: #c4b5fd;
}

.status {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgb(148 163 184 / 22%), rgb(255 255 255 / 7%));
    border: 1px solid rgb(255 255 255 / 10%);
}

.status-2,
.status-4 {
    background: rgb(34 197 94 / 20%);
    color: #bbf7d0;
}

.status-3 {
    background: rgb(220 38 38 / 24%);
    color: #fecaca;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.danger-form {
    margin: 0;
}

.danger-form .button {
    border-color: rgb(248 113 113 / 32%);
    color: #fecaca;
}

.danger-form .button:hover,
.danger-form .button:focus-visible {
    background: rgb(127 29 29 / 52%);
    border-color: rgb(248 113 113 / 48%);
}

.muted {
    color: #94a3b8;
}

.demo-topbar,
.demo-files-panel,
.refinement-panel,
.generated-demo {
    position: relative;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--gradient-surface-strong);
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card), inset 0 1px 0 rgb(255 255 255 / 8%);
    overflow: hidden;
}

.generated-demo-frame {
    margin: 2rem 0;
    overflow: hidden;
    background: #080712;
    border: 1px solid rgb(255 255 255 / 14%);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card), inset 0 1px 0 rgb(255 255 255 / 8%);
}

.generated-demo-frame iframe {
    display: block;
    width: 100%;
    min-height: min(74vh, 56rem);
    background: #fff;
    border: 0;
}

.demo-comparison {
    display: grid;
    gap: 0.8rem;
    margin: 0.85rem 0 2rem;
}

.demo-review-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
}

.demo-review-strip span {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
    padding: 0.65rem 0.8rem;
    color: #dbeafe;
    background: linear-gradient(135deg, rgb(255 255 255 / 10%), rgb(37 99 235 / 8%));
    border: 1px solid rgb(255 255 255 / 11%);
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 800;
    text-align: center;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%);
}

.comparison-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    background: var(--gradient-surface-strong);
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card), inset 0 1px 0 rgb(255 255 255 / 8%);
}

.comparison-header h1 {
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.05;
}

.demo-header-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: flex-end;
}

.comparison-header h1,
.comparison-header p {
    margin: 0.25rem 0 0;
}

.comparison-switch {
    display: flex;
    flex: 0 0 auto;
    gap: 0.25rem;
    padding: 0.25rem;
    background: rgb(2 6 23 / 68%);
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 999px;
}

.comparison-toggle-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.comparison-switch label {
    padding: 0.5rem 0.75rem;
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
    transition: color var(--ease), background var(--ease);
}

.comparison-switch label:hover,
#comparison-before:focus-visible ~ .comparison-header .comparison-switch label[for="comparison-before"],
#comparison-after:focus-visible ~ .comparison-header .comparison-switch label[for="comparison-after"],
#comparison-before:checked ~ .comparison-header .comparison-switch label[for="comparison-before"],
#comparison-after:checked ~ .comparison-header .comparison-switch label[for="comparison-after"] {
    color: #fff;
    background: rgb(255 255 255 / 12%);
}

.comparison-grid {
    display: grid;
    gap: 1rem;
}

.comparison-panel {
    display: none;
    overflow: hidden;
    background: #080712;
    border: 1px solid rgb(255 255 255 / 14%);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card), inset 0 1px 0 rgb(255 255 255 / 8%);
}

#comparison-before:checked ~ .comparison-grid .before-panel,
#comparison-after:checked ~ .comparison-grid .after-panel {
    display: block;
}

.comparison-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    background: rgb(15 23 42 / 92%);
    border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.comparison-label span {
    color: #94a3b8;
    font-size: 0.9rem;
}

.comparison-open-link {
    margin-left: auto;
    color: #c4b5fd;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.comparison-open-link:hover,
.comparison-open-link:focus-visible {
    color: #fff;
    text-decoration: underline;
    outline: 0;
}

.comparison-panel iframe {
    display: block;
    width: 100%;
    min-height: min(78vh, 58rem);
    background: #fff;
    border: 0;
}

.demo-files-panel {
    display: grid;
    gap: 1rem;
}

.ai-helper-banner {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.ai-helper-banner > div {
    flex: 1 1 auto;
}

.workspace-tip-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.workspace-tip-grid article,
.image-manager-note {
    display: grid;
    gap: 0.35rem;
    padding: 0.85rem;
    background: rgb(2 6 23 / 36%);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 0.95rem;
}

.workspace-tip-grid article .icon-inline,
.image-manager-note .icon-inline {
    color: #c4b5fd;
}

.workspace-tip-grid strong {
    color: #fff;
}

.workspace-tip-grid span,
.image-manager-note span {
    color: #cbd5e1;
    font-size: 0.88rem;
}

.image-manager-note {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    background: linear-gradient(135deg, rgb(245 158 11 / 11%), rgb(124 58 237 / 10%));
    border-color: rgb(253 230 138 / 18%);
}

.demo-files-panel h2,
.demo-files-panel p {
    margin: 0.25rem 0 0;
}

.demo-file-tree {
    display: grid;
    gap: 0.25rem;
    max-height: 24rem;
    margin: 0;
    padding: 0.75rem;
    overflow: auto;
    list-style: none;
    background: rgb(2 6 23 / 52%);
    border: 1px solid rgb(255 255 255 / 10%);
    border-radius: 1rem;
}

.demo-file-tree li {
    padding-left: calc(var(--depth, 0) * 1.1rem);
}

.demo-file-tree a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    max-width: 100%;
    padding: 0.35rem 0.5rem;
    color: #dbeafe;
    border-radius: 0.6rem;
    text-decoration: none;
}

.demo-file-tree a:hover,
.demo-file-tree a:focus-visible {
    color: #fff;
    background: rgb(255 255 255 / 10%);
    outline: 0;
}

.demo-file-tree span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.before-site-card {
    display: grid;
    gap: 0.85rem;
    min-height: min(42vh, 28rem);
    align-content: center;
    justify-items: start;
    padding: clamp(1.5rem, 4vw, 3rem);
    background: rgb(2 6 23 / 52%);
}

.before-site-card h2,
.before-site-card p {
    max-width: 680px;
    margin: 0;
}

.before-site-card p:not(.eyebrow) {
    color: var(--muted);
}

.demo-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.generated-hero {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #111827, #581c87 60%, #0e7490);
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 1rem;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 10%);
}

.generated-hero h1 {
    max-width: 780px;
    font-size: clamp(2rem, 5vw, 4rem);
}

.generated-section {
    margin: 2rem 0;
}

.glow-card {
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 12%), 0 24px 70px rgb(124 58 237 / 22%);
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 1ms !important;
    }
}

textarea {
    resize: vertical;
}

@media (max-width: 920px) {
    .container {
        width: min(100% - 1.25rem, 1120px);
    }

    .site-header {
        position: static;
    }

    .nav {
        align-items: stretch;
        flex-direction: column;
        padding: 0.75rem 0;
    }

    .brand {
        margin-right: 0;
    }

    .nav-links,
    .nav-actions {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.2rem;
        scrollbar-width: thin;
    }

    .nav a {
        flex: 0 0 auto;
    }

    .hero,
    .intro-card,
    .demo-topbar {
        grid-template-columns: 1fr;
    }

    .cookie-consent-bar {
        align-items: stretch;
        flex-direction: column;
    }

    .cookie-consent-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .comparison-header {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-welcome,
    .ai-helper-banner {
        align-items: stretch;
        flex-direction: column;
    }

    .dashboard-hero-actions {
        justify-content: flex-start;
    }

    .demo-review-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .url-helper-grid,
    .workspace-tip-grid,
    .delivery-next-steps,
    .demo-hosting-panel,
    .hosting-detail-list {
        grid-template-columns: 1fr;
    }

    .demo-header-actions {
        justify-content: flex-start;
    }

    .project-action-panel,
    .site-image-upload-row {
        grid-template-columns: 1fr;
    }

    .project-actions {
        justify-content: flex-start;
    }

    .hero {
        margin-top: 1.5rem;
        padding: clamp(1.25rem, 6vw, 2rem);
    }

    .hero h1,
    .pricing-hero h1,
    .page-heading h1 {
        letter-spacing: -0.045em;
    }
}

@media (max-width: 560px) {
    body {
        background-size: auto;
    }

    .container {
        width: min(100% - 1rem, 1120px);
    }

    .page-shell {
        padding-bottom: 0.5rem;
    }

    .page-shell::before,
    .future-object-field::before,
    .future-object-field::after,
    .future-orb {
        display: none;
    }

    .brand small {
        font-size: 0.58rem;
    }

    .nav-links,
    .nav-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: visible;
    }

    .nav a {
        justify-content: center;
        min-height: 2.75rem;
        padding: 0.6rem 0.7rem;
    }

    .hero,
    .pricing-hero,
    .intro-card,
    .card,
    .plan-card,
    .hero-panel,
    .demo-topbar,
    .demo-files-panel,
    .refinement-panel,
    .generated-demo {
        border-radius: 1rem;
    }

    .hero-actions,
    .actions,
    .site-image-manager__header,
    .site-image-actions,
    .filters {
        align-items: stretch;
        flex-direction: column;
    }

    .site-image-limit {
        width: max-content;
    }

    .generation-meta {
        grid-template-columns: 1fr;
    }

    .start-panel,
    .demo-review-strip {
        grid-template-columns: 1fr;
    }

    .demo-tool-card summary {
        align-items: flex-start;
    }

    .demo-tool-card summary::after {
        content: "";
    }

    .demo-tool-card[open] summary::after {
        content: "";
    }

    .url-input-row input,
    input,
    textarea,
    select {
        font-size: 16px;
    }

    .pricing-grid,
    .card-grid,
    .detail-grid,
    .review-grid {
        grid-template-columns: 1fr;
    }

    .featured-plan {
        transform: none;
    }

    .table-card {
        margin-inline: -0.5rem;
        border-radius: 0.85rem;
    }

    .button,
    .auth-panel .button,
    .auth-actions .button,
    .inline-form .button,
    form .button {
        width: 100%;
    }

    .demo-topbar {
        align-items: stretch;
        flex-direction: column;
    }

    .comparison-switch {
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-radius: 1rem;
    }

    .demo-header-actions .button {
        width: 100%;
    }

    .comparison-switch label {
        text-align: center;
    }

    .comparison-panel iframe {
        min-height: 72vh;
    }
}
