/* ==========================================================================
   Frontsite v2 - "One record" design.

   Standalone stylesheet for pages rendered through
   application/views/marketing/v2/layout.php. It does not sit on top of
   Bootstrap or the Boxup template CSS, and nothing here is loaded by the Boxup
   pages. Every class is prefixed v2- so the two systems cannot collide while
   pages are migrated one by one.

   Load order: lib/fonts/fonts.css -> v2.css
   ========================================================================== */

/* 1. Tokens -------------------------------------------------------------- */
:root {
    --v2-accent:        #aa1ad3;  /* Pigeon brand purple, sampled from the logo */
    --v2-accent-strong: #8815a9;
    --v2-accent-soft:   #f4e3fa;
    --v2-accent-track:  #e6d2ee;  /* unfilled record spine */
    --v2-accent-on-dark:#d58de9;  /* accent text on --v2-dark, 7:1 */

    --v2-dark:          #151a21;
    --v2-dark-hover:    #2a313b;
    --v2-bezel:         #3a414b;

    --v2-ink:           #202327;
    --v2-ink-2:         #4e5760;  /* body copy - 7:1 on the canvas */
    --v2-ink-inverse:   #a9b0b8;
    --v2-line:          #d8dde3;
    --v2-line-soft:     #e7e4ea;

    --v2-canvas:        #f7f6f9;
    --v2-surface:       #ffffff;
    --v2-surface-alt:   #eef2f5;

    --v2-font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --v2-ease: cubic-bezier(.2, .7, .2, 1);

    --v2-gutter: clamp(20px, 5.5vw, 80px);
    --v2-section: clamp(88px, 10vw, 140px);
}

/* 2. Base ---------------------------------------------------------------- */
.v2,
.v2 *,
.v2 *::before,
.v2 *::after {
    box-sizing: border-box;
}

body.v2 {
    margin: 0;
    background: var(--v2-canvas);
    color: var(--v2-ink);
    font-family: var(--v2-font);
    font-size: 16px;
    line-height: 1.5;
    font-optical-sizing: auto;
    font-synthesis-weight: none;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.v2 img {
    display: block;
    max-width: 100%;
    height: auto;
}

.v2 :focus-visible {
    outline: 2px solid var(--v2-accent);
    outline-offset: 3px;
}

body.v2:has(dialog[open]) {
    overflow: hidden;
}

.v2-wrap {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: var(--v2-gutter);
}

.v2-skip {
    position: absolute;
    left: 16px;
    top: -80px;
    z-index: 100;
    padding: 12px 18px;
    border-radius: 8px;
    background: var(--v2-dark);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.v2-skip:focus {
    top: 16px;
}

/* 3. Type primitives ----------------------------------------------------- */
.v2-kicker {
    margin: 0;
    color: var(--v2-accent);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.v2-lead {
    margin: 0;
    color: var(--v2-ink-2);
    font-size: clamp(1rem, .3vw + .95rem, 1.125rem);
    line-height: 1.6;
    text-wrap: pretty;
}

.v2-h2 {
    margin: 0;
    color: var(--v2-dark);
    font-size: clamp(2rem, 2.4vw + 1rem, 3rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.03em;
    text-wrap: balance;
}

.v2-link {
    color: var(--v2-accent);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.v2-link:hover {
    color: var(--v2-accent-strong);
}

/* 4. Buttons ------------------------------------------------------------- */
.v2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.v2-btn-sm { min-height: 46px; padding: 0 20px; }
.v2-btn-lg { min-height: 58px; padding: 0 30px; font-size: 16px; }

.v2-btn-dark { background: var(--v2-dark); color: #fff; }
.v2-btn-dark:hover { background: var(--v2-dark-hover); color: #fff; }

.v2-btn-accent { background: var(--v2-accent); color: #fff; }
.v2-btn-accent:hover { background: var(--v2-accent-strong); color: #fff; }

.v2-btn-ghost { background: var(--v2-surface); border-color: var(--v2-line); color: var(--v2-ink); }
.v2-btn-ghost:hover { border-color: var(--v2-ink-2); color: var(--v2-dark); }

.v2-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--v2-ink-2);
    cursor: pointer;
}

.v2-icon-btn:hover {
    background: var(--v2-surface-alt);
    color: var(--v2-dark);
}

/* 5. Navigation ---------------------------------------------------------- */
.v2-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(21, 26, 33, .06);
    background: rgba(247, 246, 249, .92);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    backdrop-filter: saturate(1.4) blur(12px);
}

.v2-nav-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    min-height: 88px;
}

.v2-brand {
    display: inline-flex;
    flex: none;
    align-items: center;
    text-decoration: none;
}

.v2-brand img {
    width: auto;
    height: 40px;
}

.v2-brand-text {
    color: var(--v2-dark);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.v2-nav-links {
    display: flex;
    gap: 32px;
    margin-inline: auto;
}

.v2-nav-links a {
    position: relative;
    padding-block: 8px;
    color: var(--v2-ink-2);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
}

.v2-nav-links a:hover,
.v2-nav-links a[aria-current] {
    color: var(--v2-dark);
}

.v2-nav-links a[aria-current]::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--v2-accent);
}

.v2-nav-actions {
    display: flex;
    flex: none;
    align-items: center;
    gap: 24px;
}

.v2-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--v2-line);
    border-radius: 8px;
    background: var(--v2-surface);
    color: var(--v2-dark);
    cursor: pointer;
}

.v2-menu {
    border-top: 1px solid var(--v2-line-soft);
    padding-block: 8px 24px;
}

.v2-menu-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
}

.v2-menu-links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--v2-line-soft);
    color: var(--v2-dark);
    font-weight: 600;
    text-decoration: none;
}

.v2-menu-links a[aria-current] {
    color: var(--v2-accent);
}

.v2-menu-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

@media (max-width: 1024px) {
    .v2-nav-links,
    .v2-nav-actions { display: none; }
    .v2-nav-toggle { display: inline-flex; }
    .v2-nav-inner { min-height: 72px; }
    .v2-brand img { height: 34px; }
}

@media (min-width: 1025px) {
    .v2-menu { display: none !important; }
}

@media (max-width: 520px) {
    .v2-menu-links { grid-template-columns: minmax(0, 1fr); }
    .v2-menu-actions .v2-btn { flex: 1 1 100%; }
}

/* 6. Hero ---------------------------------------------------------------- */
.v2-hero {
    padding-top: clamp(48px, 7vw, 96px);
}

.v2-hero-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
}

.v2-hero-head {
    display: flex;
    grid-column: span 8;
    flex-direction: column;
    gap: 28px;
}

.v2-hero-title {
    margin: 0;
    color: var(--v2-dark);
    font-size: clamp(2.5rem, 4.6vw + .6rem, 4.75rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.035em;
    text-wrap: balance;
}

.v2-hero-side {
    display: flex;
    grid-column: 9 / span 4;
    flex-direction: column;
    align-self: end;
    gap: 24px;
}

.v2-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

@media (max-width: 1100px) {
    .v2-hero-head,
    .v2-hero-side { grid-column: 1 / -1; }
    .v2-hero-side { max-width: 640px; margin-top: 8px; }
}

/* 6a. Record spine
   Each stage draws the connector to the NEXT stage from its own ::before
   (track) and ::after (fill), so the line needs no knowledge of how many
   stages there are. Completed stages animate their fill in sequence. */
.v2-record {
    display: grid;
    grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr));
    gap: 24px;
    margin: clamp(56px, 6vw, 88px) 0 0;
    padding: 0;
    list-style: none;
}

.v2-record-step {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.v2-record-step::before,
.v2-record-step::after {
    content: "";
    position: absolute;
    top: 11px;
    left: 24px;
    width: 100%;
    height: 2px;
    background: var(--v2-accent-track);
}

.v2-record-step::after {
    background: var(--v2-accent);
    transform-origin: left center;
}

/* Only completed stages carry a fill. Its resting state is fully drawn and the
   animation only starts it from zero (fill-mode backwards covers the delay),
   so if the animation is skipped or throttled the line is still correct. */
.v2-record-step:not(.is-done)::after,
.v2-record-step:last-child::before,
.v2-record-step:last-child::after {
    display: none;
}

.v2-record-step.is-done::after {
    animation: v2-draw-x .5s cubic-bezier(.4, 0, .2, 1) calc(.35s + var(--i, 0) * .3s) backwards;
}

.v2-record-dot {
    position: relative;
    z-index: 1;
    flex: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--v2-accent);
}

.is-current .v2-record-dot {
    border: 2px solid var(--v2-accent);
    background: var(--v2-surface);
    box-shadow: 0 0 0 6px var(--v2-accent-soft);
    animation: v2-pulse 2.6s ease-in-out 1.4s infinite;
}

.is-pending .v2-record-dot {
    border: 2px solid var(--v2-line);
    background: var(--v2-surface);
}

.v2-record-title {
    margin: 0;
    color: var(--v2-dark);
    font-size: 16px;
    font-weight: 700;
}

.v2-record-body {
    margin: 0;
    color: var(--v2-ink-2);
    font-size: 14px;
    line-height: 1.5;
    text-wrap: pretty;
}

@media (max-width: 760px) {
    .v2-record {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .v2-record-step {
        display: grid;
        grid-template-columns: 24px minmax(0, 1fr);
        column-gap: 20px;
        row-gap: 4px;
        padding-bottom: 28px;
    }

    .v2-record-step:last-child { padding-bottom: 0; }
    .v2-record-dot { grid-row: 1 / span 2; }
    .v2-record-title { margin-top: 1px; }

    .v2-record-step::before,
    .v2-record-step::after {
        top: 24px;
        left: 11px;
        width: 2px;
        height: calc(100% - 24px);
    }

    .v2-record-step::after {
        transform-origin: center top;
    }

    .v2-record-step.is-done::after { animation-name: v2-draw-y; }
}

/* 6b. Product frame */
.v2-frame {
    margin: clamp(48px, 5vw, 72px) 0 0;
    padding: 14px;
    border-radius: 20px;
    background: var(--v2-dark);
    box-shadow: 0 40px 80px -40px rgba(21, 26, 33, .45);
}

.v2-frame-bar {
    display: flex;
    gap: 7px;
    padding: 4px 6px 12px;
}

.v2-frame-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--v2-bezel);
}

.v2-frame img {
    width: 100%;
    border-radius: 10px;
}

@media (max-width: 640px) {
    .v2-frame { padding: 8px; border-radius: 12px; }
    .v2-frame-bar { padding: 2px 4px 8px; gap: 5px; }
    .v2-frame-bar span { width: 7px; height: 7px; }
    .v2-frame img { border-radius: 6px; }
}

/* Entrance: one orchestrated reveal on load, nothing gated on scroll. */
.v2-hero-head  { animation: v2-rise .7s var(--v2-ease) both; }
.v2-hero-side  { animation: v2-rise .7s var(--v2-ease) .12s both; }
.v2-record     { animation: v2-rise .7s var(--v2-ease) .22s both; }
.v2-frame      { animation: v2-rise .9s var(--v2-ease) .36s both; }

/* 7. Sections ------------------------------------------------------------ */
.v2-section {
    padding-top: var(--v2-section);
    scroll-margin-top: 72px;
}

.v2-split-head {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: clamp(24px, 5.5vw, 80px);
    margin-bottom: 56px;
}

.v2-heading-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (max-width: 900px) {
    .v2-split-head {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        margin-bottom: 40px;
    }
}

/* 7a. Team cards */
.v2-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.v2-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--v2-line-soft);
    border-radius: 16px;
    background: var(--v2-surface);
}

.v2-card-media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--v2-surface-alt);
}

.v2-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v2-card-media img.is-shot {
    object-position: left top;
}

.v2-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px;
}

.v2-card-body .v2-kicker {
    font-size: 12px;
    letter-spacing: .12em;
}

.v2-card h3 {
    margin: 0;
    color: var(--v2-dark);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.v2-card-body p:last-child {
    margin: 0;
    color: var(--v2-ink-2);
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .v2-cards { grid-template-columns: minmax(0, 1fr); }
}

/* 7b. Screenshot gallery */
.v2-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 44px 24px;
}

.v2-shot {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 0;
}

.v2-shot-btn {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--v2-line-soft);
    border-radius: 12px;
    background: var(--v2-surface);
    cursor: zoom-in;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.v2-shot-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left top;
    transition: transform .5s var(--v2-ease);
}

.v2-shot-btn:hover {
    border-color: var(--v2-line);
    box-shadow: 0 24px 48px -32px rgba(21, 26, 33, .35);
}

.v2-shot-btn:hover img {
    transform: scale(1.025);
}

.v2-shot-title {
    margin: 0 0 6px;
    color: var(--v2-dark);
    font-size: 17px;
    font-weight: 700;
}

.v2-shot figcaption p {
    margin: 0;
    color: var(--v2-ink-2);
    font-size: 15px;
    line-height: 1.55;
    text-wrap: pretty;
}

@media (max-width: 1024px) {
    .v2-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .v2-gallery { grid-template-columns: minmax(0, 1fr); gap: 36px; }
}

/* 7c. Call to action */
.v2-cta-wrap {
    padding-top: var(--v2-section);
}

.v2-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: clamp(40px, 5vw, 72px) clamp(28px, 5.5vw, 80px);
    border-radius: 24px;
    background: var(--v2-dark);
}

.v2-cta-copy {
    max-width: 760px;
}

.v2-cta h2 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(1.75rem, 2vw + 1rem, 2.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
    text-wrap: balance;
}

.v2-cta p {
    margin: 0;
    color: var(--v2-ink-inverse);
    font-size: 17px;
    line-height: 1.6;
}

.v2-cta .v2-btn {
    flex: none;
}

@media (max-width: 900px) {
    .v2-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
    }
}

@media (max-width: 480px) {
    .v2-cta .v2-btn { width: 100%; }
}

/* 7d. Sub-page hero */
.v2-page-hero {
    padding-top: clamp(28px, 4vw, 48px);
}

.v2-crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 clamp(40px, 5vw, 64px);
    padding: 0;
    list-style: none;
    color: var(--v2-ink-2);
    font-size: 14px;
}

.v2-crumbs li + li::before {
    content: "/";
    margin-right: 8px;
    color: var(--v2-line);
}

.v2-crumbs a {
    color: var(--v2-ink-2);
    text-decoration: none;
}

.v2-crumbs a:hover {
    color: var(--v2-accent);
}

.v2-crumbs [aria-current] {
    color: var(--v2-dark);
    font-weight: 600;
}

.v2-page-title {
    margin: 0;
    color: var(--v2-dark);
    font-size: clamp(2.25rem, 3.2vw + 1rem, 3.75rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.03em;
    text-wrap: balance;
}

/* 7e. Lead argument beside supporting points */
.v2-value {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
}

.v2-feature {
    display: flex;
    grid-column: span 7;
    flex-direction: column;
    gap: 16px;
    padding: clamp(28px, 4vw, 48px);
    border-radius: 20px;
    background: var(--v2-dark);
    color: #fff;
}

.v2-feature .v2-kicker {
    color: var(--v2-accent-on-dark);
}

.v2-feature h3 {
    margin: 0;
    font-size: clamp(1.5rem, 1vw + 1.1rem, 2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    text-wrap: balance;
}

.v2-feature > p {
    margin: 0;
    color: var(--v2-ink-inverse);
    line-height: 1.6;
}

.v2-checks {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 12px 0 0;
    padding: 24px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    list-style: none;
}

.v2-checks li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5;
}

.v2-checks svg {
    flex: none;
    margin-top: 1px;
    color: var(--v2-accent-on-dark);
}

.v2-points {
    display: flex;
    grid-column: span 5;
    flex-direction: column;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--v2-line-soft);
    list-style: none;
}

.v2-points li {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 0;
    border-bottom: 1px solid var(--v2-line-soft);
}

.v2-points .v2-kicker {
    font-size: 12px;
    letter-spacing: .12em;
}

.v2-points h3 {
    margin: 0;
    color: var(--v2-dark);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.v2-points li > p:last-child {
    margin: 0;
    color: var(--v2-ink-2);
    font-size: 15px;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .v2-feature,
    .v2-points { grid-column: 1 / -1; }
}

/* 7f. Dark band of numbered control points */
.v2-band {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 24px;
    padding: clamp(40px, 5vw, 72px) clamp(28px, 5.5vw, 80px);
    border-radius: 24px;
    background: var(--v2-dark);
}

.v2-band-head {
    display: flex;
    grid-column: span 5;
    flex-direction: column;
    align-self: start;
    gap: 16px;
}

.v2-band-head .v2-kicker {
    color: var(--v2-accent-on-dark);
}

.v2-band-title {
    margin: 0;
    color: #fff;
    font-size: clamp(1.75rem, 2vw + 1rem, 2.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
    text-wrap: balance;
}

.v2-controls {
    grid-column: 7 / span 6;
    margin: 0;
    padding: 0;
    list-style: none;
}

.v2-controls li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.v2-controls li:first-child {
    padding-top: 4px;
}

.v2-controls-no {
    color: var(--v2-accent-on-dark);
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.v2-controls-label {
    color: #fff;
    font-size: 17px;
    font-weight: 600;
}

.v2-controls-value {
    color: var(--v2-ink-inverse);
    font-size: 15px;
    text-align: right;
}

@media (max-width: 1024px) {
    .v2-band-head,
    .v2-controls { grid-column: 1 / -1; }
    .v2-controls { margin-top: 16px; }
}

@media (max-width: 560px) {
    .v2-controls li {
        grid-template-columns: 32px minmax(0, 1fr);
        row-gap: 4px;
    }
    .v2-controls-value {
        grid-column: 2;
        text-align: left;
    }
}

/* 7g. Copy beside a screenshot, alternating sides */
.v2-rows {
    display: flex;
    flex-direction: column;
    gap: clamp(56px, 7vw, 96px);
}

.v2-row {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: center;
    gap: 24px;
}

.v2-row-copy {
    display: flex;
    grid-column: 1 / span 5;
    flex-direction: column;
    gap: 14px;
}

.v2-row-media {
    grid-column: 7 / span 6;
}

.v2-row.is-flipped .v2-row-copy {
    grid-row: 1;
    grid-column: 8 / span 5;
}

.v2-row.is-flipped .v2-row-media {
    grid-row: 1;
    grid-column: 1 / span 6;
}

.v2-row h3 {
    margin: 0;
    color: var(--v2-dark);
    font-size: clamp(1.5rem, 1vw + 1.1rem, 2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    text-wrap: balance;
}

.v2-row-copy > p:last-child {
    margin: 0;
    color: var(--v2-ink-2);
    font-size: 17px;
    line-height: 1.65;
    text-wrap: pretty;
}

.v2-row-media .v2-shot-btn {
    box-shadow: 0 30px 60px -40px rgba(21, 26, 33, .4);
}

@media (max-width: 900px) {
    .v2-row-copy,
    .v2-row-media,
    .v2-row.is-flipped .v2-row-copy,
    .v2-row.is-flipped .v2-row-media {
        grid-row: auto;
        grid-column: 1 / -1;
    }
}

/* 7h. Shared stacking and headings */
.v2-block {
    margin-top: clamp(48px, 5vw, 72px);
}

.v2-head-solo {
    max-width: 820px;
    margin-bottom: 56px;
}

.v2-kicker + .v2-record {
    margin-top: 28px;
}

@media (max-width: 900px) {
    .v2-head-solo { margin-bottom: 40px; }
}

/* 7i. Photograph band - for areas with no captured screen */
.v2-photo {
    aspect-ratio: 21 / 8;
    max-width: 100%;
    margin: clamp(48px, 5vw, 72px) 0 0;
    overflow: hidden;
    border-radius: 20px;
    background: var(--v2-surface-alt);
}

.v2-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 640px) {
    .v2-photo { aspect-ratio: 16 / 10; border-radius: 12px; }
}

/* 7j. Facts row */
.v2-facts-label {
    margin-bottom: 20px;
}

.v2-facts {
    display: grid;
    grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
    gap: 32px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.v2-fact {
    display: flex;
    flex-direction: column;
    gap: 6px;
    height: 100%;
    padding-top: 18px;
    border-top: 2px solid var(--v2-accent);
    color: inherit;
    text-decoration: none;
}

.v2-fact-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--v2-dark);
    font-size: 17px;
    font-weight: 700;
}

.v2-fact-body {
    color: var(--v2-ink-2);
    font-size: 15px;
    line-height: 1.55;
    text-wrap: pretty;
}

a.v2-fact svg {
    flex: none;
    color: var(--v2-accent);
    transition: transform .2s ease;
}

a.v2-fact:hover .v2-fact-title {
    color: var(--v2-accent);
}

a.v2-fact:hover svg {
    transform: translateX(3px);
}

@media (max-width: 1024px) {
    .v2-facts[data-cols="3"],
    .v2-facts[data-cols="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .v2-facts[data-cols] { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* 7k. Scenario tabs */
.v2-tablist {
    display: none;
    max-width: 100%;
    overflow-x: auto;
    padding: 4px;
    border: 1px solid var(--v2-line-soft);
    border-radius: 12px;
    background: var(--v2-surface);
    scrollbar-width: none;
}

.v2-js .v2-tablist {
    display: inline-flex;
    gap: 4px;
}

.v2-tab {
    flex: none;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--v2-ink-2);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.v2-tab:hover {
    color: var(--v2-dark);
}

.v2-tab[aria-selected="true"] {
    background: var(--v2-dark);
    color: #fff;
}

.v2-tabpanel {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
    gap: 24px;
    margin-top: 32px;
}

.v2-tabpanel + .v2-tabpanel {
    margin-top: 56px;
}

.v2-js .v2-tabpanel:not(.is-active) {
    display: none;
}

.v2-js .v2-tabpanel + .v2-tabpanel {
    margin-top: 32px;
}

.v2-tabpanel:focus-visible {
    outline-offset: 8px;
}

.v2-tabpanel-main {
    display: flex;
    grid-column: span 7;
    flex-direction: column;
    gap: 14px;
    padding-top: 12px;
}

.v2-tabpanel-main h3 {
    margin: 0;
    color: var(--v2-dark);
    font-size: clamp(1.5rem, 1vw + 1.1rem, 2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.02em;
    text-wrap: balance;
}

.v2-tabpanel-main > p:not(.v2-kicker) {
    margin: 0;
    color: var(--v2-ink-2);
    font-size: 17px;
    line-height: 1.65;
    text-wrap: pretty;
}

.v2-deflist {
    margin: 12px 0 0;
}

.v2-deflist div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--v2-line-soft);
}

.v2-deflist dt {
    color: var(--v2-dark);
    font-weight: 600;
}

.v2-deflist dd {
    margin: 0;
    color: var(--v2-ink-2);
    text-align: right;
}

.v2-minis {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.v2-minis li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 18px;
    border: 1px solid var(--v2-line-soft);
    border-radius: 12px;
    background: var(--v2-surface);
}

.v2-minis strong {
    color: var(--v2-dark);
    font-size: 15px;
}

.v2-minis span {
    color: var(--v2-ink-2);
    font-size: 14px;
    line-height: 1.5;
}

.v2-tabpanel-side {
    display: flex;
    grid-column: 8 / span 5;
    flex-direction: column;
    gap: 16px;
    padding: 28px;
    border: 1px solid var(--v2-line-soft);
    border-radius: 16px;
    background: var(--v2-surface);
}

.v2-tabpanel-side > p:not(.v2-kicker) {
    margin: 0;
    color: var(--v2-ink-2);
    line-height: 1.6;
}

.v2-steps,
.v2-checklist {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.v2-steps li {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.v2-steps strong {
    color: var(--v2-dark);
    font-size: 16px;
}

.v2-steps span {
    color: var(--v2-ink-2);
    font-size: 15px;
    line-height: 1.5;
}

.v2-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--v2-ink);
    font-size: 15px;
    line-height: 1.5;
}

.v2-checklist svg {
    flex: none;
    margin-top: 1px;
    color: var(--v2-accent);
}

@media (max-width: 900px) {
    .v2-tabpanel-main,
    .v2-tabpanel-side { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    .v2-minis { grid-template-columns: minmax(0, 1fr); }
    .v2-tabpanel-side { padding: 22px; }
}

/* 7l. Row heads, and checkpoint rows with no screenshots */
.v2-row-head {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.v2-rows.is-text {
    gap: 0;
    border-bottom: 1px solid var(--v2-line-soft);
}

.v2-rows.is-text .v2-row {
    padding-block: 36px;
    border-top: 1px solid var(--v2-line-soft);
}

.v2-rows.is-text .v2-row-copy {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
    gap: 12px 24px;
}

.v2-rows.is-text .v2-row-head {
    grid-column: span 6;
}

.v2-rows.is-text h3 {
    font-size: clamp(1.25rem, .6vw + 1rem, 1.5rem);
}

.v2-rows.is-text .v2-row-copy > p:last-child {
    grid-column: 8 / span 5;
    font-size: 16px;
}

@media (max-width: 900px) {
    .v2-rows.is-text .v2-row-head,
    .v2-rows.is-text .v2-row-copy > p:last-child { grid-column: 1 / -1; }
}

/* 8. Footer -------------------------------------------------------------- */
.v2-footer {
    margin-top: clamp(72px, 8vw, 112px);
    padding-top: 56px;
    border-top: 1px solid var(--v2-line-soft);
    color: var(--v2-ink-2);
    font-size: 14px;
}

.v2-footer a {
    color: var(--v2-ink-2);
    text-decoration: none;
}

.v2-footer a:hover {
    color: var(--v2-accent);
}

.v2-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.v2-footer-brand img {
    width: auto;
    height: 32px;
}

.v2-footer-brand p {
    max-width: 42ch;
    margin: 16px 0 0;
    line-height: 1.6;
}

.v2-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.v2-footer-h {
    margin: 0 0 16px;
    color: var(--v2-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.v2-footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.v2-footer .v2-btn {
    margin-top: 24px;
}

.v2-footer-base {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    margin-top: 48px;
    padding-block: 24px 32px;
    border-top: 1px solid var(--v2-line-soft);
    font-size: 13px;
}

@media (max-width: 900px) {
    .v2-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v2-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
    .v2-footer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* 9. Dialogs ------------------------------------------------------------- */
.v2-dialog {
    width: min(760px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: var(--v2-surface);
    color: var(--v2-ink);
    box-shadow: 0 40px 100px -30px rgba(13, 16, 21, .5);
}

.v2-dialog::backdrop {
    background: rgba(13, 16, 21, .6);
}

.v2-dialog-inner {
    display: flex;
    flex-direction: column;
    max-height: calc(100dvh - 32px);
}

.v2-dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 20px 0 28px;
}

.v2-dialog-head h2 {
    margin: 0;
    color: var(--v2-dark);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.v2-dialog-body {
    overflow: auto;
    padding: 16px 28px 28px;
}

.v2-dialog iframe {
    display: block;
    width: 100%;
    height: min(850px, 70dvh);
    border: 0;
}

.v2-note {
    margin: 0 0 20px;
    padding: 16px 18px;
    border-radius: 10px;
    background: var(--v2-accent-soft);
    color: var(--v2-ink);
    line-height: 1.55;
}

.v2-small {
    margin: 0 0 12px;
    color: var(--v2-ink-2);
    font-size: 14px;
    line-height: 1.55;
}

.v2-dialog .v2-contact a {
    color: var(--v2-accent);
    font-weight: 600;
    text-decoration: none;
}

.v2-lightbox {
    max-width: calc(100vw - 32px);
    max-height: calc(100dvh - 32px);
    padding: 0;
    border: 0;
    overflow: visible;
    background: transparent;
}

.v2-lightbox::backdrop {
    background: rgba(13, 16, 21, .88);
}

.v2-lightbox figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 0;
}

.v2-lightbox img {
    width: auto;
    max-width: calc(100vw - 32px);
    max-height: calc(100dvh - 110px);
    border-radius: 8px;
    background: var(--v2-surface);
}

.v2-lightbox figcaption {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.v2-lightbox .v2-icon-btn {
    position: fixed;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.v2-lightbox .v2-icon-btn:hover {
    background: rgba(255, 255, 255, .22);
    color: #fff;
}

/* 10. Motion ------------------------------------------------------------- */
@keyframes v2-rise {
    from { opacity: 0; transform: translateY(14px); }
}

@keyframes v2-draw-x {
    from { transform: scaleX(0); }
}

@keyframes v2-draw-y {
    from { transform: scaleY(0); }
}

@keyframes v2-pulse {
    0%, 100% { box-shadow: 0 0 0 6px var(--v2-accent-soft); }
    50%      { box-shadow: 0 0 0 11px rgba(244, 227, 250, .35); }
}

@media (prefers-reduced-motion: reduce) {
    .v2 *,
    .v2 *::before,
    .v2 *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}
