:root {
    --bg: #080910;
    --surface: #10121b;
    --surface-2: #151824;
    --surface-3: #1b1f2c;
    --border: #252a39;
    --border-strong: #353b4e;
    --text: #f8fafc;
    --muted: #9299ab;
    --subtle: #626a7c;
    --primary: #7657e8;
    --primary-hover: #6848da;
    --blue: #4b87f5;
    --green: #37b58c;
    --danger: #ef6b73;
    --radius: 8px;
    --page: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    letter-spacing: 0;
    overflow-x: hidden;
}

button,
input,
textarea,
select {
    font: inherit;
    letter-spacing: 0;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    width: min(calc(100% - 40px), var(--page));
    height: 68px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    background: rgba(8, 9, 16, .92);
    border-bottom: 1px solid rgba(53, 59, 78, .52);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: max-content;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    box-shadow: 0 8px 24px rgba(118, 87, 232, .26);
}

.brand strong {
    font-size: 18px;
    line-height: 1;
}

.nav-center {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-center a {
    color: var(--muted);
    font-size: 14px;
    transition: color .16s ease;
}

.nav-center a:first-child,
.nav-center a:hover {
    color: #fff;
}

.nav-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-login,
.nav-register,
.workspace-link {
    min-height: 38px;
    padding: 0 18px;
    border-radius: 8px;
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.nav-login {
    background: transparent;
    color: var(--muted);
}

.nav-register,
.workspace-link {
    border-color: var(--primary);
    background: var(--primary);
}

.nav-login:hover {
    color: #fff;
    border-color: var(--border-strong);
}

.nav-register:hover,
.workspace-link:hover {
    background: var(--primary-hover);
}

.mobile-menu-btn {
    display: none;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: #fff;
}

.landing-user-menu {
    position: relative;
}

.landing-avatar-btn {
    width: 38px;
    height: 38px;
    border: 1px solid var(--border-strong);
    border-radius: 50%;
    background: var(--surface-2);
    color: #fff;
    font-weight: 800;
}

.landing-user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 210px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .42);
}

.landing-user-menu.open .landing-user-dropdown {
    display: block;
}

.landing-user-summary {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
}

.landing-user-summary strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.landing-user-summary span {
    color: var(--muted);
    font-size: 12px;
}

.landing-user-dropdown a,
.landing-user-dropdown button {
    width: 100%;
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--muted);
    text-align: left;
    font-size: 13px;
}

.landing-user-dropdown a:hover,
.landing-user-dropdown button:hover {
    background: var(--surface-2);
    color: #fff;
}

main {
    width: min(calc(100% - 40px), var(--page));
    margin: 0 auto;
}

.hero {
    min-height: calc(100vh - 68px);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    align-items: center;
    gap: clamp(48px, 8vw, 110px);
    padding: 54px 0 70px;
}

.hero-copy {
    min-width: 0;
    max-width: 100%;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    margin-bottom: 18px;
    border: 1px solid #34384b;
    border-radius: 8px;
    background: #11131c;
    color: #b3b9c8;
    font-size: 12px;
    font-weight: 700;
}

.hero h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(42px, 5.2vw, 70px);
    line-height: 1.08;
    font-weight: 820;
    overflow-wrap: anywhere;
}

.hero h1 span {
    color: #987df2;
}

.hero-copy > p {
    max-width: 650px;
    margin: 22px 0 30px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.85;
}

.prompt-card {
    position: relative;
    width: 100%;
    max-width: 700px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .28);
}

.prompt-upload {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--subtle);
    font-size: 12px;
}

.prompt-upload i {
    color: #9e87ed;
}

.prompt-card textarea {
    width: 100%;
    min-height: 92px;
    padding: 16px 0 10px;
    resize: vertical;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 15px;
    line-height: 1.65;
}

.prompt-card textarea::placeholder {
    color: #5f6678;
}

.prompt-options {
    display: grid;
    grid-template-columns: 1.35fr .75fr .8fr .65fr 42px;
    align-items: end;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.prompt-options label {
    min-width: 0;
}

.prompt-options label > span {
    display: block;
    margin-bottom: 5px;
    color: var(--subtle);
    font-size: 10px;
}

.prompt-options select {
    width: 100%;
    height: 36px;
    padding: 0 8px;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: 0;
    background: var(--surface-2);
    color: #dce1eb;
    font-size: 11px;
}

.prompt-submit {
    width: 42px;
    height: 36px;
    border: 1px solid var(--primary);
    border-radius: 8px;
    background: var(--primary);
    color: #fff;
}

.prompt-submit:hover {
    background: var(--primary-hover);
}

.prompt-state {
    display: block;
    margin-top: 9px;
    color: var(--subtle);
    font-size: 11px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 26px;
    margin-top: 24px;
    color: var(--subtle);
    font-size: 12px;
}

.hero-trust strong {
    color: #d5d9e3;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.phone-shell {
    position: relative;
    width: min(100%, 318px);
    height: 600px;
    padding: 12px;
    border: 2px solid #2a3040;
    border-radius: 42px;
    background: #0f1119;
    box-shadow: 0 28px 90px rgba(38, 25, 94, .42);
}

.phone-status {
    height: 34px;
    padding: 0 12px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    color: #8f96a8;
    font-size: 10px;
}

.phone-status > :last-child {
    justify-self: end;
}

.phone-island {
    width: 78px;
    height: 20px;
    border-radius: 12px;
    background: #030408;
}

.video-stage {
    position: relative;
    height: 482px;
    overflow: hidden;
    border-radius: 28px;
    background: #151824;
}

.video-poster,
.preview-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-video {
    display: none;
}

.video-stage.has-video .preview-video {
    display: block;
}

.video-stage.has-video .video-poster {
    display: none;
}

.video-overlay {
    position: absolute;
    inset: auto 14px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 8px;
    background: rgba(8, 9, 16, .76);
    backdrop-filter: blur(12px);
}

.play-button {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #161822;
    font-size: 11px;
}

.video-overlay div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.video-overlay strong {
    font-size: 12px;
}

.video-overlay span {
    color: #aeb4c1;
    font-size: 10px;
}

.phone-caption {
    height: 54px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--muted);
    font-size: 11px;
}

.phone-caption span {
    color: #66c8a9;
}

.phone-caption strong {
    color: #d8dce5;
}

.showcase-section,
.capabilities-section,
.pricing-section {
    position: relative;
    isolation: isolate;
    padding: 90px 0;
    border-top: 1px solid rgba(53, 59, 78, .48);
}

.showcase-section::before,
.pricing-section::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #0b0d14;
}

.capabilities-section::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #080910;
}

.section-heading {
    max-width: none;
    margin: 0 0 44px;
    display: grid;
    grid-template-columns: 180px minmax(0, 680px);
    justify-content: space-between;
    align-items: end;
    gap: 42px;
    text-align: left;
}

.section-heading > span {
    min-height: 30px;
    width: max-content;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    background: var(--surface);
    color: #9c87ed;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.section-heading h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 44px);
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 230px;
    gap: 14px;
}

.showcase-video-card {
    position: relative;
    grid-column: span 4;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #05060a;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .18);
}

.showcase-main {
    grid-column: span 8;
    grid-row: span 2;
}

.showcase-wide {
    grid-column: span 8;
}

.showcase-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #05060a;
}

.showcase-video-card::after {
    content: "";
    position: absolute;
    pointer-events: none;
    inset: 45% 0 0;
    background: linear-gradient(to bottom, transparent, rgba(8, 9, 16, .94));
}

.showcase-video-card figcaption {
    position: absolute;
    z-index: 2;
    left: 16px;
    right: 16px;
    bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.showcase-video-card figcaption div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.showcase-video-card figcaption strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.showcase-video-card figcaption div > span {
    color: #b5bbc8;
    font-size: 11px;
}

.showcase-number {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(9, 10, 16, .72);
    color: #c8bdfa;
    font-size: 10px;
    font-weight: 800;
}

.showcase-video-card:hover {
    border-color: #4a4268;
    transform: translateY(-2px);
    transition: transform .18s ease, border-color .18s ease;
}

.showcase-video-card:nth-child(2) .showcase-video { object-position: 20% center; }
.showcase-video-card:nth-child(3) .showcase-video { object-position: 78% center; }
.showcase-video-card:nth-child(4) .showcase-video { object-position: 35% center; }
.showcase-video-card:nth-child(5) .showcase-video { object-position: 68% center; }
.showcase-video-card:nth-child(6) .showcase-video { object-position: center 62%; }

.showcase-video::-webkit-media-controls-panel {
    background: linear-gradient(to top, rgba(5, 6, 10, .88), transparent);
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.capability-grid article {
    position: relative;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.capability-grid article::before {
    content: "";
    position: absolute;
    top: 0;
    left: 26px;
    width: 42px;
    height: 2px;
    background: #7657e8;
}

.capability-grid article:nth-child(2)::before { background: #4b87f5; }
.capability-grid article:nth-child(3)::before { background: #37b58c; }
.capability-grid article:nth-child(4)::before { background: #d36fae; }

.capability-grid i {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25213d;
    color: #aa95ef;
}

.capability-grid h3 {
    margin: 24px 0 10px;
    font-size: 17px;
}

.capability-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}

.billing-toggle {
    width: max-content;
    margin: 0 auto 26px;
    padding: 4px;
    display: flex;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.billing-toggle button,
.billing-toggle a {
    min-height: 34px;
    padding: 0 16px;
    border: 0;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.billing-toggle .active {
    background: var(--primary);
    color: #fff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.price-card {
    position: relative;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
}

.price-card.featured {
    border-color: #6d56c8;
    background: #12131e;
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(51, 35, 105, .25);
}

.recommended {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 4px 7px;
    border-radius: 6px;
    background: #2c234c;
    color: #c1aff8;
    font-size: 10px;
    font-weight: 800;
}

.plan-tag {
    color: #9b86ed;
    font-size: 11px;
    font-weight: 900;
}

.price-card h3 {
    margin: 12px 0 8px;
    font-size: 22px;
}

.price-card > p {
    min-height: 48px;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.65;
}

.plan-points {
    margin: 20px 0;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.plan-points strong {
    font-size: 27px;
}

.plan-points span {
    margin-left: 6px;
    color: var(--muted);
    font-size: 12px;
}

.price-card ul {
    min-height: 112px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.price-card li {
    margin: 10px 0;
    color: #b7bdc9;
    font-size: 12px;
}

.price-card li i {
    width: 18px;
    color: #7bd0b4;
}

.price-card > button {
    width: 100%;
    min-height: 40px;
    border: 1px solid #4d426f;
    border-radius: 8px;
    background: #201b35;
    color: #d7ccfa;
    font-weight: 750;
}

.price-card.featured > button,
.price-card > button:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.final-cta {
    margin: 20px 0 90px;
    padding: 38px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    background: var(--surface);
}

.final-cta span {
    color: #9e89ed;
    font-size: 12px;
    font-weight: 800;
}

.final-cta h2 {
    margin: 8px 0 0;
    font-size: clamp(24px, 3vw, 36px);
}

.final-cta a,
.final-cta button {
    min-width: 150px;
    min-height: 44px;
    border: 1px solid var(--primary);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background: var(--primary);
    color: #fff;
    font-weight: 750;
}

.site-footer {
    width: min(calc(100% - 40px), var(--page));
    margin: 0 auto;
    border-top: 1px solid var(--border);
    color: var(--subtle);
    font-size: 12px;
}

.footer-main {
    padding: 52px 0 38px;
    display: grid;
    grid-template-columns: minmax(280px, 1.7fr) repeat(3, minmax(140px, 1fr));
    gap: 52px;
}

.footer-brand-block p {
    max-width: 390px;
    margin: 18px 0 16px;
    color: var(--muted);
    line-height: 1.75;
}

.footer-domain {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #aeb4c2;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer-column > strong {
    margin-bottom: 4px;
    color: #f0f2f7;
    font-size: 13px;
}

.footer-column a,
.footer-column button,
.footer-column span {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--muted);
    font-size: 12px;
    text-align: left;
}

.footer-column a:hover,
.footer-column button:hover {
    color: #fff;
}

.footer-bottom {
    min-height: 68px;
    padding: 18px 0;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-records {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 18px;
}

.footer-records a {
    color: var(--muted);
}

.footer-records a:hover {
    color: #fff;
}

.site-footer p {
    margin: 0;
}

.auth-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(2, 3, 8, .82);
    backdrop-filter: blur(8px);
}

.auth-modal-overlay.active {
    display: flex;
}

.auth-modal {
    position: relative;
    width: min(100%, 450px);
    max-height: min(92vh, 760px);
    overflow-y: auto;
    padding: 24px;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    background: #11131c;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
}

.auth-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    color: #d5d9e4;
    font-size: 20px;
}

.auth-modal-close:hover {
    background: var(--surface-3);
    color: #fff;
}

.auth-modal-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 42px;
    margin-bottom: 18px;
}

.auth-modal-head h2 {
    margin: 0 0 4px;
    font-size: 20px;
}

.auth-modal-head p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
    margin-bottom: 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #0c0e15;
}

.auth-tab {
    min-height: 36px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--muted);
    font-weight: 750;
}

.auth-tab.active {
    background: var(--surface-3);
    color: #fff;
}

.auth-pane {
    display: none;
}

.auth-pane.active {
    display: block;
}

.modal-auth-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-auth-form label {
    color: #c9ced9;
    font-size: 12px;
    font-weight: 700;
}

.modal-auth-form input {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: 0;
    background: #0c0e15;
    color: #fff;
}

.modal-auth-form input:focus {
    border-color: #7459d8;
    box-shadow: 0 0 0 3px rgba(118, 87, 232, .16);
}

.modal-phone-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 8px;
}

.verify-btn,
.auth-submit {
    min-height: 42px;
    border: 1px solid var(--primary);
    border-radius: 8px;
    font-weight: 750;
}

.verify-btn {
    background: #201b35;
    color: #cfc2f8;
}

.auth-submit {
    margin-top: 5px;
    background: var(--primary);
    color: #fff;
}

.verify-btn:hover:not(:disabled),
.auth-submit:hover:not(:disabled) {
    background: var(--primary-hover);
    color: #fff;
}

.verify-btn:disabled,
.auth-submit:disabled {
    border-color: var(--border);
    background: var(--surface-3);
    color: var(--subtle);
    cursor: not-allowed;
}

.auth-message {
    display: none;
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.5;
}

.auth-message.error-message {
    border: 1px solid #63343b;
    background: #29171c;
    color: #f4a5ab;
}

.auth-message.success-message {
    border: 1px solid #265749;
    background: #132820;
    color: #8cdfc2;
}

.auth-switch {
    margin: 15px 0 0;
    text-align: center;
    color: var(--muted);
    font-size: 12px;
}

.auth-switch button {
    padding: 2px 4px;
    border: 0;
    background: transparent;
    color: #aa96ef;
    font-weight: 750;
}

body.auth-modal-open {
    overflow: hidden;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(118, 87, 232, .3);
    outline-offset: 2px;
}

@media (max-width: 980px) {
    .site-nav {
        grid-template-columns: 1fr auto auto;
    }

    .mobile-menu-btn {
        display: inline-flex;
        grid-column: 2;
    }

    .nav-center {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        padding: 12px;
        border: 1px solid var(--border);
        border-radius: 8px;
        flex-direction: column;
        align-items: stretch;
        background: var(--surface);
        box-shadow: 0 16px 40px rgba(0, 0, 0, .38);
    }

    .site-nav.menu-open .nav-center {
        display: flex;
    }

    .nav-center a {
        min-height: 40px;
        padding: 0 10px;
        display: flex;
        align-items: center;
    }

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

    .hero-copy {
        text-align: center;
    }

    .hero-copy > p,
    .prompt-card {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        padding-bottom: 20px;
    }

    .section-heading {
        grid-template-columns: 150px minmax(0, 1fr);
        gap: 28px;
    }

    .showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 220px;
    }

    .showcase-main {
        grid-column: 1 / 3;
        grid-row: span 2;
    }

    .showcase-video-card,
    .showcase-wide {
        grid-column: span 1;
    }

    .showcase-wide {
        grid-column: 1 / 3;
    }

    .capability-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .site-nav,
    main,
    .site-footer {
        width: min(calc(100% - 24px), var(--page));
    }

    .site-nav {
        height: 62px;
        gap: 8px;
    }

    .brand strong {
        font-size: 15px;
    }

    .brand-mark {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .mobile-menu-btn span,
    .nav-login,
    .workspace-link {
        display: none;
    }

    .nav-register {
        min-height: 36px;
        padding: 0 11px;
    }

    .hero {
        min-height: auto;
        padding: 50px 0 64px;
        gap: 48px;
    }

    .hero h1 {
        font-size: 36px;
        line-height: 1.16;
    }

    .hero-copy > p {
        font-size: 14px;
    }

    .prompt-options {
        grid-template-columns: 1fr 1fr;
    }

    .prompt-submit {
        width: 100%;
        grid-column: 1 / 3;
    }

    .phone-shell {
        height: 540px;
    }

    .video-stage {
        height: 422px;
    }

    .showcase-section,
    .capabilities-section,
    .pricing-section {
        padding: 70px 0;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .showcase-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 210px;
    }

    .showcase-main,
    .showcase-video-card,
    .showcase-wide {
        grid-column: 1;
    }

    .showcase-main {
        grid-row: span 2;
    }

    .portrait-card {
        min-height: 300px;
    }

    .capability-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .price-card > p,
    .price-card ul {
        min-height: 0;
    }

    .price-card.featured {
        transform: none;
    }

    .final-cta {
        padding: 26px;
        align-items: stretch;
        flex-direction: column;
    }

    .final-cta a,
    .final-cta button {
        width: 100%;
    }

    .site-footer {
        width: min(calc(100% - 24px), var(--page));
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 34px 24px;
    }

    .footer-brand-block {
        grid-column: 1 / 3;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .modal-phone-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 460px) {
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-brand-block {
        grid-column: auto;
    }
}
