/* Klyn hub. Dark only, to sit with the DesiCaps page. One accent: Klyn orange. */
@font-face { font-family: "Poppins"; src: url("fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("fonts/poppins-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #0b0b0e; --surface: #131419; --surface-2: #1a1c22; --line: #24262d; --line-2: #353842;
  --text: #eeeff2; --text-2: #c4c7cf; --dim: #969aa5;
  --accent: #f2530d; --accent-hi: #ff6a26; --accent-ink: #ff8a52; --on-accent: #160a04;
  --r-ctl: 10px; --r-surf: 22px; --ease: cubic-bezier(.16, 1, .3, 1);
  --display: "Poppins", system-ui, sans-serif; --body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 14px; border-radius: var(--r-ctl); background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: rgba(11, 11, 14, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.word { font: 700 26px/1 var(--display); letter-spacing: -.04em; text-decoration: none; }
.word span { color: var(--accent); }
.nav nav { display: flex; gap: 24px; }
.nav nav a { color: var(--dim); text-decoration: none; font-weight: 500; font-size: 15px; transition: color .15s var(--ease); }
.nav nav a:hover { color: var(--text); }

.hero { position: relative; overflow: hidden; padding: 88px 0 56px; }
.hero::before { content: ""; position: absolute; left: 50%; top: -120px; width: 900px; height: 520px; transform: translateX(-50%); pointer-events: none; background: radial-gradient(closest-side, rgba(242, 83, 13, .16), rgba(242, 83, 13, 0)); }
h1, h2 { margin: 0; font-family: var(--display); text-wrap: balance; }
h1 { position: relative; max-width: 20ch; font-weight: 700; font-size: clamp(2.3rem, 1.4rem + 3vw, 3.8rem); line-height: 1.07; letter-spacing: -.035em; }
.lede { position: relative; max-width: 46ch; margin: 20px 0 0; color: var(--text-2); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); }

.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.product { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--r-surf); border: 1px solid var(--line); background: var(--surface); transition: border-color .2s var(--ease), transform .2s var(--ease); }
.product:hover { border-color: var(--line-2); }
.p-copy { padding: 32px 32px 26px; }
.p-head { display: flex; align-items: center; gap: 14px; }
.p-head img { border-radius: 11px; }
.product h2 { font-weight: 700; font-size: 1.6rem; letter-spacing: -.025em; line-height: 1.15; }
.tag { margin: 2px 0 0; color: var(--dim); font-size: .92rem; }
.p-lede { margin: 20px 0 0; max-width: 44ch; color: var(--text-2); font-size: 1.05rem; }
.facts { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.facts li { position: relative; padding-left: 22px; color: var(--dim); font-size: .98rem; }
.facts li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 20px; border-radius: var(--r-ctl); border: 1px solid transparent; font: 600 15px/1 var(--body); text-decoration: none; white-space: nowrap; transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 10px 24px -12px rgba(242, 83, 13, .7); }
.btn-primary:hover { background: var(--accent-hi); }
.btn-ghost { border-color: #4a4e59; color: var(--text); }
.btn-ghost:hover { border-color: var(--text-2); }

.p-shot { position: relative; margin: 0; height: 360px; overflow: hidden; background: linear-gradient(180deg, rgba(242, 83, 13, 0), rgba(242, 83, 13, .14)); }
.p-shot img { position: absolute; left: 50%; top: 28px; transform: translateX(-50%); width: min(340px, 80%); border-radius: 14px 14px 0 0; border: 1px solid var(--line-2); border-bottom: 0; box-shadow: 0 30px 70px -30px #000; }
.shot-dc img { width: min(300px, 74%); }
/* Tandem shows a wide app window, so it sits whole inside the frame */
.shot-td img { top: 50%; transform: translate(-50%, -50%); width: min(500px, 88%); border-radius: 12px; border-bottom: 1px solid var(--line-2); }

.foot { margin-top: 96px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14.5px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; padding-top: 26px; padding-bottom: 32px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }
.mail { user-select: all; }

@media (max-width: 900px) {
  .products { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hide-sm { display: none; }
  .nav nav { gap: 18px; }
  .hero { padding: 56px 0 36px; }
  .p-copy { padding: 24px 22px 22px; }
  .p-shot { height: 300px; }
  .ctas .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
