/* ============================================================
   VaultStorage — About, Contact and the legal pages
   Loaded after site.css (and blog.css where the article
   typography and the table of contents are reused).
   ============================================================ */

/* ========================================================
   1. SHARED PAGE HERO
   ======================================================== */
.pg-hero {
    padding: 168px 0 52px;
    text-align: center;
    background:
        radial-gradient(820px 380px at 12% -10%, rgba(91, 91, 240, .13), transparent 60%),
        radial-gradient(700px 340px at 90% 0%, rgba(14, 165, 160, .12), transparent 60%),
        linear-gradient(180deg, #f6f7fd 0%, #fff 100%);
    border-bottom: 1px solid var(--border);
}

.pg-eyebrow {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--indigo);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 7px 16px;
    box-shadow: var(--shadow-sm);
}

.pg-hero h1 {
    font-family: var(--font-head);
    font-size: clamp(30px, 4.4vw, 48px);
    font-weight: 800;
    letter-spacing: -1.3px;
    line-height: 1.18;
    max-width: 820px;
    margin: 20px auto 14px;
}

.pg-hero h1 .grad {
    background: linear-gradient(120deg, var(--indigo), #e0529c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pg-hero > .container > p {
    max-width: 660px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 16.5px;
    line-height: 1.7;
}

.pg-hero-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 26px;
    margin-top: 24px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-muted);
}

.pg-hero-meta .bi { color: var(--indigo); margin-right: 5px; }

/* ========================================================
   2. ABOUT
   ======================================================== */
.ab-story {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 44px;
    align-items: center;
}

.ab-story h2 {
    font-family: var(--font-head);
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 800;
    letter-spacing: -.9px;
    margin-bottom: 18px;
}

.ab-story p { color: var(--text-muted); line-height: 1.8; margin-bottom: 16px; }
.ab-story p b { color: var(--text); }

.ab-quote {
    position: relative;
    background: linear-gradient(140deg, #5b5bf0, #7b4bf5 55%, #e0529c);
    color: #fff;
    border-radius: 26px;
    padding: 38px 34px;
    box-shadow: 0 26px 54px rgba(91, 91, 240, .26);
}

.ab-quote .bi { font-size: 30px; color: rgba(255, 255, 255, .6); }

/* the card sits on a dark gradient, so its text overrides .ab-story p */
.ab-quote p {
    font-family: var(--font-head);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.55;
    margin: 12px 0 18px;
    color: #fff;
}

.ab-quote small { display: block; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .82); }

.ab-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.ab-value {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 28px 26px;
    transition: transform .25s, box-shadow .25s;
}

.ab-value:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.ab-value span {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    font-size: 21px;
    margin-bottom: 16px;
}

.ab-value h3 { font-family: var(--font-head); font-size: 18.5px; font-weight: 700; margin-bottom: 8px; }
.ab-value p { color: var(--text-muted); font-size: 14.5px; line-height: 1.7; margin: 0; }

/* what is live today, what is still being built */
.ab-status { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

.ab-col {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 30px 28px;
}

.ab-col.soon { background: #fbfbfe; }

.ab-col h3 {
    font-family: var(--font-head);
    font-size: 19px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.ab-col h3 .bi { font-size: 21px; }
.ab-col.live h4 .bi { color: var(--green); }
.ab-col.soon h4 .bi { color: var(--amber, #f59e0b); }

.ab-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ab-col li { display: flex; gap: 11px; align-items: flex-start; font-weight: 500; line-height: 1.6; }
.ab-col li .bi { flex: none; margin-top: 2px; font-size: 17px; }
.ab-col.live li .bi { color: var(--green); }
.ab-col.soon li { color: var(--text-muted); }
.ab-col.soon li .bi { color: #b9bccd; }

.ab-note {
    display: flex;
    gap: 14px;
    margin-top: 24px;
    padding: 20px 22px;
    border-radius: 18px;
    background: var(--indigo-soft);
    border: 1px solid rgba(91, 91, 240, .16);
}

.ab-note > .bi { font-size: 22px; color: var(--indigo); }
.ab-note b { display: block; font-family: var(--font-head); font-size: 16px; margin-bottom: 4px; }
.ab-note p { margin: 0; color: var(--text-muted); font-size: 14.5px; line-height: 1.7; }

/* ========================================================
   3. CONTACT
   ======================================================== */
.ct-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 40px;
    align-items: start;
}

.ct-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 26px;
    padding: 34px 32px;
    box-shadow: var(--shadow-md);
}

.ct-card h2 {
    font-family: var(--font-head);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.7px;
    margin-bottom: 8px;
}

.ct-card > p { color: var(--text-muted); margin-bottom: 26px; line-height: 1.7; }

.ct-form { display: grid; gap: 18px; }
.ct-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.ct-field label {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    margin-bottom: 7px;
}

.ct-field input,
.ct-field select,
.ct-field textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fbfbfe;
    padding: 13px 15px;
    font-size: 14.5px;
    font-weight: 500;
    font-family: var(--font-body);
    color: var(--text);
    transition: border-color .2s, box-shadow .2s, background .2s;
}

.ct-field textarea { min-height: 150px; resize: vertical; line-height: 1.65; }

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--indigo);
    box-shadow: 0 0 0 4px var(--indigo-soft);
}

.ct-err { display: none; font-size: 12.5px; font-weight: 600; color: var(--red); margin-top: 6px; }
.ct-field.invalid .ct-err { display: block; }
.ct-field.invalid input, .ct-field.invalid textarea { border-color: var(--red); background: var(--red-soft); }

.ct-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.ct-actions .btn-primary-l { border: 0; }

.ct-hint {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.55;
    max-width: 320px;
}

.ct-hint .bi { color: var(--indigo); margin-top: 1px; }

.ct-side { display: grid; gap: 18px; }

.ct-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 24px 22px;
}

.ct-box h3 {
    font-family: var(--font-head);
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 1.1px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.ct-line { display: flex; gap: 13px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--border); }
.ct-line:last-child { border-bottom: 0; padding-bottom: 0; }
.ct-line:first-of-type { padding-top: 0; }

.ct-line span {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 17px;
    flex: none;
}

.ct-line b { display: block; font-size: 14.5px; margin-bottom: 2px; }
.ct-line small, .ct-line a { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }
.ct-line a:hover { color: var(--indigo); }

.ct-quick { display: grid; gap: 10px; }

.ct-quick a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 13px 15px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fbfbfe;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text);
    transition: background .2s, border-color .2s, transform .2s;
}

.ct-quick a:hover { background: var(--indigo-soft); border-color: var(--indigo-soft); color: var(--indigo); transform: translateX(3px); }

/* ========================================================
   4. LEGAL PAGES
   ======================================================== */
.lg-updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    padding: 8px 16px;
    border-radius: 30px;
    background: #fff;
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    box-shadow: var(--shadow-sm);
}

.lg-updated .bi { color: var(--indigo); }

.lg-layout {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 44px;
    align-items: start;
}

.lg-side { position: sticky; top: 100px; display: grid; gap: 18px; }

.lg-summary {
    background: linear-gradient(140deg, #5b5bf0, #7b4bf5);
    color: #fff;
    border-radius: 20px;
    padding: 24px 22px;
    box-shadow: 0 18px 40px rgba(91, 91, 240, .24);
}

.lg-summary h3 { font-family: var(--font-head); font-size: 17px; font-weight: 800; margin-bottom: 12px; }
.lg-summary ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lg-summary li { display: flex; gap: 9px; font-size: 13.5px; line-height: 1.55; opacity: .95; }
.lg-summary li .bi { flex: none; margin-top: 2px; }

.lg-body h2:first-child { margin-top: 0; }

.lg-body .lg-lead {
    font-size: 17px;
    font-weight: 500;
    color: var(--text);
    background: #fbfbfe;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px 22px;
    line-height: 1.75;
}

.lg-body h2 { counter-increment: lg; }
.lg-body h2::before { content: counter(lg) ". "; color: var(--indigo); }
.lg-body { counter-reset: lg; }

.lg-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 34px;
    padding: 24px 26px;
    border-radius: 20px;
    background: var(--indigo-soft);
    border: 1px solid rgba(91, 91, 240, .16);
}

.lg-contact div { flex: 1; min-width: 220px; }
.lg-contact b { display: block; font-family: var(--font-head); font-size: 17px; margin-bottom: 4px; }
.lg-contact p { margin: 0; color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }

/* ========================================================
   5. RESPONSIVE
   ======================================================== */
@media (max-width: 1199.98px) {
    .ct-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; }
    .lg-layout { grid-template-columns: 250px minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 991.98px) {
    .ab-story { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .ct-layout, .lg-layout { grid-template-columns: minmax(0, 1fr); }
    .ct-side, .lg-side { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg-side { display: grid; }
}

@media (max-width: 767.98px) {
    .pg-hero { padding: 150px 0 42px; }
    .ab-values, .ab-status { grid-template-columns: minmax(0, 1fr); }
    .ct-row { grid-template-columns: minmax(0, 1fr); }
    .ct-side, .lg-side { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 575.98px) {
    .pg-hero { padding: 158px 0 38px; }
    .ct-card { padding: 26px 20px; }
    .ct-field input, .ct-field select, .ct-field textarea { font-size: 16px; }
    .ct-actions .btn-primary-l { width: 100%; justify-content: center; }
    .ct-hint { max-width: none; }
    .ab-quote { padding: 28px 24px; }
    .ab-quote p { font-size: 18.5px; }
}

/* honeypot: off screen for people, visible to form-filling bots */
.ct-trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}
