/* Demo site styling for optimizely12.connectingib.com — self-contained, no external assets.
   Keeps the connector test pages working while making the site read as a real marketing site. */

:root {
    --ink: #12161c;
    --muted: #5b6572;
    --line: #e6e9ee;
    --bg: #ffffff;
    --bg-soft: #f6f8fb;
    --accent: #1f6feb;
    --accent-ink: #0b3d91;
    --radius: 12px;
    --max: 1080px;
}

* { box-sizing: border-box; }

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(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* Header / nav */
.site-header {
    border-bottom: 1px solid var(--line);
    position: sticky; top: 0; z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: saturate(1.2) blur(6px);
}
.site-header .container { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; color: var(--ink); }
.brand .dot {
    width: 22px; height: 22px; border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffd15c, #ff8a3d 70%);
    box-shadow: 0 0 0 3px rgba(255, 138, 61, 0.15);
}
.nav { display: flex; gap: 1.25rem; margin-left: auto; }
.nav a { color: var(--muted); font-weight: 500; }
.nav a:hover { color: var(--ink); text-decoration: none; }

/* Hero */
.hero {
    background: linear-gradient(160deg, #eef4ff 0%, #f9fbff 55%, #fff 100%);
    border-bottom: 1px solid var(--line);
    padding: 4rem 0 3.5rem;
}
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin: 0 0 0.75rem; letter-spacing: -0.02em; }
.hero p.lede { font-size: 1.2rem; color: var(--muted); max-width: 40ch; margin: 0 0 1.5rem; }
.hero-img { margin-top: 2rem; }
.hero-img img { max-width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 20px 45px -25px rgba(12, 22, 40, 0.45); }

/* Buttons */
.btn {
    display: inline-block; padding: 0.7rem 1.15rem; border-radius: 10px;
    background: var(--accent); color: #fff; font-weight: 600;
}
.btn:hover { background: var(--accent-ink); text-decoration: none; }
.btn.secondary { background: #fff; color: var(--accent); border: 1px solid var(--line); }

/* Content sections */
main { padding: 2.5rem 0 3.5rem; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.5rem; letter-spacing: -0.01em; margin: 2rem 0 0.5rem; }
.prose img, .media-image { max-width: 100%; height: auto; border-radius: 8px; }

/* Content-area blocks stack with breathing room */
.content-area > * { margin-bottom: 1.5rem; }
.block { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.block h2, .block h3 { margin-top: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); padding: 2rem 0; font-size: 0.9rem; }
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
