/* connectwithavenue.com - dark "AI product" look: deep gradient, grid glow, glass cards. System fonts only. */
:root {
  --bg: #070a16;
  --bg-2: #0c1024;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-b: rgba(255, 255, 255, 0.12);
  --text: #eceefb;
  --muted: #aab1cc;
  --violet: #8b5cf6;
  --violet-d: #6d28d9;
  --cyan: #22d3ee;
  --link: #9fdcff;
  --ok: #6ee7b7;
  --err: #fca5a5;
  --r: 18px;
  --wrap: 1160px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
code { font-size: 0.9em; background: rgba(255, 255, 255, 0.08); padding: 0.1em 0.35em; border-radius: 6px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.narrow { max-width: 680px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; }
.skip:focus { left: 8px; }
.grad { background: linear-gradient(90deg, #c4b5fd, #67e8f9); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 20; background: rgba(7, 10, 22, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.head-row { display: flex; align-items: center; gap: 12px 24px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { color: var(--text); display: inline-flex; align-items: center; text-decoration: none; }
.brand svg { display: block; width: auto; height: 36px; }
.nav { display: flex; gap: 20px; order: 3; width: 100%; }
.nav a, .link-quiet { color: var(--muted); text-decoration: none; font-weight: 550; font-size: 0.95rem; padding: 6px 0; }
.nav a:hover, .link-quiet:hover { color: #fff; }
.head-cta { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.sm-only { display: none; }
@media (max-width: 479px) { .lg-only { display: none; } .sm-only { display: inline; } .head-cta { gap: 10px; } }
@media (min-width: 760px) {
  .nav { order: 0; width: auto; margin-left: 24px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent; background: linear-gradient(135deg, #7c3aed, #5b21b6); color: #fff; font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; box-shadow: 0 8px 30px -8px rgba(139, 92, 246, 0.65); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 12px 34px -8px rgba(139, 92, 246, 0.85); }
.btn-ghost { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.22); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); box-shadow: none; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.92rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: wait; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--link); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Background accents */
.hero, .page-hero, .auth-wrap { position: relative; overflow: hidden; isolation: isolate; }
.hero-grid { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 380px at 15% 10%, rgba(124, 58, 237, 0.35), transparent 70%),
    radial-gradient(520px 340px at 90% 30%, rgba(34, 211, 238, 0.18), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 44px 44px;
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
  mask-image: linear-gradient(to bottom, #000 40%, transparent); }

/* Hero */
.hero { padding: 56px 0 72px; background: linear-gradient(180deg, #0b0f26 0%, var(--bg) 100%); }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 10, 22, 0.55) 0%, rgba(7, 10, 22, 0.75) 60%, var(--bg) 100%); }
.hero-row { display: grid; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.88rem; font-weight: 600; color: #dcd6ff; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); } }
.lead { font-size: clamp(1.05rem, 2vw, 1.22rem); color: #cfd4ea; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
@media (min-width: 900px) {
  .hero { padding: 88px 0 104px; }
  .hero-row { grid-template-columns: 1.15fr 0.85fr; }
}

/* Phone mock-up (pure CSS) */
.phone-wrap { margin: 0 auto; text-align: center; }
.phone { position: relative; width: 270px; max-width: 100%; margin: 0 auto 12px; aspect-ratio: 9 / 18.5; border-radius: 42px; padding: 12px; background: linear-gradient(160deg, #2a2f4a, #0e1124); border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 40px 80px -30px rgba(124, 58, 237, 0.6), 0 0 0 6px rgba(255, 255, 255, 0.03); }
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 84px; height: 22px; border-radius: 12px; background: #05060d; z-index: 2; }
.phone-screen { height: 100%; border-radius: 32px; overflow: hidden; padding: 48px 14px 14px; text-align: left; background: radial-gradient(240px 200px at 20% 0%, rgba(124, 58, 237, 0.45), transparent), linear-gradient(180deg, #121633, #0a0d1f); display: flex; flex-direction: column; gap: 10px; font-size: 0.78rem; }
.ph-top { display: flex; align-items: center; gap: 8px; }
.ph-dot { width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, #a78bfa, #22d3ee); }
.ph-title { font-weight: 750; font-size: 0.98rem; }
.ph-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.ph-chips span { padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.12); color: #dfe3f7; }
.ph-card, .ph-profile { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 14px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1); }
.ph-card b, .ph-profile b { display: block; font-size: 0.82rem; }
.ph-card small, .ph-profile small { color: #b9c0dc; font-size: 0.72rem; }
.ph-thumb { flex: none; width: 42px; height: 42px; border-radius: 10px; }
.t1 { background: linear-gradient(135deg, #f59e0b, #7c3aed); }
.t2 { background: linear-gradient(135deg, #22d3ee, #6366f1); }
.t3 { background: linear-gradient(135deg, #34d399, #0891b2); }
.ph-profile { margin-top: auto; }
.ph-avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #e9d5ff 0 26%, transparent 27%), radial-gradient(circle at 50% 100%, #c4b5fd 0 46%, transparent 47%), #4c1d95; }
.ph-connect { text-align: center; padding: 10px; border-radius: 999px; font-weight: 750; color: #fff; background: linear-gradient(135deg, #7c3aed, #0e7490); }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 18%, var(--bg-2) 82%, var(--bg) 100%); }
.kicker { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 700; color: #c4b5fd; margin-bottom: 10px; }
.glass { background: var(--panel); border: 1px solid var(--panel-b); border-radius: var(--r); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.pad { padding: 28px; }
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.steps li { padding: 24px; position: relative; }
.steps p, .principles p, .feature p { color: var(--muted); margin: 0; }
.step-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; margin-bottom: 14px; font-weight: 800; background: linear-gradient(135deg, rgba(124, 58, 237, 0.5), rgba(14, 116, 144, 0.5)); border: 1px solid rgba(255, 255, 255, 0.2); }
.features { display: grid; gap: 20px; margin-top: 32px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.feature { overflow: hidden; display: flex; flex-direction: column; }
.feature img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.feature-body { padding: 20px 22px 24px; }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #a5f3fc; border: 1px solid rgba(103, 232, 249, 0.4); border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; }
.principles { display: grid; gap: 16px; margin-top: 28px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.principles > div { padding: 24px; }
.cta-band { text-align: center; padding: 48px 24px; border-radius: 26px; background: radial-gradient(500px 220px at 50% 0%, rgba(124, 58, 237, 0.45), transparent), linear-gradient(135deg, #15193a, #0c1a2b); border: 1px solid rgba(255, 255, 255, 0.14); }
.cta-band p { color: #cfd4ea; max-width: 560px; margin: 0 auto 22px; }

/* Inner pages */
.page-hero + .section { padding-top: 24px; }
.page-hero { padding: 64px 0 24px; background: linear-gradient(180deg, #0b0f26 0%, var(--bg) 100%); }
.two-col { display: grid; gap: 32px; align-items: start; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.prose-wrap { display: grid; gap: 28px; align-items: start; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .prose-wrap { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } .prose-wrap.single { grid-template-columns: minmax(0, 860px); } }
.prose h2 { font-size: 1.35rem; margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose p, .prose li { color: #d3d7ec; }
.about-fig, .side-fig { margin: 0; overflow: hidden; }
.side-fig img, .about-fig img { width: 100%; }
.table-wrap { overflow-x: auto; margin-bottom: 1em; }
table { border-collapse: collapse; width: 100%; font-size: 0.93rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); vertical-align: top; }
th { color: #fff; }
@media (max-width: 599px) {
  table, tbody, tr, td { display: block; }
  thead { position: absolute; left: -10000px; }
  tr { padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
  td { border: 0; padding: 3px 0; }
  td::before { content: attr(data-label) ": "; font-weight: 700; color: #fff; }
}

/* Forms and status card */
.auth-wrap { padding: 56px 0 80px; min-height: 70vh; }
.auth-row { display: flex; justify-content: center; }
.auth-card { width: 100%; max-width: 460px; }
.auth-card h1, .status-card h1 { font-size: clamp(1.7rem, 4vw, 2.2rem); }
.form { display: grid; gap: 16px; margin: 18px 0; }
.field { display: grid; gap: 6px; }
.field label, .check label { font-weight: 600; font-size: 0.95rem; }
input[type="text"], input[type="email"], input[type="password"], textarea { width: 100%; font: inherit; color: var(--text); background: rgba(5, 7, 18, 0.65); border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 12px; padding: 12px 14px; min-height: 48px; }
input:focus-visible, textarea:focus-visible { border-color: var(--cyan); outline: 2px solid var(--cyan); outline-offset: 1px; }
textarea { resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--violet); flex: none; }
.form-msg { margin: 0; min-height: 1.5em; font-weight: 600; }
.form-msg.is-error { color: var(--err); }
.form-msg.is-ok { color: var(--ok); }
[aria-invalid="true"] { border-color: var(--err) !important; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status-card { width: 100%; max-width: 560px; text-align: center; }
.status-card p { color: #d3d7ec; font-size: 1.08rem; }
.status-icon { display: block; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; background: radial-gradient(circle at 50% 50%, #fff 0 14%, transparent 15%), conic-gradient(from 0deg, #7c3aed, #22d3ee, #7c3aed); box-shadow: 0 0 40px -6px rgba(139, 92, 246, 0.9); }

/* Footer */
.site-foot { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 48px 0 28px; margin-top: 24px; background: #05070f; }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 1fr 1.2fr; } }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; align-content: start; }
.foot-links a, .foot-links .link-btn { color: var(--muted); text-decoration: none; font-size: 0.95rem; padding: 4px 0; }
.foot-links a:hover, .foot-links .link-btn:hover { color: #fff; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.06); }

/* Consent banner */
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; max-width: 760px; margin: 0 auto; padding: 18px 20px; border-radius: 18px; background: rgba(14, 17, 38, 0.96); border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7); display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 320px; font-size: 0.92rem; color: #d6daf0; }
.consent-actions { display: flex; gap: 10px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
