/* Dixith Labs hub (dixith.com). Built on tokens.css, the family design kit. */
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* header */
.top { position: sticky; top: 0; z-index: 10; }
.top .wrap { display: flex; align-items: center; gap: 12px; height: 60px; }
.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(145deg, var(--accent-2), var(--accent)); color: #fff; }
:root[data-theme="dark"] .brand-mark, :root.auto-dark .brand-mark { color: var(--on-accent); }
.brand-mark svg { width: 18px; height: 18px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.top nav a { color: var(--ink-2); font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 11px; }
.top nav a:hover { background: var(--hover); color: var(--ink); text-decoration: none; }
body.scrolled .top { background: var(--glass); -webkit-backdrop-filter: saturate(180%) blur(22px); backdrop-filter: saturate(180%) blur(22px); box-shadow: inset 0 -1px 0 var(--line); }

/* hero */
.hero { padding: 56px 0 34px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
h1 { font-family: var(--display); font-weight: 700; font-size: clamp(42px, 8vw, 68px); line-height: 1.04; letter-spacing: -.02em; margin: 0 0 16px; }
.lede { font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 36em; margin: 0; }
.lede b { color: var(--ink); font-weight: 600; }

/* section labels */
.label { display: flex; align-items: baseline; gap: 12px; margin: 34px 0 14px; }
.label h2 { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin: 0; }
.label span { flex: 1; height: 1px; background: var(--line); }

/* app cards */
.apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
/* Three apps: three across on a wide screen; on a tablet two across with the third spanning, so no card is left alone. With four apps, use repeat(2, 1fr) and drop these two rules. */
@media (min-width: 961px) { .app-head { align-items: flex-start; min-height: 76px; } }
@media (max-width: 960px) { .apps { grid-template-columns: repeat(2, 1fr); } .apps > .app:last-child { grid-column: 1 / -1; } }
.app {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 22px; color: var(--ink);
  background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.app:hover { text-decoration: none; }
@media (hover: hover) { .app:hover { transform: translateY(-3px); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line-2); } }
.app:active { transform: scale(.985); }
.app-head { display: flex; align-items: center; gap: 16px; }
.app-icon { width: 72px; height: 72px; border-radius: 17px; flex-shrink: 0; box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--accent) 45%, rgba(20,22,30,.3)); }
.app h3 { font-family: var(--display); font-weight: 700; font-size: 28px; line-height: 1.1; letter-spacing: -.015em; margin: 0; }
.app .kind { font-size: 14px; font-weight: 600; color: var(--accent-ink); margin: 4px 0 0; }
.app p.what { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.app .go { margin-top: auto; display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--accent-ink); }
.app .go svg { width: 17px; height: 17px; transition: transform .2s var(--ease); }
@media (hover: hover) { .app:hover .go svg { transform: translateX(3px); } }
.app .mean { font-size: 13px; color: var(--ink-2); }
:root:not([data-theme="dark"]):not(.auto-dark) .app { background: var(--milk); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); box-shadow: var(--shadow-glass), inset 0 1px 0 var(--glass-edge), inset 0 0 0 1px rgba(20,22,30,.05); }

/* Jeevana Sutra */
.js {
  display: grid; grid-template-columns: 1fr; gap: 22px; padding: 30px; border-radius: 26px;
  background: var(--surface); box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line-2);
}
:root:not([data-theme="dark"]):not(.auto-dark) .js { background: linear-gradient(180deg, rgba(255,255,255,.9), var(--milk)); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: var(--shadow-2), inset 0 1px 0 var(--glass-edge), inset 0 0 0 1px rgba(20,22,30,.06); }
.js-head { display: flex; align-items: center; gap: 18px; }
.js-icon { width: 76px; height: 76px; border-radius: 19px; flex-shrink: 0; box-shadow: 0 6px 18px -6px rgba(20,22,30,.35); }
.js h3 { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 5vw, 40px); line-height: 1.1; margin: 0; letter-spacing: -.015em; }
.js h3 small { display: block; font-size: 15px; font-weight: 600; font-family: var(--font); letter-spacing: 0; color: var(--accent-ink); margin-top: 6px; }
.js p { margin: 0; color: var(--ink-2); font-size: 16.5px; line-height: 1.55; max-width: 40em; }
.js-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn.primary.big { min-height: 52px; padding: 0 26px; font-size: 16px; border-radius: 15px; }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.chip {
  display: block; padding: 13px 15px; border-radius: 15px; color: var(--ink);
  background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); transition: background .15s, box-shadow .15s;
}
.chip:hover { text-decoration: none; background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-line); }
.chip b { display: block; font-size: 17px; font-weight: 700; line-height: 1.3; }
.chip span { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; }

/* footer */
footer { padding: 46px 0 60px; color: var(--ink-2); font-size: 14px; }
footer .row { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; justify-content: space-between; padding-top: 22px; border-top: 1px solid var(--line); }
footer p { margin: 0; max-width: 34em; }
footer nav { display: flex; gap: 18px; }
footer a { color: var(--ink-2); font-weight: 600; }
footer a:hover { color: var(--ink); }

/* motion: a gentle rise, once, and never for those who ask otherwise */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .5s var(--ease) both; }
  .rise:nth-child(2) { animation-delay: .05s; } .rise:nth-child(3) { animation-delay: .1s; } .rise:nth-child(4) { animation-delay: .15s; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; } }

@media (max-width: 860px) { .chips { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 36px 0 22px; }
  .lede { font-size: 17px; }
  .apps { grid-template-columns: 1fr; }
  .app { padding: 18px; }
  .js { padding: 22px 18px; }
  .js-icon { width: 60px; height: 60px; border-radius: 15px; }
  .top nav a.hide-s { display: none; }
}
