/* dbCove home, light theme. Loaded after home2.css: same page, same content; only the colours turn light,
   plus a few small touches taken from bytebase.com (square-ish buttons, hairline cards, a "new" pill, small eyebrows, a dotted stage). */
:root {
  color-scheme: light;
  --bg: #FFFFFF; --s1: #F7F8F8; --s2: #F1F3F2; --s3: #EAEDEC; --s4: #E2E6E4; --s5: #D6DBD9; --scrim: #fff;
  --ink: #0D1211; --ink2: #4A5350; --ink3: #737D7A; --ink4: #A1A9A6;
  --line: rgba(13,18,17,.1); --line2: rgba(13,18,17,.2);
  --acc-hi: #36A87A; --acc-text: #14774F; --acc-ground: #E5F5EE; --acc-line: #BDE4D1;
  --ai: #7650E0; --ai-hi: #5B36C9; --ai-soft: rgba(118,80,224,.1);
  --crit: #D93D45; --warn: #C98312;
  --ai-grad: linear-gradient(90deg, #1E9E6A 0%, #2FA67E 25%, #7650E0 50%, #4C6FE0 75%, #1E9E6A 100%);
  --r-stage: 16px; --r-card: 12px; --r-ctl: 10px;
  --shadow: 0 1px 2px rgba(13,18,17,.05), 0 8px 24px -12px rgba(13,18,17,.12);
}
/* the product's own screens stay dark: they are pictures of the app */
.win, .lb {
  color-scheme: dark;
  --bg: #000; --s1: #121212; --s2: #171717; --s3: #1F1F1F; --s4: #262626; --s5: #2E2E2E;
  --ink: #FFFFFF; --ink2: #B9B9B9; --ink3: #969696; --ink4: #6A6A6A;
  --line: rgba(255,255,255,.11); --line2: rgba(255,255,255,.24);
  --acc-text: #6FE0AE;
}

/* ---------- buttons: monochrome, 10px corners ---------- */
.btn { border-radius: 10px; background: var(--ink); color: #fff; }
.btn:hover { background: #2A3230; }
.btn.lg { height: 52px; padding: 0 28px; font-size: 17px; }
.btn.o { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2), 0 1px 2px rgba(13,18,17,.05); }
.btn.o:hover { background: var(--s1); box-shadow: inset 0 0 0 1px rgba(13,18,17,.4); }
.btn.sm { border-radius: 8px; }

/* ---------- nav: white glass with a hairline ---------- */
.nav { background: rgba(255,255,255,.78); border-bottom-color: var(--line); }
.is-scrolled .nav { background: rgba(255,255,255,.9); }
.nav-l a:hover { background-color: rgba(13,18,17,.05); }

/* ---------- type: small tracked eyebrows ---------- */
.eb:not(.ai) { font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.eb.plain { font-size: 13px; }
.eb .tile { width: 30px; height: 30px; border-radius: 8px; } .eb .tile svg { width: 17px; height: 17px; }
.tile { background: var(--acc-ground); box-shadow: inset 0 0 0 1px var(--acc-line); }
.tile.t-ai { background: linear-gradient(135deg, rgba(30,158,106,.1), rgba(118,80,224,.14)); box-shadow: inset 0 0 0 1px rgba(118,80,224,.28); color: #6A44D6; }

/* the "new" pill above the headline */
.np { display: inline-flex; align-items: center; gap: 10px; height: 34px; margin-bottom: 26px; padding: 0 12px 0 4px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); font-size: 14px; font-weight: 550; color: var(--ink2); transition: box-shadow .15s; }
.np:hover { box-shadow: inset 0 0 0 1px var(--line2), var(--shadow); color: var(--ink); }
.np b { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--acc-ground); color: var(--acc-text); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.np svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: translate .15s; }
.np:hover svg { translate: 2px 0; }

/* ---------- hero: the live band on white ---------- */
.hero { background: radial-gradient(1200px 520px at 70% -10%, #F1FAF6, transparent 70%), #fff; }
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(#fff, #FAFBFB); }
.live { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.mk-p i { background: #fff; box-shadow: inset 0 0 0 1px var(--line2), 0 4px 12px rgba(13,18,17,.12); }
.mk.hv .mk-p i, .mk.sel .mk-p i, .mk-p:focus-visible i { box-shadow: inset 0 0 0 1.5px var(--c), 0 4px 12px rgba(13,18,17,.14); }
.mk-l { background: rgba(255,255,255,.94); box-shadow: inset 0 0 0 1px var(--line), 0 8px 24px rgba(13,18,17,.1); }
.mk.hv .mk-l { background: #fff; box-shadow: inset 0 0 0 1px var(--line2), 0 8px 24px rgba(13,18,17,.12); }
.rk { border-radius: 14px; background: rgba(255,255,255,.96); box-shadow: inset 0 0 0 1px var(--line), 0 24px 60px -20px rgba(13,18,17,.28); }
.rk-x { background: var(--s2); } .rk-x:hover { background: var(--s4); }
.rk-c .lim { stroke: rgba(13,18,17,.28); } .rk-c .now { stroke: rgba(13,18,17,.16); } .rk-c .ring { fill: #fff; }

/* ---------- platform flow ---------- */
.flow-ln { stroke: rgba(13,18,17,.14); } .flow-dot { fill: rgba(13,18,17,.16); }
.flow-c { stroke: rgba(13,18,17,.2); } .flow-ring { stroke: rgba(13,18,17,.07); }
.flow-ln.on { stroke: rgba(13,18,17,.6); }

/* ---------- product tour: the dark window on a dotted light stage ---------- */
.tr-i:hover { background-color: rgba(13,18,17,.04); }
.tr-i.on i { background: rgba(13,18,17,.1); }
.tr-v { background: radial-gradient(circle, rgba(13,18,17,.13) 1px, transparent 1.4px) 0 0 / 18px 18px, var(--s1); box-shadow: inset 0 0 0 1px var(--line); }
.win { box-shadow: 0 0 0 1px rgba(13,18,17,.14), 0 30px 70px -24px rgba(13,18,17,.45); }

/* ---------- cards: hairline + a soft lift ---------- */
.pc, .pc.pro, .mod, .board, .ent-i:hover, .ai-vis { box-shadow: inset 0 0 0 1px var(--line); }
.pc, .mod, .board, .fr { background: #fff; }
.pc, .mod { box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.pc.pro { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink), var(--shadow); }
.fr { box-shadow: inset 0 0 0 1px var(--line); }
.fr:hover, .fr.lit { background-color: #fff; box-shadow: inset 0 0 0 1px var(--line2), var(--shadow); }
.fr-c .lim { stroke: rgba(13,18,17,.24); }
.bg li.lit { background-color: rgba(13,18,17,.06); }
.ent-i, .ent-i:not(:nth-child(3n+1)) { border-radius: 14px; }

/* ---------- dbCove AI: a light card, the AI colours on its edge ---------- */
.ask { background: #fff; box-shadow: 0 30px 80px -30px rgba(76,50,170,.3); }
.ask-in { background: var(--s1); }
.uq { background: var(--s2); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.ask-in i { background-color: var(--ink); }

/* ---------- archiving and compression ---------- */
.arx-box, .ilm { background: var(--s1); }
.blk { background: #B9C0BD; } .blk.edge { background: #8C9592; }
.ilm-p { background: #B9C0BD; }
input[type=range]::-webkit-slider-thumb { background: #fff; box-shadow: inset 0 0 0 1px var(--line2), 0 2px 6px rgba(13,18,17,.2); }
input[type=range]::-moz-range-thumb { background: #fff; box-shadow: inset 0 0 0 1px var(--line2), 0 2px 6px rgba(13,18,17,.2); }

/* ---------- pricing and contact controls ---------- */
.stp { background: var(--s2); } .stp button { background: #fff; box-shadow: inset 0 0 0 1px var(--line); } .stp button:hover { background: var(--s3); }
.seg { background: var(--s2); } .seg button[aria-checked=true] { background: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(13,18,17,.08); }
.fm input, .fm textarea { border-radius: 10px; background: #fff; }
.ask-qs button { background: var(--s2); }

.lb { background: rgba(10,10,10,.93); }

@media (max-width: 1100px) {
  .tr-i.on { background-color: var(--ink); color: #fff; } .tr-i.ai.on b { color: #fff; }
  .tr-i.on i { background: rgba(255,255,255,.2); } .tr-i i::before { background: #fff; }
}
@media (max-width: 860px) { .rk { background: rgba(255,255,255,.98); border-radius: 14px; } .np { margin-bottom: 20px; font-size: 13px; } }
@media (max-width: 700px) { .ilm-zones span::before { background: #B9C0BD; } }

/* ================= v2: tidier, calmer, Bytebase-like =================
   A centred statement, the live chart framed as one window, a smaller and steadier type scale,
   grey bands to pace the page, and no generative ornament (the pixel clouds are gone). */
:root { --wrap: 1200px; --sec: clamp(76px, 8vw, 132px); }
.hero-px, .ask-w .px { display: none !important; }

/* hero */
.hero { min-height: 0; background: #fff; padding-bottom: clamp(56px, 6vw, 104px); }
.hero-c { justify-content: flex-start; padding-block: clamp(64px, 8.5vh, 120px) clamp(44px, 5.5vh, 72px); }
.hero-t { display: flex; flex-direction: column; align-items: center; text-align: center; }
h1 { font-size: clamp(42px, 5.6vw, 92px); font-weight: 620; line-height: 1; letter-spacing: -.042em; }
.lede { max-width: 25em; margin-inline: auto; font-size: clamp(18px, 1.3vw, 22px); line-height: 1.45; }
.hero-en { justify-content: center; gap: 10px 28px; color: var(--ink3); }
.cta { justify-content: center; }
.ver { margin: 4px 0 0; text-align: center; font-size: 14px; }

/* the live chart as one framed window */
.band { width: calc(100% - 2 * var(--gx)); max-width: var(--wrap); margin-inline: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; overflow: hidden;
  box-shadow: 0 1px 2px rgba(13,18,17,.04), 0 24px 64px -28px rgba(13,18,17,.22); }
.band-h.wrap { max-width: none; height: 52px; padding: 0 18px; border-bottom: 1px solid var(--line); background: var(--s1); }
.band-c { height: clamp(250px, 32vh, 360px); }
.band-c canvas, .band-m { -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%); mask-image: linear-gradient(90deg, transparent, #000 5%); }

/* type: one steady scale */
.h2 { font-size: clamp(30px, 3vw, 48px); font-weight: 620; line-height: 1.08; letter-spacing: -.03em; max-width: 18em; }
.h3 { font-size: clamp(22px, 1.6vw, 28px); }
.sub { font-size: clamp(17px, 1.15vw, 20px); line-height: 1.5; }
.eb.plain, .proof-h { font-size: 13px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.proof-h { margin-bottom: 14px; }
.sec-c .eb.ai { font-size: clamp(28px, 2.4vw, 40px); }

/* rhythm: a quiet grey band behind the tour and the enterprise list */
.proof { border-top: 0; }
#gallery, #enterprise { margin-top: var(--sec); padding-block: clamp(64px, 6.5vw, 112px); background: var(--s1); border-block: 1px solid var(--line); }
#gallery + .sec, #enterprise + .sec { padding-top: clamp(64px, 6.5vw, 112px); }
#gallery .tr-v { background: radial-gradient(circle, rgba(13,18,17,.12) 1px, transparent 1.4px) 0 0 / 18px 18px, #fff; }
#gallery .tr-i.on { background-color: #fff; box-shadow: inset 0 0 0 1px var(--line), 0 1px 2px rgba(13,18,17,.05); }
#enterprise .ent-i { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
#enterprise .ent-i:hover { box-shadow: inset 0 0 0 1px var(--line2), var(--shadow); }

/* cards and controls: one radius family */
.fr, .board, .ai-vis { border-radius: 14px; }
.ask { border-radius: 18px; }
.ask-w::before { display: none; }

/* footer on grey */
.foot { background: var(--s1); }

@media (max-width: 1100px) { #gallery .tr-i.on { background-color: var(--ink); box-shadow: none; } }
@media (max-width: 860px) {
  .hero-c { padding-block: 48px 36px; }
  .band { width: calc(100% - 2 * var(--gx)); border-radius: 14px; }
  .band-h.wrap { height: 46px; padding: 0 14px; }
  .hero-en { gap: 8px 18px; }
}
