/* "Who needs a SEKRTLY": home card section, hub and audience landing pages (build/audience_page.py) */

/* ---------- cards ---------- */
.aud-section { padding: 7rem 0 6rem; position: relative; }
.aud-section .section-head { text-align: center; max-width: 760px; margin: 0 auto 3.2rem; }
.aud-section--hub { padding-top: 1rem; }
.aud-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.aud-card {
    position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius, 22px);
    background: rgba(255, 255, 255, 0.02); border: 1px solid var(--line-2, rgba(255, 255, 255, 0.1)); color: inherit; text-decoration: none;
    transition: transform 0.45s var(--ease-out, cubic-bezier(0.16, 1, 0.3, 1)), border-color 0.3s ease, box-shadow 0.4s ease;
}
.aud-card:hover { transform: translateY(-4px); border-color: rgba(167, 139, 250, 0.45); box-shadow: 0 24px 60px -30px rgba(124, 92, 240, 0.6); }
.aud-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.aud-img img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); transition: transform 0.9s var(--ease-out, ease), filter 0.5s ease; filter: saturate(0.9) brightness(0.88); }
.aud-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8, 7, 14, 0.92) 100%); }
.aud-card:hover .aud-img img { transform: scale(1.07); filter: saturate(1.05) brightness(1); }
.aud-body { position: relative; display: flex; flex-direction: column; gap: 0.45rem; padding: 0 1.4rem 1.4rem; margin-top: -2.2rem; }
.aud-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #e9e2ff; background: rgba(124, 92, 240, 0.22); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, 0.4), 0 0 24px rgba(124, 92, 240, 0.25); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.aud-card h3, .aud-card h2 { margin: 0.35rem 0 0; font-size: 1.22rem; font-weight: 500; letter-spacing: -0.01em; color: #fff; }
.aud-sub { color: var(--silver, #b9b6c8); font-size: 0.92rem; line-height: 1.5; }
.aud-more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.5rem; font: 500 0.72rem/1 var(--font-mono, monospace); letter-spacing: 0.12em; text-transform: uppercase; color: var(--violet, #a78bfa); }
.aud-more svg { transition: transform 0.3s ease; }
.aud-card:hover .aud-more svg { transform: translateX(4px); }
@media (max-width: 1000px) { .aud-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
    .aud-section { padding: 4.5rem 0 4rem; }
    .aud-grid { grid-template-columns: 1fr; }
    .aud-img { aspect-ratio: 16 / 9; }
}

/* ---------- landing pages ---------- */
.aud-page .aud-hero { padding: 9rem 0 3rem; }
.aud-hero-in { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: center; }
.aud-crumbs { display: flex; gap: 0.5rem; margin-bottom: 1.4rem; font: 400 0.72rem/1 var(--font-mono, monospace); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint, #6f6c80); }
.aud-crumbs a { color: var(--violet, #a78bfa); text-decoration: none; }
.aud-crumbs a:hover { color: #fff; }
.aud-hero .section-title { text-align: left; margin: 0 0 1.2rem; font-size: clamp(2.3rem, 4.6vw, 3.8rem); line-height: 1.06; }
.aud-lede { font-size: 1.12rem; line-height: 1.65; color: var(--silver, #b9b6c8); max-width: 34em; margin: 0 0 2rem; }
.aud-hero-img { position: relative; border-radius: var(--radius, 22px); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line-2, rgba(255, 255, 255, 0.1)); box-shadow: 0 40px 80px -40px rgba(124, 92, 240, 0.55); }
.aud-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.aud-hero-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 50%, rgba(8, 7, 14, 0.7)); }
.aud-hero-ic { position: absolute; left: 1.2rem; bottom: 1.2rem; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: #fff; background: rgba(124, 92, 240, 0.35); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, 0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

.aud-block { padding: 2.6rem 0; }
.aud-block .eyebrow { display: block; margin-bottom: 1.4rem; }
.aud-narrow { max-width: 820px; }
.aud-risks, .aud-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.aud-risks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aud-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.aud-risk, .aud-feat { position: relative; padding: 1.5rem 1.5rem 1.4rem; border-radius: 18px; border: 1px solid var(--line-2, rgba(255, 255, 255, 0.1)); background: rgba(255, 255, 255, 0.02); }
.aud-risk { border-color: rgba(255, 143, 184, 0.18); background: linear-gradient(180deg, rgba(255, 143, 184, 0.05), rgba(255, 255, 255, 0.01)); }
.aud-rk { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: #ff8fb8; background: rgba(255, 143, 184, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 143, 184, 0.3); }
.aud-risk h3, .aud-feat h3 { margin: 1rem 0 0.45rem; font-size: 1.08rem; font-weight: 500; color: #fff; }
.aud-risk p, .aud-feat p { margin: 0; color: var(--silver, #b9b6c8); line-height: 1.6; font-size: 0.95rem; }

.aud-case { margin: 0; padding: 2rem 2.2rem; border-radius: 18px; border-left: 2px solid var(--violet, #a78bfa); background: linear-gradient(90deg, rgba(124, 92, 240, 0.1), transparent 80%); }
.aud-case blockquote { margin: 0; font-family: var(--font-serif, serif); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.45; color: #ece6ff; }
.aud-honest { padding: 1.6rem 1.8rem; border-radius: 18px; border: 1px solid rgba(255, 200, 120, 0.25); background: rgba(255, 200, 120, 0.04); }
.aud-honest h2 { margin: 0 0 0.6rem; font-size: 1.1rem; font-weight: 500; color: #ffd9a0; }
.aud-honest p { margin: 0; color: var(--silver, #b9b6c8); line-height: 1.65; }

.aud-h2 { margin: 0 0 1.2rem; font-size: clamp(1.45rem, 2.4vw, 1.95rem); font-weight: 400; color: #fff; }
.aud-faq { display: grid; gap: 0.6rem; }
.aud-q { border-radius: 14px; border: 1px solid var(--line-2, rgba(255, 255, 255, 0.1)); background: rgba(255, 255, 255, 0.02); transition: border-color 0.3s ease, background 0.3s ease; }
.aud-q[open] { border-color: rgba(167, 139, 250, 0.35); background: rgba(124, 92, 240, 0.06); }
.aud-q summary { position: relative; list-style: none; cursor: pointer; padding: 1.1rem 3rem 1.1rem 1.3rem; font-weight: 500; color: #fff; }
.aud-q summary::-webkit-details-marker { display: none; }
.aud-q summary::after { content: ''; position: absolute; right: 1.3rem; top: 50%; width: 9px; height: 9px; margin-top: -6px; border-right: 1.6px solid var(--violet, #a78bfa); border-bottom: 1.6px solid var(--violet, #a78bfa); transform: rotate(45deg); transition: transform 0.3s ease; }
.aud-q[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.aud-q p { margin: 0; padding: 0 1.3rem 1.2rem; color: var(--silver, #b9b6c8); line-height: 1.65; }

.aud-cta { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.2rem 2.4rem; border-radius: var(--radius, 22px); background: radial-gradient(ellipse at 0% 0%, rgba(124, 92, 240, 0.28), transparent 60%), rgba(255, 255, 255, 0.02); border: 1px solid rgba(167, 139, 250, 0.3); }
.aud-cta h2 { margin: 0 0 0.35rem; font-size: 1.6rem; font-weight: 400; color: #fff; }
.aud-cta p { margin: 0; color: var(--silver, #b9b6c8); }
.aud-others { margin-top: 3rem; }
.aud-others ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.aud-others a { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid var(--line-2, rgba(255, 255, 255, 0.1)); color: var(--silver, #b9b6c8); text-decoration: none; font-size: 0.88rem; transition: border-color 0.25s ease, color 0.25s ease; }
.aud-others a:hover { border-color: rgba(167, 139, 250, 0.5); color: #fff; }
.aud-others svg { color: var(--violet, #a78bfa); }

.aud-exit { position: fixed; z-index: 1300; top: 5.4rem; right: 1.2rem; padding: 0.6rem 1rem; border-radius: 999px; background: #f5f3ff; color: #120e22; font-weight: 600; font-size: 0.85rem; text-decoration: none; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45); }
.aud-exit:hover { background: #fff; }

@media (max-width: 960px) {
    .aud-page .aud-hero { padding: 7.5rem 0 2rem; }
    .aud-hero-in { grid-template-columns: 1fr; gap: 2rem; }
    .aud-risks { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .aud-feats { grid-template-columns: 1fr; }
    .aud-cta { flex-direction: column; align-items: flex-start; padding: 1.8rem; }
    .aud-case { padding: 1.5rem 1.4rem; }
    .aud-exit { top: 4.8rem; right: 0.8rem; padding: 0.5rem 0.9rem; }
}

/* ---------- by the numbers: long intro + three sourced figures ---------- */
.aud-numbers { padding-top: 1rem; }
.aud-intro { max-width: 46em; margin: 0 0 2.2rem; font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.7; color: #e4e0f2; opacity: 0; transform: translateY(16px); transition: opacity 0.9s ease, transform 1s var(--ease-out, ease); }
.aud-intro.in { opacity: 1; transform: none; }
.aud-intro::first-letter { float: left; font-family: var(--font-serif, serif); font-style: italic; font-size: 3.4em; line-height: 0.85; padding: 0.06em 0.12em 0 0; color: #c4b5fd; }
.aud-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.aud-stat { position: relative; display: flex; flex-direction: column; gap: 0.5rem; padding: 1.6rem 1.5rem 1.3rem; border-radius: 18px; border: 1px solid rgba(167, 139, 250, 0.22); background: radial-gradient(ellipse at 0% 0%, rgba(124, 92, 240, 0.14), transparent 65%), rgba(255, 255, 255, 0.02); }
.aud-stat b { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 200; letter-spacing: -0.035em; line-height: 1; background: linear-gradient(180deg, #fff 30%, #b9a6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.aud-stat > span { color: var(--silver, #b9b6c8); line-height: 1.5; font-size: 0.95rem; }
.aud-meter { display: block; height: 8px; margin: 0.3rem 0 0.2rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.aud-meter i { display: block; width: var(--v); height: 100%; border-radius: 999px; background: linear-gradient(90deg, #7a5af0, #c4b5fd); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s; box-shadow: 0 0 12px rgba(167, 139, 250, 0.5); }
.aud-stat.in .aud-meter i { transform: none; }
.aud-src { margin-top: auto; padding-top: 0.6rem; font: 400 0.64rem/1.5 var(--font-mono, monospace); color: var(--faint, #6f6c80); text-decoration: none; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.aud-src:hover { color: #fff; }
.aud-more2 { font-size: 0.84rem; color: var(--violet, #a78bfa); text-decoration: none; }
.aud-more2:hover { color: #fff; }
@media (max-width: 860px) { .aud-stats { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .aud-intro { opacity: 1; transform: none; } .aud-meter i { transform: none; } }


/* ---------- one grid for every section: heading column + content column, same left edge ---------- */
.aud-page .aud-hero { padding-bottom: 2rem; }
.aud-row { padding: 3.2rem 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.aud-row-in { display: grid; grid-template-columns: minmax(200px, 270px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.aud-row-h { position: sticky; top: 6.5rem; }
.aud-row-h .eyebrow { display: block; margin-bottom: 0.9rem; }
.aud-row-h h2 { margin: 0; font-size: clamp(1.45rem, 2.2vw, 1.9rem); font-weight: 300; line-height: 1.2; letter-spacing: -0.015em; color: #fff; }
.aud-row-c { min-width: 0; }
.aud-row .aud-intro { max-width: none; margin-bottom: 1.8rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.aud-row .aud-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.aud-row .aud-stat { padding: 1.3rem 1.2rem 1.1rem; }
.aud-row .aud-stat b { font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
.aud-row .aud-stat > span { font-size: 0.88rem; }
/* risks become a compact list instead of three tall cards */
.aud-row .aud-risks { grid-template-columns: 1fr; gap: 0; }
.aud-row .aud-risk { display: grid; grid-template-columns: 34px minmax(140px, 0.4fr) 1fr; gap: 1.1rem; align-items: start; padding: 1.1rem 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); border-radius: 0; background: none; }
.aud-row .aud-risk:last-child { border-bottom: 0; }
.aud-row .aud-risk h3 { margin: 0.35rem 0 0; font-size: 1rem; }
.aud-row .aud-risk p { margin: 0.3rem 0 0; font-size: 0.93rem; }
.aud-row .aud-feats { gap: 0.9rem; }
.aud-row .aud-feat { padding: 1.2rem 1.2rem 1.1rem; }
.aud-row .aud-feat h3 { margin-top: 0.8rem; font-size: 1rem; }
.aud-row .aud-feat p { font-size: 0.9rem; }
.aud-row .aud-case { padding: 1.6rem 1.8rem; }
.aud-row .aud-case blockquote { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
.aud-row .aud-honest { margin-top: 1rem; }
.aud-row .aud-honest h3 { margin: 0 0 0.5rem; font-size: 1rem; font-weight: 500; color: #ffd9a0; }
.aud-page .aud-block:last-of-type { padding-top: 3rem; border-top: 1px solid rgba(255, 255, 255, 0.06); }
@media (max-width: 1000px) { .aud-row .aud-stats { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
    .aud-row { padding: 2.4rem 0; }
    .aud-row-in { grid-template-columns: 1fr; gap: 1.2rem; }
    .aud-row-h { position: static; }
    .aud-row .aud-risk { grid-template-columns: 34px 1fr; }
    .aud-row .aud-risk p { grid-column: 2; }
}

/* ---------- type hierarchy: soft whites instead of #fff, clear title/body contrast ---------- */
.aud-page { --ink-1: #ebe6f7; --ink-2: #bdb7d0; --ink-3: #8f8aa3; }
.aud-page .aud-hero .section-title, .aud-row-h h2, .aud-h2, .aud-cta h2 { color: var(--ink-1); }
.aud-lede { color: var(--ink-2); }
.aud-row .aud-feat h3, .aud-row .aud-risk h3 { font-size: 1.1rem; font-weight: 500; letter-spacing: -0.005em; color: var(--ink-1); }
.aud-row .aud-feat p, .aud-row .aud-risk p { font-size: 0.88rem; line-height: 1.6; color: var(--ink-3); }
.aud-row .aud-feat { background: rgba(255, 255, 255, 0.015); }
.aud-row .aud-feat:hover h3 { color: #f4f0fd; }
.aud-q summary { color: var(--ink-1); font-weight: 500; font-size: 1rem; }
.aud-q p { color: var(--ink-3); font-size: 0.92rem; line-height: 1.65; }
.aud-q[open] summary { color: #c9bcff; }
.aud-row .aud-intro { color: var(--ink-2); }
.aud-row .aud-intro::first-letter { color: #b9a6ff; }
.aud-stat b { background: linear-gradient(180deg, #efeaf9 25%, #a996f2); -webkit-background-clip: text; background-clip: text; }
.aud-stat > span { color: var(--ink-2); }
.aud-case blockquote { color: #d9d1f2; }
.aud-cta p, .aud-others a { color: var(--ink-2); }
.aud-card h3, .aud-card h2 { color: var(--ink-1); }
.aud-sub { color: var(--ink-3); }

/* ---------- Meet E (build/e_home.py) ---------- */
.eh-section { padding: 7rem 0; position: relative; overflow: hidden; }
.eh-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.eh-visual { position: relative; display: grid; place-items: center; min-height: 460px; }
.eh-orb { position: relative; width: min(340px, 70vw); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #070107; box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.4), 0 0 80px rgba(124, 92, 240, 0.4); }
.eh-orb img { width: 100%; height: 100%; object-fit: cover; display: block; animation: ehGlitch 6s steps(1) infinite; }
.eh-scan { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.18) 0 1px, transparent 1px 3px); }
@keyframes ehGlitch { 0%, 92%, 100% { transform: none; filter: none; clip-path: none; } 93% { transform: translateX(-5px); filter: hue-rotate(40deg) saturate(1.6); clip-path: inset(15% 0 50% 0); } 95% { transform: translateX(4px); clip-path: inset(55% 0 12% 0); } }
.eh-ring { position: absolute; width: min(400px, 82vw); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(167, 139, 250, 0.22); animation: ehBreath 5s ease-in-out infinite; }
.eh-ring--2 { width: min(470px, 94vw); border-color: rgba(167, 139, 250, 0.1); animation-delay: -2.5s; }
@keyframes ehBreath { 50% { transform: scale(1.04); opacity: 0.5; } }
.eh-mark { position: absolute; top: 8%; right: 10%; width: 74px; height: auto; filter: drop-shadow(0 0 18px rgba(167, 139, 250, 0.8)); }
.eh-chat { position: absolute; left: 0; bottom: 0; width: min(330px, 86%); display: grid; gap: 0.55rem; font-size: 0.82rem; line-height: 1.5; }
.eh-chat p { margin: 0; padding: 0.7rem 0.9rem; border-radius: 14px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.eh-u { justify-self: end; max-width: 80%; background: rgba(124, 92, 240, 0.28); border: 1px solid rgba(167, 139, 250, 0.3); color: #ebe6f7; border-bottom-right-radius: 4px; }
.eh-e { background: rgba(10, 8, 16, 0.88); border: 1px solid rgba(167, 139, 250, 0.22); color: #c9c3dc; font-family: 'JetBrains Mono', monospace; font-size: 0.74rem; border-bottom-left-radius: 4px; }
.eh-e img { width: 20px; height: auto; margin-right: 0.5rem; vertical-align: -0.2em; }
.eh-caret { display: inline-block; width: 0.5em; height: 1em; margin-left: 2px; vertical-align: -0.15em; background: #a78bfa; animation: ehBlink 0.9s steps(1) infinite; }
@keyframes ehBlink { 50% { opacity: 0; } }
.eh-copy .section-title { text-align: left; margin: 0.8rem 0 1.2rem; }
.eh-copy > p { color: #bdb7d0; font-size: 1.08rem; line-height: 1.7; max-width: 34em; margin: 0 0 1.4rem; }
.eh-feats { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 0.7rem; }
.eh-feats li { display: flex; align-items: center; gap: 0.7rem; color: #ebe6f7; font-size: 0.96rem; }
.eh-feats svg { flex: none; color: #a78bfa; }
.eh-note { display: block; margin-top: 1.2rem; color: #8f8aa3; font-size: 0.78rem; }
@media (max-width: 900px) { .eh-section { padding: 4.5rem 0; } .eh-in { grid-template-columns: 1fr; } .eh-visual { min-height: 400px; } .eh-copy { order: -1; } }
@media (prefers-reduced-motion: reduce) { .eh-orb img, .eh-ring, .eh-caret { animation: none; } }
