:root {
    --ink: #1D1D1F;
    --ink-soft: #6E6E73;
    --ink-faint: #A1A1A6;
    --paper: #F5F5F7;
    --paper-deep: #E8E8ED;
    --line: rgba(0, 0, 0, 0.08);
    --line-soft: rgba(0, 0, 0, 0.05);
    --blue: #0088FF;
    --blue-deep: #0066CC;
    --blue-tint: #EAF4FF;
}

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #FFFFFF;
    color: var(--ink);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: clip;
}

ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
video { pointer-events: none; }
svg { display: inline-block; vertical-align: middle; }
button { font-family: inherit; border: none; cursor: pointer; }

#features, #privacy, #faq {
    scroll-margin-top: 5rem;
}

.main-content {
    flex-grow: 1;
}

.container-large { max-width: 73rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.container-medium { max-width: 42rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.container-small { max-width: 36rem; margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }

.prism-glow {
    background: conic-gradient(from 180deg at 50% 50%, #7B61FF, #0088FF, #00C2A8, #FFB300, #FF5C72, #7B61FF);
    filter: blur(90px);
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.media-box {
    width: 100%;
    border-radius: 1rem;
    background-color: var(--paper);
    object-fit: cover;
    padding: 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -4px rgba(0, 0, 0, 0.2);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    font-weight: 500;
    transition: color 0.25s, background-color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s;
    border-radius: 9999px;
}

.btn .btn-icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
}

.btn-small .btn-icon {
    width: 1rem;
    height: 1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 13px;
    background-color: var(--ink);
    color: #FFFFFF;
}
.btn-small:hover {
    background-color: rgba(29, 29, 31, 0.85);
}

.btn-large {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    gap: 0.5rem;
}
@media (min-width: 640px) {
    .btn-large { width: auto; }
}

.btn-brand {
    background-color: var(--blue);
    color: #FFFFFF;
    box-shadow: 0 10px 15px -3px rgba(0, 136, 255, 0.2), 0 4px 6px -4px rgba(0, 136, 255, 0.2);
}
.btn-brand:hover {
    background-color: var(--blue-deep);
}

.btn-white {
    background-color: #FFFFFF;
    color: var(--ink);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -4px rgba(0, 0, 0, 0.2);
}
.btn-white:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.btn-submit {
    width: 100%;
    height: 2.5rem;
    padding: 0 1rem;
    border-radius: 0.5rem;
    background-color: var(--ink);
    color: #FFFFFF;
    font-size: 0.875rem;
    font-weight: 500;
}
.btn-submit:hover {
    background-color: rgba(29, 29, 31, 0.88);
}

/* ---------------------------------------------------------------- */
/* Store buttons — detected via class on <html> set by head script.  */
/* Defaults to Chrome when neither .is-edge nor .is-firefox is set. */
/* ---------------------------------------------------------------- */

.store-actions {
    display: flex;
    align-items: center;
}

.cta-actions {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Header & CTA box: Show only the detected browser */
.store-actions [data-store="edge"],
.store-actions [data-store="firefox"],
.cta-actions [data-store="edge"],
.cta-actions [data-store="firefox"] {
    display: none;
}

/* When Edge is detected */
html.is-edge .store-actions [data-store="chrome"],
html.is-edge .cta-actions [data-store="chrome"] {
    display: none;
}
html.is-edge .store-actions [data-store="edge"],
html.is-edge .cta-actions [data-store="edge"] {
    display: inline-flex;
}

/* When Firefox is detected */
html.is-firefox .store-actions [data-store="chrome"],
html.is-firefox .cta-actions [data-store="chrome"] {
    display: none;
}
html.is-firefox .store-actions [data-store="firefox"],
html.is-firefox .cta-actions [data-store="firefox"] {
    display: inline-flex;
}

/* ---------------------------------------------------------------- */
/* Hero actions: The detected browser gets the prominent full CTA.  */
/* The other two browsers appear as sleek secondary icon buttons.   */
/* ---------------------------------------------------------------- */

/* Default (Chrome / other browsers): Chrome is primary */
.hero-actions [data-store="chrome"] {
    order: 1;
}
.hero-actions [data-store="edge"],
.hero-actions [data-store="firefox"] {
    order: 2;
    width: 3rem;
    height: 3rem;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
    border: 1px solid var(--line);
}
.hero-actions [data-store="edge"] .btn-label,
.hero-actions [data-store="firefox"] .btn-label {
    display: none;
}
.hero-actions [data-store="edge"]:hover,
.hero-actions [data-store="firefox"]:hover {
    background-color: var(--paper);
}

/* When Edge is detected: Edge is primary */
html.is-edge .hero-actions [data-store="edge"] {
    order: 1;
    width: 100%;
    height: auto;
    padding: 0.875rem 1.5rem;
    background-color: var(--blue);
    box-shadow: 0 10px 15px -3px rgba(0, 136, 255, 0.2), 0 4px 6px -4px rgba(0, 136, 255, 0.2);
    border: none;
}
@media (min-width: 640px) {
    html.is-edge .hero-actions [data-store="edge"] { width: auto; }
}
html.is-edge .hero-actions [data-store="edge"] .btn-label {
    display: inline;
}
html.is-edge .hero-actions [data-store="edge"]:hover {
    background-color: var(--blue-deep);
}
html.is-edge .hero-actions [data-store="chrome"] {
    order: 2;
    width: 3rem;
    height: 3rem;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
    border: 1px solid var(--line);
}
html.is-edge .hero-actions [data-store="chrome"] .btn-label {
    display: none;
}
html.is-edge .hero-actions [data-store="chrome"]:hover {
    background-color: var(--paper);
}

/* When Firefox is detected: Firefox is primary */
html.is-firefox .hero-actions [data-store="firefox"] {
    order: 1;
    width: 100%;
    height: auto;
    padding: 0.875rem 1.5rem;
    background-color: var(--blue);
    box-shadow: 0 10px 15px -3px rgba(0, 136, 255, 0.2), 0 4px 6px -4px rgba(0, 136, 255, 0.2);
    border: none;
}
@media (min-width: 640px) {
    html.is-firefox .hero-actions [data-store="firefox"] { width: auto; }
}
html.is-firefox .hero-actions [data-store="firefox"] .btn-label {
    display: inline;
}
html.is-firefox .hero-actions [data-store="firefox"]:hover {
    background-color: var(--blue-deep);
}
html.is-firefox .hero-actions [data-store="chrome"] {
    order: 2;
    width: 3rem;
    height: 3rem;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
    border: 1px solid var(--line);
}
html.is-firefox .hero-actions [data-store="chrome"] .btn-label {
    display: none;
}
html.is-firefox .hero-actions [data-store="chrome"]:hover {
    background-color: var(--paper);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    width: 100%;
    padding: 1rem 1rem 0;
}
@media (min-width: 768px) {
    .site-header { padding: 1.25rem 1.5rem 0; }
}

.header-container {
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 0.625rem 0 1.25rem;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    border-radius: 9999px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07), 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.25s ease, background-color 0.25s ease;
}
@media (min-width: 768px) {
    .header-container { padding: 0 0.75rem 0 1.5rem; }
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}
.brand-icon {
    border-radius: 6px;
}
.brand-text {
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.025em;
    color: var(--ink);
}

.header-nav {
    display: none;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-soft);
}
@media (min-width: 768px) {
    .header-nav { display: flex; }
}
.header-nav a {
    transition: color 0.2s ease;
}
.header-nav a:hover {
    color: var(--ink);
}

.hero {
    position: relative;
    padding: 5rem 1.5rem 4rem;
    text-align: center;
}
@media (min-width: 768px) {
    .hero { padding-top: 7rem; }
}

.hero-glow-layer {
    position: absolute;
    top: -10rem;
    left: 50%;
    transform: translateX(-50%);
    width: 720px;
    height: 420px;
    opacity: 0.12;
    pointer-events: none;
}

.hero-content {
    position: relative;
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: var(--ink);
}
@media (min-width: 768px) {
    .hero-title { font-size: 4.75rem; }
}

.hero-desc {
    max-width: 36rem;
    margin: 0 auto 2.5rem;
    font-size: 1rem;
    line-height: 1.625;
    color: var(--ink-soft);
}
@media (min-width: 768px) {
    .hero-desc { font-size: 1.125rem; }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.hero-note {
    font-size: 0.75rem;
    color: var(--ink-faint);
    margin-bottom: 1.25rem;
}

/* ---------------------------------------------------------------- */
/* Hero browser preview image — detected via <html> class          */
/* ---------------------------------------------------------------- */

/* Default (Chrome): Hide Edge and Firefox images */
.hero-preview[data-browser="edge"],
.hero-preview[data-browser="firefox"] {
    display: none;
}

/* When Edge is detected */
html.is-edge .hero-preview[data-browser="chrome"] {
    display: none;
}
html.is-edge .hero-preview[data-browser="edge"] {
    display: block;
}

/* When Firefox is detected */
html.is-firefox .hero-preview[data-browser="chrome"] {
    display: none;
}
html.is-firefox .hero-preview[data-browser="firefox"] {
    display: block;
}

.feature-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}
.feature-section.bg-paper {
    background-color: var(--paper);
}
.feature-section.bg-white {
    background-color: #FFFFFF;
}
@media (min-width: 768px) {
    .feature-section {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

.feature-header {
    text-align: center;
    margin-bottom: 4rem;
}
.feature-title {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    color: var(--ink);
}
@media (min-width: 768px) {
    .feature-title { font-size: 2.25rem; }
}
.feature-subtitle {
    font-size: 0.875rem;
    color: var(--ink-soft);
    max-width: 36rem;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
}
@media (min-width: 768px) {
    .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.content-first { order: 2; text-align: left; }
.media-first { order: 1; }
@media (min-width: 768px) {
    .content-first { order: 1; }
    .media-first { order: 2; }
}

.content-second { text-align: left; }

.feature-text-title {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 1.25rem;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
@media (min-width: 768px) {
    .feature-text-title { font-size: 2.25rem; }
}

.feature-text-desc {
    font-size: 0.875rem;
    color: var(--ink-soft);
    line-height: 1.625;
    margin-bottom: 1.5rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: rgba(29, 29, 31, 0.8);
}
.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}
.feature-list svg {
    width: 1rem;
    height: 1rem;
    color: var(--blue);
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1.25rem;
    text-align: left;
}
@media (min-width: 768px) {
    .privacy-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.privacy-card {
    background-color: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 2rem;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s;
}
.privacy-card:hover {
    border-color: rgba(0, 0, 0, 0.14);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}
.privacy-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background-color: #FFFFFF;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    margin-bottom: 1.5rem;
}
.privacy-icon svg { width: 1.25rem; height: 1.25rem; }
.privacy-card-title {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}
.privacy-card-desc {
    font-size: 0.875rem;
    color: var(--ink-soft);
    line-height: 1.625;
}

.faq-header {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--ink);
}
@media (min-width: 768px) {
    .faq-header { font-size: 2.25rem; }
}

.faq-list {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.faq-list > * + * {
    border-top: 1px solid var(--line);
}

.faq-item {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    list-style: none;
    transition: opacity 0.2s ease;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-question {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--ink);
}
.faq-chevron {
    width: 1rem;
    height: 1rem;
    color: var(--ink-faint);
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

details.is-open .faq-chevron {
    transform: rotate(180deg);
}

.faq-content {
    font-size: 0.875rem;
    color: var(--ink-soft);
    line-height: 1.625;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

details.is-open .faq-content {
    grid-template-rows: 1fr;
}

details .faq-content > * {
    min-height: 0;
    overflow: hidden;
    margin-top: 0 !important;
    opacity: 0;
    padding-top: 0;
    transform: translateY(-6px);
    transition: 
        opacity 0.2s ease 0s, 
        padding-top 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

details.is-open .faq-content > * {
    opacity: 1;
    padding-top: 0.75rem;
    transform: translateY(0);
    transition: 
        opacity 0.3s ease 0.05s, 
        padding-top 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

details .faq-chevron {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

details[open] .faq-chevron {
    transform: rotate(180deg);
}

.cta-box {
    position: relative;
    border-radius: 1.5rem;
    background-color: var(--ink);
    padding: 2.5rem;
    text-align: center;
    overflow: hidden;
}
@media (min-width: 768px) {
    .cta-box { padding: 5rem; }
}

.cta-glow-layer {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(600px, 100%);
    max-width: 100%;
    height: 300px;
    opacity: 0.2;
    pointer-events: none;
}

.cta-title {
    position: relative;
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
    color: #FFFFFF;
}
@media (min-width: 768px) {
    .cta-title { font-size: 2.25rem; }
}

.cta-subtitle {
    position: relative;
    color: rgba(255, 255, 255, 0.6);
    max-width: 28rem;
    margin: 0 auto 2rem;
    font-size: 0.875rem;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding-top: 3.5rem;
    padding-bottom: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: minmax(0, 2fr) 1fr 1fr;
        gap: 2rem;
    }
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-brand-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}
.footer-tagline {
    font-size: 0.8125rem;
    color: var(--ink-soft);
    line-height: 1.6;
    max-width: 20rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.footer-col-title {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ink-faint);
}
.footer-col a {
    font-size: 0.8125rem;
    color: var(--ink-soft);
    transition: color 0.2s ease;
}
.footer-col a:hover {
    color: var(--ink);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--line);
    text-align: center;
}
@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-brand {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--ink);
}
.footer-copyright {
    font-size: 0.75rem;
    color: var(--ink-faint);
}
.footer-credit {
    font-size: 0.75rem;
    color: var(--ink-faint);
}
.footer-credit a {
    color: var(--ink);
    font-weight: 600;
    transition: color 0.2s ease;
}
.footer-credit a:hover {
    color: var(--blue-deep);
}

.footer-minimal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}
@media (min-width: 768px) {
    .footer-minimal {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.inner-hero {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 4rem;
    padding-bottom: 2.5rem;
    text-align: center;
}

.inner-title {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin-bottom: 1rem;
}
@media (min-width: 768px) {
    .inner-title { font-size: 3rem; line-height: 1; }
}

.inner-subtitle {
    color: var(--ink-soft);
    font-size: 0.875rem;
    max-width: 28rem;
    margin: 0 auto;
}

.form-wrapper {
    max-width: 36rem;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 6rem;
}

.form-layout {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--ink);
}

.form-input {
    width: 100%;
    height: 2.5rem;
    background-color: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 0.5rem;
    padding: 0 0.75rem;
    font-size: 0.875rem;
    color: var(--ink);
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
}
.form-input::placeholder {
    color: var(--ink-faint);
}
.form-input:focus {
    outline: none;
    background-color: #FFFFFF;
    border-color: var(--ink);
    box-shadow: 0 0 0 2px rgba(29, 29, 31, 0.08);
}
textarea.form-input {
    height: auto;
    padding: 0.625rem 0.75rem;
    resize: none;
}

.privacy-wrapper {
    max-width: 42rem;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 6rem;
}
.privacy-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    color: var(--ink-soft);
    font-size: 0.875rem;
    line-height: 1.625;
}
.privacy-heading {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.75rem;
}
.privacy-code {
    background-color: var(--paper);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    color: var(--ink);
}
.privacy-list {
    list-style-type: disc;
    padding-left: 1.25rem;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--ink-soft);
}
.privacy-list strong {
    color: var(--ink);
}

.faq-wrapper {
    padding-top: 1.5rem;
    padding-bottom: 6rem;
}
.faq-wrapper section {
    margin-bottom: 3.5rem;
}
.faq-wrapper section:last-child {
    margin-bottom: 0;
}
.faq-section-header {
    font-size: 1.25rem;
    text-align: left;
    margin-bottom: 1rem;
}
.faq-subheading {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}
.faq-subheading:first-of-type {
    margin-top: 0;
}
kbd.faq-key {
    display: inline-block;
    font-family: inherit;
    font-size: 0.75rem;
    color: var(--ink);
    background-color: var(--paper);
    border: 1px solid var(--line);
    border-bottom-width: 2px;
    padding: 0.0625rem 0.4375rem;
    border-radius: 0.25rem;
}

.changelog-wrapper {
    max-width: 42rem;
    margin: 0 auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 6rem;
}
.changelog-entry {
    padding: 2rem 0;
    border-bottom: 1px solid var(--line);
}
.changelog-entry:first-child {
    padding-top: 0;
}
.changelog-entry:last-child {
    border-bottom: none;
}
.changelog-top {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.version-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--blue-deep);
    background-color: var(--blue-tint);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}
.version-badge.is-latest {
    color: #fff;
    background-color: var(--blue);
}
.version-badge.is-launch {
    color: #6D28D9;
    background-color: #F1EAFE;
}
.changelog-date {
    font-size: 0.75rem;
    color: var(--ink-faint);
}
.changelog-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.75rem;
}
.changelog-list {
    list-style-type: disc;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--ink-soft);
    font-size: 0.875rem;
    line-height: 1.625;
}
.changelog-note {
    color: var(--ink-soft);
    font-size: 0.875rem;
    line-height: 1.625;
}

.changelog-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.875rem;
    text-align: center;
    padding-top: 2.5rem;
    margin-top: 0.5rem;
}
.changelog-cta p {
    font-size: 0.875rem;
    color: var(--ink-soft);
}

.changelog-list .tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.0625rem 0.4375rem;
    border-radius: 0.25rem;
    margin-right: 0.375rem;
    position: relative;
    top: -1px;
}
.changelog-note {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background-color: var(--paper);
    border-radius: 0.625rem;
    font-size: 0.8125rem;
    color: var(--ink-soft);
    line-height: 1.5;
}
.tag-new { color: #0B8A5F; background-color: #E4F7EE; }
.tag-fixed { color: #B45309; background-color: #FEF3E2; }
.tag-improved { color: var(--blue-deep); background-color: var(--blue-tint); }

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.radio-option {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    background-color: var(--paper);
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    font-size: 0.875rem;
    color: var(--ink);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.radio-option:has(input:checked) {
    border-color: var(--blue);
    background-color: var(--blue-tint);
}
.radio-option input {
    accent-color: var(--blue);
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.conditional-group {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.conditional-group[hidden] {
    display: none;
}

.welcome-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 46rem;
    margin: 0 auto;
    padding: 0 1.5rem 5rem;
}
@media (min-width: 768px) {
    .welcome-steps { grid-template-columns: repeat(3, 1fr); }
}
.step-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.75rem 1.5rem;
    background-color: var(--paper);
    border: 1px solid var(--line);
    border-radius: 1rem;
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 9999px;
    background-color: var(--blue);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}
.step-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
}
.step-desc {
    font-size: 0.8125rem;
    color: var(--ink-soft);
    line-height: 1.6;
}

.welcome-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    padding: 0 1.5rem 6rem;
}
.welcome-cta-note {
    font-size: 0.8125rem;
    color: var(--ink-faint);
}

/* ================================================================
   PRISMTAB PLUS (COMING SOON) PRICING & PREVIEW
   ================================================================ */
#plus {
    scroll-margin-top: 5rem;
}

.plus-header {
    text-align: center;
    max-width: 38rem;
    margin: 0 auto 3.5rem;
}

.plus-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue-deep);
    background-color: var(--blue-tint);
    border: 1px solid rgba(0, 136, 255, 0.15);
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1.25rem;
}

.plus-title {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin-bottom: 0.875rem;
}
@media (min-width: 768px) {
    .plus-title { font-size: 3rem; }
}

.plus-subtitle {
    font-size: 1rem;
    color: var(--ink-soft);
    line-height: 1.6;
}

.plus-single-wrap {
    max-width: 27rem;
    margin: 0 auto;
}

.plan-toggle-wrap {
    display: flex;
    background-color: var(--paper);
    border-radius: 0.625rem;
    padding: 0.25rem;
    gap: 0.25rem;
    width: 100%;
    margin-bottom: 1.5rem;
}

.plan-toggle-btn {
    flex: 1;
    border: none;
    padding: 0.5rem 0.875rem;
    border-radius: 0.4375rem;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    background: transparent;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.plan-toggle-btn.is-active {
    background: #FFFFFF;
    color: var(--ink);
    font-weight: 600;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.plan-save-pill {
    font-size: 0.6875rem;
    background-color: #0b8a5f;
    color: #FFFFFF;
    padding: 0.1rem 0.425rem;
    border-radius: 0.25rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.plus-plan-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.plus-save-badge {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0b8a5f;
    border: 1px solid rgba(11, 138, 95, 0.35);
    background-color: rgba(11, 138, 95, 0.08);
    padding: 0.15rem 0.5rem;
    border-radius: 0.3rem;
}

.plus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 52rem;
    margin: 0 auto;
}
@media (min-width: 640px) {
    .plus-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.plus-card {
    position: relative;
    background-color: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.plus-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.plus-card.is-featured {
    border-color: rgba(0, 136, 255, 0.4);
    box-shadow: 0 10px 30px -5px rgba(0, 136, 255, 0.12);
}

.plus-card-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--blue-deep);
    background-color: var(--blue-tint);
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
}

.plus-plan-name {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0;
}

.plus-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 0.375rem;
    margin-bottom: 0.25rem;
}

.plus-price {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--ink);
    line-height: 1;
}

.plus-period {
    font-size: 0.9375rem;
    color: var(--ink-soft);
}

.plus-billing-note {
    font-size: 0.8125rem;
    color: var(--ink-faint);
    margin-bottom: 1.5rem;
}

.plus-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.25rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--line);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.plus-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: var(--ink-soft);
    line-height: 1.5;
}

.plus-feature-check {
    width: 1rem;
    height: 1rem;
    color: var(--blue);
    flex-shrink: 0;
    margin-top: 0.1875rem;
}

.btn-plus-status {
    width: 100%;
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    background-color: var(--paper);
    color: var(--ink-soft);
    font-size: 0.875rem;
    font-weight: 600;
    text-align: center;
    border: 1px solid var(--line);
    cursor: default;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.plus-card.is-featured .btn-plus-status {
    background-color: var(--blue-tint);
    color: var(--blue-deep);
    border-color: rgba(0, 136, 255, 0.2);
}

.plus-footnote {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 0.875rem;
    color: var(--ink-soft);
}
.plus-footnote a {
    color: var(--ink);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.15s ease;
}
.plus-footnote a:hover {
    color: var(--blue-deep);
}
