/* Brio Studio product page. Shares the Think & Apply Solutions design tokens. */
:root {
  color-scheme: light;
  --bg: #f4f6fb; --surface: #ffffff; --surface-2: #eef1f8; --border: rgba(19, 32, 74, .10);
  --text: #13204a; --muted: #56618a; --violet: #4f46e5; --teal: #0d9488; --coral: #e5533d;
  --grad: linear-gradient(110deg, var(--violet), var(--teal));
  --shadow: 0 1px 2px rgba(19, 32, 74, .05), 0 12px 32px -12px rgba(19, 32, 74, .18);
  --shadow-lg: 0 40px 80px -36px rgba(79, 70, 229, .40);
  --radius: 22px; --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Inter", system-ui, -apple-system, sans-serif; --display: "Space Grotesk", var(--font);
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(900px 520px at 85% -10%, rgba(79, 70, 229, .12), transparent 60%), radial-gradient(700px 480px at -10% 30%, rgba(13, 148, 136, .10), transparent 60%); }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.025em; line-height: 1.1; margin: 0; }
a { color: var(--violet); }
code { font-family: var(--mono); font-size: .86em; background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; }
.muted { color: var(--muted); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); margin: 0 0 .7rem; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 640px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 1rem var(--display); text-decoration: none; border-radius: 999px; padding: 13px 24px; transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.btn i { font-style: normal; transition: transform .2s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn-primary { background: var(--text); color: #fff; box-shadow: 0 12px 28px -12px rgba(19, 32, 74, .6); }
.btn-primary:hover { transform: translateY(-2px); background: #1b2c62; }
.btn-ghost { color: var(--text); border: 1px solid var(--border); background: var(--surface); }
.btn-ghost:hover { border-color: var(--violet); }
.btn-sm { padding: 9px 18px; font-size: .92rem; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.6rem; }

/* header */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px clamp(16px, 4vw, 48px);
  background: rgba(244, 246, 251, .82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 700 1.05rem var(--display); flex: none; }
.brand-logo { display: block; height: 44px; width: auto; }
.brand-logo-sm { height: 40px; }
@media (max-width: 600px) { .brand-logo { height: 38px; } }
.links { display: flex; align-items: center; gap: 22px; }
.links a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
.links a:not(.btn):hover { color: var(--text); }
.menu { display: none; background: none; border: 0; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 6px; padding: 8px; }
.menu span { display: block; height: 2px; background: var(--text); border-radius: 2px; }

main > section { padding: clamp(56px, 8vw, 100px) clamp(16px, 4vw, 48px); max-width: 1240px; margin: 0 auto; }
.head { text-align: center; margin: 0 auto 3rem; max-width: 720px; }
.head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.head .lead { margin: 1rem auto 0; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(28px, 4vw, 60px); align-items: center; padding-top: clamp(40px, 6vw, 80px) !important; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; margin: 0 0 1.4rem; }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(13, 148, 136, .15); }
.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); margin-bottom: 1.2rem; text-wrap: balance; }
.trust { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.trust li::before { content: "✓"; color: var(--teal); font-weight: 700; margin-right: 6px; }

/* screenshots in a browser frame */
.shot { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.shot .bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); font-size: .78rem; color: var(--muted); }
.shot .bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .shot .bar i:nth-child(2) { background: #febc2e; } .shot .bar i:nth-child(3) { background: #28c840; }
.shot .bar span { margin-left: 10px; font-weight: 600; }
.shot.dark { background: #0d0f1a; border-color: #23263a; } .shot.dark .bar { background: #161a2c; border-color: #23263a; color: #a4a9c6; }
.shot img { display: block; width: 100%; height: auto; }
.hero-shot { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); transition: transform .6s var(--ease); }
.hero-shot:hover { transform: none; }

/* pillars */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 0 !important; }
.pillars div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.pillars span { font-size: 1.6rem; }
.pillars b { display: block; font: 600 1.15rem var(--display); margin: .5rem 0 .3rem; }
.pillars p { margin: 0; color: var(--muted); font-size: .95rem; }

/* features */
.feature { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 70px); align-items: center; margin-bottom: clamp(56px, 8vw, 110px); }
.feature.flip .text { order: 2; }
.feature .num { font: 700 .9rem var(--display); color: var(--violet); background: rgba(79, 70, 229, .08); border-radius: 999px; padding: 4px 12px; }
.feature h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin: 1rem 0 .8rem; }
.feature p { color: var(--muted); font-size: 1.05rem; }
.feature p b { color: var(--text); }
.feature ul { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 8px; }
.feature li { padding-left: 28px; position: relative; }
.feature li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(13, 148, 136, .12); color: var(--teal); font-size: .75rem; font-weight: 700; display: grid; place-items: center; margin-top: 3px; }

/* privacy band */
.privacy { display: flex; gap: 28px; align-items: center; background: var(--text); color: #fff; border-radius: 32px; padding: clamp(32px, 5vw, 56px) !important; margin-bottom: 20px; max-width: 1144px !important; }
.privacy .lock { font-size: 2.6rem; width: 88px; height: 88px; border-radius: 26px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; flex-shrink: 0; }
.privacy h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .6rem; }
.privacy p { color: #c9cfe6; margin: 0; font-size: 1.05rem; max-width: 760px; }
.privacy b { color: #fff; }

/* steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; font: 700 1.1rem var(--display); margin-bottom: 14px; }
.steps b { font: 600 1.2rem var(--display); }
.steps p { color: var(--muted); margin: .4rem 0 0; }

/* get started */
.start { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; }
.start .card { background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: clamp(26px, 3.5vw, 40px); box-shadow: var(--shadow); }
.start h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: .8rem; }
.start .card > p { color: var(--muted); }
.req h3 { font-size: 1.3rem; margin-bottom: .8rem; }
.req ul { padding-left: 1.1rem; margin: 0 0 1rem; display: grid; gap: 6px; color: var(--muted); }
.req b { color: var(--text); }

/* faq */
.faq { max-width: 860px !important; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; margin-bottom: 10px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font: 600 1.08rem var(--display); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--violet); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

.final { text-align: center; padding-bottom: clamp(70px, 9vw, 120px) !important; }
.final h2 { font-size: clamp(2rem, 4vw, 3rem); }
.final .ctas { justify-content: center; }

.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 28px clamp(16px, 4vw, 48px); border-top: 1px solid var(--border); background: var(--surface); }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--text); }
.foot p { margin: 0; color: var(--muted); font-size: .88rem; width: 100%; }

@media (max-width: 960px) {
  .hero, .feature, .start { grid-template-columns: 1fr; }
  .feature.flip .text { order: 0; }
  .hero-shot { transform: none; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .menu { display: flex; }
  .links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 8px 16px 16px; display: none; }
  .links.open { display: flex; }
  .links a:not(.btn) { padding: 12px 4px; border-bottom: 1px solid var(--border); }
  .links .btn { margin-top: 12px; justify-content: center; }
  .privacy { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } html { scroll-behavior: auto; } }
