/* Clarionex marketing site — shared stylesheet.
   Hand-written, dependency-free. Served same-origin from CloudFront and
   cached across pages. No third-party / render-blocking requests. */

:root {
  color-scheme: only light;
  --ink: #16131f;
  --muted: #55506a;
  --line: #e6e2f0;
  --brand: #7e14ff;
  --brand-ink: #5b0fbd;
  --wash: #f6f3ff;
  --bg: #ffffff;
  --maxw: 1000px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
a { color: var(--brand-ink); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Header */
header.site {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(6px);
}
.bar { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; text-decoration: none; color: var(--ink); }
.brand img { width: 26px; height: 25px; display: block; }
.bar nav { margin-left: auto; display: flex; align-items: center; gap: 10px; }

/* Buttons */
.btn {
  display: inline-block; padding: 10px 18px; border-radius: 8px;
  font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent;
  line-height: 1.2;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-ink); }

/* Hero (landing) */
.hero { padding: 84px 0 64px; border-top: 0; background:
    radial-gradient(900px 400px at 80% -10%, var(--wash), transparent 70%); }
.hero h1 { font-size: clamp(34px, 6vw, 56px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 20px; max-width: 16ch; }
.hero p.lead { font-size: clamp(17px, 2.4vw, 21px); color: var(--muted); max-width: 62ch; margin: 0 0 32px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections (landing) */
section { padding: 56px 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(24px, 3.4vw, 32px); letter-spacing: -.02em; margin: 0 0 8px; }
section .kicker { text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; font-weight: 700; color: var(--brand-ink); margin: 0 0 10px; }
section > .wrap > p.intro { color: var(--muted); font-size: 18px; max-width: 70ch; margin: 0 0 28px; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 24px; background: #fff; }
.card h3 { margin: 0 0 10px; font-size: 19px; letter-spacing: -.01em; }
.card p { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.card ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 15px; }
.card ul li { margin: 4px 0; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { border: 1px solid var(--line); border-radius: 12px; padding: 24px; background: var(--wash); }
.panel h3 { margin: 0 0 10px; font-size: 18px; }
.panel p { margin: 0; color: var(--muted); }

.aws { background: var(--wash); }
.audience ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.audience li { border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; background: #fff; font-weight: 600; }
.audience li span { display: block; font-weight: 400; color: var(--muted); font-size: 14px; margin-top: 4px; }

.cta { text-align: center; background:
    radial-gradient(700px 300px at 50% 120%, var(--wash), transparent 70%); }
.cta h2 { margin-bottom: 12px; }
.cta p { color: var(--muted); font-size: 18px; max-width: 60ch; margin: 0 auto 26px; }
.cta .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Contact page */
main.page { padding: 64px 0 40px; }
main.page h1 { font-size: clamp(30px, 5vw, 44px); letter-spacing: -.02em; margin: 0 0 12px; }
main.page .lead { color: var(--muted); font-size: 18px; max-width: 60ch; margin: 0 0 36px; }

.identity { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; max-width: 640px; }
.identity table { width: 100%; border-collapse: collapse; }
.identity th, .identity td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.identity tr:last-child th, .identity tr:last-child td { border-bottom: 0; }
.identity th { width: 40%; color: var(--muted); font-weight: 600; background: var(--wash); }

.contact-actions { margin: 32px 0; display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer.site .legal { line-height: 1.7; }
footer.site a { color: var(--muted); }
footer.site .links { margin-bottom: 14px; }
footer.site .links a { margin-right: 18px; color: var(--brand-ink); text-decoration: none; font-weight: 600; }

@media (max-width: 820px) {
  .pillars, .two, .audience ul { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 40px; }
}
