/* ============================================================
   FEATHERWORK INVOICING — TRUST & SECURITY PAGE
   Loaded alongside base.css + home.css: reuses the shared header,
   footer, .container, .btn, .trust-bar-style icon language, and
   design tokens from those two files. Everything below is unique
   to this page.

   Tone note: this is a plain-language reassurance page for a
   solo/small-shop buyer, not a compliance/enterprise-security page.
   No badge walls, no shield-heavy iconography stacked three deep —
   just short claims stated flat. Keep any future additions to this
   file in that register.
   ============================================================ */

/* ----------------------------------------------------------
   HERO
   ---------------------------------------------------------- */
.trust-hero { padding-block: var(--space-16) var(--space-10); }
.trust-hero__inner {
    max-width: 680px;
    margin-inline: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}
.trust-hero__eyebrow {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: var(--text-xs);
    letter-spacing: var(--tracking-wide);
    text-transform: uppercase;
    color: var(--color-accent);
}
.trust-hero h1 { font-size: clamp(1.9rem, 4.4vw, 2.7rem); font-weight: 700; line-height: var(--leading-tight); }
.trust-hero__sub { font-size: var(--text-lg); color: var(--color-text-secondary); }

/* ----------------------------------------------------------
   TRUST CLAIMS BAR — four flat claims, not a badge wall.
   Same solid-strip material as .trust-bar (home.css), but a grid
   of short claims instead of one centered sentence.
   ---------------------------------------------------------- */
.trust-claims {
    position: relative;
    color: #fff;
    padding-block: var(--space-6);
    background:
        linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .05) 48%, transparent 64%),
        repeating-linear-gradient(97deg, rgba(255, 255, 255, .045) 0 1px, rgba(0, 0, 0, .03) 1px 2px),
        var(--color-secondary-800);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), inset 0 -1px 0 rgba(0, 0, 0, .25);
}
.trust-claims__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}
.trust-claim {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    text-align: center;
    font-size: var(--text-sm);
    font-weight: 600;
}
.trust-claim svg { width: 20px; height: 20px; color: var(--color-highlight); flex: none; }

@media (max-width: 760px) {
    .trust-claims__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
    .trust-claims__grid { grid-template-columns: 1fr; }
    .trust-claim { justify-content: flex-start; }
}

/* ----------------------------------------------------------
   TRUST BLOCKS — one anxiety per block: icon, question as h2,
   a bold one-line claim, then a couple of plain sentences.
   ---------------------------------------------------------- */
.trust-blocks { padding-block: var(--space-16); }
.trust-blocks .container { max-width: 760px; }

.trust-block {
    display: flex;
    gap: var(--space-6);
    padding-block: var(--space-10);
}
.trust-block:not(:last-child) { border-bottom: 1px solid var(--color-border); }

.trust-block__icon {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--color-accent-light);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}
.trust-block__icon svg { width: 24px; height: 24px; }

.trust-block__body h2 { font-size: var(--text-xl); margin-bottom: var(--space-2); }
.trust-block__claim {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--text-md);
    color: var(--color-accent);
    margin-bottom: var(--space-3);
}
.trust-block__body p:not(.trust-block__claim) {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: var(--leading-normal);
    max-width: 58ch;
}
.trust-block__body a { color: var(--color-accent); font-weight: 600; border-bottom: 1px solid var(--color-accent); }
.trust-block__body a:hover { color: var(--color-accent-hover); border-color: var(--color-accent-hover); }

@media (max-width: 600px) {
    .trust-block { flex-direction: column; gap: var(--space-4); }
}

/* ----------------------------------------------------------
   Q&A — same no-JS <details>/<summary> accordion shape as
   faq.css's .faq-item, kept local to this file rather than
   pulling in faq.css for one component.
   ---------------------------------------------------------- */
.trust-qa { padding-block: 0 var(--space-16); background: var(--color-surface-raised); border-top: 1px solid var(--color-border); }
.trust-qa__inner { max-width: 720px; margin-inline: auto; padding-top: var(--space-16); }
.trust-qa__title { font-size: var(--text-2xl); text-align: center; margin-bottom: var(--space-8); }

.trust-qa-item { border-bottom: 1px solid var(--color-border); }
.trust-qa-item:first-of-type { border-top: 1px solid var(--color-border); }

.trust-qa-item__q {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding-block: var(--space-5);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--color-text-primary);
    cursor: pointer;
}
.trust-qa-item__q::-webkit-details-marker { display: none; }
.trust-qa-item__q:hover { color: var(--color-accent); }

.trust-qa-item__icon {
    flex: none;
    width: 20px;
    height: 20px;
    color: var(--color-text-tertiary);
    transition: transform .15s ease;
}
.trust-qa-item[open] .trust-qa-item__icon { transform: rotate(180deg); color: var(--color-accent); }

.trust-qa-item__a { padding-bottom: var(--space-5); }
.trust-qa-item__a p { font-size: var(--text-sm); color: var(--color-text-secondary); line-height: var(--leading-normal); max-width: 62ch; }

/* ----------------------------------------------------------
   ESCAPE HATCH — deliberately quiet: one centered line, no
   button, no card. This is not a CTA band.
   ---------------------------------------------------------- */
.trust-hatch { padding-block: var(--space-12); text-align: center; }
.trust-hatch p { font-size: var(--text-sm); color: var(--color-text-tertiary); }
.trust-hatch a { color: var(--color-text-secondary); font-weight: 600; border-bottom: 1px solid var(--color-border-strong); }
.trust-hatch a:hover { color: var(--color-accent); border-color: var(--color-accent); }
