@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --ink: #f7f4ff;
    --muted: #aaa5bd;
    --surface: #14121d;
    --surface-2: #1c1927;
    --line: rgba(255, 255, 255, .1);
    --purple: #8c5cff;
    --purple-2: #b69cff;
    --cyan: #55e6d2;
    --night: #09080e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--night);
    font-family: 'DM Sans', sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.site-shell {
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 8%, rgba(107, 63, 196, .18), transparent 30rem),
        radial-gradient(circle at 10% 55%, rgba(85, 230, 210, .05), transparent 28rem),
        var(--night);
}

.site-header {
    width: min(1180px, calc(100% - 40px));
    height: 84px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font: 700 18px 'Space Grotesk'; letter-spacing: .16em; }
.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    color: white;
    border: 1px solid rgba(182, 156, 255, .6);
    border-radius: 11px 11px 17px 17px;
    background: linear-gradient(145deg, #a77bff, #5635b6);
    box-shadow: 0 0 28px rgba(140, 92, 255, .32), inset 0 0 12px rgba(255,255,255,.18);
    letter-spacing: 0;
}
.brand-mark.large { width: 64px; height: 64px; font-size: 28px; }
.desktop-nav { display: flex; gap: 36px; color: var(--muted); font-size: 14px; }
.desktop-nav a:hover, .text-link:hover { color: white; }
.header-actions { display: flex; align-items: center; gap: 22px; font-size: 14px; }

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    padding: 0 24px;
    border: 0;
    border-radius: 12px;
    color: white;
    background: linear-gradient(135deg, #9a6cff, #6a3dda);
    box-shadow: 0 12px 38px rgba(112, 69, 217, .28);
    font-weight: 700;
    cursor: pointer;
}
.button:hover { transform: translateY(-1px); filter: brightness(1.08); }
.button:disabled { opacity: .65; cursor: wait; }
.button-small { min-height: 40px; padding: 0 17px; border-radius: 10px; }
.button-ghost { background: transparent; border: 1px solid var(--line); box-shadow: none; color: var(--ink); }
.button-block { width: 100%; margin-top: 10px; }

.hero {
    width: min(1180px, calc(100% - 40px));
    min-height: 650px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 48px;
}
.eyebrow { color: var(--purple-2); font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.eyebrow span { display: inline-block; width: 24px; height: 1px; margin: 0 10px 3px 0; background: var(--purple); }
h1, h2, h3 { margin-top: 0; font-family: 'Space Grotesk', sans-serif; }
h1:focus { outline: none; }
.hero h1 { max-width: 700px; margin: 24px 0; font-size: clamp(47px, 5.4vw, 74px); line-height: 1.03; letter-spacing: -.055em; }
.hero h1 em { color: var(--purple-2); font-style: normal; }
.hero-lead { max-width: 590px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; gap: 14px; margin-top: 32px; }
.microcopy { color: #777286; margin-top: 17px; font-size: 12px; }

.golem-orbit { position: relative; min-height: 520px; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(164, 126, 255, .18); border-radius: 50%; }
.orbit-one { width: 390px; height: 390px; }
.orbit-two { width: 270px; height: 270px; border-color: rgba(85, 230, 210, .15); }
.core {
    width: 174px;
    height: 190px;
    z-index: 2;
    display: grid;
    place-items: center;
    font: 700 72px 'Space Grotesk';
    color: white;
    border: 1px solid rgba(183, 159, 255, .75);
    border-radius: 48% 48% 42% 42%;
    background: linear-gradient(150deg, rgba(172,130,255,.95), rgba(64,39,133,.96));
    box-shadow: 0 0 80px rgba(133, 84, 255, .38), inset 0 0 35px rgba(255,255,255,.14);
}
.floating-card {
    position: absolute;
    z-index: 3;
    width: 190px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(23, 20, 34, .88);
    backdrop-filter: blur(14px);
    box-shadow: 0 18px 45px rgba(0,0,0,.28);
    font-size: 12px;
}
.floating-card b { color: var(--purple-2); font-size: 11px; }
.floating-card span { color: var(--muted); line-height: 1.4; }
.card-live { top: 75px; right: 0; }
.card-live b { color: #ff6386; }
.card-community { bottom: 72px; right: 20px; }
.card-community b { color: var(--cyan); font-size: 20px; }
.card-welcome { bottom: 112px; left: -15px; }

.trust-strip {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(25px, 5vw, 68px);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: #747080;
}
.trust-strip span { font-size: 10px; letter-spacing: .18em; }
.trust-strip b { color: #9993aa; font: 600 16px 'Space Grotesk'; }

.section { width: min(1120px, calc(100% - 40px)); padding: 120px 0; margin: auto; }
.section-heading { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-heading h1, .section-heading h2 { margin: 18px 0; font-size: clamp(38px, 5vw, 56px); letter-spacing: -.045em; }
.section-heading p { color: var(--muted); font-size: 17px; line-height: 1.65; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card { min-height: 260px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: rgba(20,18,29,.68); }
.feature-card.featured { border-color: rgba(140,92,255,.5); background: linear-gradient(150deg, rgba(77,49,140,.35), rgba(20,18,29,.8)); }
.feature-number { color: var(--purple-2); font-size: 12px; letter-spacing: .15em; }
.feature-card h3 { margin: 80px 0 12px; font-size: 21px; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 14px; }

.creator-banner { width: min(1120px, calc(100% - 40px)); margin: 0 auto 100px; padding: 60px; display: flex; align-items: center; justify-content: space-between; gap: 50px; border: 1px solid rgba(140,92,255,.35); border-radius: 24px; background: linear-gradient(120deg, rgba(90,54,170,.28), rgba(19,17,28,.8)); }
.creator-banner h2 { max-width: 730px; margin: 16px 0 0; font-size: clamp(30px, 4vw, 46px); letter-spacing: -.04em; }

.clip-maker-page { width: min(1120px, calc(100% - 40px)); margin: auto; padding: 70px 0 110px; }
.clip-maker-hero { min-height: 570px; display: grid; grid-template-columns: 1fr 340px; align-items: center; gap: 90px; }
.clip-maker-hero h1 { margin: 22px 0 18px; font-size: clamp(56px, 7vw, 88px); line-height: .95; letter-spacing: -.065em; }
.clip-maker-hero h1 em, .clip-preview strong em { color: var(--cyan); font-style: normal; }
.clip-maker-hero p { max-width: 650px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.clip-maker-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 30px; }
.clip-local-label { color: #8b8498; font-size: 12px; }
.clip-preview { aspect-ratio: 9 / 16; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(85,230,210,.4); border-radius: 28px; background: radial-gradient(circle at 50% 38%,rgba(85,230,210,.18),transparent 28%),linear-gradient(155deg,#161126,#07060c 70%); box-shadow: 0 35px 100px rgba(0,0,0,.45); }
.clip-preview-top { display: flex; justify-content: space-between; color: #9790a6; font-size: 10px; letter-spacing: .12em; }
.clip-preview-play { display: grid; place-items: center; width: 68px; height: 68px; margin: auto; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; color: white; background: rgba(255,255,255,.08); }
.clip-preview strong { text-align: center; font-size: 27px; line-height: 1.05; }
.clip-preview-track { height: 3px; background: rgba(255,255,255,.18); }
.clip-preview-track span { display: block; width: 46%; height: 100%; background: var(--cyan); }
.clip-maker-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.clip-maker-grid article { min-height: 220px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.clip-maker-grid article>span { color: var(--cyan); font: 700 11px monospace; }
.clip-maker-grid h2 { margin: 48px 0 12px; font-size: 21px; }
.clip-maker-grid p { color: var(--muted); line-height: 1.6; font-size: 14px; }
.clip-maker-note { margin-top: 18px; padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; border: 1px solid rgba(140,92,255,.35); border-radius: 20px; background: rgba(93,55,175,.12); }
.clip-maker-note h2 { margin: 10px 0 0; font-size: 32px; }
.clip-maker-note p { margin: 0; color: var(--muted); line-height: 1.7; }
.clip-maker-actions .button-secondary { border: 1px solid var(--line); background: transparent; }
.clip-install-card { margin-top: 18px; padding: 36px 40px; border: 1px solid rgba(85,230,210,.3); border-radius: 20px; background: linear-gradient(135deg,rgba(85,230,210,.08),rgba(19,17,28,.9)); }
.clip-install-card h2 { margin: 12px 0 22px; font-size: 30px; }.clip-install-card ol { margin: 0; padding-left: 22px; color: #d8d3e1; line-height: 2; }.clip-install-card p { margin: 18px 0 0; color: var(--muted); }
.clip-maker-integrated { width: min(1320px, calc(100% - 32px)); padding-top: 48px; }
.clip-integrated-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 26px; }
.clip-integrated-heading h1 { margin: 13px 0 8px; font-size: clamp(42px, 6vw, 64px); letter-spacing: -.055em; }
.clip-integrated-heading h1 em { color: var(--cyan); font-style: normal; }
.clip-integrated-heading p { max-width: 760px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.clip-plan-pill { flex: 0 0 auto; padding: 10px 14px; color: var(--cyan); border: 1px solid rgba(85,230,210,.35); border-radius: 30px; background: rgba(85,230,210,.06); font: 700 11px 'Space Grotesk'; letter-spacing: .14em; }
.clip-engine-shell { overflow: hidden; border: 1px solid rgba(140,92,255,.38); border-radius: 22px; background: #08070f; box-shadow: 0 28px 90px rgba(0,0,0,.38); }
.clip-engine-frame { display: block; width: 100%; height: max(980px, calc(100vh - 150px)); border: 0; background: #08070f; }
.clip-engine-loading { min-height: 500px; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }

.auth-page { width: min(1080px, calc(100% - 40px)); min-height: calc(100vh - 84px); margin: auto; display: grid; grid-template-columns: 1fr 480px; align-items: center; gap: 100px; padding: 70px 0; }
.auth-story h1 { margin: 22px 0; font-size: clamp(44px, 5vw, 68px); line-height: 1.04; letter-spacing: -.05em; }
.auth-story > p { max-width: 540px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.auth-quote { margin-top: 45px; padding: 22px; max-width: 480px; color: #c8c2d6; border-left: 2px solid var(--purple); background: rgba(255,255,255,.025); line-height: 1.6; }
.check-list { list-style: none; padding: 0; color: #c8c2d6; line-height: 2.1; }
.check-list li::before { content: '✓'; margin-right: 12px; color: var(--cyan); }
.auth-card { padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: rgba(23,20,34,.84); box-shadow: 0 28px 80px rgba(0,0,0,.28); }
.auth-card h2 { margin-bottom: 7px; font-size: 30px; }
.auth-card > p { margin-top: 0; color: var(--muted); }
.provider-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 24px 0; }
.provider { padding: 13px 8px; border: 1px solid var(--line); border-radius: 10px; text-align: center; font-size: 13px; background: rgba(255,255,255,.025); }
.provider:hover { border-color: var(--purple); }
.divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: #777283; font-size: 12px; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-card form { display: grid; gap: 9px; }
.auth-card label { margin-top: 7px; color: #d7d2e1; font-size: 13px; font-weight: 600; }
.auth-card input[type='text'], .auth-card input[type='email'], .auth-card input[type='password'] { width: 100%; min-height: 48px; padding: 0 14px; color: white; border: 1px solid var(--line); border-radius: 10px; outline: 0; background: rgba(4,4,7,.45); }
.auth-card input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(140,92,255,.1); }
.check-row { display: grid !important; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; color: var(--muted) !important; font-weight: 400 !important; line-height: 1.4; }
.check-row input { margin-top: 2px; accent-color: var(--purple); }
.validation-message, .form-error { color: #ff8097; font-size: 12px; }
.field-help { margin: 5px 0 0; color: #9690a3; font-size: 12px; line-height: 1.4; }
.form-error { padding: 10px; border-radius: 8px; background: rgba(255,80,110,.08); }
.auth-switch { margin: 22px 0 0 !important; text-align: center; font-size: 13px; }
.auth-switch a { color: var(--purple-2); font-weight: 700; }

.plans-page { width: min(1180px, calc(100% - 40px)); margin: auto; padding: 90px 0 120px; }
.plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); align-items: stretch; gap: 14px; }
.plan-card { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.plan-card > span { color: var(--purple-2); font-size: 12px; font-weight: 700; letter-spacing: .15em; }
.plan-card h2 { margin: 22px 0 12px; font-size: 30px; }
.plan-card h2 small { color: var(--muted); font: 400 12px 'DM Sans'; }
.plan-card p, .plan-card li { color: var(--muted); font-size: 14px; line-height: 1.55; }
.plan-card ul { min-height: 145px; padding-left: 20px; }
.plan-card .button { width: 100%; }
.plan-card.popular { transform: translateY(-10px); border-color: var(--purple); background: linear-gradient(160deg, rgba(95,57,177,.38), var(--surface)); box-shadow: 0 25px 60px rgba(76,45,144,.22); }
.popular-label { position: absolute; top: -13px; right: 18px; padding: 6px 10px; color: white; border-radius: 20px; background: var(--purple); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.pricing-note { margin-top: 28px; color: #7f798b; text-align: center; font-size: 13px; }

.empty-state { min-height: 70vh; max-width: 650px; margin: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.empty-state h1 { margin: 25px 0 12px; font-size: 44px; }
.empty-state p { color: var(--muted); line-height: 1.7; }
.empty-state .button { margin-top: 15px; }
.dashboard { width: min(1120px, calc(100% - 40px)); min-height: 80vh; margin: auto; padding: 70px 0 110px; }
.dashboard-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 38px; }
.dashboard-heading h1 { margin: 14px 0 5px; font-size: 48px; letter-spacing: -.04em; }
.dashboard-heading p, .recommendations > div > p { margin: 0; color: var(--muted); }
.plan-pill { padding: 9px 14px; color: var(--cyan); border: 1px solid rgba(85,230,210,.35); border-radius: 30px; background: rgba(85,230,210,.06); font-size: 11px; font-weight: 700; letter-spacing: .13em; }
.dashboard-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.status-card, .metric-card { min-height: 190px; padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.status-card > span, .metric-card > span, .promo-card > span { color: #817b8d; font-size: 10px; font-weight: 700; letter-spacing: .15em; }
.status-card strong, .metric-card strong { display: block; margin: 16px 0 8px; font: 600 24px 'Space Grotesk'; }
.metric-card strong { color: var(--purple-2); font-size: 48px; }
.status-card p, .metric-card p, .promo-card p { color: var(--muted); font-size: 13px; line-height: 1.55; }
.recommendations { margin-top: 54px; }
.recommendations h2 { margin-bottom: 7px; font-size: 30px; }
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.promo-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(111,68,210,.16), var(--surface)); }
.promo-card.accent { background: linear-gradient(145deg, rgba(54,156,143,.12), var(--surface)); }
.promo-card h3 { margin: 14px 0 8px; font-size: 23px; }
.promo-card a { color: var(--purple-2); font-size: 13px; font-weight: 700; }

.community-setup { width: min(980px, calc(100% - 40px)); margin: auto; padding: 52px 0 110px; }
.back-link { color: var(--muted); font-size: 13px; }
.back-link:hover { color: white; }
.setup-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin: 48px 0 34px; }
.setup-heading h1 { margin: 14px 0 8px; font-size: clamp(42px, 6vw, 62px); letter-spacing: -.05em; }
.setup-heading p { margin: 0; color: var(--muted); font-size: 17px; }
.setup-progress { min-width: 150px; padding: 18px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.setup-progress strong { color: var(--purple-2); font: 700 36px 'Space Grotesk'; }
.setup-progress span { color: var(--muted); font-size: 12px; line-height: 1.35; }
.setup-form { display: grid; gap: 16px; }
.setup-card { display: grid; grid-template-columns: 72px 1fr; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: rgba(20,18,29,.86); }
.setup-step { padding-top: 30px; color: var(--purple-2); border-right: 1px solid var(--line); text-align: center; font: 600 12px 'Space Grotesk'; letter-spacing: .15em; }
.setup-card-content { padding: 30px; }
.setup-kicker { color: #817b8d; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.setup-card h2 { margin: 9px 0; font-size: 27px; }
.setup-card p { color: var(--muted); line-height: 1.6; }
.setup-card code { padding: 2px 6px; color: var(--purple-2); border-radius: 5px; background: rgba(140,92,255,.1); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.field-grid label, .setup-card-content > label { display: grid; gap: 8px; color: #d7d2e1; font-size: 13px; font-weight: 600; }
.field-grid input, .setup-card textarea { width: 100%; padding: 13px 14px; color: white; border: 1px solid var(--line); border-radius: 10px; outline: 0; background: rgba(4,4,7,.45); resize: vertical; }
.field-grid input:focus, .setup-card textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(140,92,255,.1); }
.toggle-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.switch { position: relative; width: 48px; height: 28px; }
.switch input { position: absolute; opacity: 0; }
.switch span { position: absolute; inset: 0; border-radius: 30px; background: #353040; cursor: pointer; transition: .2s; }
.switch span::after { content: ''; position: absolute; width: 20px; height: 20px; top: 4px; left: 4px; border-radius: 50%; background: white; transition: .2s; }
.switch input:checked + span { background: var(--purple); }
.switch input:checked + span::after { transform: translateX(20px); }
.field-wide { grid-column: 1 / -1; }
.save-message { padding: 14px 18px; border-radius: 12px; font-size: 13px; }
.save-message.success { color: var(--cyan); border: 1px solid rgba(85,230,210,.25); background: rgba(85,230,210,.07); }
.save-message.error { color: #ff8097; border: 1px solid rgba(255,128,151,.25); background: rgba(255,128,151,.07); }
.setup-actions { padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 25px; border: 1px solid rgba(140,92,255,.35); border-radius: 18px; background: linear-gradient(120deg, rgba(90,54,170,.22), rgba(19,17,28,.8)); }
.setup-actions strong, .setup-actions span { display: block; }
.setup-actions span { margin-top: 5px; color: var(--muted); font-size: 13px; }
.setup-loading { min-height: 300px; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); border-radius: 20px; }

.site-footer { width: min(1180px, calc(100% - 40px)); min-height: 120px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: #777282; font-size: 12px; }
#blazor-error-ui { display: none; position: fixed; bottom: 0; z-index: 1000; width: 100%; padding: 12px; color: #241831; background: #ffd9e1; }
#blazor-error-ui .dismiss { cursor: pointer; float: right; }

@media (max-width: 980px) {
    .desktop-nav { display: none; }
    .hero { grid-template-columns: 1fr; padding: 80px 0 20px; text-align: center; }
    .hero-lead { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .golem-orbit { min-height: 470px; }
    .feature-grid, .plans-grid { grid-template-columns: 1fr 1fr; }
    .auth-page { grid-template-columns: 1fr; gap: 45px; }
    .auth-story { text-align: center; }
    .auth-story > p, .auth-quote { margin-inline: auto; }
    .dashboard-grid { grid-template-columns: 1fr 1fr; }
    .status-card { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
    .site-header { height: 70px; }
    .header-actions .text-link { display: none; }
    .header-actions .button { min-height: 38px; padding: 0 13px; font-size: 12px; }
    .hero { width: min(100% - 28px, 1180px); min-height: auto; }
    .hero h1 { font-size: 43px; }
    .hero-actions { flex-direction: column; }
    .golem-orbit { transform: scale(.82); margin: -30px -60px; }
    .trust-strip { padding: 25px 15px; flex-wrap: wrap; gap: 20px 28px; }
    .trust-strip span { width: 100%; text-align: center; }
    .feature-grid, .plans-grid, .promo-grid, .dashboard-grid { grid-template-columns: 1fr; }
    .plan-card.popular { transform: none; }
    .creator-banner { padding: 35px 25px; flex-direction: column; align-items: flex-start; }
    .clip-maker-hero { grid-template-columns: 1fr; gap: 45px; }
    .clip-preview { width: min(320px,100%); margin: auto; }
    .clip-maker-grid, .clip-maker-note { grid-template-columns: 1fr; }
    .clip-maker-integrated { width: min(100% - 16px, 1320px); padding-top: 30px; }
    .clip-integrated-heading { align-items: flex-start; flex-direction: column; }
    .clip-engine-frame { height: calc(100vh - 90px); min-height: 760px; }
    .auth-page { width: min(100% - 24px, 1080px); padding-top: 45px; }
    .auth-story h1 { font-size: 43px; }
    .auth-card { padding: 25px 18px; }
    .provider-grid { grid-template-columns: 1fr; }
    .dashboard-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
    .status-card { grid-column: auto; }
    .site-footer { padding: 30px 0; flex-direction: column; text-align: center; }
    .community-setup { width: min(100% - 24px, 980px); padding-top: 34px; }
    .setup-heading { align-items: flex-start; flex-direction: column; margin-top: 34px; }
    .setup-progress { width: 100%; }
    .setup-card { grid-template-columns: 1fr; }
    .setup-step { padding: 15px 20px; border-right: 0; border-bottom: 1px solid var(--line); text-align: left; }
    .setup-card-content { padding: 22px 18px; }
    .field-grid { grid-template-columns: 1fr; }
    .field-wide { grid-column: auto; }
    .setup-actions { align-items: stretch; flex-direction: column; }
    .setup-actions .button { width: 100%; }
}
