/* Voice Memo to Text — tool styles
 * Scoped under .vmt-* so they do not collide with global VClar styles.
 * Tailwind is loaded site-wide; this file only adds patterns the workbench
 * needs (drop zone, custom transport, edit highlight, progress bar). */

.page-voice-memo-to-text,
.page-voice-memo-to-text main {
    overflow-x: hidden;
}

@supports (overflow-x: clip) {
    .page-voice-memo-to-text,
    .page-voice-memo-to-text main {
        overflow-x: clip;
    }
}

.vmt-workbench {
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 70%);
    border: 1px solid #d1fae5;
    border-radius: 1rem;
    box-shadow: 0 20px 45px -28px rgba(15, 23, 42, 0.35);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

@media (min-width: 768px) {
    .vmt-workbench { padding: 1.5rem; }
}

/* Drop zone */
.vmt-dropzone {
    position: relative;
    border: 2px dashed #34d399;
    background: #ffffff;
    border-radius: 0.9rem;
    padding: 1.5rem 1rem;
    text-align: center;
    color: #047857;
    cursor: pointer;
    transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}
.vmt-dropzone:hover { background: #ecfdf5; }
.vmt-dropzone.is-dragover {
    background: #ecfdf5;
    border-color: #059669;
    transform: scale(1.005);
}
.vmt-dropzone:focus-visible {
    outline: 3px solid #34d399;
    outline-offset: 3px;
}

.vmt-drop-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #064e3b;
    margin: 0.25rem 0;
}
.vmt-drop-sub {
    font-size: 0.875rem;
    color: #047857;
    margin: 0;
}
.vmt-drop-types {
    font-size: 0.78rem;
    color: #6b7280;
    margin-top: 0.4rem;
}

.vmt-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.75rem;
}

/* Generic small button */
.vmt-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    color: #1f2937;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
}
.vmt-btn:hover { background: #f3f4f6; border-color: #9ca3af; }
.vmt-btn[disabled],
.vmt-btn.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}
.vmt-btn-primary {
    background: #059669;
    color: #ffffff;
    border-color: #059669;
}
.vmt-btn-primary:hover { background: #047857; border-color: #047857; }
.vmt-btn-danger {
    background: #fff;
    color: #b91c1c;
    border-color: #fecaca;
}
.vmt-btn-danger:hover { background: #fef2f2; border-color: #fca5a5; }

/* Selected file row */
.vmt-file-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.6rem;
    font-size: 0.875rem;
    color: #334155;
}
.vmt-file-row .vmt-file-name {
    font-weight: 600;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.vmt-file-row .vmt-file-meta { color: #64748b; }
.vmt-file-row .vmt-file-remove { margin-left: auto; }

/* Controls grid */
.vmt-controls {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.6rem;
}
@media (min-width: 640px) {
    .vmt-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
    .vmt-controls { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.vmt-field { display: flex; flex-direction: column; gap: 0.25rem; }
.vmt-field label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    letter-spacing: 0.02em;
}
.vmt-select,
.vmt-input {
    padding: 0.55rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    background: #ffffff;
    font-size: 0.9rem;
    color: #0f172a;
}
.vmt-select:focus,
.vmt-input:focus {
    outline: 2px solid #34d399;
    outline-offset: 1px;
    border-color: #059669;
}
.vmt-help {
    font-size: 0.78rem;
    color: #6b7280;
    margin: 0.25rem 0 0;
}

/* iPhone helper card */
.vmt-iphone-card {
    background: #fff;
    border: 1px solid #e0f2fe;
    border-radius: 0.8rem;
    padding: 0.9rem 1rem;
    font-size: 0.86rem;
    color: #0f172a;
}
.vmt-iphone-card h3 {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    color: #075985;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.vmt-iphone-card ol {
    margin: 0;
    padding-left: 1.1rem;
    color: #334155;
    line-height: 1.55;
}

/* Status / progress */
.vmt-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.86rem;
    color: #475569;
    min-height: 1.25rem;
}
.vmt-status.is-error { color: #b91c1c; }
.vmt-status.is-success { color: #047857; }

.vmt-progress {
    width: 100%;
    height: 6px;
    background: #ecfdf5;
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}
.vmt-progress::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 35%;
    background: linear-gradient(90deg, #34d399, #059669);
    border-radius: 999px;
    animation: vmtIndeterminate 1.2s infinite ease-in-out;
}
@keyframes vmtIndeterminate {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(280%); }
}

/* Hidden file input (always offscreen but still accessible to AT) */
.vmt-input-file {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Output card */
.vmt-output-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 18px 45px -32px rgba(2, 6, 23, 0.35);
}
.vmt-output-toolbar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.6rem 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
}
.vmt-output-toolbar h2 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}
.vmt-output-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    font-size: 0.78rem;
    color: #475569;
}
.vmt-output-meta span {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    border-radius: 999px;
    padding: 0.15rem 0.55rem;
    line-height: 1.4;
    white-space: nowrap;
}

.vmt-export-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.55rem 0.9rem;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
}

.vmt-audio {
    width: 100%;
    margin: 0;
    border-radius: 0;
}

.vmt-search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.55rem 0.9rem;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}
.vmt-search-row .vmt-input {
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
    flex: 1 1 8rem;
}
.vmt-search-row .vmt-btn {
    padding: 0.4rem 0.7rem;
    font-size: 0.82rem;
}
.vmt-search-row .vmt-search-status {
    font-size: 0.78rem;
    color: #475569;
    align-self: center;
}

.vmt-transcript {
    padding: 1rem 1.1rem;
    min-height: 9rem;
    line-height: 1.75;
    color: #0f172a;
    font-size: 0.98rem;
    white-space: pre-wrap;
    word-break: break-word;
    outline: none;
}
.vmt-transcript[contenteditable="true"] {
    background: #ffffff;
    border-top: 1px solid transparent;
}
.vmt-transcript[contenteditable="true"]:focus {
    outline: 2px solid #34d399;
    outline-offset: -2px;
}

.vmt-seg {
    display: block;
    padding: 0.35rem 0;
    border-bottom: 1px dashed transparent;
}
.vmt-seg + .vmt-seg { border-top: 1px dashed #f1f5f9; }
.vmt-seg-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.74rem;
    color: #475569;
    margin-right: 0.4rem;
    user-select: none;
}
.vmt-seg-time {
    background: #f1f5f9;
    color: #0f172a;
    padding: 0.05rem 0.45rem;
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    font-size: 0.74rem;
}
.vmt-seg-time:hover { background: #e0f2fe; border-color: #bae6fd; }
.vmt-seg-speaker {
    background: #ecfdf5;
    color: #065f46;
    padding: 0.05rem 0.45rem;
    border-radius: 999px;
    border: 1px solid #a7f3d0;
}
.vmt-seg.is-playing {
    background: #fef9c3;
    border-radius: 0.45rem;
}
.vmt-seg mark.vmt-hl {
    background: #fde68a;
    border-radius: 0.25rem;
    padding: 0 0.1rem;
}

.vmt-output-footer {
    padding: 0.65rem 0.9rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-size: 0.78rem;
    color: #475569;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: space-between;
}

/* Privacy footnote */
.vmt-privacy {
    font-size: 0.78rem;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.6rem;
    padding: 0.55rem 0.75rem;
    line-height: 1.45;
    text-align: center;
}

/* Daily quota footnote */
.vmt-limit-line {
    font-size: 0.78rem;
    color: #334155;
    text-align: center;
    margin: 0.25rem 0 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}
.vmt-limit-line i { color: #059669; }
.vmt-quota-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    border-radius: 999px;
    padding: 0.1rem 0.55rem;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.4;
}
.vmt-quota-pill.is-low {
    background: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}
.vmt-quota-pill.is-empty {
    background: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

/* Signup modal */
.vmt-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}
.vmt-modal[hidden] { display: none !important; }
.vmt-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
    animation: vmtFade 180ms ease-out;
}
.vmt-modal-card {
    position: relative;
    background: #ffffff;
    border-radius: 1.1rem;
    box-shadow: 0 30px 60px -20px rgba(2, 6, 23, 0.55);
    max-width: 30rem;
    width: 100%;
    padding: 1.75rem 1.5rem 1.25rem;
    text-align: center;
    border: 1px solid #d1fae5;
    animation: vmtPop 220ms ease-out;
}
@keyframes vmtFade {
    from { opacity: 0; } to { opacity: 1; }
}
@keyframes vmtPop {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.vmt-modal-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #059669, #34d399);
    color: #ffffff;
    margin: 0 auto 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 12px 24px -10px rgba(5, 150, 105, 0.45);
}
.vmt-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}
.vmt-modal-text {
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.55;
    margin: 0 0 1rem;
}
.vmt-modal-perks {
    list-style: none;
    padding: 0;
    margin: 0 0 1.1rem;
    text-align: left;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 0.75rem 0.85rem;
}
.vmt-modal-perks li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.86rem;
    color: #1f2937;
    line-height: 1.45;
    padding: 0.2rem 0;
}
.vmt-modal-perks i { color: #059669; flex: 0 0 auto; margin-top: 0.2rem; }
.vmt-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 0.6rem;
}
.vmt-modal-actions .vmt-btn {
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}
.vmt-modal-actions .vmt-btn-primary { font-weight: 600; }
.vmt-modal-close {
    position: absolute;
    top: 0.6rem;
    right: 0.7rem;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: #64748b;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vmt-modal-close:hover { background: #f1f5f9; color: #0f172a; }
.vmt-modal-dismiss {
    background: transparent;
    border: 0;
    color: #64748b;
    font-size: 0.82rem;
    text-decoration: underline;
    cursor: pointer;
    padding: 0.35rem 0.5rem;
}
.vmt-modal-dismiss:hover { color: #0f172a; }

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

/* Feature section */
.vmt-feature-section {
    position: relative;
    overflow: hidden;
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
    background:
        radial-gradient(circle at 8% 10%, rgba(52, 211, 153, 0.18), transparent 24rem),
        radial-gradient(circle at 92% 12%, rgba(14, 165, 233, 0.1), transparent 22rem),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.vmt-feature-section::before {
    content: "";
    position: absolute;
    inset: clamp(0.65rem, 2.5vw, 1.25rem);
    border: 1px solid rgba(209, 250, 229, 0.55);
    border-radius: 2rem;
    pointer-events: none;
}
.vmt-feature-head {
    position: relative;
    max-width: 48rem;
    margin: 0 auto 2rem;
    text-align: center;
}
.vmt-feature-head h2 {
    margin: 0.9rem 0 0.75rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.04em;
}
.vmt-feature-head p {
    margin: 0 auto;
    color: #475569;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 43rem;
}
.vmt-feature-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    min-width: 0;
}
@media (min-width: 640px) {
    .vmt-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1024px) {
    .vmt-feature-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
.vmt-feature-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 1.15rem;
    border: 1px solid #d1fae5;
    background: rgba(255, 255, 255, 0.92);
    padding: 1.1rem;
    box-shadow: 0 22px 55px -42px rgba(15, 23, 42, 0.7);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.vmt-feature-card::after {
    content: "";
    position: absolute;
    right: -2.5rem;
    top: -2.5rem;
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.1);
    transition: transform 180ms ease;
}
.vmt-feature-card:hover {
    transform: translateY(-3px);
    border-color: #86efac;
    box-shadow: 0 26px 65px -42px rgba(15, 23, 42, 0.8);
}
.vmt-feature-card:hover::after {
    transform: scale(1.18);
}
.vmt-feature-icon {
    position: relative;
    z-index: 1;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: #047857;
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
}
.vmt-feature-card h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 0.45rem;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
}
.vmt-feature-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #475569;
    font-size: 0.88rem;
    line-height: 1.58;
}
.vmt-feature-proof {
    position: relative;
    margin: 1.4rem auto 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}
.vmt-feature-proof span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border-radius: 999px;
    border: 1px solid #d1fae5;
    background: #ffffff;
    color: #334155;
    padding: 0.45rem 0.8rem;
    font-size: 0.82rem;
    box-shadow: 0 14px 35px -28px rgba(15, 23, 42, 0.6);
}
.vmt-feature-proof strong {
    color: #047857;
}

/* SEO article redesign */
.vmt-article-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 14%, rgba(52, 211, 153, 0.16), transparent 28rem),
        radial-gradient(circle at 88% 22%, rgba(14, 165, 233, 0.12), transparent 24rem),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 48%, #ffffff 100%);
}
.vmt-article-orb {
    position: absolute;
    width: 18rem;
    height: 18rem;
    border-radius: 999px;
    background: rgba(52, 211, 153, 0.15);
    filter: blur(8px);
    pointer-events: none;
    animation: vmtFloatOrb 9s ease-in-out infinite;
}
.vmt-article-orb--one { top: 6rem; left: -8rem; }
.vmt-article-orb--two {
    right: -9rem;
    top: 34rem;
    background: rgba(59, 130, 246, 0.12);
    animation-delay: -3s;
}
@keyframes vmtFloatOrb {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(1.2rem, -1.5rem, 0) scale(1.05); }
}
.vmt-article-shell {
    position: relative;
    max-width: none;
}
.vmt-article-shell > h2,
.vmt-article-shell > p,
.vmt-article-shell > ul,
.vmt-article-shell > ol,
.vmt-article-shell > .overflow-x-auto,
.vmt-article-shell > .space-y-2,
.vmt-article-shell > .grid {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}
.vmt-article-hero,
.vmt-split-feature {
    display: grid;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
}
@media (min-width: 960px) {
    .vmt-article-hero,
    .vmt-split-feature {
        grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.82fr);
        gap: 3rem;
    }
}
.vmt-article-copy {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(209, 250, 229, 0.88);
    border-radius: 1.35rem;
    box-shadow: 0 24px 60px -42px rgba(15, 23, 42, 0.6);
    padding: clamp(1.25rem, 3vw, 2rem);
}
.vmt-section-kicker,
.vmt-final-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
}
.vmt-article-image-card,
.vmt-wide-figure {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(209, 250, 229, 0.9);
    border-radius: 1.35rem;
    background: #ffffff;
    box-shadow: 0 28px 70px -44px rgba(15, 23, 42, 0.62);
}
.vmt-article-image-card::after,
.vmt-wide-figure::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(16,185,129,0.12));
    pointer-events: none;
}
.vmt-article-image-card img,
.vmt-wide-figure img {
    display: block;
    width: 100%;
    transition: transform 500ms ease;
}
.vmt-article-image-card:hover img,
.vmt-wide-figure:hover img {
    transform: scale(1.025);
}
.vmt-article-image-card figcaption {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0.75rem 1rem;
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.45;
    background: #ffffff;
}
.vmt-article-card {
    position: relative;
    max-width: 54rem;
    margin: 3rem auto;
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: 1.35rem;
    border: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 60px -46px rgba(15, 23, 42, 0.6);
}
.vmt-article-card h2 {
    margin-top: 0 !important;
}
.vmt-article-card--workflow {
    background:
        linear-gradient(180deg, rgba(236, 253, 245, 0.78), rgba(255, 255, 255, 0.95)),
        #ffffff;
}
.vmt-wide-figure {
    margin: 1.5rem 0 0;
}
.vmt-animated-mini {
    width: min(100%, 26rem);
    margin: 0 0 1rem auto;
    opacity: 0.92;
}
.vmt-animated-mini svg {
    display: block;
    width: 100%;
    height: auto;
}
.vmt-svg-path {
    fill: none;
    stroke: #10b981;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 12 14;
    animation: vmtDash 2.4s linear infinite;
}
.vmt-svg-dot {
    fill: #ffffff;
    stroke: #059669;
    stroke-width: 4;
    transform-origin: center;
    animation: vmtPulseDot 1.8s ease-in-out infinite;
}
.vmt-svg-dot--two { animation-delay: 250ms; }
.vmt-svg-dot--three { animation-delay: 500ms; }
@keyframes vmtDash {
    to { stroke-dashoffset: -52; }
}
@keyframes vmtPulseDot {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.18); }
}
.vmt-wave-divider {
    max-width: 58rem;
    margin: 2.75rem auto 1.25rem;
    opacity: 0.75;
}
.vmt-wave-divider svg {
    display: block;
    width: 100%;
    height: 5rem;
}
.vmt-wave-line {
    fill: none;
    stroke: #10b981;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 9 16;
    animation: vmtWaveTravel 5s linear infinite;
}
.vmt-wave-line--two {
    stroke: #60a5fa;
    opacity: 0.45;
    animation-duration: 6.5s;
}
@keyframes vmtWaveTravel {
    to { stroke-dashoffset: -140; }
}
.vmt-split-feature {
    max-width: 64rem;
    margin: 3rem auto;
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    box-shadow: 0 24px 60px -48px rgba(15, 23, 42, 0.58);
}
.vmt-split-feature h2 {
    margin-top: 0 !important;
}

/* Landing-page-aligned final CTA */
.vmt-final-cta {
    padding: clamp(4rem, 9vw, 6.5rem) 0;
    background: linear-gradient(180deg, #ffffff 0%, #ecfdf5 100%);
}
.vmt-final-cta-bg {
    position: absolute;
    inset: 0;
    color: #10b981;
    opacity: 0.32;
    pointer-events: none;
}
.vmt-final-cta-bg svg {
    width: 100%;
    height: 100%;
}
.vmt-final-wave {
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-dasharray: 10 18;
    animation: vmtFinalWave 8s linear infinite;
}
.vmt-final-wave--two {
    opacity: 0.55;
    animation-duration: 11s;
}
@keyframes vmtFinalWave {
    to { stroke-dashoffset: -180; }
}
.vmt-final-cta-card {
    position: relative;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 3.5rem);
    border-radius: 2rem;
    background:
        radial-gradient(circle at 15% 10%, rgba(52, 211, 153, 0.2), transparent 16rem),
        rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(209, 250, 229, 0.95);
    box-shadow: 0 32px 80px -50px rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
}
.vmt-final-badge {
    margin: 0 auto 1rem;
}

@media (prefers-reduced-motion: reduce) {
    .vmt-article-orb,
    .vmt-svg-path,
    .vmt-svg-dot,
    .vmt-wave-line,
    .vmt-final-wave {
        animation: none !important;
    }
    .vmt-article-image-card img,
    .vmt-wide-figure img {
        transition: none;
    }
}

/* Live region (invisible) */
.vmt-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;
}

#vmt-print-area {
    display: none;
}
body.vmt-printing #vmt-print-area {
    display: block;
}

@media print {
    @page {
        margin: 15mm 18mm 20mm 18mm;
        size: auto;
    }

    body.vmt-printing > *:not(#vmt-print-area) {
        display: none !important;
    }

    body.vmt-printing,
    body.vmt-printing #vmt-print-area {
        background: #ffffff !important;
    }

    #vmt-print-area {
        display: block !important;
        padding: 0;
        max-width: 100%;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        color: #1f2937;
    }

    .vmt-print-header {
        margin-bottom: 1.5rem;
    }

    .vmt-print-brand {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }

    .vmt-print-logo {
        display: flex;
        align-items: center;
        gap: 0.65rem;
    }

    .vmt-print-brand-name {
        font-size: 1.55rem;
        font-weight: 800;
        color: #059669;
        letter-spacing: -0.03em;
    }

    .vmt-print-meta {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .vmt-print-tag {
        display: inline-block;
        padding: 0.35rem 0.75rem;
        background: #ecfdf5;
        border: 1px solid #a7f3d0;
        border-radius: 2rem;
        font-size: 0.78rem;
        font-weight: 700;
        color: #047857;
        text-transform: uppercase;
        letter-spacing: 0.035em;
    }

    .vmt-print-date {
        font-size: 0.85rem;
        color: #6b7280;
    }

    .vmt-print-divider {
        height: 3px;
        background: linear-gradient(90deg, #059669 0%, #34d399 50%, #059669 100%);
        border-radius: 2px;
        margin-top: 0.85rem;
    }

    .vmt-print-content {
        margin: 1.2rem 0;
    }

    .vmt-print-summary {
        background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 70%);
        border: 1px solid #d1fae5;
        border-radius: 0.75rem;
        padding: 1rem 1.15rem;
        margin-bottom: 1rem;
    }

    .vmt-print-summary h1 {
        margin: 0 0 0.55rem;
        font-size: 1.45rem;
        line-height: 1.25;
        font-weight: 800;
        color: #111827;
        letter-spacing: -0.02em;
    }

    .vmt-print-meta-row {
        display: flex;
        flex-wrap: wrap;
        gap: 0.45rem;
    }

    .vmt-print-meta-row span {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        padding: 0.25rem 0.55rem;
        border-radius: 999px;
        background: #ffffff;
        border: 1px solid #e5e7eb;
        color: #4b5563;
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .vmt-print-meta-row strong {
        color: #111827;
        font-weight: 700;
    }

    .vmt-print-transcript {
        background: #ffffff !important;
        border: 1px solid #e5e7eb;
        border-radius: 0.65rem;
        padding: 1.25rem !important;
        line-height: 1.82;
        font-size: 0.98rem;
        color: #1f2937;
        white-space: normal;
    }

    .vmt-print-transcript .vmt-seg {
        margin: 0 0 0.8rem;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .vmt-print-transcript .vmt-seg-meta {
        display: inline-flex;
        gap: 0.4rem;
        margin-right: 0.35rem;
        color: #047857;
        font-size: 0.84rem;
        font-weight: 700;
    }

    .vmt-print-transcript .vmt-print-time,
    .vmt-print-transcript .vmt-time {
        color: #047857;
        font-weight: 700;
    }

    .vmt-print-transcript .vmt-seg-jump,
    .vmt-print-transcript button {
        display: none !important;
    }

    .vmt-print-transcript p {
        margin: 0 0 0.85rem;
    }

    .vmt-print-footer {
        margin-top: 2rem;
        padding-top: 1rem;
        border-top: 1px solid #e5e7eb;
    }

    .vmt-print-footer-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: 0.5rem;
    }

    .vmt-print-footer-left,
    .vmt-print-footer-right {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .vmt-print-footer-left {
        align-items: flex-start;
    }

    .vmt-print-footer-right {
        align-items: flex-end;
    }

    .vmt-print-footer-brand {
        font-size: 0.95rem;
        font-weight: 700;
        color: #111827;
    }

    .vmt-print-footer-url {
        font-size: 0.8rem;
        color: #059669;
        overflow-wrap: anywhere;
        max-width: 100%;
    }

    .vmt-print-powered {
        font-size: 0.85rem;
        font-weight: 600;
        color: #374151;
    }

    .vmt-print-copyright {
        font-size: 0.75rem;
        color: #9ca3af;
    }

    #vmt-print-area a {
        color: inherit;
        text-decoration: none;
    }
}
