/* ─────────────────────────────────────────────
   Vetāsa: product & legal pages
   Ivory ground, gold accent, Lora throughout.
   Standalone: does not depend on main.css
   ───────────────────────────────────────────── */

:root {
    /* Palette */
    --v-ink:        #1a1614;
    --v-ink-light:  #3b332e;
    --v-ink-muted:  #6b615a;
    --v-stone:      #978d84;
    --v-border:     #e6ded2;
    --v-border-soft:#f0e9df;
    --v-surface:    #faf6ef;
    --v-bg:         #fffdf9;
    --v-white:      #fff;

    /* Accent: temple gold */
    --v-gold:       #b08430;
    --v-gold-deep:  #8a6520;
    --v-gold-soft:  rgba(176, 132, 48, 0.09);
    --v-gold-line:  rgba(176, 132, 48, 0.28);

    --v-font: 'Lora', Georgia, 'Times New Roman', serif;

    --v-radius: 12px;
    --v-radius-sm: 7px;
    --v-shadow: 0 1px 3px rgba(26, 22, 20, 0.05);
    --v-shadow-lg: 0 14px 44px rgba(26, 22, 20, 0.09);
    --v-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--v-font);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--v-ink-light);
    background: var(--v-bg);
    overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: var(--v-font); font-weight: 600; color: var(--v-ink); line-height: 1.25; }

.v-container {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.v-container--wide { max-width: 1080px; }

/* ── Top bar ─────────────────────────────── */
.v-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 253, 249, 0.9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--v-border-soft);
}

.v-nav-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.v-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--v-ink);
}

.v-brand-mark {
    color: var(--v-gold);
    font-size: 1rem;
    line-height: 1;
}

.v-nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.v-nav-links a {
    color: var(--v-ink-muted);
    transition: color 0.3s var(--v-ease);
    white-space: nowrap;
}

.v-nav-links a:hover,
.v-nav-links a[aria-current="page"] { color: var(--v-gold-deep); }

@media (max-width: 560px) {
    .v-nav-links { gap: 1rem; font-size: 0.82rem; }
    .v-nav-links .v-nav-hide-sm { display: none; }
}

/* ── Hero (product page) ─────────────────── */
.v-hero {
    padding: 5.5rem 0 4rem;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% -10%, var(--v-gold-soft) 0%, transparent 60%),
        var(--v-bg);
}

.v-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--v-gold);
    margin-bottom: 1.25rem;
}

.v-hero h1 {
    font-size: clamp(2.5rem, 7vw, 4rem);
    letter-spacing: -0.01em;
    margin-bottom: 1.25rem;
}

.v-hero-tagline {
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    font-style: italic;
    color: var(--v-ink-muted);
    max-width: 34rem;
    margin: 0 auto 2rem;
}

.v-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    color: var(--v-gold);
    font-size: 0.95rem;
    margin: 2rem 0;
}

.v-divider::before,
.v-divider::after {
    content: '';
    height: 1px;
    width: min(90px, 18vw);
    background: linear-gradient(to right, transparent, var(--v-gold-line), transparent);
}

/* ── Buttons ─────────────────────────────── */
.v-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--v-font);
    font-size: 0.94rem;
    font-weight: 500;
    padding: 0.78rem 1.7rem;
    border-radius: var(--v-radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--v-ease);
}

.v-btn-primary { background: var(--v-gold); color: #fff; }
.v-btn-primary:hover {
    background: var(--v-gold-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(176, 132, 48, 0.28);
}

.v-btn-ghost { border-color: var(--v-border); color: var(--v-ink); background: transparent; }
.v-btn-ghost:hover { border-color: var(--v-gold-line); color: var(--v-gold-deep); background: var(--v-gold-soft); }

.v-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: center;
}

/* ── Sections ────────────────────────────── */
.v-section { padding: 4rem 0; }
.v-section--surface { background: var(--v-surface); border-top: 1px solid var(--v-border-soft); border-bottom: 1px solid var(--v-border-soft); }

.v-section-title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.9rem; }
.v-section-lead { color: var(--v-ink-muted); max-width: 40rem; margin-bottom: 2.5rem; }

/* ── Link cards (legal index) ────────────── */
.v-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 720px) {
    .v-cards { grid-template-columns: repeat(2, 1fr); }
}

.v-card {
    display: block;
    background: var(--v-white);
    border: 1px solid var(--v-border);
    border-radius: var(--v-radius);
    padding: 1.75rem;
    transition: all 0.3s var(--v-ease);
    position: relative;
    overflow: hidden;
}

.v-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--v-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--v-ease);
}

.v-card:hover { box-shadow: var(--v-shadow-lg); transform: translateY(-4px); border-color: var(--v-border-soft); }
.v-card:hover::before { transform: scaleX(1); }

.v-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; transition: color 0.3s var(--v-ease); }
.v-card:hover h3 { color: var(--v-gold-deep); }
.v-card p { font-size: 0.92rem; color: var(--v-ink-muted); }

.v-card-arrow {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--v-gold);
    letter-spacing: 0.02em;
}

/* ── Fact list ───────────────────────────── */
.v-facts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem 2.5rem;
}

@media (min-width: 720px) { .v-facts { grid-template-columns: repeat(2, 1fr); } }

.v-fact-label {
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--v-gold);
    margin-bottom: 0.35rem;
}

.v-fact-value { color: var(--v-ink-light); font-size: 0.96rem; }
.v-fact-value a { color: var(--v-gold-deep); border-bottom: 1px solid var(--v-gold-line); }

/* ── Legal document ──────────────────────── */
.v-doc-header {
    padding: 4rem 0 2rem;
    border-bottom: 1px solid var(--v-border-soft);
    background:
        radial-gradient(ellipse at 50% -30%, var(--v-gold-soft) 0%, transparent 65%),
        var(--v-bg);
}

.v-doc-header h1 {
    font-size: clamp(2rem, 5vw, 2.85rem);
    margin-bottom: 0.85rem;
}

.v-doc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    font-size: 0.85rem;
    color: var(--v-stone);
}

.v-doc-meta strong { color: var(--v-ink-muted); font-weight: 500; }

.v-doc-intro {
    margin-top: 1.5rem;
    padding: 1.1rem 1.35rem;
    background: var(--v-gold-soft);
    border-left: 3px solid var(--v-gold);
    border-radius: 0 var(--v-radius-sm) var(--v-radius-sm) 0;
    font-size: 0.93rem;
    color: var(--v-ink-light);
}

/* Table of contents */
.v-toc {
    margin: 2.5rem 0 1rem;
    padding: 1.5rem 1.75rem;
    background: var(--v-surface);
    border: 1px solid var(--v-border-soft);
    border-radius: var(--v-radius);
}

.v-toc h2 {
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--v-gold);
    margin-bottom: 0.9rem;
}

.v-toc ol {
    margin: 0;
    padding-left: 1.2rem;
    columns: 1;
    font-size: 0.92rem;
    color: var(--v-ink-muted);
}

@media (min-width: 640px) { .v-toc ol { columns: 2; column-gap: 2rem; } }

.v-toc li { margin-bottom: 0.4rem; break-inside: avoid; }
.v-toc a { transition: color 0.25s var(--v-ease); }
.v-toc a:hover { color: var(--v-gold-deep); }

/* Sections */
.v-doc { padding: 1rem 0 3rem; }

.v-doc section { margin-top: 2.75rem; }

.v-doc h2 {
    font-size: 1.3rem;
    margin-bottom: 0.9rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid var(--v-border-soft);
}

.v-doc h2 .v-num {
    color: var(--v-gold);
    font-size: 0.9rem;
    font-weight: 600;
    margin-right: 0.55rem;
    vertical-align: 0.12em;
}

.v-doc p { margin-bottom: 1rem; color: var(--v-ink-light); }

.v-doc ul { margin: 0 0 1rem; padding: 0; }

.v-doc ul li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: 0.55rem;
    color: var(--v-ink-light);
}

.v-doc ul li::before {
    content: '';
    position: absolute;
    left: 0.15rem;
    top: 0.72em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--v-gold);
}

.v-doc ul li b, .v-doc ul li strong { color: var(--v-ink); font-weight: 600; }

.v-doc a[href^="mailto:"] {
    color: var(--v-gold-deep);
    border-bottom: 1px solid var(--v-gold-line);
}

.v-doc-end {
    text-align: center;
    color: var(--v-gold);
    font-size: 1rem;
    margin: 3rem 0 0;
}

.v-backlink {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 2.5rem;
    font-size: 0.9rem;
    color: var(--v-ink-muted);
    transition: color 0.3s var(--v-ease);
}

.v-backlink:hover { color: var(--v-gold-deep); }

/* ── Footer ──────────────────────────────── */
.v-footer {
    border-top: 1px solid var(--v-border-soft);
    background: var(--v-surface);
    padding: 3rem 0 2.25rem;
}

.v-footer-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
    justify-content: space-between;
    align-items: flex-start;
}

.v-footer-brand { font-size: 1.05rem; font-weight: 600; color: var(--v-ink); }
.v-footer-note { font-size: 0.86rem; color: var(--v-stone); margin-top: 0.35rem; max-width: 26rem; }

.v-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.4rem;
    font-size: 0.88rem;
    color: var(--v-ink-muted);
}

.v-footer-links a:hover { color: var(--v-gold-deep); }

.v-footer-bottom {
    max-width: 1080px;
    margin: 2rem auto 0;
    padding: 1.25rem 1.5rem 0;
    border-top: 1px solid var(--v-border-soft);
    font-size: 0.82rem;
    color: var(--v-stone);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}