/* About page — light marketing layout (Holo-inspired) */

.page-about-v2 {
    --about-bg: #ffffff;
    --about-surface: #fafafa;
    --about-ink: #0a0a0a;
    --about-muted: #525252;
    --about-soft: #a3a3a3;
    --about-pill: #f3f4f6;
    --about-line: #e5e5e5;
    --about-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    --about-shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
    background: var(--about-bg);
    background-image: none;
    background-attachment: scroll;
    color: var(--about-ink);
}

.page-about-v2 .container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Extra top space when lime promo strip + sticky nav (matches home) */
body.home-page.page-about-v2 .about-v2-belief {
    padding-top: calc(118px + var(--space-3xl));
}

/* —— Belief hero —— */
.about-v2-belief {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(100px + var(--space-3xl)) var(--space-md) var(--space-4xl);
    overflow: hidden;
    background: var(--about-bg);
}

.about-v2-belief__blob {
    position: absolute;
    width: min(90vw, 520px);
    height: min(90vw, 520px);
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, rgba(236, 72, 153, 0.1) 35%, rgba(56, 189, 248, 0.08) 60%, transparent 72%);
    filter: blur(2px);
    pointer-events: none;
    z-index: 0;
}

.about-v2-belief__icons {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.about-v2-float {
    position: absolute;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.88));
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: var(--about-shadow-sm), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    animation: about-v2-float 5s ease-in-out infinite;
}

/* Parent uses pointer-events: none for decoration; real profile links must be clickable */
.about-v2-belief__icons a.about-v2-float {
    pointer-events: auto;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.about-v2-float:nth-child(odd) {
    animation-duration: 6.2s;
    animation-delay: -1s;
}

@keyframes about-v2-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

/* icon positions (% of belief section) */
.about-v2-float--1 { left: 8%; top: 18%; color: #1da1f2; }
.about-v2-float--2 { left: 5%; top: 48%; color: #ff0000; }
.about-v2-float--3 { left: 10%; top: 72%; color: #ff4500; }
.about-v2-float--4 { left: 18%; top: 88%; color: #e4405f; }
.about-v2-float--5 { right: 8%; top: 16%; color: #1877f2; }
.about-v2-float--6 { right: 6%; top: 38%; color: #4a154b; }
.about-v2-float--7 { right: 12%; top: 58%; color: #0a66c2; }
.about-v2-float--8 { right: 8%; top: 78%; color: #e60023; }
.about-v2-float--9 { right: 18%; top: 90%; color: #000; }

.about-v2-belief__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
}

.about-v2-belief h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--about-ink);
    margin: 0;
}

/* —— Story timeline —— */
.about-v2-story {
    padding: var(--space-4xl) 0;
    background: var(--about-bg);
}

.about-v2-story__head {
    text-align: center;
    max-width: 560px;
    margin: 0 auto var(--space-3xl);
}

.about-v2-story__head h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--about-ink);
    margin-bottom: var(--space-sm);
}

.about-v2-story__head p {
    color: var(--about-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.about-v2-timeline {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    padding: var(--space-xl) 0;
}

.about-v2-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    margin-left: -1.5px;
    border-radius: 4px;
    background: linear-gradient(
        180deg,
        #f97316 0%,
        #ec4899 45%,
        #8b5cf6 100%
    );
}

.about-v2-mile {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
    margin-bottom: var(--space-3xl);
}

.about-v2-mile:last-child {
    margin-bottom: 0;
}

.about-v2-mile__dot {
    position: absolute;
    left: 50%;
    top: 6px;
    width: 16px;
    height: 16px;
    margin-left: -8px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.06);
    z-index: 1;
}

.about-v2-mile:nth-child(1) .about-v2-mile__dot { background: #f97316; }
.about-v2-mile:nth-child(2) .about-v2-mile__dot { background: #ec4899; }
.about-v2-mile:nth-child(3) .about-v2-mile__dot { background: #6366f1; }

.about-v2-mile__body {
    padding: 0 var(--space-lg);
}

.about-v2-mile--left .about-v2-mile__body {
    grid-column: 1;
    text-align: right;
    padding-right: calc(var(--space-2xl) + 12px);
}

.about-v2-mile--right .about-v2-mile__body {
    grid-column: 2;
    text-align: left;
    padding-left: calc(var(--space-2xl) + 12px);
}

.about-v2-mile__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--about-soft);
    margin-bottom: var(--space-xs);
}

.about-v2-mile__body h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--about-ink);
    margin-bottom: var(--space-md);
}

.about-v2-mile__body p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--about-muted);
}

.about-v2-mile__body strong {
    color: var(--about-ink);
    font-weight: 700;
}

/* —— Team —— */
.about-v2-team {
    position: relative;
    padding: var(--space-4xl) 0 calc(var(--space-4xl) + var(--space-xl));
    background: var(--about-surface);
    overflow: hidden;
}

.about-v2-team__wave {
    position: absolute;
    left: 0;
    right: 0;
    top: 42%;
    height: 120px;
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
}

.about-v2-team__wave svg {
    width: 100%;
    height: 100%;
}

.about-v2-team__blob {
    position: absolute;
    left: 50%;
    top: 48%;
    width: min(100vw, 640px);
    height: 380px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(167, 139, 250, 0.22) 0%, rgba(244, 114, 182, 0.12) 40%, transparent 68%);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

.about-v2-team__head {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-3xl);
}

.about-v2-team__head h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--about-ink);
    margin-bottom: var(--space-md);
}

.about-v2-team__head p {
    color: var(--about-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.about-v2-team__grid {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: var(--space-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.about-v2-card {
    width: 220px;
    background: #fff;
    border-radius: 20px;
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
    text-align: center;
    box-shadow: var(--about-shadow);
    border: 1px solid rgba(226, 232, 240, 0.85);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-v2-card:hover {
    transform: translateY(-6px) rotate(0deg) scale(1.02);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.about-v2-card:nth-child(1) { transform: rotate(-4deg) translateY(12px); }
.about-v2-card:nth-child(2) { transform: rotate(-2deg) translateY(4px); }
.about-v2-card:nth-child(3) { transform: rotate(2deg) translateY(4px); }
.about-v2-card:nth-child(4) { transform: rotate(4deg) translateY(12px); }

.about-v2-avatar {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0 auto var(--space-md);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-v2-avatar__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    border-radius: 50%;
}

/* Full photo visible inside circle (no aggressive head crop) */
.about-v2-avatar__img--full-fit {
    object-fit: contain;
    object-position: center center;
    background: #fff;
}

.about-v2-avatar__initials {
    position: relative;
    z-index: 0;
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.about-v2-avatar--a { background: linear-gradient(135deg, #bae6fd, #7dd3fc); }
.about-v2-avatar--b { background: linear-gradient(135deg, #fef3c7, #fcd34d); }
.about-v2-avatar--c { background: linear-gradient(135deg, #fbcfe8, #f9a8d4); }
.about-v2-avatar--d { background: linear-gradient(135deg, #fecdd3, #fda4af); }
.about-v2-avatar--e { background: linear-gradient(135deg, #ddd6fe, #c4b5fd); }

.about-v2-card h3 {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--about-ink);
    margin-bottom: var(--space-sm);
    line-height: 1.25;
    min-height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-v2-pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--about-pill);
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 600;
}

/* Trust strip */
.about-v2-trustrow {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
    padding-top: var(--space-xl);
}

.about-v2-trustpill {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-xl);
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--about-line);
    box-shadow: var(--about-shadow-sm);
    max-width: 320px;
}

.about-v2-trustpill__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: #f8fafc;
    color: #6366f1;
}

.about-v2-trustpill__icon--heart {
    color: #ef4444;
}

.about-v2-trustpill strong {
    display: block;
    font-size: 0.95rem;
    color: var(--about-ink);
    margin-bottom: 4px;
}

.about-v2-trustpill span {
    font-size: 0.8125rem;
    color: var(--about-soft);
}

/* —— Location —— */
.about-v2-locate {
    padding: var(--space-4xl) 0;
    background: var(--about-bg);
}

.about-v2-locate__head {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.about-v2-locate__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    background: linear-gradient(90deg, #38bdf8, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-sm);
}

.about-v2-locate__head h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--about-ink);
}

.about-v2-locate__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-v2-stat {
    margin-bottom: var(--space-2xl);
}

.about-v2-stat:last-child {
    margin-bottom: 0;
}

.about-v2-stat__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--about-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 4px;
}

.about-v2-stat__value {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--about-ink);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.about-v2-stat__hint {
    font-size: 0.9rem;
    color: var(--about-muted);
    margin-top: 4px;
}

.about-v2-mapwrap {
    position: relative;
    margin: 0;
    border-radius: 24px;
    background: linear-gradient(160deg, #e0f2fe 0%, #f5f3ff 50%, #fce7f3 100%);
    padding: var(--space-md);
    box-shadow: var(--about-shadow-sm);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.about-v2-locate__map {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    object-fit: contain;
    vertical-align: middle;
}

.about-v2-locate__foot {
    text-align: center;
    max-width: 560px;
    margin: var(--space-3xl) auto 0;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--about-muted);
}

/* —— Values —— */
.about-v2-values {
    padding: var(--space-4xl) 0;
    background: var(--about-surface);
}

.about-v2-values h2 {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: var(--space-3xl);
    color: var(--about-ink);
}

.about-v2-values__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.about-v2-value {
    background: #fff;
    border-radius: 16px;
    padding: var(--space-xl);
    border: 1px solid var(--about-line);
    box-shadow: var(--about-shadow-sm);
}

.about-v2-value i {
    font-size: 1.35rem;
    color: #6366f1;
    margin-bottom: var(--space-md);
}

.about-v2-value h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    color: var(--about-ink);
}

.about-v2-value p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--about-muted);
}

/* —— Contact page (matches About v2) —— */
.page-contact-v2 .contact-v2-belief-lead {
    margin: var(--space-lg) auto 0;
    max-width: 520px;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--about-muted);
}

.about-v2-values__grid--3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
    margin: 0 auto;
}

.about-v2-value--featured {
    position: relative;
    padding-top: calc(var(--space-xl) + 10px);
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: var(--about-shadow-sm), 0 0 0 1px rgba(99, 102, 241, 0.12);
}

.about-v2-value__tag {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    color: #fff;
}

.about-v2-value .contact-v2-mail {
    display: inline-block;
    margin-top: var(--space-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: #4f46e5;
    text-decoration: none;
    word-break: break-all;
}

.about-v2-value .contact-v2-mail:hover {
    text-decoration: underline;
}

.contact-v2-mail-hint {
    display: block;
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--about-soft);
}

.contact-v2-main-grid {
    display: grid;
    grid-template-columns: 1fr min(320px, 34vw);
    gap: var(--space-2xl);
    align-items: start;
    position: relative;
    z-index: 1;
    max-width: 1040px;
    margin: 0 auto;
}

.contact-v2-panel {
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: var(--about-shadow);
    padding: var(--space-2xl);
}

.contact-v2-form-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    background: linear-gradient(90deg, #38bdf8, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 var(--space-sm);
}

.contact-v2-form-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--about-ink);
    margin: 0 0 var(--space-sm);
}

.contact-v2-form-lead {
    margin: 0 0 var(--space-xl);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--about-muted);
}

.contact-v2-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-v2-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.contact-v2-field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--about-ink);
    margin-bottom: 6px;
}

.contact-v2-req {
    color: #ef4444;
}

.contact-v2-field input,
.contact-v2-field select,
.contact-v2-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    font-size: 0.9375rem;
    font-family: inherit;
    border: 1px solid var(--about-line);
    border-radius: 12px;
    background: #fff;
    color: var(--about-ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-v2-field input:focus,
.contact-v2-field select:focus,
.contact-v2-field textarea:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.55);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.contact-v2-field textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-v2-field--check {
    margin-top: 2px;
}

.contact-v2-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--about-muted);
    cursor: pointer;
}

.contact-v2-check input {
    width: auto;
    margin-top: 3px;
}

.contact-v2-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: var(--space-sm);
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-v2-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 14px 36px rgba(99, 102, 241, 0.4);
}

.contact-v2-submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

.contact-v2-disclaimer {
    margin: var(--space-sm) 0 0;
    font-size: 0.8125rem;
    color: var(--about-soft);
}

.contact-v2-disclaimer a {
    color: #4f46e5;
    font-weight: 600;
}

.contact-v2-success {
    text-align: center;
    padding: var(--space-xl) 0;
}

.contact-v2-success-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-md);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #fff;
    font-size: 1.35rem;
}

.contact-v2-success h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--about-ink);
    margin: 0 0 var(--space-sm);
}

.contact-v2-success p {
    color: var(--about-muted);
    margin: 0 0 var(--space-lg);
    line-height: 1.6;
}

.contact-v2-aside {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-v2-aside .about-v2-trustpill {
    max-width: none;
}

.contact-v2-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding-top: var(--space-xs);
}

.contact-v2-social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--about-line);
    color: #64748b;
    font-size: 1.1rem;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.contact-v2-social-link:hover {
    color: #6366f1;
    border-color: rgba(99, 102, 241, 0.35);
    transform: translateY(-2px);
}

.contact-v2-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    font-size: 0.9375rem;
    font-weight: 700;
    font-family: inherit;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid var(--about-line);
    background: #fff;
    color: var(--about-ink);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-v2-link-btn:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: var(--about-shadow-sm);
}

.contact-v2-link-btn--primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: #fff;
    border: none;
    box-shadow: 0 8px 22px rgba(99, 102, 241, 0.3);
}

.contact-v2-link-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.38);
}

.contact-v2-link-btn--ghost {
    background: transparent;
}

/* —— Legal pages (Terms, Privacy, Cookies) —— same shell as About v2 —— */
.page-legal-v2 {
    background: var(--about-bg, #fff);
    color: var(--about-ink, #0a0a0a);
}

.page-legal-v2 .legal-v2-hero-meta {
    margin: var(--space-md) auto 0;
    max-width: 520px;
    font-size: 0.95rem;
    color: var(--about-muted, #525252);
}

.page-legal-v2 .legal-v2-subnav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: var(--space-xl);
}

.page-legal-v2 .legal-v2-subnav__link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--about-muted, #525252);
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid var(--about-line, #e5e5e5);
    background: rgba(255, 255, 255, 0.85);
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.page-legal-v2 .legal-v2-subnav__link:hover {
    color: var(--about-ink, #0a0a0a);
    border-color: rgba(99, 102, 241, 0.35);
}

.page-legal-v2 .legal-v2-subnav__link--current {
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.3);
}

.legal-v2-main {
    padding: var(--space-3xl) 0 var(--space-4xl);
    background: var(--about-surface, #fafafa);
}

.legal-v2-inner {
    max-width: 800px;
    margin: 0 auto;
}

.page-legal-v2 .legal-content {
    margin-top: var(--space-xl);
}

.page-legal-v2 .legal-card {
    background: #fff;
    border: 1px solid var(--about-line, #e5e5e5);
    border-radius: 16px;
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
    box-shadow: var(--about-shadow-sm, 0 8px 24px rgba(15, 23, 42, 0.06));
}

.page-legal-v2 .legal-card:last-child {
    margin-bottom: 0;
}

.page-legal-v2 .legal-card h2 {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--about-ink, #0a0a0a);
    margin: 0 0 var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--about-line, #e5e5e5);
}

.page-legal-v2 .legal-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--about-ink, #0a0a0a);
    margin: var(--space-lg) 0 var(--space-sm);
}

.page-legal-v2 .legal-card p,
.page-legal-v2 .legal-card li {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--about-muted, #525252);
}

.page-legal-v2 .legal-card p {
    margin: 0 0 var(--space-md);
}

.page-legal-v2 .legal-card ul {
    margin: 0 0 var(--space-md);
    padding-left: 1.25rem;
}

.page-legal-v2 .legal-card li {
    margin-bottom: var(--space-xs);
}

.page-legal-v2 .legal-card a {
    color: #4f46e5;
    font-weight: 600;
    text-decoration: none;
}

.page-legal-v2 .legal-card a:hover {
    text-decoration: underline;
}

/* Cookie policy page */
.page-cookies-v2 .legal-v2-inner {
    max-width: 900px;
}

.page-cookies-v2 .cookies-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: var(--space-lg);
    font-size: 0.9rem;
    font-weight: 600;
    color: #4f46e5;
    text-decoration: none;
}

.page-cookies-v2 .cookies-back:hover {
    text-decoration: underline;
}

.page-cookies-v2 .cookies-policy-block {
    margin-bottom: var(--space-xl);
    padding: var(--space-xl);
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--about-line, #e5e5e5);
    box-shadow: var(--about-shadow-sm, 0 8px 24px rgba(15, 23, 42, 0.06));
}

.page-cookies-v2 .cookies-policy-block h2 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--about-ink, #0a0a0a);
    margin: 0 0 var(--space-md);
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-cookies-v2 .cookies-policy-block h2 i {
    color: #6366f1;
    font-size: 1.25rem;
}

.page-cookies-v2 .cookies-policy-block h3 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--about-ink, #0a0a0a);
    margin: var(--space-lg) 0 var(--space-sm);
}

.page-cookies-v2 .cookies-policy-block-note {
    margin-top: var(--space-md);
}

.page-cookies-v2 .cookies-btn--saved {
    background: linear-gradient(135deg, #059669, #10b981) !important;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35) !important;
}

.page-cookies-v2 .cookies-policy-block p,
.page-cookies-v2 .cookies-policy-block li {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--about-muted, #525252);
}

.page-cookies-v2 .cookies-policy-block ul {
    margin: 0 0 var(--space-md);
    padding-left: 1.25rem;
}

.page-cookies-v2 .cookie-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.page-cookies-v2 .cookie-type-card {
    background: var(--about-surface, #fafafa);
    padding: var(--space-lg);
    border-radius: 12px;
    border: 1px solid var(--about-line, #e5e5e5);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.page-cookies-v2 .cookie-type-card:hover {
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: var(--about-shadow-sm, 0 8px 24px rgba(15, 23, 42, 0.06));
}

.page-cookies-v2 .cookie-type-card h4 {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--about-ink, #0a0a0a);
    margin: 0 0 var(--space-sm);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.page-cookies-v2 .cookie-type-card .badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 6px;
    margin-left: auto;
}

.page-cookies-v2 .cookie-type-card .badge.required {
    background: #e0e7ff;
    color: #4338ca;
}

.page-cookies-v2 .cookie-type-card .badge.optional {
    background: #f1f5f9;
    color: #64748b;
}

.page-cookies-v2 .cookie-type-card p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--about-muted, #525252);
    line-height: 1.6;
}

.page-cookies-v2 .settings-box {
    background: var(--about-surface, #fafafa);
    padding: var(--space-lg);
    border-radius: 12px;
    border: 1px solid var(--about-line, #e5e5e5);
    margin-top: var(--space-md);
}

.page-cookies-v2 .settings-box h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--about-ink, #0a0a0a);
    margin: 0 0 var(--space-md);
}

.page-cookies-v2 .settings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--about-line, #e5e5e5);
}

.page-cookies-v2 .settings-row:last-child {
    border-bottom: none;
}

.page-cookies-v2 .settings-row-title {
    font-weight: 600;
    color: var(--about-ink, #0a0a0a);
    font-size: 0.9rem;
}

.page-cookies-v2 .settings-row-desc {
    font-size: 0.8125rem;
    color: var(--about-muted, #525252);
    margin-top: 4px;
}

.page-cookies-v2 .toggle-switch {
    position: relative;
    flex-shrink: 0;
    width: 48px;
    height: 26px;
    background: #cbd5e1;
    border-radius: 13px;
    cursor: pointer;
    transition: background 0.25s ease;
}

.page-cookies-v2 .toggle-switch.active {
    background: #6366f1;
}

.page-cookies-v2 .toggle-switch::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: left 0.25s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.page-cookies-v2 .toggle-switch.active::after {
    left: 24px;
}

.page-cookies-v2 .controls-section {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: var(--space-md);
}

.page-cookies-v2 .cookies-btn {
    padding: 12px 22px;
    border: none;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.page-cookies-v2 .cookies-btn--primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.page-cookies-v2 .cookies-btn--primary:hover {
    transform: translateY(-1px);
}

.page-cookies-v2 .cookies-btn--secondary {
    background: #fff;
    color: var(--about-ink, #0a0a0a);
    border: 1px solid var(--about-line, #e5e5e5);
}

.page-cookies-v2 .cookies-btn--secondary:hover {
    border-color: rgba(99, 102, 241, 0.35);
}

.page-cookies-v2 .cookies-last-updated {
    text-align: center;
    padding-top: var(--space-2xl);
    margin-top: var(--space-2xl);
    border-top: 1px solid var(--about-line, #e5e5e5);
    font-size: 0.8125rem;
    color: var(--about-soft, #a3a3a3);
}

.page-cookies-v2 .cookies-last-updated p {
    margin: 0 0 var(--space-sm);
}

.page-cookies-v2 .cookies-policy-block a {
    color: #4f46e5;
    font-weight: 600;
    text-decoration: none;
}

.page-cookies-v2 .cookies-policy-block a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .page-cookies-v2 .settings-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-cookies-v2 .controls-section .cookies-btn {
        width: 100%;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .about-v2-mile {
        grid-template-columns: 1fr;
        padding-left: var(--space-xl);
    }

    .about-v2-timeline::before {
        left: 8px;
        margin-left: 0;
    }

    .about-v2-mile__dot {
        left: 8px;
        margin-left: -8px;
    }

    .about-v2-mile--left .about-v2-mile__body,
    .about-v2-mile--right .about-v2-mile__body {
        grid-column: 1;
        text-align: left;
        padding-left: var(--space-2xl);
        padding-right: 0;
    }

    .about-v2-locate__grid {
        grid-template-columns: 1fr;
    }

    .about-v2-values__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-v2-values__grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-v2-main-grid {
        grid-template-columns: 1fr;
    }

    .about-v2-float {
        transform: scale(0.85);
    }
}

@media (max-width: 640px) {
    .about-v2-belief {
        min-height: auto;
        padding-top: calc(88px + var(--space-2xl));
    }

    .about-v2-float {
        display: none;
    }

    .about-v2-team__grid {
        flex-direction: column;
        align-items: center;
    }

    .about-v2-card {
        transform: none !important;
        width: 100%;
        max-width: 280px;
    }

    .about-v2-values__grid {
        grid-template-columns: 1fr;
    }

    .about-v2-values__grid--3 {
        grid-template-columns: 1fr;
    }

    .contact-v2-form-row {
        grid-template-columns: 1fr;
    }

    .about-v2-trustrow {
        flex-direction: column;
        align-items: center;
    }
}
