/*
 * Company portal sales page (/portal for guests on OnPrint).
 * Two surfaces: ink bands carry the product, paper carries the pitch.
 * All rules are scoped to .vp-* so the shared shop header keeps its own styling.
 */

.vp-page {
    --ink: #0B0C0E;
    --ink-soft: #16181D;
    --paper: #FFFFFF;
    --wash: #F2F3F5;
    --line: #E4E6EA;
    --line-dark: #2A2E36;
    --muted: #667085;
    --muted-dark: #9AA2B1;
    --ok: #2E7D46;
    --wait: #B26A00;
    --demo: #123A87;

    background: var(--paper);
    color: var(--ink);
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.vp-page h1, .vp-page h2, .vp-page h3 {
    font-family: 'Archivo', 'Inter', ui-sans-serif, system-ui, sans-serif;
    font-stretch: 112%;
    font-weight: 700;
    letter-spacing: -0.022em;
    line-height: 1.06;
    margin: 0;
}

.vp-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
@media (min-width: 768px) { .vp-wrap { padding: 0 2rem; } }

/* ---------- shared atoms ---------- */

.vp-eyebrow {
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin: 0 0 1rem;
    color: var(--muted);
}
.vp-on-ink .vp-eyebrow { color: var(--muted-dark); }

.vp-lede {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--muted);
    max-width: 38rem;
    margin: 1rem 0 0;
}
.vp-on-ink .vp-lede { color: #C3C8D2; }

.vp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    padding: 0.8rem 1.35rem;
    border-radius: 8px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.vp-btn-primary { background: var(--paper); color: var(--ink); }
.vp-btn-primary:hover { background: #E8EAEE; color: var(--ink); }
.vp-btn-ghost { background: transparent; color: var(--paper); border-color: #3A3F49; }
.vp-btn-ghost:hover { background: #1E222A; color: var(--paper); }
.vp-btn-dark { background: var(--ink); color: var(--paper); }
.vp-btn-dark:hover { background: #23262D; color: var(--paper); }
.vp-btn:focus-visible { outline: 2px solid #6FA8FF; outline-offset: 3px; }

.vp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.75rem;
}

.vp-mono {
    font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}

/* ---------- hero ---------- */

.vp-hero {
    background: var(--ink);
    color: var(--paper);
    padding: 3rem 0 0;
    overflow: hidden;
}
@media (min-width: 900px) { .vp-hero { padding-top: 3.5rem; } }

.vp-hero-top {
    display: grid;
    gap: 2rem;
    align-items: end;
    padding-bottom: 2.25rem;
}
@media (min-width: 960px) {
    .vp-hero-top { grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr); gap: 3.5rem; }
}

.vp-h1 {
    font-size: clamp(2rem, 3.6vw, 3.05rem);
    max-width: 17ch;
}
.vp-h1 span { display: block; }
.vp-h1 span + span { color: #A9AFBB; }
.vp-h1 span + span + span { color: #7C8391; }

.vp-facts {
    border-top: 1px solid var(--line-dark);
    display: grid;
    gap: 0;
}
.vp-fact {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--line-dark);
    font-size: 0.875rem;
}
.vp-fact dt { color: var(--muted-dark); margin: 0; }
.vp-fact dd {
    margin: 0;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.8125rem;
    text-align: right;
}

/* ---------- the portal surface ---------- */

.vp-stage { padding-bottom: 3.25rem; }

.vp-panel {
    --demo: #123A87;
    background: var(--paper);
    color: var(--ink);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 18px 44px rgba(11, 12, 14, .10);
}

.vp-panel-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.7rem 0.9rem;
    background: #F7F8F9;
    border-bottom: 1px solid var(--line);
    overflow-x: auto;
    scrollbar-width: none;
}
.vp-panel-bar::-webkit-scrollbar { display: none; }

.vp-brandmark {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
}
.vp-brandmark i {
    width: 20px;
    height: 20px;
    border-radius: 5px;
    background: var(--demo);
    display: block;
    transition: background-color .35s ease;
}
.vp-demo-chip {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    padding: 0.15rem 0.35rem;
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--muted);
}

.vp-tabs { display: flex; gap: 1.15rem; margin: 0 0 0 auto; padding: 0; list-style: none; flex-shrink: 0; }
.vp-tab {
    font-size: 0.8125rem;
    color: var(--muted);
    white-space: nowrap;
    padding: 0.2rem 0;
    border-bottom: 2px solid transparent;
}
.vp-tab.is-active { color: var(--ink); font-weight: 600; border-bottom-color: var(--demo); }
.vp-tab-badge {
    display: inline-block;
    min-width: 1.15rem;
    padding: 0 0.25rem;
    margin-left: 0.3rem;
    border-radius: 999px;
    background: var(--wait);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.15rem;
}

.vp-panel-body { display: grid; }
@media (min-width: 900px) { .vp-panel-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* staff register */

.vp-list { padding: 1.1rem 1.15rem 1.15rem; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .vp-list { border-bottom: 0; border-right: 1px solid var(--line); } }

.vp-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.vp-list-head h3 { font-size: 1rem; letter-spacing: -0.01em; }
.vp-list-count { color: var(--muted); font-size: 0.75rem; font-family: 'JetBrains Mono', ui-monospace, monospace; }

.vp-scope { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.85rem 0 0.6rem; }
.vp-scope-btn {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.7rem;
    padding: 0.28rem 0.5rem;
    border-radius: 5px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    cursor: pointer;
}
.vp-scope-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.vp-scope-btn:focus-visible { outline: 2px solid var(--demo); outline-offset: 2px; }

.vp-rows { border-top: 1px solid var(--line); }
@media (min-width: 900px) { .vp-rows { min-height: 236px; } }

.vp-row {
    display: grid;
    grid-template-columns: 1.1rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    padding: 0.6rem 0.4rem;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}
.vp-row:hover { background: #F7F8F9; }
.vp-row:focus-visible { outline: 2px solid var(--demo); outline-offset: -2px; }
.vp-row[aria-selected="true"] { background: #F4F5F7; background: color-mix(in srgb, var(--demo) 7%, #fff); }
.vp-row[hidden] { display: none; }

.vp-tick {
    width: 15px;
    height: 15px;
    border: 1.5px solid #B9BFC9;
    border-radius: 4px;
    position: relative;
}
.vp-row[aria-selected="true"] .vp-tick { background: var(--demo); border-color: var(--demo); }
.vp-row[aria-selected="true"] .vp-tick::after {
    content: "";
    position: absolute;
    left: 4px; top: 1px;
    width: 4px; height: 8px;
    border: solid #fff;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.vp-row-name { font-size: 0.875rem; font-weight: 500; }
.vp-row-sub { font-size: 0.75rem; color: var(--muted); }
.vp-cc {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.7rem;
    color: var(--muted);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 0.1rem 0.35rem;
}

.vp-list-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.9rem; }
.vp-order-btn {
    background: var(--demo);
    color: #fff;
    border: 0;
    border-radius: 7px;
    padding: 0.6rem 0.95rem;
    font-family: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    transition: background-color .35s ease;
    cursor: default;
}
.vp-list-note { font-size: 0.7rem; color: var(--muted); }

/* card detail */

.vp-detail {
    padding: 1.4rem 1.15rem 1.5rem;
    background: linear-gradient(180deg, #FAFBFC 0%, #F3F4F6 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
}

.vp-cardwrap { perspective: 1400px; width: 300px; max-width: 100%; }
.vp-card {
    position: relative;
    width: 100%;
    aspect-ratio: 85 / 55;
    transform-style: preserve-3d;
    transition: transform .75s cubic-bezier(.2, .7, .2, 1);
}
.vp-cardwrap.is-flipped .vp-card { transform: rotateY(180deg); }

.vp-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 10px 26px rgba(11, 12, 14, .16);
    padding: 1rem 1.05rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.vp-face::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 7px;
    background: var(--demo);
    transition: background-color .35s ease;
}
.vp-face-back { transform: rotateY(180deg); }

.vp-card-mark {
    font-family: 'Archivo', 'Inter', sans-serif;
    font-stretch: 112%;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--demo);
    transition: color .35s ease;
}
.vp-card-name {
    font-family: 'Archivo', 'Inter', sans-serif;
    font-stretch: 112%;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.015em;
    margin-top: auto;
}
.vp-card-title { font-size: 0.78rem; color: #4A5160; margin-top: 0.1rem; }
.vp-card-contact {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.62rem;
    color: var(--muted);
    margin-top: 0.5rem;
    line-height: 1.5;
    word-break: break-word;
}
.vp-card-line { transition: opacity .3s ease, transform .3s ease; }
.vp-card.is-building .vp-card-line { opacity: 0; transform: translateY(4px); }
.vp-card-line:nth-child(2) { transition-delay: .05s; }
.vp-card-line:nth-child(3) { transition-delay: .12s; }
.vp-card-line:nth-child(4) { transition-delay: .2s; }

.vp-back-grid { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 0.85rem; align-items: center; height: 100%; }
.vp-qr { width: 78px; height: 78px; }
.vp-qr svg { display: block; width: 100%; height: 100%; }
.vp-back-title { font-size: 0.78rem; font-weight: 600; }
.vp-back-copy { font-size: 0.68rem; color: var(--muted); line-height: 1.45; margin-top: 0.2rem; }

.vp-detail-meta { width: 300px; max-width: 100%; }
.vp-status {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.75rem;
    color: var(--ok);
}
.vp-status.is-working { color: var(--muted); }
.vp-status i {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: currentColor;
    display: block;
}
.vp-spec {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.7rem;
    color: var(--muted);
    margin: 0.4rem 0 0;
}
.vp-detail-tools { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.9rem; }
.vp-flip {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 0.45rem 0.7rem;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ink);
    cursor: pointer;
}
.vp-flip:hover { background: #F1F2F4; }
.vp-flip:focus-visible { outline: 2px solid var(--demo); outline-offset: 2px; }

.vp-swatches { display: flex; align-items: center; gap: 0.4rem; }
.vp-swatches span { font-size: 0.7rem; color: var(--muted); }
.vp-swatch {
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 2px solid transparent;
    box-shadow: 0 0 0 1px rgba(11, 12, 14, .18);
    cursor: pointer;
    padding: 0;
}
.vp-swatch[aria-pressed="true"] { border-color: #fff; box-shadow: 0 0 0 2px var(--ink); }
.vp-swatch:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.vp-stage-caption {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 0.35rem 1rem;
    margin: 1rem 0 0;
    color: var(--muted-dark);
    font-size: 0.8125rem;
}

/* ---------- hero film ---------- */

/* ---------- hero film ---------- */

.vp-film {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    /* the film's own first-frame background, so the poster load is seamless */
    background: #ECEBE6;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .45);
}
@media (max-width: 640px) {
    .vp-film {
        margin-left: -1.25rem;
        margin-right: -1.25rem;
        border-radius: 0;
    }
}

.vp-film-main {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*
 * The film starts on its own and never stops, so WCAG 2.2.2 needs a way to
 * stop it. It sits in the caption row rather than over the picture — the film
 * carries its own logo bottom-right and an overlay control lands on top of it.
 */
.vp-film-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.22rem 0.6rem;
    border: 1px solid var(--line-dark);
    border-radius: 999px;
    background: transparent;
    color: var(--muted-dark);
    font-family: inherit;
    font-size: 0.78rem;
    cursor: pointer;
    transition: color .15s ease, border-color .15s ease;
}
.vp-film-toggle:hover { color: #fff; border-color: #4A505B; }
.vp-film-toggle:focus-visible { outline: 2px solid #6FA8FF; outline-offset: 2px; }

/* pause glyph — two bars; becomes a triangle when the film is stopped */
.vp-film-icon {
    width: 8px;
    height: 9px;
    border-left: 3px solid currentColor;
    border-right: 3px solid currentColor;
}
.vp-film-toggle.is-paused .vp-film-icon {
    width: 0;
    height: 0;
    border-left: 8px solid currentColor;
    border-right: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.vp-panel-caption {
    margin: 0.9rem 0 0;
    font-size: 0.8125rem;
    color: var(--muted);
}

/* ---------- light sections ---------- */

.vp-sec { padding: 3.5rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .vp-sec { padding: 4.5rem 0; } }
.vp-sec--wash { background: var(--wash); }
.vp-sec--wash + .vp-sec--wash { border-top: 0; }

.vp-sec-head { max-width: 42rem; margin-bottom: 2.25rem; }
.vp-h2 { font-size: clamp(1.65rem, 3.2vw, 2.35rem); }
.vp-h2 + .vp-lede { margin-top: 0.75rem; }

/* before / after */

.vp-compare { display: grid; gap: 1.5rem; }
@media (min-width: 860px) { .vp-compare { grid-template-columns: 1fr 1fr; gap: 2rem; } }

.vp-compare-col h3 {
    font-size: 0.9rem;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-stretch: normal;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.9rem;
}
.vp-compare-col--now .vp-item {
    background: #EDEEF1;
    color: #5B6270;
    border-radius: 8px;
    padding: 0.75rem 0.9rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}
.vp-compare-col--now .vp-item::before {
    content: "✉";
    margin-right: 0.55rem;
    opacity: .55;
}
.vp-compare-col--portal .vp-item {
    background: var(--paper);
    border: 1px solid var(--line);
    border-left: 3px solid var(--ok);
    border-radius: 8px;
    padding: 0.75rem 0.9rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* feature columns */

.vp-cols { display: grid; gap: 2rem; }
@media (min-width: 900px) { .vp-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }

.vp-col-title {
    font-size: 1.05rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--ink);
    margin-bottom: 0.35rem;
}
.vp-col-role {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0.75rem 0 0.9rem;
}
.vp-feats { list-style: none; margin: 0; padding: 0; }
.vp-feats li {
    padding: 0.7rem 0 0.7rem 1.4rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.9375rem;
    line-height: 1.5;
    position: relative;
}
.vp-feats li::before {
    content: "";
    position: absolute;
    left: 0; top: 1.15rem;
    width: 6px; height: 6px;
    background: var(--ink);
    border-radius: 50%;
}
.vp-feats b { font-weight: 600; }

/* roles matrix */

.vp-matrix-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.vp-matrix {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
}
.vp-matrix th, .vp-matrix td {
    padding: 0.7rem 0.85rem;
    border-bottom: 1px solid var(--line);
    text-align: center;
    font-size: 0.875rem;
}
.vp-matrix thead th {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink);
    background: #FAFBFC;
    white-space: nowrap;
}
.vp-matrix thead th:first-child { text-align: left; }
.vp-matrix tbody th {
    text-align: left;
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
}
.vp-matrix tbody tr:last-child th,
.vp-matrix tbody tr:last-child td { border-bottom: 0; }
.vp-dot { color: var(--ok); font-size: 1rem; }
.vp-no { color: #C4C9D2; font-size: 1rem; }
.vp-matrix-note { margin: 1rem 0 0; font-size: 0.875rem; color: var(--muted); max-width: 46rem; }

/* anonymous setup */

.vp-setup { display: grid; gap: 1.75rem; align-items: start; }
@media (min-width: 900px) { .vp-setup { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 3rem; } }
.vp-setup-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.vp-setup-list li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.5rem 1rem;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.9375rem;
}
.vp-setup-list span:last-child {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.75rem;
    color: var(--muted);
    text-align: right;
    white-space: nowrap;
}

/* steps */

.vp-steps { display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 860px) { .vp-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; } }
.vp-step { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 1.35rem 1.4rem; }
.vp-step-no {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 0.75rem;
    color: var(--muted);
    display: block;
    margin-bottom: 0.65rem;
}
.vp-step h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.vp-step p { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--muted); }

/* faq */

.vp-faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .vp-faq { grid-template-columns: 1fr 1fr; column-gap: 3rem; } }
.vp-faq-item { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.vp-faq-item h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.vp-faq-item p { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--muted); }

/* ---------- closing form ---------- */

.vp-close { background: var(--ink); color: var(--paper); padding: 3.5rem 0; }
@media (min-width: 768px) { .vp-close { padding: 4.5rem 0; } }
.vp-close-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .vp-close-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3.5rem; align-items: start; } }
.vp-contact-line { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 0.85rem; margin: 1.5rem 0 0; }
.vp-contact-line a { color: #fff; }
.vp-close a { color: #fff; }

.vp-form { background: var(--paper); color: var(--ink); border-radius: 12px; padding: 1.35rem; }
@media (min-width: 640px) { .vp-form { padding: 1.75rem; } }
.vp-fields { display: grid; gap: 0.95rem; }
@media (min-width: 560px) { .vp-fields-2 { grid-template-columns: 1fr 1fr; } }
.vp-label { display: block; font-size: 0.8125rem; font-weight: 600; margin-bottom: 0.35rem; }
.vp-field, .vp-form textarea {
    width: 100%;
    border: 1px solid #CFD4DC;
    border-radius: 8px;
    background: #fff;
    padding: 0.7rem 0.8rem;
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--ink);
}
.vp-field:focus, .vp-form textarea:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(11, 12, 14, .09);
}
.vp-form textarea { resize: vertical; }
.vp-success, .vp-error { border-radius: 10px; padding: 0.9rem 1rem; margin-bottom: 1rem; font-size: 0.9375rem; }
.vp-success { background: #E7F3EC; border: 1px solid #A9CFB8; color: #17492C; }
.vp-error { background: #FDECEE; border: 1px solid #F2B8C1; color: #7A1B2B; }
.vp-hp, .vp-sr { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- motion ---------- */

/* Rows only start hidden when JS is there to reveal them. */
.vp-js .vp-rows:not(.is-ready) .vp-row { opacity: 0; transform: translateY(6px); }
.vp-rows.is-ready .vp-row { transition: opacity .35s ease, transform .35s ease; opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .vp-page *, .vp-page *::before, .vp-page *::after {
        transition-duration: 0.001ms !important;
        animation-duration: 0.001ms !important;
    }
    .vp-js .vp-rows:not(.is-ready) .vp-row { opacity: 1; transform: none; }
}

/* ---------- small screens ---------- */

@media (max-width: 899px) {
    .vp-tabs { gap: 0.9rem; }
    .vp-detail { padding-bottom: 1.6rem; }
}
@media (max-width: 420px) {
    .vp-cardwrap, .vp-detail-meta { width: 100%; }
    .vp-face { padding: 0.85rem 0.9rem; }
}
