/* Typeface load */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* Core modules */
@import url('./variables.css');
@import url('./reset.css');
@import url('./layout.css');
@import url('./components.css');
@import url('./utilities.css');

/* Global scene */
body {
    min-height: 100vh;
    color: var(--color-text-primary);
    background:
        radial-gradient(1200px 420px at -12% -14%, rgba(21, 107, 232, 0.18), transparent 68%),
        radial-gradient(920px 440px at 106% 4%, rgba(85, 151, 243, 0.16), transparent 67%),
        linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    background-attachment: fixed;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.28;
    background-image:
        linear-gradient(rgba(17, 44, 86, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 44, 86, 0.03) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 92%);
}

main {
    position: relative;
}

a {
    transition: color var(--transition-fast);
}

.link-accent {
    color: var(--color-accent-strong);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

code,
pre {
    font-family: var(--font-mono);
}

section {
    position: relative;
    padding: clamp(3rem, 6vw, 5.4rem) 0;
}

section:nth-of-type(2n) {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.36) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-top: 1px solid rgba(17, 48, 89, 0.06);
    border-bottom: 1px solid rgba(17, 48, 89, 0.06);
}

.section-muted {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.26) 100%);
    border-top: 1px solid rgba(17, 48, 89, 0.08);
    border-bottom: 1px solid rgba(17, 48, 89, 0.08);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section-header h2 {
    display: inline-block;
}

.section-header p {
    max-width: 62ch;
    margin: 0 auto;
}

/* Hero */
.hero {
    padding-top: clamp(3.3rem, 7vw, 6.4rem);
    padding-bottom: clamp(2.2rem, 4.2vw, 4.1rem);
    text-align: center;
    overflow: hidden;
    overflow: clip;
}

.gradient-hero {
    overflow: hidden;
    overflow: clip;
}

.hero-compact {
    padding-top: clamp(2.6rem, 5.6vw, 4rem);
    padding-bottom: clamp(1.5rem, 3.4vw, 2.2rem);
}

.gradient-hero::before,
.gradient-hero::after {
    content: '';
    position: absolute;
    z-index: 0;
    border-radius: 999px;
    pointer-events: none;
}

.gradient-hero::before {
    width: min(60vw, 760px);
    height: min(60vw, 760px);
    top: -28%;
    left: -18%;
    background: radial-gradient(circle, rgba(12, 110, 255, 0.2), rgba(12, 110, 255, 0));
    animation: driftOrbA 16s ease-in-out infinite;
}

.gradient-hero::after {
    width: min(48vw, 620px);
    height: min(48vw, 620px);
    right: -14%;
    bottom: -22%;
    background: radial-gradient(circle, rgba(97, 169, 255, 0.2), rgba(97, 169, 255, 0));
    animation: driftOrbB 19s ease-in-out infinite;
}

@keyframes driftOrbA {
    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(35px, -28px);
    }
}

@keyframes driftOrbB {
    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-28px, 25px);
    }
}

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

.hero-content {
    max-width: 860px;
    margin: 0 auto;
}

.hero-subtitle {
    margin-bottom: 0;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-top: var(--space-lg);
}

.hero-image {
    margin-top: clamp(2rem, 6vw, 4.3rem);
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image .screenshot {
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 56px -24px rgba(9, 31, 66, 0.45);
}

/* Homepage */
.page-home .hero-image {
    max-width: 1120px;
}

.mac-window {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(15, 45, 84, 0.2);
    background: linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%);
}

.mac-window::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.mac-window-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(18, 49, 89, 0.14);
    background: linear-gradient(180deg, #f6f9ff 0%, #eaf1ff 100%);
}

.mac-window-controls {
    position: absolute;
    top: 50%;
    display: flex;
    transform: translateY(-50%);
}

.mac-window-dot {
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.18);
}

.mac-window-dot-close {
    background: #ff5f57;
}

.mac-window-dot-minimize {
    background: #ffbd2e;
}

.mac-window-dot-maximize {
    background: #28c840;
}

.mac-window-title {
    font-weight: 600;
    letter-spacing: 0.01em;
    color: rgba(19, 48, 86, 0.88);
}

.page-home .mac-window {
    border-radius: clamp(14px, 2vw, 22px);
    box-shadow:
        0 42px 88px -42px rgba(8, 29, 63, 0.68),
        0 24px 40px -30px rgba(8, 41, 84, 0.62);
}

.page-home .mac-window-bar {
    min-height: clamp(38px, 4.6vw, 46px);
    padding: 0.55rem 1rem;
}

.page-home .mac-window-controls {
    left: clamp(0.8rem, 2vw, 1.05rem);
    gap: 0.42rem;
}

.page-home .mac-window-dot {
    width: clamp(10px, 1.2vw, 12px);
    height: clamp(10px, 1.2vw, 12px);
}

.page-home .mac-window-title {
    font-size: clamp(0.76rem, 1.6vw, 0.87rem);
}

.page-home .hero-image .screenshot {
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: block;
}

.features-grid {
    margin-top: var(--space-xl);
}

.feature-card {
    text-align: left;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 251, 255, 0.93) 100%);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    background: linear-gradient(140deg, rgba(11, 109, 255, 0.09), rgba(84, 170, 255, 0.12));
    border: 1px solid rgba(11, 109, 255, 0.16);
}

.visual-strip {
    margin-top: var(--space-xl);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.8rem, 2vw, 1.4rem);
}

.visual-strip .mac-window {
    border-radius: clamp(10px, 1.4vw, 14px);
    box-shadow:
        0 24px 42px -28px rgba(8, 34, 73, 0.6),
        0 14px 26px -18px rgba(9, 40, 81, 0.45);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    cursor: zoom-in;
}

.visual-strip .mac-window:hover {
    transform: translateY(-6px);
    box-shadow:
        0 30px 48px -26px rgba(8, 34, 73, 0.66),
        0 20px 30px -18px rgba(9, 40, 81, 0.52);
}

.visual-strip .mac-window:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.visual-strip .mac-window-bar {
    min-height: clamp(22px, 2.2vw, 26px);
    padding: 0.24rem 0.58rem;
}

.visual-strip .mac-window-controls {
    left: clamp(0.5rem, 0.9vw, 0.62rem);
    gap: 0.24rem;
}

.visual-strip .mac-window-dot {
    width: clamp(6px, 0.62vw, 8px);
    height: clamp(6px, 0.62vw, 8px);
}

.visual-strip .mac-window-title {
    font-size: clamp(0.56rem, 0.72vw, 0.66rem);
}

.visual-strip img {
    width: 100%;
    display: block;
    border-radius: 0;
    border: 0;
    box-shadow: none;
}

body.lightbox-open {
    overflow: hidden;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    display: grid;
    place-items: center;
    padding: clamp(0.8rem, 2vw, 1.4rem);
}

.lightbox[hidden] {
    display: none;
}

.lightbox-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(10, 23, 42, 0.72);
}

.lightbox-dialog {
    position: relative;
    width: min(1180px, 94vw);
    max-height: 92vh;
    border-radius: clamp(12px, 1.6vw, 18px);
    border: 1px solid rgba(192, 212, 241, 0.34);
    background: linear-gradient(180deg, rgba(230, 239, 252, 0.95), rgba(217, 229, 247, 0.95));
    box-shadow:
        0 40px 80px -30px rgba(0, 0, 0, 0.66),
        0 10px 24px rgba(8, 25, 48, 0.22);
    overflow: hidden;
}

.lightbox-figure {
    margin: 0;
}

.lightbox-figure img {
    width: 100%;
    max-height: calc(92vh - 2.8rem);
    object-fit: contain;
    display: block;
    background: rgba(246, 250, 255, 0.95);
}

.lightbox-figure figcaption {
    display: block;
    padding: 0.66rem 0.9rem 0.8rem;
    font-size: 0.88rem;
    text-align: center;
    color: rgba(17, 51, 94, 0.88);
    border-top: 1px solid rgba(13, 55, 107, 0.12);
    background: rgba(236, 243, 254, 0.88);
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    border: 1px solid rgba(132, 166, 217, 0.66);
    color: #163f72;
    background: rgba(248, 252, 255, 0.95);
    border-radius: 999px;
    font-size: 0.74rem;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--transition-fast), transform var(--transition-fast);
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: #ffffff;
}

.lightbox-close:focus-visible,
.lightbox-nav:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
}

.lightbox-close {
    top: 0.8rem;
    right: 0.8rem;
    padding: 0.44rem 0.7rem;
}

.lightbox-close:hover {
    transform: translateY(-1px);
}

.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 3.4rem;
    height: 3.4rem;
    display: grid;
    place-items: center;
    padding: 0;
    font-size: 2rem;
    font-weight: 600;
    color: rgba(16, 54, 100, 0.95);
    background: rgba(252, 255, 255, 0.92);
    border: 1px solid rgba(166, 193, 233, 0.72);
    box-shadow: 0 10px 22px rgba(8, 35, 73, 0.24);
}

.lightbox-nav span {
    transform: translateY(-1px);
}

.lightbox-nav:hover {
    transform: translateY(calc(-50% - 1px));
}

.lightbox-prev {
    left: 0.8rem;
}

.lightbox-next {
    right: 0.8rem;
}

.persona-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-lg);
}

.persona-card {
    text-align: left;
}

.persona-badge {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
    background: linear-gradient(145deg, #edf3ff 0%, #dbe9ff 100%);
    border: 1px solid rgba(11, 109, 255, 0.24);
    color: var(--color-accent-strong);
    font-family: var(--font-display);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.05em;
    font-size: 0.84rem;
}

/* CTA */
.cta-section {
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(18, 57, 108, 0.15);
    background:
        radial-gradient(460px 160px at 14% 0%, rgba(14, 108, 255, 0.13), transparent 70%),
        linear-gradient(180deg, #f9fbff 0%, #eef4fe 100%);
    padding: clamp(2rem, 5vw, 4rem);
    text-align: center;
    box-shadow: 0 20px 35px -22px rgba(9, 41, 84, 0.45);
}

.cta-section .h1 {
    margin-bottom: 0.7rem;
}

/* Download page */
.platform-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.platform-icon {
    width: 70px;
    height: 70px;
    margin-bottom: var(--space-md);
    color: var(--color-accent-strong);
    opacity: 0.88;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.platform-card:hover .platform-icon {
    transform: translateY(-4px) scale(1.04);
    opacity: 1;
}

.platform-downloads {
    margin-top: var(--space-md);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.version-number,
.release-date {
    font-family: var(--font-display);
    color: var(--color-text-primary);
}

.install-details {
    text-align: left;
    width: 100%;
    margin-top: var(--space-md);
}

.install-summary {
    cursor: pointer;
    color: var(--color-accent-strong);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: var(--font-weight-semibold);
}

.install-panel {
    margin-top: 0.7rem;
    padding: 0.8rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: #f4f8ff;
    color: var(--color-text-secondary);
    font-size: var(--font-size-small);
}

.install-list {
    margin-left: 1.2rem;
    list-style: decimal;
    line-height: 1.62;
}

.install-note {
    margin-bottom: 0.4rem;
    color: var(--color-text-primary);
    font-weight: var(--font-weight-semibold);
}

.install-code {
    margin: 0.3rem 0 0.6rem;
    padding: 0.6rem 0.72rem;
    border-radius: 10px;
    border: 1px solid rgba(20, 48, 89, 0.2);
    background: #10203a;
    color: #eef5ff;
    font-size: 0.85rem;
    overflow-x: auto;
}

.release-notes-link {
    color: var(--color-accent-strong);
    text-decoration: underline;
}

.release-notes-card {
    text-align: left;
    background:
        radial-gradient(700px 220px at 0% 0%, rgba(11, 109, 255, 0.08), transparent 72%),
        linear-gradient(180deg, rgba(252, 254, 255, 0.96), rgba(244, 249, 255, 0.94));
}

.release-notes-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.release-notes-status {
    margin-top: 0.2rem;
    margin-bottom: var(--space-md);
}

.release-notes-content {
    display: grid;
    gap: 0.68rem;
    line-height: 1.62;
    font-size: 0.97rem;
}

.release-notes-content.is-collapsed {
    max-height: 360px;
    overflow: hidden;
    position: relative;
}

.release-notes-content.is-collapsed::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 92px;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(246, 250, 255, 0), rgba(246, 250, 255, 1) 80%);
}

.release-notes-controls {
    margin-top: var(--space-md);
}

.release-notes-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.56rem 0.9rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(25, 86, 160, 0.28);
    background: rgba(236, 245, 255, 0.82);
    color: var(--color-accent-strong);
    font-family: var(--font-display);
    font-size: 0.86rem;
    font-weight: var(--font-weight-semibold);
    line-height: 1;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.release-notes-toggle:hover {
    background: rgba(227, 240, 255, 0.95);
    border-color: rgba(13, 92, 200, 0.45);
    transform: translateY(-1px);
}

.release-notes-content h1,
.release-notes-content h2,
.release-notes-content h3,
.release-notes-content h4,
.release-notes-content h5,
.release-notes-content h6 {
    margin: 0.5rem 0 0.1rem;
    line-height: 1.34;
    letter-spacing: -0.01em;
}

.release-notes-content h1 {
    font-size: clamp(1.12rem, 1.9vw, 1.34rem);
}

.release-notes-content h2 {
    font-size: clamp(1.03rem, 1.6vw, 1.2rem);
}

.release-notes-content h3 {
    font-size: clamp(0.98rem, 1.4vw, 1.07rem);
}

.release-notes-content h4,
.release-notes-content h5,
.release-notes-content h6 {
    font-size: 0.95rem;
}

.release-notes-content p,
.release-notes-content ul,
.release-notes-content ol,
.release-notes-content pre {
    margin: 0;
}

.release-notes-content p {
    color: var(--color-text-secondary);
}

.release-notes-content ul,
.release-notes-content ol {
    padding-left: 1.2rem;
    color: var(--color-text-secondary);
}

.release-notes-content ul {
    list-style: disc;
}

.release-notes-content ol {
    list-style: decimal;
}

.release-notes-content li + li {
    margin-top: 0.24rem;
}

.release-notes-content a {
    color: var(--color-accent-strong);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.release-notes-content code {
    font-family: var(--font-mono);
    font-size: 0.88em;
    background: rgba(14, 64, 127, 0.08);
    border-radius: 6px;
    padding: 0.08rem 0.28rem;
}

.release-notes-content strong {
    color: var(--color-text-primary);
}

.release-notes-content pre {
    border-radius: 10px;
    border: 1px solid rgba(20, 48, 89, 0.2);
    background: #10203a;
    color: #eef5ff;
    padding: 0.7rem 0.8rem;
    overflow-x: auto;
}

.release-notes-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.release-notes-content hr {
    border: 0;
    border-top: 1px solid var(--color-border);
}

.requirements-card {
    max-width: 820px;
    margin: 0 auto;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-xl);
}

.requirements-list {
    list-style: none;
    display: grid;
    gap: 0.3rem;
    line-height: 1.66;
    color: var(--color-text-secondary);
}

.requirements-list li {
    position: relative;
    padding-left: 0.95rem;
}

.requirements-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent-strong);
}

/* Features page */
.page-features .features-showcase {
    padding-top: clamp(2.2rem, 5vw, 3.8rem);
}

.page-features .feature-overview-card {
    position: sticky;
    top: 86px;
    z-index: 20;
    margin-bottom: clamp(0.9rem, 2vw, 1.4rem);
    padding: clamp(0.72rem, 1.8vw, 0.95rem);
    border-radius: clamp(14px, 1.8vw, 20px);
    border: 1px solid rgba(15, 62, 119, 0.16);
    background:
        radial-gradient(600px 180px at 10% 0%, rgba(11, 109, 255, 0.14), transparent 70%),
        linear-gradient(180deg, rgba(252, 254, 255, 0.95), rgba(239, 246, 255, 0.92));
    box-shadow:
        0 24px 40px -30px rgba(8, 38, 79, 0.58),
        0 10px 18px -14px rgba(9, 46, 94, 0.5);
    backdrop-filter: blur(8px);
}

.page-features .feature-jump-links {
    display: flex;
    gap: 0.42rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 0.15rem;
}

.page-features .feature-jump-links a {
    flex: 0 0 auto;
    padding: 0.34rem 0.58rem;
    border-radius: 999px;
    border: 1px solid rgba(20, 72, 136, 0.16);
    background: rgba(247, 251, 255, 0.86);
    color: rgba(21, 56, 99, 0.9);
    font-family: var(--font-display);
    font-size: 0.76rem;
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.page-features .feature-jump-links a:hover {
    border-color: rgba(11, 109, 255, 0.36);
    background: rgba(237, 246, 255, 0.96);
    box-shadow: 0 4px 10px -8px rgba(7, 44, 90, 0.55);
}

.page-features .feature-jump-links a.active,
.page-features .feature-jump-links a[aria-current="true"] {
    border-color: rgba(11, 109, 255, 0.5);
    background: linear-gradient(135deg, rgba(231, 243, 255, 0.95), rgba(210, 233, 255, 0.95));
    color: #11457f;
}

.page-features .feature-showcase-list {
    display: grid;
    gap: clamp(1.2rem, 3vw, 2rem);
}

.page-features .feature-detail {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(1rem, 3.4vw, 2.8rem);
    padding: clamp(0.55rem, 1.5vw, 0.95rem) 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    scroll-margin-top: 220px;
    transition: none;
}

.page-features .feature-detail::before {
    content: none;
}

.page-features .feature-detail:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

.page-features .feature-copy {
    position: relative;
    z-index: 1;
}

.page-features .feature-kicker {
    margin-bottom: 0.56rem;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: var(--font-display);
    font-size: 0.79rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(22, 67, 118, 0.88);
}

.page-features .feature-kicker span {
    width: 1.62rem;
    height: 1.62rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    color: #0f4a8c;
    background: linear-gradient(135deg, rgba(200, 226, 255, 0.95), rgba(225, 239, 255, 0.92));
    border: 1px solid rgba(81, 140, 226, 0.4);
}

.page-features .feature-detail .h1 {
    margin-bottom: 0.6rem;
    font-size: clamp(1.45rem, 2.35vw, 2.15rem);
}

.page-features .feature-points {
    list-style: none;
    display: grid;
    gap: 0.35rem;
    margin-top: var(--space-md);
}

.page-features .feature-points li {
    position: relative;
    padding-left: 1.08rem;
    line-height: 1.68;
}

.page-features .feature-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.63rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--color-accent-strong);
    box-shadow: 0 0 0 4px rgba(11, 109, 255, 0.15);
}

.page-features .feature-media {
    position: relative;
    z-index: 1;
}

.page-features .feature-detail-image {
    width: 100%;
    display: block;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.page-features .feature-media .mac-window {
    --tilt-x: 0deg;
    --tilt-y: 0deg;
    --tilt-z: 0px;
    border-radius: clamp(10px, 1.4vw, 14px);
    box-shadow:
        0 30px 52px -28px rgba(8, 34, 73, 0.62),
        0 18px 32px -20px rgba(9, 40, 81, 0.48);
    transform:
        perspective(1200px)
        rotateX(var(--tilt-x))
        rotateY(var(--tilt-y))
        translateY(var(--tilt-z));
    transform-origin: center;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    will-change: transform;
}

.page-features .feature-detail:hover .feature-media .mac-window {
    --tilt-z: -3px;
}

.page-features .feature-media .mac-window-bar {
    min-height: clamp(22px, 2.2vw, 26px);
    padding: 0.24rem 0.58rem;
}

.page-features .feature-media .mac-window-controls {
    left: clamp(0.5rem, 0.9vw, 0.62rem);
    gap: 0.24rem;
}

.page-features .feature-media .mac-window-dot {
    width: clamp(6px, 0.62vw, 8px);
    height: clamp(6px, 0.62vw, 8px);
}

.page-features .feature-media .mac-window-title {
    font-size: clamp(0.56rem, 0.72vw, 0.66rem);
}

.page-features .feature-detail:nth-child(even) .feature-copy {
    order: 2;
}

.page-features .feature-detail:nth-child(even) .feature-media {
    order: 1;
}

.one-more-card {
    border: 1px solid rgba(16, 58, 114, 0.15);
    border-radius: var(--radius-2xl);
    background:
        radial-gradient(620px 180px at 10% 0%, rgba(12, 104, 243, 0.16), transparent 70%),
        linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%);
    padding: clamp(1.4rem, 4vw, 2.7rem);
    text-align: center;
    box-shadow: 0 20px 38px -24px rgba(10, 41, 84, 0.55);
}

.page-features #feature-dark-mode {
    scroll-margin-top: 220px;
}

.one-more-kicker {
    margin-bottom: 0.55rem;
    font-family: var(--font-display);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-accent-strong);
    font-size: 0.82rem;
}

.one-more-card .h1 {
    margin-bottom: 0.75rem;
}

.one-more-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-lg);
}

.one-more-screenshots .mac-window {
    border-radius: clamp(10px, 1.4vw, 14px);
    box-shadow:
        0 24px 42px -28px rgba(8, 34, 73, 0.6),
        0 14px 26px -18px rgba(9, 40, 81, 0.45);
}

.one-more-screenshots .mac-window-bar {
    min-height: clamp(22px, 2.2vw, 26px);
    padding: 0.24rem 0.58rem;
}

.one-more-screenshots .mac-window-controls {
    left: clamp(0.5rem, 0.9vw, 0.62rem);
    gap: 0.24rem;
}

.one-more-screenshots .mac-window-dot {
    width: clamp(6px, 0.62vw, 8px);
    height: clamp(6px, 0.62vw, 8px);
}

.one-more-screenshots .mac-window-title {
    font-size: clamp(0.56rem, 0.72vw, 0.66rem);
}

.one-more-shot {
    margin: 0;
}

.one-more-shot-image {
    width: 100%;
    display: block;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.one-more-caption {
    margin-top: 0.6rem;
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-secondary);
}

.theme-preview {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(15, 55, 107, 0.16);
    padding: 0.7rem;
    text-align: left;
}

.theme-preview-top {
    height: 10px;
    border-radius: 999px;
    margin-bottom: 0.55rem;
}

.theme-preview-body {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0.5rem;
}

.theme-preview-sidebar {
    min-height: 84px;
    border-radius: 9px;
}

.theme-preview-content {
    border-radius: 9px;
    padding: 0.55rem;
}

.theme-preview-line {
    height: 8px;
    border-radius: 999px;
    margin-bottom: 0.45rem;
}

.theme-preview-line.short {
    width: 70%;
}

.theme-preview-chip {
    width: 48px;
    height: 20px;
    border-radius: 999px;
}

.theme-label {
    margin-top: 0.6rem;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.theme-light {
    background: #ffffff;
}

.theme-light .theme-preview-top {
    background: #dce9ff;
}

.theme-light .theme-preview-sidebar {
    background: #eaf2ff;
}

.theme-light .theme-preview-content {
    background: #f5f9ff;
}

.theme-light .theme-preview-line {
    background: #c4d7f8;
}

.theme-light .theme-preview-chip {
    background: #8cb4f4;
}

.theme-light .theme-label {
    color: #35547f;
}

.theme-dark {
    background: #101c2f;
    border-color: rgba(103, 144, 204, 0.3);
}

.theme-dark .theme-preview-top {
    background: #263e63;
}

.theme-dark .theme-preview-sidebar {
    background: #1b2e4a;
}

.theme-dark .theme-preview-content {
    background: #15253d;
}

.theme-dark .theme-preview-line {
    background: #2e507f;
}

.theme-dark .theme-preview-chip {
    background: #3f79d0;
}

.theme-dark .theme-label {
    color: #abc8f5;
}

.bulk-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-lg);
}

.bulk-card {
    text-align: left;
}

.bulk-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
    background: linear-gradient(140deg, #e9f1ff, #dce9ff);
    border: 1px solid rgba(11, 109, 255, 0.22);
    color: var(--color-accent-strong);
}

.shortcuts-card {
    max-width: 700px;
    margin: 0 auto;
}

.shortcut-list {
    display: grid;
    gap: var(--space-sm);
}

.shortcut-row {
    display: flex;
    justify-content: space-between;
    gap: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
    padding: 0.55rem 0;
}

.shortcut-row:last-child {
    border-bottom: 0;
}

.shortcut-key {
    background: #f0f4fb;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 0.14rem 0.48rem;
    color: var(--color-text-primary);
    font-size: 0.86rem;
}

/* Getting started */
.quickstart-card {
    position: relative;
    padding-top: var(--space-xl);
}

.quickstart-step {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    background: var(--color-accent-gradient);
    color: #fff;
    font-family: var(--font-display);
    font-weight: var(--font-weight-bold);
    box-shadow: 0 8px 16px rgba(13, 90, 209, 0.28);
}

.quickstart-example {
    margin-top: var(--space-md);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    background: #f2f7ff;
    border: 1px solid rgba(11, 109, 255, 0.16);
    font-size: 0.93rem;
}

.quickstart-list {
    list-style: none;
    display: grid;
    gap: 0.48rem;
}

.quickstart-list li {
    position: relative;
    padding-left: 1.25rem;
}

.quickstart-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--color-accent);
}

.quickstart-preview {
    border-color: rgba(21, 67, 125, 0.18);
    background: #f9fbff;
}

.quickstart-journey {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    gap: clamp(0.9rem, 2vw, 1.25rem);
}

.quickstart-journey::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background:
        linear-gradient(180deg,
            rgba(11, 109, 255, 0.06) 0%,
            rgba(11, 109, 255, 0.42) 22%,
            rgba(11, 109, 255, 0.28) 78%,
            rgba(11, 109, 255, 0.08) 100%);
}

.quickstart-stage {
    position: relative;
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: start;
    gap: clamp(0.85rem, 1.8vw, 1.25rem);
}

.quickstart-stage-marker {
    position: relative;
    z-index: 1;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(11, 109, 255, 0.26);
    background: linear-gradient(145deg, #2a8aff 0%, #0b6dff 68%, #0a56cb 100%);
    box-shadow:
        0 14px 24px -12px rgba(11, 109, 255, 0.68),
        inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.quickstart-stage-marker span {
    font-family: var(--font-display);
    font-weight: var(--font-weight-bold);
    font-size: 1.02rem;
    color: #fff;
}

.quickstart-stage-shell {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(15, 63, 121, 0.2);
    background:
        radial-gradient(420px 140px at 0% 0%, rgba(11, 109, 255, 0.14), transparent 72%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 251, 255, 0.95) 100%);
    padding: clamp(1rem, 2vw, 1.35rem);
    box-shadow:
        0 20px 36px -26px rgba(8, 38, 78, 0.55),
        0 8px 18px -14px rgba(8, 38, 78, 0.35);
    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal),
        border-color var(--transition-normal);
}

.quickstart-stage:hover .quickstart-stage-shell,
.quickstart-stage:focus-within .quickstart-stage-shell {
    transform: translateY(-3px);
    border-color: rgba(11, 109, 255, 0.32);
    box-shadow:
        0 24px 42px -24px rgba(8, 38, 78, 0.62),
        0 10px 24px -14px rgba(8, 38, 78, 0.42);
}

.quickstart-stage-kicker {
    margin-bottom: 0.35rem;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-accent-strong);
}

.quickstart-stage-shell .card-title {
    margin-bottom: 0.45rem;
}

.quickstart-stage-shell .card-description {
    margin-bottom: 0;
}

.quickstart-stage-meta {
    margin-top: 0.7rem;
    margin-bottom: 0;
    color: rgba(24, 70, 123, 0.86);
    font-size: 0.86rem;
    font-weight: var(--font-weight-medium);
}

.quickstart-stage-list {
    margin-top: 0.78rem;
    list-style: none;
    display: grid;
    gap: 0.44rem;
}

.quickstart-stage-list li {
    position: relative;
    padding-left: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.58;
}

.quickstart-stage-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.58rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--color-accent-strong);
    box-shadow: 0 0 0 3px rgba(11, 109, 255, 0.14);
}

.quickstart-prompt-lab {
    margin-top: 0.8rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(16, 72, 138, 0.2);
    background: rgba(244, 249, 255, 0.86);
    padding: clamp(0.75rem, 1.6vw, 1rem);
}

.quickstart-prompt-label {
    margin-bottom: 0.55rem;
    font-family: var(--font-display);
    font-size: 0.79rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(22, 72, 126, 0.9);
}

.quickstart-prompt-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.42rem;
}

.quickstart-prompt-tab {
    border: 1px solid rgba(12, 78, 154, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.84);
    color: rgba(20, 59, 106, 0.9);
    padding: 0.36rem 0.72rem;
    font-family: var(--font-display);
    font-size: 0.76rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.01em;
    cursor: pointer;
    transition:
        border-color var(--transition-fast),
        background var(--transition-fast),
        transform var(--transition-fast),
        color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.quickstart-prompt-tab:hover {
    border-color: rgba(11, 109, 255, 0.4);
    background: rgba(238, 246, 255, 0.92);
    transform: translateY(-1px);
}

.quickstart-prompt-tab:focus-visible {
    outline: 2px solid rgba(11, 109, 255, 0.55);
    outline-offset: 2px;
}

.quickstart-prompt-tab.is-active {
    border-color: rgba(11, 109, 255, 0.46);
    background: linear-gradient(145deg, rgba(59, 141, 255, 0.98), rgba(11, 109, 255, 0.98));
    color: #fff;
    box-shadow: 0 9px 18px -14px rgba(11, 109, 255, 0.64);
}

.quickstart-prompt-output {
    margin-top: 0.65rem;
    margin-bottom: 0;
    border-radius: 12px;
    border: 1px dashed rgba(16, 78, 145, 0.28);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.68rem 0.74rem;
    font-family: var(--font-mono);
    font-size: 0.81rem;
    line-height: 1.64;
    color: #1f4e8c;
}

/* Support */
.support-card {
    text-align: center;
}

.support-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    color: var(--color-accent-strong);
}

.support-card .card-description {
    margin-bottom: var(--space-md);
}

.support-email {
    display: block;
    margin-bottom: var(--space-sm);
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: #edf3fd;
    color: var(--color-text-primary);
    font-size: 0.85rem;
}

.support-list {
    list-style: none;
    display: grid;
    gap: 0.25rem;
    text-align: left;
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    line-height: 1.56;
}

.support-list li {
    position: relative;
    padding-left: 0.9rem;
}

.support-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--color-accent-strong);
}

.support-response {
    font-size: 0.95rem;
}

.faq-link {
    color: var(--color-accent-strong);
    text-decoration: underline;
    text-underline-offset: 2px;
}

#faq .content-width {
    max-width: 860px;
}

.faq-stack {
    display: grid;
    gap: 0.75rem;
}

.faq-entry {
    border: 1px solid rgba(16, 62, 117, 0.18);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(460px 150px at 0% 0%, rgba(11, 109, 255, 0.1), transparent 72%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 251, 255, 0.94) 100%);
    box-shadow:
        0 16px 32px -26px rgba(10, 40, 81, 0.54),
        0 8px 18px -16px rgba(10, 40, 81, 0.34);
    overflow: hidden;
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.faq-entry:hover {
    border-color: rgba(11, 109, 255, 0.32);
    box-shadow:
        0 20px 36px -24px rgba(10, 40, 81, 0.58),
        0 12px 22px -15px rgba(10, 40, 81, 0.4);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: 1rem 1.15rem;
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    cursor: pointer;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::marker {
    content: '';
}

.faq-icon {
    position: relative;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 1px solid rgba(11, 109, 255, 0.3);
    background: rgba(232, 242, 255, 0.92);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    background: rgba(20, 73, 135, 0.95);
    transform: translate(-50%, -50%);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.faq-icon::before {
    width: 10px;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 10px;
}

.faq-entry[open] .faq-icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) scaleY(0.2);
}

.faq-answer {
    padding: 0 1.15rem 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.64;
}

.faq-answer p {
    margin-bottom: 0.45rem;
}

.faq-answer code {
    background: #ebf3ff;
    border: 1px solid rgba(11, 109, 255, 0.16);
    border-radius: 6px;
    padding: 0.08rem 0.36rem;
    font-size: 0.82rem;
}

#faq .support-list {
    margin-top: 0.4rem;
    margin-bottom: 0;
}

/* Donate page */
.donate-shell {
    max-width: 720px;
    margin: 0 auto;
}

.donate-lead {
    max-width: 520px;
    margin: 0 auto var(--space-lg);
    font-size: 1.08rem;
    line-height: 1.64;
    color: rgba(247, 251, 255, 0.94);
}

.donate-grid {
    max-width: 1000px;
    margin: 0 auto;
}

.donate-card-lite {
    text-align: center;
}

.donate-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto var(--space-md);
    color: var(--color-accent-strong);
}

.enables-card {
    max-width: 760px;
    margin: 0 auto;
    background: linear-gradient(180deg, #fbfdff 0%, #f0f5ff 100%);
}

.enables-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-lg);
}

.enables-title {
    margin-bottom: var(--space-sm);
    color: var(--color-accent-strong);
    font-family: var(--font-display);
    font-size: 1rem;
}

.enables-list {
    list-style: none;
    display: grid;
    gap: 0.35rem;
    color: var(--color-text-secondary);
    line-height: 1.68;
}

.donate-alt-grid {
    max-width: 900px;
    margin: 0 auto;
}

.thank-you-wrap {
    text-align: center;
}

.thank-you-lead {
    max-width: 620px;
    margin: 0 auto var(--space-xl);
    font-size: 1.06rem;
}

.inline-icon {
    display: inline-block;
    vertical-align: middle;
}

.inline-icon-left {
    margin-top: -2px;
    margin-right: 8px;
}

.inline-icon-right {
    margin-top: -2px;
    margin-left: 4px;
}

/* Guide rendering */
.guide-content {
    max-width: min(980px, 100%);
    margin: 0 auto;
    padding: clamp(1.3rem, 3vw, 2.3rem);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(17, 58, 110, 0.14);
    background:
        radial-gradient(700px 220px at 0% 0%, rgba(11, 109, 255, 0.08), transparent 72%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(247, 251, 255, 0.95) 100%);
    box-shadow:
        0 28px 56px -44px rgba(10, 40, 82, 0.54),
        0 14px 30px -24px rgba(10, 40, 82, 0.36);
}

.guide-content > :not(pre):not(.table-wrap):not(.guide-toc):not(.guide-sync-note):not(.error-message) {
    max-width: 74ch;
    margin-left: auto;
    margin-right: auto;
}

.guide-content h1,
.guide-content h2,
.guide-content h3 {
    color: var(--color-text-primary);
    scroll-margin-top: 110px;
}

.guide-content h1 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-sm);
    font-size: clamp(2rem, 3.6vw, 2.8rem);
    letter-spacing: -0.02em;
    line-height: 1.12;
}

.guide-content h1:first-child {
    margin-top: 0;
}

.guide-content .guide-lead {
    margin-bottom: var(--space-xl);
    font-size: 1.06rem;
    line-height: 1.74;
    color: rgba(21, 63, 116, 0.9);
}

.guide-content h2 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-sm);
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(11, 109, 255, 0.2);
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    letter-spacing: -0.01em;
}

.guide-content h3 {
    position: relative;
    margin-top: var(--space-xl);
    margin-bottom: 0.45rem;
    font-size: clamp(1.08rem, 1.8vw, 1.25rem);
    color: #1c4f8d;
}

.guide-content .guide-heading-anchor {
    margin-left: 0.45rem;
    color: rgba(11, 109, 255, 0.55);
    text-decoration: none;
    opacity: 0;
    transition: opacity var(--transition-fast), color var(--transition-fast);
}

.guide-content h2:hover .guide-heading-anchor,
.guide-content h3:hover .guide-heading-anchor,
.guide-content .guide-heading-anchor:focus-visible {
    opacity: 1;
}

.guide-content .guide-heading-anchor:hover {
    color: rgba(11, 109, 255, 0.9);
}

.guide-content p {
    margin-bottom: 0.88rem;
    color: rgba(32, 58, 94, 0.9);
    line-height: 1.74;
}

.guide-content a {
    color: var(--color-accent-strong);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.guide-content hr {
    border: 0;
    height: 1px;
    margin: var(--space-xl) auto;
    max-width: 74ch;
    background: linear-gradient(90deg,
        rgba(11, 109, 255, 0),
        rgba(11, 109, 255, 0.3),
        rgba(11, 109, 255, 0));
}

.guide-content ul,
.guide-content ol {
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.2rem;
    margin-bottom: 0.95rem;
    max-width: 74ch;
    color: rgba(28, 57, 95, 0.92);
}

.guide-content ul {
    list-style: disc;
}

.guide-content ol {
    list-style: decimal;
}

.guide-content li {
    margin-bottom: 0.38rem;
    line-height: 1.66;
}

.guide-content li > ul,
.guide-content li > ol {
    margin-top: 0.42rem;
    margin-bottom: 0.55rem;
}

.guide-content code {
    background: #edf4ff;
    border: 1px solid rgba(11, 109, 255, 0.18);
    border-radius: 6px;
    color: #18447d;
    padding: 0.08rem 0.34rem;
    font-size: 0.86em;
}

.guide-content pre {
    margin: var(--space-md) auto var(--space-lg);
    max-width: 100%;
    padding: clamp(0.78rem, 1.8vw, 1rem);
    border-radius: var(--radius-md);
    border: 1px solid rgba(112, 162, 232, 0.28);
    background: linear-gradient(180deg, #10203a 0%, #0d1a31 100%);
    color: #f0f7ff;
    overflow-x: auto;
}

.guide-content pre code {
    background: transparent;
    border: 0;
    padding: 0;
    color: inherit;
}

.guide-content .table-wrap {
    max-width: 100%;
    margin: var(--space-md) auto var(--space-lg);
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid rgba(16, 67, 129, 0.2);
    background: rgba(251, 253, 255, 0.96);
}

.guide-content table {
    width: 100%;
    min-width: 620px;
    border-collapse: separate;
    border-spacing: 0;
}

.guide-content thead th {
    background: linear-gradient(180deg, rgba(232, 242, 255, 0.95), rgba(224, 238, 255, 0.95));
    color: #214f89;
    font-family: var(--font-display);
    font-weight: var(--font-weight-semibold);
    text-align: left;
    padding: 0.7rem 0.8rem;
    border-bottom: 1px solid rgba(16, 67, 129, 0.18);
}

.guide-content tbody td {
    padding: 0.64rem 0.8rem;
    border-bottom: 1px solid rgba(16, 67, 129, 0.12);
    color: rgba(25, 56, 97, 0.9);
}

.guide-content tbody tr:last-child td {
    border-bottom: 0;
}

.guide-content blockquote {
    max-width: 74ch;
    margin: var(--space-md) auto;
    padding: 0.75rem 0.9rem 0.75rem 1rem;
    border-left: 3px solid rgba(11, 109, 255, 0.45);
    border-radius: 8px;
    background: rgba(234, 244, 255, 0.68);
    color: rgba(26, 63, 109, 0.88);
}

.guide-content .guide-toc-heading {
    margin-bottom: 0.7rem;
}

.guide-content .guide-toc {
    max-width: 100%;
    margin: 0 auto var(--space-xl);
    padding: clamp(0.8rem, 1.8vw, 1rem);
    border: 1px solid rgba(15, 66, 126, 0.2);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(460px 150px at 0% 0%, rgba(11, 109, 255, 0.1), transparent 72%),
        linear-gradient(180deg, rgba(250, 253, 255, 0.97), rgba(244, 250, 255, 0.94));
}

.guide-content .guide-toc ol,
.guide-content .guide-toc ul {
    max-width: none;
    margin: 0;
    padding-left: 1.08rem;
    columns: 2;
    column-gap: clamp(1rem, 3vw, 2rem);
}

.guide-content .guide-toc li {
    break-inside: avoid;
    margin-bottom: 0.38rem;
}

.guide-content .guide-toc a {
    text-decoration: none;
    border-bottom: 1px solid rgba(11, 109, 255, 0.25);
}

.guide-content .guide-toc a:hover {
    border-bottom-color: rgba(11, 109, 255, 0.65);
}

.error-message {
    border: 1px solid rgba(190, 59, 52, 0.22);
    border-radius: var(--radius-md);
    background: rgba(190, 59, 52, 0.08);
    color: #7a2d2a;
    padding: var(--space-md);
}

.guide-sync-note {
    margin-bottom: var(--space-md);
    border: 1px solid rgba(11, 109, 255, 0.2);
    border-radius: var(--radius-md);
    background: rgba(11, 109, 255, 0.08);
    color: #20487f;
    padding: 0.7rem 0.8rem;
    font-size: 0.9rem;
}

.error-message a {
    text-decoration: underline;
}

/* FAQ block helper class (used in some content) */
.faq-item {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    box-shadow: var(--shadow-soft);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
}

/* Responsive */
@media (max-width: 1024px) {
    .visual-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .page-features .feature-detail {
        grid-template-columns: 1fr;
    }

    .page-features .feature-detail:nth-child(even) .feature-copy,
    .page-features .feature-detail:nth-child(even) .feature-media {
        order: initial;
    }

    .page-features .feature-overview-card {
        top: 72px;
    }

    .page-features .feature-detail {
        scroll-margin-top: 196px;
    }

    .page-features #feature-dark-mode {
        scroll-margin-top: 196px;
    }

    .one-more-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    section {
        padding: clamp(2.1rem, 11vw, 3rem) 0;
    }

    .hero {
        padding-top: var(--space-2xl);
    }

    .page-features .feature-overview-card {
        display: none;
    }

    .page-features .feature-detail {
        scroll-margin-top: 92px;
    }

    .page-features #feature-dark-mode {
        scroll-margin-top: 92px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .page-home .mac-window {
        border-radius: 14px;
    }

    .page-home .hero-image .mac-window-bar {
        min-height: 24px;
        padding: 0.24rem 0.58rem;
    }

    .page-home .hero-image .mac-window-controls {
        left: 0.58rem;
        gap: 0.24rem;
    }

    .page-home .hero-image .mac-window-dot {
        width: 7px;
        height: 7px;
    }

    .page-home .hero-image .mac-window-title {
        font-size: 0.6rem;
    }

    .quickstart-journey::before {
        left: 21px;
    }

    .quickstart-stage {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 0.78rem;
    }

    .quickstart-stage-marker {
        width: 44px;
        height: 44px;
    }

    .quickstart-stage-marker span {
        font-size: 0.92rem;
    }

    .quickstart-stage-shell {
        border-radius: var(--radius-lg);
        padding: 0.9rem;
    }

    .quickstart-prompt-tab {
        font-size: 0.72rem;
        padding: 0.34rem 0.62rem;
    }

    .quickstart-prompt-output {
        font-size: 0.76rem;
    }

    .faq-question {
        padding: 0.9rem 0.95rem;
        font-size: 0.95rem;
    }

    .faq-icon {
        width: 22px;
        height: 22px;
        flex-basis: 22px;
    }

    .faq-answer {
        padding: 0 0.95rem 0.9rem;
    }

    .guide-content {
        padding: 1rem;
        border-radius: var(--radius-lg);
    }

    .guide-content h1 {
        font-size: clamp(1.65rem, 8.5vw, 2.05rem);
    }

    .guide-content h2 {
        font-size: clamp(1.18rem, 6.8vw, 1.45rem);
    }

    .guide-content .guide-toc {
        padding: 0.72rem 0.78rem;
    }

    .guide-content .guide-toc ol,
    .guide-content .guide-toc ul {
        columns: 1;
    }

    .guide-content thead th,
    .guide-content tbody td {
        padding: 0.58rem 0.64rem;
    }

    .visual-strip,
    .persona-grid,
    .bulk-grid {
        grid-template-columns: 1fr;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .release-notes-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .shortcut-row {
        flex-direction: column;
        gap: 0.35rem;
    }

    .cta-section {
        padding: var(--space-xl) var(--space-lg);
    }

    .lightbox {
        padding: 0.65rem;
    }

    .lightbox-dialog {
        width: 100%;
        max-height: 95vh;
    }

    .lightbox-nav {
        top: auto;
        bottom: 0.65rem;
        transform: none;
    }

    .lightbox-nav:hover {
        transform: translateY(-1px);
    }

    .lightbox-prev {
        left: 0.65rem;
    }

    .lightbox-next {
        right: 0.65rem;
    }

    .lightbox-figure figcaption {
        padding-left: 2.8rem;
        padding-right: 2.8rem;
        font-size: 0.82rem;
    }
}
