/* Bridge for Grok Bot: the www.qovery.com design layer (tokens, type, buttons,
   cards, dark enterprise hero, closing CTA), as used on the hackathon site. */
@font-face { font-family: "ReplicaLL"; src: url(/assets/fonts/ReplicaLL-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "ReplicaLL"; src: url(/assets/fonts/ReplicaLL-Light.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Geist"; src: url(/assets/fonts/Geist-Variable.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/assets/fonts/GeistMono-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/assets/fonts/GeistMono-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Roboto Mono"; src: url(/assets/fonts/roboto-mono-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --w-ink: #1c162f; --w-secondary: #323037; --w-tertiary: #615f68; --w-subtle: #b8b6bf;
  --w-border: #ebebeb; --w-muted: #f5f5f7; --w-tint: #f7f4ff; --w-tint-border: #e8e0ff;
  --w-brand: #642dff; --w-brand-300: #9b7aff; --w-brand-100: #ddd0ff; --w-deep: #370087; --w-on-dark-brand: #e6e1f8;
  --w-shadow-xs: 0 1px 1px 0 rgba(10,13,24,.04);
  --w-shadow-md: 0 4px 8px -2px rgba(10,13,24,.10), 0 0 0 1px rgba(10,13,24,.04);
  --q-ink: #151B2B; --q-coral: #FE7F7F;
  --positive-2: #f4fbf6; --positive-9: #30a66d; --positive-11: #218358;
  --warning-2: #fff8eb; --warning-6: #f5d48f; --warning-11: #8a5a00;
  --negative-2: #fff6f5; --negative-6: #fdbeaf; --negative-11: #d13415;
  --f-head: "ReplicaLL", "Geist", Arial, sans-serif;
  --f-body: "Geist", Helvetica, Arial, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, monospace;
  --f-code: "Roboto Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: #fff; color: var(--w-ink); font: 400 16px/1.5 var(--f-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--w-brand); }
code { font: 400 .92em var(--f-code); background: var(--w-muted); border-radius: 4px; padding: 1px 5px; overflow-wrap: anywhere; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 1024px) { .wrap { padding: 0 40px; } }
section { padding: 80px 0; }
@media (max-width: 640px) { section { padding: 64px 0; } }
.tint { background: var(--w-tint); }
.muted-bg { background: var(--w-muted); }

.h1, .h2, .h3 { font-family: var(--f-head); font-weight: 400; letter-spacing: 0; margin: 0; }
.h1 { font-size: 40px; line-height: 44px; }
.h2 { font-size: 28px; line-height: 32px; }
.h3 { font: 500 16px/24px var(--f-body); }
@media (min-width: 1024px) { .h1 { font-size: 60px; line-height: 68px; } .h2 { font-size: 36px; line-height: 40px; } }
.hl { color: var(--w-brand); }
.sub { font: 400 18px/28px var(--f-body); color: var(--w-secondary); max-width: 700px; margin: 16px 0 0; }
@media (min-width: 1024px) { .sub { font-size: 20px; line-height: 32px; } }
.head .sub { font-size: 16px; line-height: 24px; }
.head.center { margin: 0 auto; text-align: center; max-width: 680px; }
.eyebrow { display: inline-block; font: 500 13px var(--f-mono); color: var(--w-brand); margin-bottom: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 14px; border: 1px solid transparent; border-radius: 8px; font: 500 16px var(--f-body); text-decoration: none; cursor: pointer; transition: border-color .12s, background .12s, transform .12s; }
.btn:active { transform: scale(.97); }
.btn-purple { color: #fff; background: radial-gradient(1396.7% 225.37% at 42.52% 62.5%, var(--w-brand) 0%, var(--w-brand-300) 100%);
  box-shadow: 0 4px 6px 0 color-mix(in srgb, var(--w-brand) 20%, transparent), inset 0 1px 1px 0 rgba(255,255,255,.2), inset 0 -1px 3px 0 rgba(0,0,0,.15); }
.btn-purple:hover { background: var(--w-brand); }
.btn-outline { color: var(--w-ink); background: radial-gradient(50.29% 50% at 50% 50%, var(--w-muted) 0%, #fff 100%); border-color: color-mix(in srgb, var(--w-ink) 16%, transparent); box-shadow: 0 2px 2px 0 color-mix(in srgb, var(--w-ink) 4%, transparent); }
.btn-outline:hover { background: var(--w-muted); }
.btn-ghost-dark { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.14); }
.btn-ghost-dark:hover { border-color: rgba(255,255,255,.3); }
.btn-sm { white-space: nowrap; height: 36px; padding: 0 10px; font-size: 14px; }
.btn-danger { color: var(--negative-11); background: #fff; border-color: var(--negative-6); }
.btn-danger:hover { background: var(--negative-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Nav */
nav.top { position: absolute; top: 0; left: 0; right: 0; z-index: 10; }
nav.top.light { position: static; border-bottom: 1px solid var(--w-border); }
nav.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; max-width: 1320px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font: 500 16px var(--f-body); }
.brand img { height: 22px; width: auto; }
.brand .sep { width: 1px; height: 18px; background: currentColor; opacity: .35; }
nav.light .brand { color: var(--w-ink); }
nav .links { display: flex; align-items: center; gap: 24px; }
nav .links a:not(.btn) { color: #fff; text-decoration: none; font-size: 14px; opacity: .82; }
nav .links a:not(.btn):hover { opacity: 1; }
nav.light .links a:not(.btn) { color: var(--w-tertiary); }
@media (max-width: 820px) { nav .links a:not(.btn), nav .links > span { display: none; } }
@media (max-width: 480px) { .brand { gap: 8px; font-size: 14px; } .brand img { height: 18px; } }

/* Dark hero */
.w-hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--w-deep); padding: 128px 0 80px; }
@media (min-width: 1024px) { .w-hero { padding-top: 148px; } }
.w-hero > img.bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.w-hero .h1 { max-width: 820px; }
.w-hero .hl { color: var(--w-brand-100); }
.w-hero .sub { color: #fff; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1100px) { .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.badge { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 10px; border-radius: 99px; font: 500 12px var(--f-mono); letter-spacing: .04em; text-transform: uppercase;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; margin-bottom: 20px; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: #ffcf5c; }
.w-facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin-top: 48px; border-top: 1px solid rgba(255,255,255,.14); max-width: 720px; }
.w-facts > div { padding: 20px 32px 0 0; margin-right: 32px; border-right: 1px solid rgba(255,255,255,.14); }
.w-facts > div:last-child { border-right: 0; margin-right: 0; }
.w-facts b { display: block; font: 400 24px/32px var(--f-head); }
.w-facts span { font-size: 14px; color: var(--w-on-dark-brand); }
@media (max-width: 640px) { .w-facts { grid-template-columns: 1fr; } .w-facts > div { border-right: 0; margin: 0; padding-right: 0; } }

/* Chat mock: two assistants and the bridge between them */
.chat { background: #fff; color: var(--w-ink); border-radius: 12px; box-shadow: 0 24px 48px -12px rgba(10,13,24,.35); overflow: hidden; }
.chat-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--w-border); font: 500 13px var(--f-mono); color: var(--w-tertiary); }
.chat-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--positive-9); }
.chat-body { padding: 18px 16px; display: grid; gap: 12px; }
.msg { max-width: 88%; padding: 10px 12px; border-radius: 10px; font-size: 14px; line-height: 20px; }
.msg small { display: block; font: 500 11px var(--f-mono); color: var(--w-tertiary); margin-bottom: 4px; }
.msg.out { justify-self: end; background: var(--w-tint); border: 1px solid var(--w-tint-border); }
.msg.in { background: var(--w-muted); }
.msg .scan { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font: 500 11px var(--f-mono); color: var(--positive-11); }
.msg .scan::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--positive-9); }
.relay { text-align: center; font: 500 11px var(--f-mono); color: var(--w-subtle); }

/* Cards */
.card { background: #fff; border: 1px solid var(--w-border); border-radius: 12px; padding: 24px; box-shadow: var(--w-shadow-xs); }
.card p { color: var(--w-tertiary); font-size: 16px; line-height: 24px; margin: 8px 0 0; }
.feature-grid { display: grid; gap: 20px; margin-top: 40px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature { background: var(--w-muted); border: 0; box-shadow: none; padding: 24px; }
.feature .ex { margin-top: 16px; padding: 10px 12px; border-radius: 8px; background: #fff; box-shadow: var(--w-shadow-md); font: 400 13px/20px var(--f-code); color: var(--w-secondary); }
.icon { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: #fff; box-shadow: var(--w-shadow-md); color: var(--w-brand); margin-bottom: 16px; }
.icon svg { width: 18px; height: 18px; }

.band { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .band { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.band > * { min-width: 0; }
.bullets { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.bullets li { display: flex; gap: 12px; align-items: flex-start; color: var(--w-secondary); }
.bullets li::before { content: ""; flex: none; width: 7px; height: 8px; margin-top: 8px; background: url(/assets/img/support-bullet.svg) center / contain no-repeat; }
.bullets li b { color: var(--w-ink); font-weight: 500; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: 14px; color: var(--w-secondary); }
.steps li::before { content: counter(s); width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--w-tint); color: var(--w-brand); font: 500 13px var(--f-mono); }
.steps b { color: var(--w-ink); font-weight: 500; }

.term { border-radius: 12px; background: var(--q-ink); box-shadow: 0 16px 32px -8px rgba(10,13,24,.14); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.08); }
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.term-bar span { margin-left: 8px; font: 400 12px var(--f-code); color: rgba(255,255,255,.5); }
.term pre { margin: 0; padding: 18px 20px 22px; font: 400 13px/1.7 var(--f-code); color: #e6e7ff; white-space: pre-wrap; overflow-wrap: anywhere; }
.term .c { color: var(--w-brand-300); } .term .d { color: rgba(255,255,255,.45); } .term .ok { color: #3dd68c; } .term .w { color: #ffcf5c; }

/* Disclaimer */
.disclaimer { border: 1px solid var(--warning-6); background: var(--warning-2); border-radius: 12px; padding: 28px; }
.disclaimer .h2 { color: var(--w-ink); }
.disclaimer .tagline { font: 500 13px var(--f-mono); color: var(--warning-11); text-transform: uppercase; letter-spacing: .04em; }
.cols { display: grid; gap: 32px; margin-top: 24px; }
@media (min-width: 900px) { .cols { grid-template-columns: 1fr 1fr; } }
.cols h3 { font: 500 16px/24px var(--f-body); margin: 0; }

/* FAQ */
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.faq details { border-bottom: 1px solid var(--w-border); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 0; font: 500 16px/24px var(--f-body); color: var(--w-tertiary); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 20px/24px var(--f-body); }
.faq details[open] summary { color: var(--w-ink); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding-bottom: 16px; font-size: 14px; line-height: 20px; color: var(--w-tertiary); max-width: 680px; }

/* Closing CTA */
.w-closing { position: relative; overflow: hidden; background: var(--w-deep); color: #fff; padding: 96px 0; }
.w-closing > img { position: absolute; max-width: none; pointer-events: none; transform: rotate(180deg); }
.w-closing > img.l { top: -25.764vw; left: -12.083vw; width: 33.267vw; height: 37.986vw; }
.w-closing > img.r { top: 6.389vw; right: -17.326vw; width: 39.897vw; height: 45.556vw; }
.w-closing .wrap { position: relative; z-index: 1; }
.w-card { margin: 0 auto; max-width: 600px; background: #fff; color: var(--w-ink); border: 1px solid var(--w-border); border-radius: 4px; padding: 40px; }
.w-card .sub { font-size: 16px; line-height: 24px; color: var(--w-tertiary); margin-top: 12px; }

footer.site { border-top: 1px solid var(--w-border); padding: 32px 0 48px; color: var(--w-tertiary); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
footer.site .brand { color: var(--w-ink); }
footer.site a { color: var(--w-tertiary); }
footer.site .links { display: flex; flex-wrap: wrap; gap: 20px; }

/* Signed-in app */
.page { padding: 40px 0 64px; }
.page .card + .card { margin-top: 20px; }
.page .card h2 { font: 400 24px/32px var(--f-head); margin: 0 0 4px; }
.page .card .hint { color: var(--w-tertiary); font-size: 14px; margin: 0 0 16px; }
.app-grid { display: grid; gap: 20px; }
@media (min-width: 1024px) { .app-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: start; } }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--w-border); vertical-align: top; }
th { color: var(--w-tertiary); font: 500 12px var(--f-mono); }
.scroll { overflow-x: auto; }
input[type=text], input[type=email], select { width: 100%; height: 40px; background: #fff; border: 1px solid #dad7df; color: var(--w-ink); border-radius: 8px; padding: 0 12px; font: 400 14px var(--f-body); }
input:focus, select:focus { outline: 2px solid var(--w-brand-100); border-color: var(--w-brand); }
label { display: block; font-size: 13px; color: var(--w-tertiary); }
label.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--w-secondary); margin: 10px 0; }
.form-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-top: 16px; }
.form-row > label { flex: 1; min-width: 180px; }
.form-row > label span { display: block; margin-bottom: 6px; }
form.inline { display: inline; margin: 0; }
.flash { border: 1px solid var(--w-tint-border); background: var(--w-tint); border-radius: 8px; padding: 12px 16px; margin-bottom: 20px; }
.newkey { border: 1px solid #acdcc0; background: var(--positive-2); border-radius: 8px; padding: 16px; margin-bottom: 16px; }
.newkey pre { background: #fff; border: 1px solid var(--w-border); border-radius: 6px; padding: 10px 12px; font: 400 13px var(--f-code); white-space: pre-wrap; word-break: break-all; margin: 8px 0; }
.pill { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font: 500 12px var(--f-mono); background: var(--w-muted); color: var(--w-tertiary); }
.pill.high { background: var(--negative-2); color: var(--negative-11); }
.pill.medium { background: var(--warning-2); color: var(--warning-11); }
.muted { color: var(--w-tertiary); }
.mono { font-family: var(--f-code); font-size: 13px; }
.stat { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 8px; }
.stat div b { display: block; font: 400 28px/36px var(--f-head); }
.stat div span { font-size: 13px; color: var(--w-tertiary); }

/* Grok Bot focus */
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.badge.for img { width: 16px; height: 16px; }
.hero-visual { display: grid; gap: 16px; }
.pair { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 8px; }
.pair .link { align-self: center; }
.pair .bot { display: grid; justify-items: center; text-align: center; gap: 2px; background: #fff; color: var(--w-ink); border-radius: 12px; padding: 16px 10px; box-shadow: 0 12px 24px -8px rgba(10,13,24,.3); }
.pair .bot img { width: 40px; height: 40px; margin-bottom: 8px; }
.pair .bot b { font: 500 15px/20px var(--f-body); }
.pair .bot span { font-size: 13px; color: var(--w-tertiary); }
.pair .link { display: flex; align-items: center; gap: 6px; }
.pair .link span { width: 22px; height: 2px; background: repeating-linear-gradient(90deg, var(--w-brand-100) 0 4px, transparent 4px 8px); }
.pair .link img { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.msg .scan { display: flex; width: fit-content; }
.w-card .card-mark { width: 40px; height: 40px; margin-bottom: 16px; }

/* Grok Bot app mock (desktop window + phone inbox) */
.gb { --gb-bg: #111113; --gb-side: #161618; --gb-bubble: #232326; --gb-line: rgba(255,255,255,.08); --gb-text: #ececef; --gb-dim: #9b9ba3; --gb-orange: #d9570f;
  background: var(--gb-bg); color: var(--gb-text); font: 400 14px/1.45 var(--f-body); border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 60px -12px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08); }
.gb-win { display: grid; grid-template-columns: 210px minmax(0, 1fr); height: 560px; }
.gb-side { background: var(--gb-side); border-right: 1px solid var(--gb-line); padding: 12px 8px; display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.gb-lights { display: flex; gap: 7px; padding: 2px 6px 14px; }
.gb-lights i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.gb-lights i:nth-child(2) { background: #febc2e; } .gb-lights i:nth-child(3) { background: #28c840; }
.gb-org { font-size: 12px; color: var(--gb-dim); padding: 4px 8px 8px; }
.gb-item { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 7px 8px; border-radius: 10px; }
.gb-item.on { background: #262629; }
.gb-item b { display: block; font-weight: 500; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gb-item small { display: block; font-size: 11.5px; color: var(--gb-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gb-item small.wait { color: #f08a3c; }
.gb-dot { width: 7px; height: 7px; border-radius: 50%; background: #3b82f6; }
.gb-dot.o { background: #f08a3c; }
.gb-main { display: flex; flex-direction: column; min-width: 0; }
.gb-head { display: flex; justify-content: center; padding: 10px; }
.gb-pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 99px; background: #1d1d20; border: 1px solid var(--gb-line); font-weight: 500; font-size: 13px; }
.gb-feed { flex: 1; padding: 4px 16px 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; justify-content: flex-end; }
.gb-b { max-width: 88%; padding: 9px 12px; border-radius: 14px; background: var(--gb-bubble); font-size: 13px; line-height: 1.45; }
.gb-b.me { align-self: flex-end; background: var(--gb-orange); color: #fff; }
.gb-b u { text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 2px; }
.gb-via { display: flex; align-items: center; gap: 6px; margin-top: 7px; font-size: 11.5px; color: var(--gb-dim); }
.gb-via img { width: 14px; height: 14px; }
.gb-via em { font-style: normal; color: #4ade80; }
.gb-card { padding: 10px 12px; border-radius: 14px; background: #1b1b1e; border: 1px solid var(--gb-line); font-size: 13px; }
.gb-card p { margin: 0 0 8px; color: var(--gb-dim); font-weight: 500; }
.gb-card span { display: flex; align-items: center; gap: 8px; }
.gb-card span::before { content: "A"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; background: var(--gb-orange); color: #fff; font-size: 11px; }
.gb-input { margin: 0 12px 12px; padding: 10px 14px; border-radius: 99px; background: #1b1b1e; border: 1px solid var(--gb-line); color: var(--gb-dim); font-size: 13px; }
@media (max-width: 640px) { .gb-win { grid-template-columns: 1fr; height: auto; } .gb-side { display: none; } .gb-feed { justify-content: flex-start; } }

/* Avatars: coloured shapes with two eyes */
.av { --c: #fff; position: relative; width: 30px; height: 30px; background: var(--c); flex: none; border-radius: 46% 54% 48% 52% / 52% 46% 54% 48%; }
.av::before, .av::after { content: ""; position: absolute; top: 34%; width: 3.5px; height: 8px; border-radius: 3px; background: #141414; transform: rotate(-16deg); }
.av::before { left: 37%; } .av::after { left: 56%; }
.av.pill { height: 22px; margin: 4px 0; border-radius: 99px; } .av.pill::before, .av.pill::after { top: 26%; }
.av.sq { border-radius: 8px; transform: rotate(-14deg) scale(.9); }
.av.drop { border-radius: 50% 50% 50% 50% / 42% 42% 58% 58%; transform: rotate(-12deg); }
.av.cloud { border-radius: 40% 60% 45% 55% / 50% 40% 60% 50%; box-shadow: -4px 3px 0 -1px var(--c), 4px -3px 0 -1px var(--c); }
.av.star { clip-path: polygon(50% 0, 63% 25%, 92% 15%, 80% 45%, 100% 62%, 70% 70%, 66% 100%, 45% 80%, 20% 95%, 25% 65%, 0 52%, 24% 38%, 15% 10%, 40% 22%); border-radius: 0; }
.av.sm { width: 20px; height: 20px; } .av.sm::before, .av.sm::after { width: 2.5px; height: 6px; }
.av.lg { width: 46px; height: 46px; } .av.lg::before, .av.lg::after { width: 5px; height: 12px; }
.av.lg.pill { height: 34px; margin: 6px 0; }

.gb-phone { max-width: 380px; margin: 0 auto; border-radius: 40px; padding: 18px 16px 20px; border: 6px solid #2a2a2e; }
.gb-status { display: flex; justify-content: space-between; padding: 0 10px 14px; font-weight: 600; font-size: 14px; }
.gb-phone .gb-org { font-size: 14px; padding: 6px 4px 10px; }
.gb-row { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 4px; }
.gb-row .top { display: flex; justify-content: space-between; gap: 8px; }
.gb-row b { font-weight: 500; font-size: 15px; }
.gb-row time { font-size: 12px; color: var(--gb-dim); }
.gb-row small { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gb-dim); white-space: nowrap; overflow: hidden; }
.gb-row small span { overflow: hidden; text-overflow: ellipsis; }
.gb-row small .gb-dot { margin-left: auto; flex: none; }
.gb-row small svg { width: 14px; height: 14px; flex: none; }
.gb-row.bridge small { color: #c9b8ff; }
.gb-row .tag { font: 500 10.5px var(--f-mono); color: #c9b8ff; border: 1px solid rgba(155,122,255,.4); border-radius: 5px; padding: 0 5px; margin-left: 6px; }
@media (min-width: 1100px) { .hero-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); } }
.gb-via { flex-wrap: wrap; } .gb-via em { white-space: nowrap; }

/* Live demo: two Grok Bot accounts and the bridge (pattern of the qovery.com home showcase) */
.demo-section { padding-bottom: 104px; }
.demo { position: relative; margin-top: 40px; }
.demo-stage { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 168px minmax(0, 1fr); gap: 16px; align-items: stretch;
  padding: 32px 32px 48px; border-radius: 16px; background: var(--w-deep); box-shadow: 0 24px 48px -16px rgba(28,22,47,.35); }
.demo-stage > img.bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.demo-win { display: flex; flex-direction: column; height: 540px; min-width: 0; }
.demo-titlebar { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--gb-line); }
.demo-titlebar .gb-lights { padding: 0; }
.demo-account { display: flex; flex-direction: column; min-width: 0; font-size: 14px; line-height: 18px; }
.demo-account b { font-weight: 500; }
.demo-account span { color: var(--gb-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-win.compromised .demo-account span { color: #f87171; }
.demo-win .gb-feed { justify-content: flex-end; gap: 8px; }
.gb-b.recv { background: #1e1a2e; border: 1px solid rgba(155,122,255,.35); }
.gb-b.recv.risky { background: #2a1616; border-color: rgba(248,113,113,.45); }
.gb-from { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; color: #c9b8ff; font-size: 13px; }
.gb-via em.bad { color: #f87171; white-space: normal; }
.gb-answer { display: flex; align-items: center; gap: 8px; color: var(--gb-dim); }
.gb-answer b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; background: #3a3a3f; color: #fff; font: 500 11px var(--f-body); transition: background .2s; }
.gb-card.answered .gb-answer { color: var(--gb-text); }
.gb-card.answered .gb-answer b { background: var(--gb-orange); }
.gb-card span::before { content: none; }
.gb-typing { display: inline-flex; gap: 4px; align-self: flex-start; padding: 12px 14px; }
.gb-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--gb-dim); animation: gb-dot 1s infinite ease-in-out; }
.gb-typing i:nth-child(2) { animation-delay: .15s; } .gb-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes gb-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-2px); } }
.enter { animation: gb-in .22s ease-out both; }
@keyframes gb-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.demo-bridge { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #fff; text-align: center; }
.demo-bridge > b { font: 500 14px var(--f-body); }
.demo-line { position: relative; width: 100%; height: 44px; display: grid; place-items: center; }
.demo-line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: repeating-linear-gradient(90deg, var(--w-brand-100) 0 5px, transparent 5px 10px); }
.demo-line img { position: relative; width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.3); }
.demo-bridge.cut .demo-line::before { background: repeating-linear-gradient(90deg, #f87171 0 5px, transparent 5px 10px); opacity: .6; }
.demo-packet { position: absolute; top: 50%; left: 0; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px 3px rgba(155,122,255,.9); opacity: 0; }
.demo-packet.to-r { animation: pkt-r .9s ease-in-out both; }
.demo-packet.to-l { animation: pkt-l .9s ease-in-out both; }
@keyframes pkt-r { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 10px); opacity: 0; } }
@keyframes pkt-l { 0% { left: calc(100% - 10px); opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 0; opacity: 0; } }
.demo-log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; width: 100%; min-height: 128px; }
.demo-log li { padding: 4px 8px; border-radius: 6px; background: rgba(255,255,255,.1); font: 500 12px/16px var(--f-body); color: var(--w-on-dark-brand); }
.demo-log li.ok { color: #86efac; } .demo-log li.bad { color: #fca5a5; }

/* Scenario tabs, as on the qovery.com home showcase */
.demo-tabs { position: absolute; left: 50%; bottom: -20px; transform: translateX(-50%); z-index: 2; display: flex; gap: 4px; padding: 4px; width: max-content;
  border: 1px solid var(--w-border); border-radius: 8px; background: #fff; box-shadow: 0 12px 24px -8px rgba(28,22,47,.18); }
.demo-tab { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border: 0; border-radius: 6px;
  background: transparent; color: var(--w-tertiary); font: 500 14px var(--f-body); cursor: pointer; transition: background .2s, color .2s; }
.demo-tab:hover, .demo-tab:focus-visible { background: color-mix(in srgb, var(--w-brand) 10%, transparent); }
.demo-tab:focus-visible { outline: 2px solid var(--w-brand); outline-offset: 2px; }
.demo-tab.on { color: var(--w-brand); background: color-mix(in srgb, var(--w-brand) 4%, transparent); }
.demo-tab-in { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; }
.demo-tab-in svg { width: 14px; height: 14px; flex: none; }
.demo-fill { display: none; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: color-mix(in srgb, var(--w-brand) 10%, transparent);
  transform-origin: left; animation: demo-fill linear both; }
@keyframes demo-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.demo-stepper { display: none; align-items: center; justify-content: space-between; margin-top: 8px; }
.demo-stepper-current { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: 6px;
  background: color-mix(in srgb, var(--w-brand) 4%, transparent); color: var(--w-brand); font: 500 14px var(--f-body); }
.demo-arrows { display: flex; gap: 8px; }
.demo-arrows button { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--w-border); border-radius: 6px; background: #fff; color: var(--w-ink); cursor: pointer; }
.demo-arrows button:hover, .demo-arrows button:focus-visible { background: var(--w-muted); }
.demo-arrows svg { width: 16px; height: 16px; }

@media (max-width: 960px) {
  .demo-stage { grid-template-columns: 1fr; padding: 16px; gap: 12px; }
  .demo-win { height: 400px; }
  .demo-bridge { flex-direction: row; flex-wrap: wrap; }
  .demo-line { width: 120px; }
  .demo-log { min-height: 0; flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .demo-tabs { display: none; }
  .demo-stepper { display: flex; }
  .demo-section { padding-bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) { .enter, .gb-typing i { animation: none; } }

.gb-scan { margin-top: 7px; font-size: 13px; color: var(--gb-dim); }
.gb-scan em { font-style: normal; color: #4ade80; }
.gb-scan em.bad { color: #f87171; }
.gb-b, .gb-card { font-size: 14px; }
.gb-via { flex-wrap: nowrap; min-width: 0; }
.gb-via img { flex: none; }

/* Product-page sections (qovery.com/product/*): highlight rows, feature grid, dark band, option cards */
.hl-sec { padding: 40px 0; }
.hl-sec:first-of-type { padding-top: 80px; }
.hlrow { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) {
  .hlrow { grid-template-columns: minmax(0, 701fr) minmax(0, 465fr); gap: 50px; }
  .hlrow.rev { grid-template-columns: minmax(0, 465fr) minmax(0, 701fr); }
  .hlrow.rev .hl-visual { order: 2; }
}
.hl-visual { min-width: 0; display: grid; place-items: center; padding: 40px 32px; border-radius: 12px; background: url(/assets/img/pastel.jpg) center / cover no-repeat; min-height: 420px; }
@media (min-width: 1024px) { .hl-visual { aspect-ratio: 701 / 480; padding: 48px; } }
.hl-visual .gb-phone { width: 100%; max-width: 330px; }
.hl-visual .gb-phone .gb-row:nth-child(n+7) { display: none; }
.hl-visual .gb-phone .gb-row { padding: 7px 4px; }
.hl-visual .gb-phone .gb-status { padding-bottom: 6px; }
.hl-text { min-width: 0; }
.hl-text .body { margin: 16px 0 0; font-size: 16px; line-height: 24px; color: var(--w-secondary); }
.ibullets { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; }
.ibullets li { display: flex; align-items: flex-start; gap: 8px; font: 500 16px/24px var(--f-body); color: var(--w-ink); }
.ibullets svg { flex: none; width: 16px; height: 16px; margin-top: 4px; color: var(--w-ink); }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 32px; font: 500 16px var(--f-body); color: var(--w-brand); text-decoration: none; }
.more svg { width: 16px; height: 16px; transition: transform .15s; }
.more:hover svg { transform: translateX(2px); }

/* Light console-style card inside a visual */
.ui-card { width: 100%; max-width: 560px; background: #fff; border: 1px solid var(--w-border); border-radius: 10px; box-shadow: 0 16px 32px -12px rgba(28,22,47,.18); font-size: 14px; overflow: hidden; }
.ui-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--w-border); }
.ui-head b { font-weight: 500; }
.ui-head.sub { background: var(--w-muted); padding: 8px 18px; font-size: 12px; color: var(--w-tertiary); }
.ui-head.sub b { font: 500 12px var(--f-mono); }
.ui-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--w-border); }
.ui-row:last-child { border-bottom: 0; }
.ui-row > div:first-child { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ui-row b { font-weight: 500; }
.ui-row span { color: var(--w-tertiary); }
.ui-actions { display: flex; gap: 4px; flex: none; }
.ui-btn { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 6px; border: 1px solid #dad7df; font-weight: 500; color: var(--w-ink) !important; background: #fff; }
.ui-btn.primary { background: var(--w-brand); border-color: var(--w-brand); color: #fff !important; }
.ui-btn.danger { color: var(--negative-11) !important; border-color: var(--negative-6); }
.ui-badge { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 6px; font: 500 12px var(--f-body); background: var(--w-tint); color: var(--w-brand); }
.ui-badge.plain { background: var(--w-muted); color: var(--w-tertiary); }
.ui-foot { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--w-muted); color: var(--w-tertiary); border-top: 1px solid var(--w-border); }
.ui-toggle { width: 28px; height: 16px; border-radius: 99px; background: #dad7df; position: relative; flex: none; }
.ui-toggle::after { content: ""; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.ui-card.dark { background: #1c162f; border-color: #2d2545; color: #ececef; }
.ui-card.dark .ui-head, .ui-card.dark .ui-row { border-color: rgba(255,255,255,.08); }
.ui-card.dark .ui-row span { color: #a7a3b8; }
.ui-card.dark code { background: none; padding: 0; color: #ececef; font-size: 13px; }
.ui-seg { display: flex; gap: 2px; padding: 2px; border-radius: 8px; background: rgba(255,255,255,.06); }
.ui-seg i { font-style: normal; padding: 4px 10px; border-radius: 6px; color: #a7a3b8 !important; }
.ui-seg i.on { background: rgba(255,255,255,.12); color: #fff !important; }
.st { flex: none; padding: 3px 8px; border-radius: 6px; font: 500 12px var(--f-body); white-space: nowrap; }
.st.ok { background: rgba(48,166,109,.18); color: #4ade80 !important; }
.st.warn { background: rgba(245,180,40,.16); color: #fcd34d !important; }
.st.bad { background: rgba(209,52,21,.2); color: #fca5a5 !important; }
.life { list-style: none; margin: 0; padding: 8px 18px; }
.life li { position: relative; display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 10px 0 10px 26px; }
.life li::before { content: ""; position: absolute; left: 0; top: 13px; width: 12px; height: 12px; border-radius: 50%; background: var(--positive-9); box-shadow: 0 0 0 3px var(--positive-2); }
.life li:not(:last-child)::after { content: ""; position: absolute; left: 5px; top: 28px; bottom: -12px; width: 2px; background: var(--w-border); }
.life li.gone::before { background: var(--w-subtle); box-shadow: 0 0 0 3px var(--w-muted); }
.life b { font-weight: 500; }
.life span { grid-column: 1; color: var(--w-tertiary); }
.life time { grid-row: 1; grid-column: 2; font: 400 13px var(--f-code); color: var(--w-tertiary); }

/* Feature grid (centred lilac cards, like "Production-grade by default") */
.fgrid { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 640px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .fgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fcard { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 16px; border-radius: 8px; border: 1px solid var(--w-tint-border); background: var(--w-tint); }
.tint .fcard { background: #fff; }
.fcard svg { width: 28px; height: 28px; color: var(--w-brand); }
.fcard h3 { margin: 16px 0 0; font: 500 16px/24px var(--f-body); }
.fcard p { margin: 4px 0 0; font-size: 16px; line-height: 24px; color: var(--w-tertiary); }

/* Dark band (like "The future of infrastructure is agentic") */
.dark-band { position: relative; isolation: isolate; background: var(--w-deep) url(/assets/img/hero-enterprise.png) center / cover; color: #fff; padding: 96px 0; }
.dark-band .h2 { color: #fff; }
.dark-band .eyebrow { color: var(--w-brand-100); }
.dark-band .steps li { color: var(--w-on-dark-brand); }
.dark-band .steps b { color: #fff; }
.dark-band .steps li::before { background: rgba(255,255,255,.12); color: #fff; }
.dark-band code { background: rgba(255,255,255,.12); color: #fff; }
.dark-band .term { box-shadow: 0 24px 48px -12px rgba(0,0,0,.5); }

/* Option cards (like "As an Agent Task / From your own coding agent") */
.ocards { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 900px) { .ocards { grid-template-columns: 1fr 1fr; } }
.ocards .card { display: flex; flex-direction: column; padding: 24px; }
.ohead { display: flex; align-items: center; gap: 8px; }
.ohead svg { width: 20px; height: 20px; color: var(--w-brand); }
.ohead h3 { margin: 0; font: 500 18px/24px var(--f-body); }
.ocards .card p { flex: 1; }
.ocards .more { margin-top: 20px; }
#use-cases { padding-top: 64px; }
@media (max-width: 640px) { .hl-visual { padding: 24px 12px; min-height: 0; } .ui-row { padding: 12px 14px; } .ui-head { padding: 12px 14px; } }

/* Signed-in: Bot cards */
.bot-card h3 { margin: 20px 0 8px; font: 500 14px var(--f-body); }
.bot-head { display: flex; align-items: center; gap: 12px; }
.bot-head h2 { margin: 0 !important; font: 500 18px/24px var(--f-body) !important; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.page .card .term pre { font-size: 12.5px; }
.linkbtn { border: 0; background: none; padding: 0 0 0 4px; color: var(--w-brand); font: inherit; cursor: pointer; text-decoration: underline; }
.ui-note { font-style: italic; }

/* Mobile fixes: compact labels never wrap; the sub-header is not the page's .sub paragraph */
.ui-badge, .st, .ui-btn, .pill { white-space: nowrap; flex: none; }
.ui-head.sub { margin: 0; max-width: none; font-size: 12px; line-height: 16px; }
@media (max-width: 640px) {
  .ui-card { font-size: 13px; }
  .ui-row { gap: 10px; }
  .ui-actions { flex-direction: column; align-items: stretch; }
  .ui-seg i { padding: 4px 8px; }
}
.term pre.rules { white-space: pre-wrap; }
.term pre.rules { text-indent: 0; }
@media (max-width: 640px) { .term pre { font-size: 12px; padding: 14px 14px 16px; } }

/* Security team section */
#trust { padding-top: 40px; }
.trust-grid { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 1024px) { .trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.trust-grid .card h3 { margin: 0 0 12px; font: 500 16px/24px var(--f-body); }
.ttable td { padding: 10px 0; font-size: 14px; line-height: 20px; color: var(--w-secondary); }
.ttable td:first-child { width: 34%; padding-right: 12px; font-weight: 500; color: var(--w-ink); }
.tnote { margin: 12px 0 0 !important; font-size: 14px !important; line-height: 20px !important; }
.trust-grid .bullets li { font-size: 14px; line-height: 20px; }
.mono-ct { font-family: var(--f-code); font-size: 12px; letter-spacing: .02em; word-break: break-all; }

/* Story, comparison, how it works, pricing, security hero */
nav .links a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.page-hero { padding-bottom: 72px; }
.page-hero .h1, .page-hero .sub { max-width: 760px; }
#story { padding-top: 96px; }
.story { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .story { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; } }
.story-people { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.story-people figure { margin: 0; }
.story-people img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: var(--w-tint); box-shadow: var(--w-shadow-md); }
.story-people figure:nth-child(2) { margin-top: 40px; }
.story-people figcaption { margin-top: 12px; }
.story-people figcaption b { display: block; font: 500 16px/24px var(--f-body); }
.story-people figcaption span { font-size: 14px; color: var(--w-tertiary); }
.story-text p { margin: 16px 0 0; font-size: 17px; line-height: 28px; color: var(--w-secondary); }
.story-text .h2 { margin-top: 4px; }
.compare { display: grid; gap: 20px; margin-top: 56px; }
@media (min-width: 900px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare-col { border: 1px solid var(--w-border); border-radius: 12px; padding: 24px; background: #fff; display: flex; flex-direction: column; }
.compare-col.good { border-color: var(--w-tint-border); background: var(--w-tint); }
.compare-label { font: 500 13px var(--f-mono); color: var(--w-tertiary); }
.compare-col.good .compare-label { color: var(--w-brand); }
.compare-col ol { margin: 16px 0 0; padding-left: 20px; display: grid; gap: 8px; color: var(--w-secondary); }
.compare-col ol b { color: var(--w-ink); font-weight: 500; }
.compare-note { margin: 12px 0 0; color: var(--w-tertiary); font-size: 15px; }
.compare-count { margin-top: auto; padding-top: 20px; font: 400 24px/32px var(--f-head); color: var(--w-ink); }
.compare-col.good .compare-count { color: var(--w-brand); }
.how { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 20px; }
@media (min-width: 900px) { .how { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.how li { background: #fff; border: 1px solid var(--w-border); border-radius: 12px; padding: 24px; }
.how-n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: var(--w-tint); color: var(--w-brand); font: 500 14px var(--f-mono); }
.how h3 { margin: 16px 0 0; font: 500 16px/24px var(--f-body); }
.how p { margin: 6px 0 0; color: var(--w-tertiary); line-height: 24px; }
.safe-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.safe-list li { color: var(--w-on-dark-brand); font-size: 17px; line-height: 26px; padding-left: 18px; position: relative; }
.safe-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 7px; height: 8px; background: url(/assets/img/support-bullet.svg) center / contain no-repeat; filter: brightness(2.2); }
.safe-list b { color: #fff; font-weight: 500; }
.plans { display: grid; gap: 20px; max-width: 980px; margin: 0 auto; }
@media (min-width: 900px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { border: 1px solid var(--w-border); border-radius: 12px; padding: 28px; background: #fff; display: flex; flex-direction: column; box-shadow: var(--w-shadow-xs); }
.plan.featured { border-color: var(--w-brand-100); box-shadow: 0 16px 32px -16px rgba(100,45,255,.35); }
.plan-head { display: flex; align-items: center; justify-content: space-between; }
.plan-head h2 { margin: 0; font: 500 20px/28px var(--f-body); }
.plan-price { margin: 16px 0 0; display: flex; align-items: baseline; gap: 10px; }
.plan-price b { font: 400 48px/1 var(--f-head); }
.plan-price span { color: var(--w-tertiary); }
.plan-desc { margin: 12px 0 0; color: var(--w-secondary); }
.plan .bullets { margin-top: 20px; }
.plan .actions { margin-top: auto; padding-top: 24px; }
footer.site .fine { flex-basis: 100%; margin: 8px 0 0; font-size: 13px; color: var(--w-tertiary); }
@media (min-width: 1100px) { .fgrid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Get started */
.start { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1024px) { .start { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px; } }
.start-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.start-steps > li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 24px; border: 1px solid var(--w-border); border-radius: 12px; background: #fff; box-shadow: var(--w-shadow-xs); }
.start-steps h2 { margin: 2px 0 0; font: 500 18px/28px var(--f-body); }
.start-steps p { margin: 6px 0 0; color: var(--w-secondary); line-height: 24px; }
.copybox { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 10px 10px 10px 14px; border: 1px solid var(--w-tint-border); border-radius: 10px; background: var(--w-tint); }
.copybox code { flex: 1; background: none; padding: 0; font-size: 14px; color: var(--w-ink); overflow-wrap: anywhere; }
.copybox.tall { flex-direction: column; align-items: stretch; }
.copybox pre { margin: 0; white-space: pre-wrap; font: 400 13.5px/22px var(--f-code); color: var(--w-ink); }
.copybox.tall .btn { align-self: flex-start; }
.start-side { display: grid; gap: 16px; }
.start-side .card h3 { margin: 0; font: 500 16px/24px var(--f-body); }
.start-side .card p { margin: 6px 0 0; font-size: 15px; }
.start-side .more { margin-top: 12px; font-size: 15px; }

/* Light site (Nov 2026): one light look everywhere, the Bridge mark in the header. */
nav.top, nav.top.light { position: sticky; top: 0; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--w-border); }
.brand { color: var(--w-ink); gap: 9px; font-size: 17px; }
.brand img { height: 30px; width: 30px; }
.brand .for { color: var(--w-tertiary); font-weight: 400; }
@media (max-width: 480px) { .brand .for { display: none; } }
nav .links a:not(.btn) { color: var(--w-tertiary); opacity: 1; } nav .links a:not(.btn):hover, nav .links a[aria-current] { color: var(--w-ink); }
.w-hero { color: var(--w-ink); background: linear-gradient(#fff, var(--w-tint)); border-bottom: 1px solid var(--w-tint-border); padding: 72px 0 64px; }
@media (min-width: 1024px) { .w-hero { padding-top: 88px; } }
.w-hero > img.bg { display: none; }
.w-hero .hl { color: var(--w-brand); } .w-hero .sub { color: var(--w-secondary); }
.badge { font: 500 13px var(--f-body); letter-spacing: 0; text-transform: none; background: #fff; border-color: var(--w-tint-border); color: var(--w-deep); }
.badge i { background: var(--w-brand); }
.w-closing { background: radial-gradient(60% 90% at 50% 100%, var(--w-brand-100), #fff 70%); color: var(--w-ink); }
.w-closing > img { display: none; }
.w-card { border-radius: 20px; box-shadow: 0 24px 50px -20px rgba(55,0,135,.3); text-align: center; }
.w-card .card-mark { width: 56px; height: 56px; margin: 0 auto 16px; }
.w-card .actions { justify-content: center; }
.inv-note { margin: 24px 0 0; padding: 12px 16px; max-width: 640px; border-left: 3px solid var(--w-brand-100); background: #fff; border-radius: 0 10px 10px 0; color: var(--w-secondary); }
.inv-fine { margin: 16px 0 0; font-size: 14px; color: var(--w-tertiary); }
.oauth { max-width: 720px; }
.oauth-form fieldset { border: 1px solid var(--w-border); border-radius: 14px; background: #fff; padding: 16px; margin: 28px 0 0; display: grid; gap: 8px; }
.oauth-form legend { padding: 0 6px; font-weight: 500; }
.oauth-opt { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.oauth-opt:hover { background: var(--w-muted); }
.oauth-opt b { display: block; font: 500 15px var(--f-body); } .oauth-opt small { color: var(--w-tertiary); }
.oauth-new { display: grid; gap: 10px; padding: 4px 12px 8px 40px; }
.oauth-new label { display: grid; gap: 4px; font-size: 14px; color: var(--w-secondary); }
.oauth-new input { height: 40px; padding: 0 12px; border: 1px solid var(--w-border); border-radius: 8px; font: 400 15px var(--f-body); }
.oauth-problem { margin: 16px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--negative-2); color: var(--negative-11); }
.start-fallback summary { list-style: none; cursor: pointer; } .start-fallback summary::-webkit-details-marker { display: none; }
.start-fallback summary h3::after { content: " +"; color: var(--w-tertiary); font-weight: 400; } .start-fallback[open] summary h3::after { content: " −"; }
.start-fallback .copybox pre { font-size: 12.5px; line-height: 20px; }

/* Security page mocks: body font for sub-headings, a real segmented control */
.ui-head.sub b { font: 500 13px var(--f-body); color: var(--w-secondary); }
.ui-actions { gap: 6px; }
.ui-actions .ui-btn { justify-content: center; min-width: 76px; font: 500 13px var(--f-body); }
.ui-choice { padding-top: 14px; padding-bottom: 14px; }
.ui-seg.light { flex-wrap: wrap; background: var(--w-muted); border: 1px solid var(--w-border); }
.ui-seg.light i { color: var(--w-tertiary) !important; font-size: 13px; }
.ui-seg.light i.on { background: #fff; color: var(--w-ink) !important; box-shadow: var(--w-shadow-md); }
@media (max-width: 640px) { .ui-choice .ui-seg.light { display: grid; grid-template-columns: 1fr; width: 100%; } .ui-seg.light i { padding: 8px 12px; } .ui-head.sub { padding-left: 14px; } }
