/* Hush public site (landing, sign-in): blueprint frame, mesh hero, display type, illustrated cards.
   Hush's own palette from the logo: deep teal, cyan, gold. Static CSS only (no runtime framework). */
:root {
    --hu-ink: #0b2a30;
    --hu-ink-2: #44535a;
    --hu-ink-3: #6b7a80;
    --hu-teal: #0f4c55;
    --hu-teal-2: #0b3a41;
    --hu-cyan: #12c2d4;
    --hu-cyan-2: #0aa6b9;
    --hu-cyan-soft: #e6fafc;
    --hu-gold: #f5a623;
    --hu-gold-soft: #fff4e0;
    --hu-line: #e3ebee;
    --hu-line-2: #edf2f4;
    --hu-bg: #f8fbfc;
    --hu-rail: #c7d6db;
    --hu-display: "Plus Jakarta Sans", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

body.hu-site { background: var(--hu-bg); color: var(--hu-ink-2); font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 16px; -webkit-font-smoothing: antialiased; }
.hu-site a { text-decoration: none; }
.hu-frame { position: relative; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .hu-frame { padding: 0 24px; } }

/* ── Header ── */
.hu-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--hu-line); }
.hu-header .hu-frame { display: flex; align-items: center; gap: 28px; height: 68px; }
.hu-logo { display: inline-flex; align-items: center; gap: 10px; }
.hu-logo img { height: 36px; width: auto; display: block; }
.hu-logo small { font-size: 12px; color: var(--hu-ink-3); font-weight: 500; }
.hu-nav { display: none; gap: 4px; }
.hu-nav a { padding: 8px 12px; border-radius: 8px; color: var(--hu-ink-2); font-size: 14.5px; font-weight: 500; }
.hu-nav a:hover { color: var(--hu-ink); background: rgba(15, 76, 85, .06); }
.hu-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
@media (min-width: 992px) { .hu-nav { display: flex; } }
@media (max-width: 575.98px) { .hu-logo small, .hu-actions .hu-btn-ghost { display: none; } }

/* ── Buttons ── */
.hu-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; border: 0; cursor: pointer; }
.hu-btn-sm { padding: 10px 18px; font-size: 14px; }
.hu-btn-solid { color: #fff !important; background: linear-gradient(135deg, var(--hu-teal) 0%, #127784 100%); box-shadow: 0 12px 26px -12px rgba(15, 76, 85, .9); }
.hu-btn-solid:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(15, 76, 85, .95); }
.hu-btn-ghost { background: #fff; color: var(--hu-ink) !important; border: 1px solid var(--hu-line); }
.hu-btn-ghost:hover { border-color: #b8cbd1; transform: translateY(-2px); }
.hu-btn-white { background: #fff; color: var(--hu-ink) !important; }
.hu-btn-white:hover { transform: translateY(-2px); background: #f2fdff; }
.hu-btn-glass { background: rgba(255, 255, 255, .14); color: #fff !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32); }
.hu-btn-glass:hover { background: rgba(255, 255, 255, .24); transform: translateY(-2px); }

/* ── Blueprint frame: dotted rails and numbered section labels ── */
.hu-bp { position: relative; overflow-x: clip; }
.hu-rails { position: relative; }
.hu-rails::before, .hu-rails::after { content: ""; position: absolute; top: 0; bottom: 0; width: 0; border-left: 1.5px dotted var(--hu-rail); pointer-events: none; }
.hu-rails::before { left: max(16px, calc(50% - 620px)); }
.hu-rails::after { right: max(16px, calc(50% - 620px)); }
.hu-sec { position: relative; padding: 88px 0; }
.hu-sec + .hu-sec { padding-top: 40px; }
.hu-label { position: relative; display: flex; align-items: center; gap: 12px; margin-bottom: 48px; font: 600 12px/1 "JetBrains Mono", ui-monospace, Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; color: var(--hu-ink-3); }
.hu-label::after { content: ""; flex: 1; border-top: 1.5px dotted var(--hu-rail); }
.hu-label b { color: var(--hu-cyan-2); font-weight: 700; }
.hu-cross { position: absolute; top: -7px; width: 13px; height: 13px; }
.hu-cross::before, .hu-cross::after { content: ""; position: absolute; background: var(--hu-cyan-2); }
.hu-cross::before { left: 6px; top: 0; width: 1.5px; height: 13px; }
.hu-cross::after { top: 6px; left: 0; height: 1.5px; width: 13px; }

/* ── Type ── */
.hu-display { font-family: var(--hu-display); font-weight: 800; letter-spacing: -.045em; line-height: 1.04; color: var(--hu-ink); font-size: clamp(38.4px, 6vw, 73.6px); margin: 0; }
.hu-h2 { font-family: var(--hu-display); font-weight: 800; letter-spacing: -.035em; line-height: 1.1; color: var(--hu-ink); font-size: clamp(30.4px, 4vw, 48px); margin: 0 0 14px; }
.hu-h3 { font-family: var(--hu-display); font-weight: 700; letter-spacing: -.02em; color: var(--hu-ink); font-size: 19.2px; margin: 0 0 8px; }
.hu-lead { font-size: clamp(16.8px, 1.6vw, 19.2px); line-height: 1.65; color: var(--hu-ink-2); }
.hu-sub { color: var(--hu-ink-3); font-size: 16.8px; line-height: 1.6; max-width: 640px; }
.hu-grad { background: linear-gradient(90deg, var(--hu-cyan-2) 0%, var(--hu-cyan) 55%, #36d6c3 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hu-grad-gold { background: linear-gradient(90deg, #f59e0b, var(--hu-gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hu-kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 "JetBrains Mono", ui-monospace, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--hu-cyan-2); margin-bottom: 18px; }
.hu-kicker::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--hu-cyan); box-shadow: 14px 0 0 -2px rgba(18, 194, 212, .35); margin-right: 10px; }
.hu-center { text-align: center; }
.hu-center .hu-sub { margin-left: auto; margin-right: auto; }

/* ── Hero ── */
.hu-hero { position: relative; padding: 96px 0 40px; text-align: center; }
.hu-mesh { position: absolute; inset: -140px -5% auto; height: 760px; pointer-events: none; overflow: hidden; z-index: 0; }
.hu-mesh span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: hu-mesh 24s ease-in-out infinite; }
.hu-mesh span:nth-child(1) { width: 520px; height: 520px; left: 4%; top: 10%; background: #a6edf4; }
.hu-mesh span:nth-child(2) { width: 440px; height: 440px; right: 6%; top: 0; background: #ffe2a8; animation-delay: -9s; opacity: .45; }
.hu-mesh span:nth-child(3) { width: 380px; height: 380px; left: 40%; top: 30%; background: #c3f3e9; animation-delay: -15s; opacity: .4; }
@keyframes hu-mesh { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.08); } }
.hu-hero > .hu-frame { position: relative; z-index: 1; }
.hu-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--hu-line); box-shadow: 0 6px 18px -12px rgba(11, 42, 48, .5); font-size: 14px; font-weight: 600; color: var(--hu-ink); margin-bottom: 30px; }
.hu-pill i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 12px; background: linear-gradient(135deg, var(--hu-teal), var(--hu-cyan)); }
.hu-hero .hu-lead { max-width: 760px; margin: 26px auto 0; }
.hu-cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
.hu-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin-top: 30px; font-size: 14px; color: var(--hu-ink-2); }
.hu-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hu-trust i { color: var(--hu-cyan-2); }

/* Hero visual: sender window -> lock -> recipient window */
.hu-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) auto minmax(0, 1fr); gap: 22px; align-items: center; max-width: 1040px; margin: 64px auto 0; text-align: left; }
@media (max-width: 899.98px) { .hu-stage { grid-template-columns: 1fr; } .hu-stage .hu-bridge { transform: rotate(90deg); justify-self: center; } }
.hu-win { background: #fff; border: 1px solid var(--hu-line); border-radius: 20px; box-shadow: 0 30px 60px -32px rgba(11, 42, 48, .45), 0 2px 4px rgba(11, 42, 48, .04); overflow: hidden; }
.hu-win-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--hu-line-2); background: #fbfdfd; }
.hu-win-bar span { width: 10px; height: 10px; border-radius: 50%; background: #e2e9ec; }
.hu-win-bar b { margin-left: 10px; font-size: 12.5px; font-weight: 600; color: var(--hu-ink-3); }
.hu-win-body { padding: 20px; }
.hu-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; margin-bottom: 9px; }
.hu-field { background: #f3f7f8; border-radius: 10px; padding: 10px 12px; font: 500 13px/1.2 "JetBrains Mono", ui-monospace, Consolas, monospace; color: var(--hu-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hu-field.is-mask { color: var(--hu-ink-3); letter-spacing: .12em; }
.hu-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.hu-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--hu-cyan-soft); color: var(--hu-teal); }
.hu-chip.is-gold { background: var(--hu-gold-soft); color: #9a5b00; }
.hu-link { margin-top: 14px; display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 10px; border: 1.5px dashed #9fdfe7; font: 500 12.5px/1 "JetBrains Mono", monospace; color: var(--hu-teal); }
.hu-link em { font-style: normal; color: var(--hu-gold); font-weight: 700; }
.hu-bridge { display: flex; align-items: center; gap: 10px; }
.hu-bridge i.line { width: 34px; border-top: 2px dashed #9fdfe7; }
.hu-tile { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(140deg, var(--hu-teal), #127784); color: var(--hu-gold); font-size: 22px; box-shadow: 0 14px 30px -14px rgba(15, 76, 85, .9); }
.hu-code { display: flex; gap: 8px; margin: 6px 0 16px; }
.hu-code span { width: 40px; height: 48px; border-radius: 10px; display: grid; place-items: center; background: #f3f7f8; border: 1px solid var(--hu-line); font: 700 20px/1 "JetBrains Mono", monospace; color: var(--hu-ink); }
.hu-code span.is-on { border-color: var(--hu-cyan); box-shadow: 0 0 0 3px rgba(18, 194, 212, .18); }
.hu-ok { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 10px; background: #e9f9ef; color: #17643a; font-size: 13.5px; font-weight: 600; }
.hu-muted-sm { font-size: 13px; color: var(--hu-ink-3); }

/* ── Cards ── */
.hu-grid { display: grid; gap: 18px; }
@media (min-width: 768px) { .hu-grid-2 { grid-template-columns: repeat(2, 1fr); } .hu-grid-3 { grid-template-columns: repeat(3, 1fr); } .hu-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .hu-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.hu-card { position: relative; background: #fff; border: 1px solid var(--hu-line); border-radius: 22px; box-shadow: 0 1px 2px rgba(11, 42, 48, .04), 0 16px 36px -26px rgba(11, 42, 48, .3); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.hu-card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(11, 42, 48, .04), 0 24px 44px -26px rgba(11, 42, 48, .4); }
.hu-art { position: relative; height: 176px; display: grid; place-items: center; padding: 20px; background: radial-gradient(120% 90% at 50% 0%, #eefcfd 0%, #f6fbfc 55%, #fff 100%); border-bottom: 1px dashed #d4e3e7; }
.hu-art.is-gold { background: radial-gradient(120% 90% at 50% 0%, #fff6e6 0%, #fffaf2 55%, #fff 100%); }
.hu-body { padding: 26px 26px 28px; }
.hu-body p { margin: 0; color: var(--hu-ink-2); line-height: 1.6; font-size: 15px; }
.hu-num { position: absolute; top: 16px; right: 18px; font: 800 13px/1 "JetBrains Mono", monospace; color: #b5c8ce; }
.hu-ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: #fff; border: 1px solid var(--hu-line); box-shadow: 0 12px 26px -16px rgba(11, 42, 48, .55); color: var(--hu-teal); font-size: 24px; }
.hu-ic.is-gold { color: #d48806; }
.hu-ic-row { display: flex; align-items: center; gap: 14px; }
.hu-ic-row .dash { width: 42px; border-top: 2px dashed #9fdfe7; }
.hu-mini { width: 100%; max-width: 280px; background: #fff; border: 1px solid var(--hu-line); border-radius: 14px; padding: 12px; box-shadow: 0 16px 30px -22px rgba(11, 42, 48, .55); }
.hu-mini .hu-row { grid-template-columns: 1fr 1.2fr; margin-bottom: 6px; }
.hu-mini .hu-field { font-size: 11.5px; padding: 7px 9px; }
.hu-file { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--hu-line); border-radius: 10px; background: #fff; font-size: 12.5px; color: var(--hu-ink); margin-bottom: 6px; }
.hu-file i { color: var(--hu-cyan-2); }
.hu-file span { margin-left: auto; color: var(--hu-ink-3); font-size: 11.5px; }
.hu-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 8px; }
.hu-bars span { height: 5px; border-radius: 3px; background: #2f9e5b; }

/* Feature list (security) */
.hu-split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 992px) { .hu-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; } }
.hu-feat { display: flex; gap: 16px; padding: 22px; background: #fff; border: 1px solid var(--hu-line); border-radius: 18px; }
.hu-feat .hu-ic { width: 46px; height: 46px; border-radius: 13px; font-size: 18px; flex-shrink: 0; box-shadow: none; background: var(--hu-cyan-soft); border-color: #c9f0f4; }
.hu-feat h4 { font-family: var(--hu-display); font-size: 16.32px; font-weight: 700; color: var(--hu-ink); margin: 2px 0 6px; letter-spacing: -.01em; }
.hu-feat p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--hu-ink-2); }

/* Layers diagram */
.hu-layers { margin-top: 30px; display: grid; gap: 10px; }
.hu-layer { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--hu-line); }
.hu-layer b { font-family: var(--hu-display); color: var(--hu-ink); font-size: 15px; }
.hu-layer small { display: block; color: var(--hu-ink-3); font-size: 13px; }
.hu-layer i { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.hu-layer:nth-child(1) i { background: linear-gradient(135deg, var(--hu-cyan-2), var(--hu-cyan)); }
.hu-layer:nth-child(2) i { background: linear-gradient(135deg, var(--hu-teal), #127784); }
.hu-layer:nth-child(3) i { background: linear-gradient(135deg, #e08a00, var(--hu-gold)); }

/* FAQ */
.hu-faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.hu-faq details { background: #fff; border: 1px solid var(--hu-line); border-radius: 16px; padding: 0 22px; transition: box-shadow .2s; }
.hu-faq details[open] { box-shadow: 0 16px 34px -26px rgba(11, 42, 48, .45); }
.hu-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 20px 0; font-family: var(--hu-display); font-weight: 700; color: var(--hu-ink); font-size: 16.32px; }
.hu-faq summary::-webkit-details-marker { display: none; }
.hu-faq summary::after { content: "\f067"; font: var(--fa-font-solid); margin-left: auto; color: var(--hu-cyan-2); transition: transform .2s; }
.hu-faq details[open] summary::after { transform: rotate(45deg); }
.hu-faq details p { margin: 0 0 20px; color: var(--hu-ink-2); line-height: 1.65; }

/* ── CTA band ── */
.hu-band { position: relative; overflow: hidden; border-radius: 32px; background: linear-gradient(120deg, #0a3138 0%, var(--hu-teal) 38%, #108494 72%, var(--hu-cyan) 100%); }
.hu-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 60% at 14% 18%, rgba(255, 255, 255, .16), transparent 70%), radial-gradient(35% 55% at 86% 28%, rgba(255, 214, 140, .28), transparent 70%); }
.hu-band-inner { position: relative; padding: 76px 24px 70px; text-align: center; }
.hu-band h2 { font-family: var(--hu-display); font-weight: 800; letter-spacing: -.045em; color: #fff; font-size: clamp(32px, 5vw, 57.6px); line-height: 1.05; margin: 0; }
.hu-band p { color: rgba(255, 255, 255, .85); font-size: 17.6px; max-width: 600px; margin: 16px auto 0; }
.hu-band .hu-cta-row { margin-top: 32px; }
.hu-float { position: absolute; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: #fff; font-size: 22px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 16px 30px -16px rgba(0, 0, 0, .4); backdrop-filter: blur(4px); animation: hu-float 7s ease-in-out infinite; }
.hu-float.f1 { left: 9%; top: 16%; transform: rotate(-12deg); }
.hu-float.f2 { left: 17%; top: 58%; transform: rotate(10deg); animation-delay: -2s; }
.hu-float.f3 { left: 4%; top: 64%; transform: rotate(-6deg); animation-delay: -4s; color: #ffd27a; }
.hu-float.f4 { right: 8%; top: 12%; transform: rotate(12deg); animation-delay: -1s; color: #ffd27a; }
.hu-float.f5 { right: 18%; top: 48%; transform: rotate(-8deg); animation-delay: -3s; }
.hu-float.f6 { right: 5%; top: 66%; transform: rotate(8deg); animation-delay: -5s; }
@keyframes hu-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 899.98px) { .hu-float { display: none; } }
.hu-ticker { position: relative; border-top: 1px solid rgba(255, 255, 255, .18); overflow: hidden; }
.hu-ticker-track { display: flex; gap: 46px; width: max-content; padding: 18px 0; animation: hu-ticker 38s linear infinite; }
.hu-ticker-track span { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 15px; white-space: nowrap; }
.hu-ticker-track i { color: #ffd27a; }
@keyframes hu-ticker { to { transform: translateX(-50%); } }

/* ── Footer ── */
.hu-footer { background: #fff; border-top: 1px solid var(--hu-line); margin-top: 40px; }
.hu-footer-top { display: grid; gap: 36px; padding: 56px 0 40px; }
@media (min-width: 768px) { .hu-footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.hu-footer h5 { font-size: 13px; font-weight: 600; color: var(--hu-ink-3); margin: 0 0 16px; }
.hu-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.hu-footer ul a { color: var(--hu-ink); font-size: 15px; }
.hu-footer ul a:hover { color: var(--hu-cyan-2); }
.hu-footer p { color: var(--hu-ink-3); font-size: 14.5px; line-height: 1.6; margin: 14px 0 18px; max-width: 320px; }
.hu-footer-bottom { border-top: 1px solid var(--hu-line); padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--hu-ink-3); }

/* Sign-in page inside the site shell */
.hu-auth { position: relative; min-height: calc(100vh - 68px - 230px); display: flex; align-items: center; justify-content: center; padding: 64px 16px; }
.hu-auth .hu-mesh { inset: -60px -5% auto; height: 560px; }
.hu-auth-card { position: relative; z-index: 1; width: 100%; max-width: 460px; background: #fff; border: 1px solid var(--hu-line); border-radius: 24px; box-shadow: 0 30px 60px -32px rgba(11, 42, 48, .45); padding: 40px 36px; }
@media (max-width: 575.98px) { .hu-auth-card { padding: 30px 22px; } }

@media (prefers-reduced-motion: reduce) { .hu-site *, .hu-site *::before, .hu-site *::after { animation: none !important; transition: none !important; } }
.hu-footer-logo { height: 36px; width: auto; display: block; }
.hu-site .form-control.form-control-solid { background: #f3f7f8; border-color: #f3f7f8; }
.hu-site .btn.btn-primary { border-radius: 999px; }
.hu-auth-card.hu-auth-card--wide { max-width: 580px; }
