/* Claridex marketing site -- shared styles. Brand: Clarity Indigo (#6225EC). */
:root {
  --indigo: #6225EC;
  --indigo-700: #4f1fc0;
  --indigo-50: #f1ecfe;
  --indigo-100: #e3d8fd;
  --accent: #6366f1;
  --ink: #161427;
  --body: #3b3a4d;
  --muted: #6f6e80;
  --line: #e8e6f0;
  --bg: #ffffff;
  --bg-soft: #faf9fe;
  --bg-tint: #f6f3fe;
  --success: #0f9d6e;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(22,20,39,.04), 0 8px 28px rgba(98,37,236,.07);
  --shadow-lg: 0 2px 4px rgba(22,20,39,.05), 0 16px 48px rgba(98,37,236,.12);
  --maxw: 1080px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow { color: var(--indigo); font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; padding: 13px 22px; border-radius: 12px; border: 1.5px solid transparent; cursor: pointer; transition: .15s ease; text-decoration: none; }
.btn-primary { background: var(--indigo); color: #fff; }
.btn-primary:hover { background: var(--indigo-700); text-decoration: none; transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--indigo); color: var(--indigo); text-decoration: none; }
.btn-lg { padding: 16px 28px; font-size: 17px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); font-size: 20px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--body); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--indigo); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
/* Mobile hamburger */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: rgba(255,255,255,.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); flex-direction: column; padding: 20px 24px; gap: 16px; z-index: 49; }
  .nav-links.show { display: flex; }
  .nav-cta .btn { font-size: 14px; padding: 10px 16px; }
}

/* Hero */
.hero { padding: 84px 0 72px; background: radial-gradient(1100px 500px at 50% -10%, var(--bg-tint), #fff 70%); text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 80%, rgba(98,37,236,.04) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(99,102,241,.05) 0%, transparent 50%); pointer-events: none; }
.hero h1 { font-size: 56px; max-width: 760px; margin: 18px auto 0; }
.hero .sub { font-size: 20px; color: var(--muted); max-width: 620px; margin: 22px auto 0; }
.hero-actions { display: flex; gap: 14px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
@media (max-width: 640px) { .hero h1 { font-size: 38px; } .hero { padding: 56px 0 48px; } }

/* Score badge visual -- app mockup */
.score-card { margin: 52px auto 0; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); text-align: left; transform: perspective(800px) rotateY(-2deg) rotateX(1deg); transition: transform .4s ease; }
.score-card:hover { transform: perspective(800px) rotateY(0) rotateX(0); }
.score-chrome { display: flex; align-items: center; gap: 6px; padding: 10px 16px; border-bottom: 1px solid var(--line); border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--bg-soft); }
.score-chrome i { width: 8px; height: 8px; border-radius: 50%; }
.score-chrome i:nth-child(1) { background: #ff5f57; }
.score-chrome i:nth-child(2) { background: #febc2e; }
.score-chrome i:nth-child(3) { background: #28c840; }
.score-chrome span { margin-left: auto; font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: .02em; }
.score-inner { padding: 26px 28px; }
.score-row { display: flex; align-items: center; justify-content: space-between; }
.score-num { font-size: 56px; font-weight: 800; color: var(--indigo); letter-spacing: -.03em; line-height: 1; }
.score-label { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--success); background: #e7f7f0; padding: 4px 12px; border-radius: 20px; }
.score-ring { width: 84px; height: 84px; border-radius: 50%; background: conic-gradient(var(--indigo) 0 73%, var(--indigo-50) 73% 100%); display: grid; place-items: center; }
.score-ring span { width: 64px; height: 64px; background: #fff; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--ink); font-size: 18px; }
.score-bars { margin-top: 22px; display: grid; gap: 14px; }
.bar-label { display: flex; justify-content: space-between; font-size: 14px; color: var(--body); margin-bottom: 6px; font-weight: 500; }
.bar { height: 8px; background: var(--indigo-50); border-radius: 6px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--indigo); border-radius: 6px; }

/* Sections */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head h2 { font-size: 38px; margin-top: 12px; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 14px; }
@media (max-width: 640px) { .section-head h2 { font-size: 30px; } section { padding: 56px 0; } }

/* Feature grid */
.grid { display: grid; gap: 22px; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cols-3, .cols-2 { grid-template-columns: 1fr; } }
.card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--indigo-100); }
.card .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--indigo-50); display: grid; place-items: center; margin-bottom: 16px; transition: background .2s ease; }
.card:hover .ico { background: var(--indigo-100); }
.card .ico svg { width: 24px; height: 24px; stroke: var(--indigo); fill: none; stroke-width: 2; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { font-size: 15.5px; color: var(--muted); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
@media (max-width: 820px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 14px; }
.step .n { width: 38px; height: 38px; border-radius: 10px; background: var(--indigo); color: #fff; font-weight: 700; display: grid; place-items: center; margin-bottom: 14px; position: relative; z-index: 1; }
.step:not(:last-child) .n::after { content: ""; position: absolute; top: 50%; left: 100%; width: calc(100% + 20px); height: 2px; background: linear-gradient(90deg, var(--indigo), var(--indigo-100)); z-index: 0; }
@media (max-width: 820px) { .step:not(:last-child) .n::after { display: none; } }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--muted); }

/* Pricing */
.tint { background: var(--bg-soft); }
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
@media (max-width: 920px) { .prices { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .prices { grid-template-columns: 1fr; } }
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price.featured { border: 2px solid transparent; background-origin: border-box; background-clip: padding-box, border-box; background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, var(--indigo), #9b5cf5); box-shadow: var(--shadow-lg); transform: scale(1.03); }
.price.featured:hover { transform: scale(1.03) translateY(-4px); }
.price .tier { font-weight: 700; color: var(--ink); font-size: 18px; }
.price .amt { font-size: 36px; font-weight: 800; color: var(--ink); margin: 10px 0 2px; letter-spacing: -.02em; }
.price .amt small { font-size: 15px; font-weight: 500; color: var(--muted); }
.price .cap { font-size: 14px; color: var(--muted); min-height: 40px; }
.price ul { list-style: none; margin: 18px 0 0; display: grid; gap: 10px; }
.price li { font-size: 14.5px; color: var(--body); display: flex; gap: 9px; align-items: flex-start; }
.price li svg { width: 17px; height: 17px; stroke: var(--success); fill: none; stroke-width: 2.4; flex: none; margin-top: 3px; }
.badge-pop { position: absolute; top: -12px; right: 20px; background: var(--indigo); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; }
.price .btn-price { display: block; text-align: center; margin-top: 20px; padding: 12px 20px; border-radius: 10px; font-weight: 600; font-size: 14.5px; border: 1.5px solid var(--line); color: var(--ink); background: #fff; cursor: pointer; transition: .15s ease; text-decoration: none; }
.price .btn-price:hover { border-color: var(--indigo); color: var(--indigo); text-decoration: none; }
.price.featured .btn-price { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.price.featured .btn-price:hover { background: var(--indigo-700); }
.price-note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 24px; }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 720px) { .trust { grid-template-columns: 1fr; } }
.trust .t { display: flex; gap: 16px; align-items: flex-start; }
.trust .t svg { width: 24px; height: 24px; stroke: var(--indigo); fill: none; stroke-width: 1.8; flex: none; padding: 10px; box-sizing: content-box; background: var(--indigo-50); border-radius: 12px; }
.trust h4 { font-size: 16px; margin-bottom: 4px; }
.trust p { font-size: 14.5px; color: var(--muted); }

/* CTA band */
.cta-band { background: linear-gradient(135deg, var(--indigo), #7b3cf0); border-radius: var(--radius-lg); padding: 56px 40px; text-align: center; color: #fff; }
.cta-band h2 { color: #fff; font-size: 34px; }
.cta-band p { color: rgba(255,255,255,.88); margin: 14px auto 28px; max-width: 520px; font-size: 18px; }
.cta-band .btn-primary { background: #fff; color: var(--indigo); }
.cta-band .btn-primary:hover { background: #f3eefe; }
@media (max-width: 560px) { .cta-band { padding: 40px 22px; } .cta-band h2 { font-size: 26px; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 40px; background: var(--bg-soft); }
.foot { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.foot .brand { margin-bottom: 12px; }
.foot p { color: var(--muted); font-size: 14px; max-width: 320px; }
.foot-links { display: flex; gap: 40px; flex-wrap: wrap; }
.foot-col h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 12px; }
.foot-col a { display: block; color: var(--body); font-size: 14.5px; margin-bottom: 9px; }
.foot-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Legal / doc pages */
.doc-wrap { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.doc-wrap h1 { font-size: 38px; margin-bottom: 8px; }
.doc-meta { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.doc-body h2 { font-size: 23px; margin: 36px 0 12px; }
.doc-body h3 { font-size: 18px; margin: 26px 0 8px; }
.doc-body p { margin: 12px 0; color: var(--body); }
.doc-body ul, .doc-body ol { margin: 12px 0 12px 22px; }
.doc-body li { margin: 7px 0; color: var(--body); }
.doc-body hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
.doc-body table { border-collapse: collapse; width: 100%; margin: 18px 0; font-size: 15px; }
.doc-body th, .doc-body td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: top; }
.doc-body th { background: var(--bg-tint); color: var(--ink); }
.doc-body code { background: var(--bg-tint); padding: 2px 6px; border-radius: 5px; font-size: .9em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.doc-faq h3 { color: var(--indigo); }

/* Scroll animations */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: .08s; }
.fade-up:nth-child(3) { transition-delay: .16s; }
.fade-up:nth-child(4) { transition-delay: .24s; }
.fade-up:nth-child(5) { transition-delay: .32s; }
.fade-up:nth-child(6) { transition-delay: .4s; }

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; color: var(--ink); transition: color .15s; }
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--indigo); }
.faq-q::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--muted); transition: transform .2s; flex: none; }
.faq-item[open] .faq-q::after { content: "-"; transform: rotate(0); }
.faq-a { padding: 0 0 20px; color: var(--body); font-size: 15.5px; line-height: 1.7; }
.faq-a p { margin: 0 0 10px; }
.faq-a p:last-child { margin: 0; }
.help-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.help-card { display: block; padding: 28px 24px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; transition: border-color .2s, box-shadow .2s, transform .2s; }
.help-card:hover { border-color: var(--indigo-100); box-shadow: var(--shadow); transform: translateY(-2px); }
.help-icon { width: 40px; height: 40px; margin-bottom: 14px; padding: 8px; background: var(--indigo-50); border-radius: 10px; box-sizing: content-box; }
.help-icon svg { width: 40px; height: 40px; stroke: var(--indigo); stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.help-card h3 { font-size: 18px; color: var(--ink); margin-bottom: 6px; }
.help-card p { font-size: 14.5px; color: var(--muted); line-height: 1.55; margin: 0; }
