/* Profiles Technology — marketing one-pager */

:root {
  --ink:        #15132b;
  --ink-soft:   #4b4866;
  --ink-mute:   #6f6c88;
  --bg:         #ffffff;
  --bg-alt:     #f7f6fb;
  --bg-tint:    #f1effa;
  --line:       #e6e3f0;
  --brand:      #4f46e5;
  --brand-dark: #4338ca;
  --brand-soft: #eef0ff;
  --accent:     #f0674a;
  --accent-soft:#fff0ec;
  --green:      #11845c;
  --green-soft: #e4f6ee;
  --radius:     16px;
  --radius-sm:  10px;
  --shadow-sm:  0 1px 2px rgba(21,19,43,.06), 0 4px 12px rgba(21,19,43,.05);
  --shadow-lg:  0 24px 60px -20px rgba(21,19,43,.28), 0 8px 24px rgba(21,19,43,.08);
  --wrap:       1140px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: clamp(2.5rem, 5.6vw, 4rem); letter-spacing: -.02em; }
h1 em { font-style: italic; color: var(--brand); }
h2 { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 2.6rem); letter-spacing: -.015em; }
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -.01em; }
h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); }
p  { margin: 0 0 1rem; }
a  { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; font-size: .95rem; line-height: 1;
  padding: .78rem 1.25rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-solid { background: var(--brand); color: #fff; box-shadow: 0 6px 18px -6px rgba(79,70,229,.6); }
.btn-solid:hover { background: var(--brand-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { color: var(--brand); }
.btn-lg { padding: .95rem 1.6rem; font-size: 1rem; }
.btn-block { display: flex; width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.is-stuck { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(21,19,43,.05); }
.nav-inner { display: flex; align-items: center; gap: 1.5rem; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 700; letter-spacing: -.02em; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-name { font-size: 1.05rem; }
.brand-dim { color: var(--ink-mute); font-weight: 500; }

.nav-links { display: flex; gap: 1.5rem; margin-left: auto; }
.nav-links a { color: var(--ink-soft); font-size: .93rem; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: .5rem; }

.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 42px;
  background: none; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; }

.mobile-menu { display: none; flex-direction: column; gap: .25rem; padding: .5rem 24px 1.25rem; border-top: 1px solid var(--line); background: #fff; }
.mobile-menu a { padding: .7rem 0; color: var(--ink); font-weight: 500; }
.mobile-menu .btn { margin-top: .5rem; color: #fff; }

/* ---------- hero ---------- */
.eyebrow {
  font-size: .78rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand); margin: 0 0 1rem;
}
.eyebrow.center, .center { text-align: center; }

.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 78% -10%, rgba(139,92,246,.16), transparent 62%),
    radial-gradient(700px 420px at 8% 8%, rgba(79,70,229,.10), transparent 60%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1rem; }
.hero-note { font-size: .88rem; color: var(--ink-mute); margin: 0; }

.hero-visual { position: relative; }
.glow {
  position: absolute; inset: 12% -8% -12% 6%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139,92,246,.30), transparent);
  filter: blur(18px);
}
.device {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.device-bar {
  display: flex; align-items: center; gap: .4rem;
  padding: .75rem 1rem; border-bottom: 1px solid var(--line); background: var(--bg-alt);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #d9d5e6; }
.device-title { margin-left: .75rem; font-size: .82rem; font-weight: 600; color: var(--ink-mute); }
.device-body { padding: 1rem; display: grid; gap: .85rem; background: var(--bg-alt); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1.1rem; box-shadow: var(--shadow-sm);
}
.card h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.card p { margin: 0; font-size: .9rem; color: var(--ink-mute); }
.card footer { display: flex; align-items: center; gap: .5rem; margin-top: .8rem; font-size: .8rem; color: var(--ink-mute); }
.card.announce { border-left: 3px solid var(--accent); }
.card.event    { border-left: 3px solid var(--brand); }
.card.digest   { background: var(--bg-tint); border-style: dashed; }
.card.digest p { font-size: .84rem; }

.tag {
  display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: .2rem .5rem; border-radius: 6px; margin-bottom: .55rem;
  background: var(--bg-tint); color: var(--ink-mute);
}
.tag-urgent { background: var(--accent-soft); color: #b93f27; }
.tag-event  { background: var(--brand-soft); color: var(--brand-dark); }

.avatars { display: inline-flex; }
.avatars i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; margin-right: -7px; background: linear-gradient(135deg, #8b5cf6, #4f46e5); }
.avatars i:nth-child(2) { background: linear-gradient(135deg, #f0674a, #f59e0b); }
.avatars i:nth-child(3) { background: linear-gradient(135deg, #11845c, #34d399); }
.avatars i:nth-child(4) { background: linear-gradient(135deg, #6366f1, #22d3ee); }

.rsvp { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .75rem; }
.pill { font-size: .78rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; background: var(--bg-tint); color: var(--ink-mute); }
.pill-yes { background: var(--green-soft); color: var(--green); }

/* ---------- strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--bg-alt); padding: 1.6rem 0; }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; justify-content: center; }
.strip-label { margin: 0; font-size: .85rem; color: var(--ink-mute); font-weight: 500; }
.strip-list { display: flex; flex-wrap: wrap; gap: .5rem .6rem; list-style: none; margin: 0; padding: 0; }
.strip-list li {
  font-size: .85rem; font-weight: 600; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .85rem;
}

/* ---------- sections ---------- */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section-title { max-width: 18em; }
.section-title.center { margin-inline: auto; text-align: center; }
.section-sub { max-width: 46em; font-size: 1.05rem; }
.section-sub.center { margin: 0 auto 2.75rem; text-align: center; }

/* problem */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.prob { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.prob-num { display: block; font-family: Fraunces, Georgia, serif; font-size: 1.5rem; color: var(--brand); opacity: .55; margin-bottom: .4rem; }
.prob p { margin: 0; font-size: .95rem; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.feature {
  padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #d8d3ea; }
.ficon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand); margin-bottom: 1rem;
}
.ficon svg { width: 22px; height: 22px; }
.feature p { margin: 0; font-size: .95rem; }

/* steps */
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 2.5rem 0 0; padding: 0; }
.steps li { position: relative; padding-top: 1.25rem; border-top: 2px solid var(--line); }
.steps li::after {
  content: ""; position: absolute; top: -2px; left: 0; width: 38%; height: 2px; background: var(--brand);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff;
  font-weight: 700; font-size: .9rem; margin-bottom: .85rem;
}
.steps p { margin: 0; font-size: .95rem; }

/* who */
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.who { padding: 1.35rem 1.5rem; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.who h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.who p { margin: 0; font-size: .93rem; }

/* quote */
.quote-section { background: var(--ink); color: #c9c5e0; }
.quote-section h2, .quote-section strong { color: #fff; }
.quote { max-width: 800px; margin: 0 auto; text-align: center; }
.quote blockquote {
  margin: 0 0 1.5rem; font-family: Fraunces, Georgia, serif; font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 1.85rem); line-height: 1.4; color: #fff; letter-spacing: -.01em;
}
.quote figcaption { display: inline-flex; align-items: center; gap: .8rem; text-align: left; }
.q-avatar {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #4f46e5); color: #fff; font-weight: 700; font-size: .9rem;
}
.quote figcaption strong { display: block; font-size: .95rem; }
.quote figcaption em { font-style: normal; font-size: .87rem; color: #9b96bb; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3.5rem; }
.stat { text-align: center; padding: 1.5rem 1rem; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); background: rgba(255,255,255,.04); }
.stat strong { display: block; font-family: Fraunces, Georgia, serif; font-size: 2.2rem; color: #fff; line-height: 1.1; }
.stat span { font-size: .9rem; color: #9b96bb; }
.stat-note { margin: 1.25rem 0 0; text-align: center; font-size: .8rem; color: #79749b; }

/* legal pages */
.legal { padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(3.5rem, 7vw, 5rem); }
.legal h1 { margin-bottom: .35rem; }
.legal-meta { color: var(--ink-mute); font-size: .9rem; margin-bottom: 2rem; }
.legal-lede { font-size: 1.05rem; color: var(--ink-soft); }
.legal h2 {
  font-family: Inter, sans-serif; font-size: 1.1rem; font-weight: 650; letter-spacing: -.005em;
  margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
}
.legal p, .legal li { font-size: .98rem; }
.legal ul { padding-left: 1.2rem; display: grid; gap: .4rem; margin-bottom: 1rem; }
.nav-cta-legal { margin-left: auto; }
.legal-page .nav { position: static; background: #fff; border-bottom: 1px solid var(--line); }

/* footer */
/* Slightly deeper than the testimonial band above it, so the seam reads. */
.footer { background: #0f0d1e; color: #9b96bb; padding: 3.5rem 0 1.5rem; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: 2.5rem; }
.footer-brand .brand-name { color: #fff; font-size: 1.1rem; }
.footer-brand .brand-dim { color: #9b96bb; }
.footer-brand p { margin: .75rem 0 0; font-size: .92rem; max-width: 28em; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer-cols div { display: grid; gap: .5rem; align-content: start; }
.footer-cols h4 { margin: 0 0 .25rem; color: #79749b; }
.footer-cols a { color: #c9c5e0; font-size: .92rem; }
.footer-cols a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
  font-size: .85rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #c9c5e0; }
.footer-bottom a:hover { color: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .cta-inner, .footer-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; }
  .features, .problem-grid, .who-grid, .steps, .stats { grid-template-columns: repeat(2, 1fr); }
  .steps li:last-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: flex; }
  .mobile-menu[hidden] { display: none; }
  body { font-size: 16px; }
  .features, .problem-grid, .who-grid, .steps, .stats, .footer-cols { grid-template-columns: 1fr; }
  .steps li:last-child { grid-column: auto; }
  .hero-actions .btn { flex: 1 1 auto; }
  .strip-inner { justify-content: flex-start; }
}
