/* kyszi.com: one family, black canvas, graphite panels, YPP teal as the only accent. */
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #000;
  --panel: #0c0e0f;
  --panel-2: #131617;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.15);
  --ink: #f5f5f7;
  --muted: #9a9da3;
  --dim: #6b6f75;
  --teal: #3a9d8a;
  --teal-deep: #2e7d71;
  --teal-ink: #7dd3c0;
  --warn: #e8b45a;
  --risk: #f07a6a;

  --font: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --t-sm: 0.8125rem;   /* 13 */
  --t-base: 1.0625rem; /* 17 */
  --t-md: 1.3125rem;   /* 21 */
  --t-lg: 1.75rem;     /* 28 */
  --t-xl: clamp(2rem, 4.2vw, 2.75rem);
  --t-display: clamp(2.6rem, 6.4vw, 5.25rem);

  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --wrap: 1160px;
  --gutter: clamp(20px, 5vw, 40px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--t-base);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.022em; line-height: 1.1; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--teal-deep); color: #fff; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -48px; padding: 8px 14px; background: var(--ink); color: #000; border-radius: 999px; z-index: 100; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------------- nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { font-weight: 700; font-size: 1.125rem; letter-spacing: -0.03em; }
.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 30px); font-size: 0.875rem; }
.nav-links a { color: var(--muted); transition: color 0.2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-lock { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); margin-left: -4px; }
.nav-lock svg { width: 15px; height: 15px; }
.nav-lock:hover { border-color: var(--line-2); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px;
  font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.btn svg { width: 15px; height: 15px; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--ink); color: #000; }
.btn-primary:hover { background: #fff; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-quiet:hover { background: rgba(255, 255, 255, 0.06); }
.btn-block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------- layout */
.section { padding-block: clamp(72px, 11vw, 136px); border-top: 1px solid var(--line); }
.section-tight { padding-block: 24px 96px; border-top: 0; }
.sec-head { max-width: 560px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head-wide { max-width: 760px; }
.sec-head h2 { font-size: var(--t-xl); }
.sec-head p { margin-top: 14px; color: var(--muted); font-size: var(--t-md); line-height: 1.45; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split .sec-head { margin-bottom: 0; position: sticky; top: 96px; }

/* ---------------------------------------------------------------- hero */
.hero { padding-block: clamp(72px, 12vw, 148px) clamp(64px, 9vw, 112px); }
.hero-tight { padding-block: clamp(56px, 9vw, 104px) clamp(40px, 6vw, 64px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4.4fr); gap: clamp(40px, 6vw, 88px); align-items: end; }
.hero-id { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.9375rem; margin-bottom: 28px; }
.display { font-size: var(--t-display); font-weight: 650; letter-spacing: -0.045em; line-height: 0.98; max-width: 13ch; }
.display-md { font-size: clamp(2.4rem, 5.2vw, 4.25rem); max-width: 16ch; }
.lede { margin-top: 26px; max-width: 58ch; font-size: var(--t-md); line-height: 1.5; color: var(--muted); }
.lede a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.lede a:hover { text-decoration-color: var(--ink); }
.hero .cta-row { margin-top: 36px; }

/* avatar + monogram */
.avatar { position: relative; flex: none; width: var(--s); height: var(--s); border-radius: 50%; overflow: hidden; background: var(--panel-2); }
.avatar .mono, .avatar img { position: absolute; inset: 0; width: 100%; height: 100%; }
.avatar img { object-fit: cover; }
.avatar-lg { box-shadow: 0 0 0 1px var(--line-2), 0 0 0 6px rgba(255, 255, 255, 0.03); }

/* build log: the one loud thing */
.log { border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--panel), rgba(12, 14, 15, 0.4)); padding: 22px 8px 16px; }
.log-head { display: flex; align-items: center; justify-content: space-between; padding: 0 16px 12px; }
.log-head h2 { font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.01em; }
.log-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(58, 157, 138, 0.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(58, 157, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(58, 157, 138, 0); } }
.log-list a {
  display: grid; grid-template-columns: 52px 62px minmax(0, 1fr); align-items: baseline; gap: 6px;
  padding: 11px 16px; border-radius: var(--r-sm); font-size: 0.875rem; line-height: 1.4;
  transition: background-color 0.2s;
}
.log-list a:hover { background: rgba(255, 255, 255, 0.04); }
.log-list time { color: var(--dim); font-variant-numeric: tabular-nums; }
.log-kind { font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.log-kind.k-release, .log-kind.k-saas { color: var(--teal-ink); }
.log-text { color: var(--ink); overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.log-live { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.log-note { padding: 10px 16px 0; font-size: 0.75rem; color: var(--dim); }

/* ---------------------------------------------------------------- products */
.prod-mark { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; color: var(--muted); margin-bottom: 18px; }
.prod-mark img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }

.spot {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 72px);
  padding: clamp(28px, 5vw, 56px); border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 70% at 100% 0%, rgba(46, 125, 113, 0.22), transparent 60%),
    var(--panel);
}
.spot h3, .prod h3 { font-size: clamp(2rem, 3.6vw, 2.75rem); letter-spacing: -0.035em; }
.spot-lede, .prod-lede { margin-top: 14px; color: var(--muted); font-size: var(--t-md); line-height: 1.45; max-width: 46ch; }
.feat { display: grid; gap: 18px; margin: 32px 0 36px; }
.feat li { display: grid; align-content: start; gap: 2px; padding-left: 18px; border-left: 2px solid var(--teal-deep); }
.feat b { font-weight: 600; }
.feat span { color: var(--muted); font-size: 0.9375rem; }
.feat-2 { grid-template-columns: 1fr 1fr; gap: 22px 28px; }

/* YPP illustrative dashboard */
.spot-ui { align-self: center; border-radius: var(--r-md); border: 1px solid var(--line-2); background: #070809; overflow: hidden; font-size: 0.8125rem; box-shadow: 0 40px 80px -40px rgba(46, 125, 113, 0.45); }
.ui-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--dim); }
.ui-bar i { width: 9px; height: 9px; border-radius: 50%; background: #26292c; }
.ui-bar span { margin-left: 8px; }
.ui-body { display: grid; grid-template-columns: 1.2fr 1fr; gap: 10px; padding: 12px; }
.ui-card { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--panel); padding: 14px; }
.ui-label { color: var(--dim); font-size: 0.75rem; margin-bottom: 10px; }
.ui-checkins { grid-row: span 2; }
.ui-checkins li { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.ui-checkins li:first-child { border-top: 0; }
.ui-av { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--panel-2); font-size: 0.625rem; font-weight: 700; color: var(--muted); }
.ui-st { font-size: 0.6875rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
.ui-st.ok { color: var(--teal-ink); background: rgba(58, 157, 138, 0.14); }
.ui-st.due { color: var(--warn); background: rgba(232, 180, 90, 0.12); }
.ui-st.risk { color: var(--risk); background: rgba(240, 122, 106, 0.12); }
.ui-board li { display: grid; gap: 5px; margin-top: 8px; }
.ui-board li:first-child { margin-top: 0; }
.ui-board i { display: block; height: 5px; width: var(--w); border-radius: 999px; background: linear-gradient(90deg, var(--teal-deep), var(--teal)); }
.ui-ai p:last-child { color: var(--muted); line-height: 1.45; }

.prod { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(64px, 9vw, 112px); }
.prod-shot { margin: 0; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-2); background: var(--panel); }
.prod-shot img { width: 100%; height: auto; }
.prod-meta { margin-top: 8px; color: var(--teal-ink); font-size: 0.9375rem; font-weight: 500; }
.prod .feat { margin: 28px 0 24px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.facts li { font-size: 0.8125rem; color: var(--muted); padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); }

/* ---------------------------------------------------------------- web design */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.tier { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--panel); }
.tier.is-hl { border-color: rgba(58, 157, 138, 0.55); background: linear-gradient(180deg, rgba(46, 125, 113, 0.14), var(--panel) 55%); }
.tier header { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tier h3 { font-size: var(--t-md); }
.tier-flag { font-size: 0.75rem; font-weight: 600; color: var(--teal-ink); }
.tier-desc { color: var(--muted); font-size: 0.9375rem; }
.tier-meta { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-block: 1px solid var(--line); font-size: 0.875rem; }
.tier-meta span { color: var(--muted); }
.tier .btn { margin-top: auto; }
.ticks { display: grid; gap: 10px; font-size: 0.9375rem; margin-bottom: 8px; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.ticks svg { width: 18px; height: 18px; color: var(--teal-ink); margin-top: 2px; }

.proof { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; margin-top: 40px; }
.proof p { max-width: 62ch; color: var(--muted); }
.proof a:not(.btn) { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }

.value { display: grid; gap: 0; }
.value li { display: grid; gap: 4px; padding: 22px 0; border-top: 1px solid var(--line); }
.value li:first-child { border-top: 0; padding-top: 0; }
.value b { font-size: var(--t-md); font-weight: 600; letter-spacing: -0.015em; }
.value span { color: var(--muted); }

.steps { counter-reset: step; display: grid; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 0; padding-top: 0; }
.steps li::before { content: counter(step); grid-row: span 2; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 0.875rem; font-weight: 600; color: var(--teal-ink); }
.steps b { font-weight: 600; font-size: 1.0625rem; }
.steps span { color: var(--muted); }

.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.proof-card { display: grid; grid-template-columns: 48px 1fr 20px; gap: 16px; align-items: center; padding: 22px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--panel); transition: border-color 0.2s; }
.proof-card:hover { border-color: var(--line-2); }
.proof-card img, .proof-mono { width: 48px; height: 48px; border-radius: 14px; }
.proof-card > span:nth-child(2) { display: grid; gap: 2px; }
.proof-card > span:nth-child(2) span { color: var(--muted); font-size: 0.9375rem; }

/* form */
.book-alt { font-size: 0.9375rem !important; }
.book-alt a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.form { display: grid; gap: 16px; padding: clamp(22px, 4vw, 36px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--panel); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; font-size: 0.875rem; color: var(--muted); }
.field em { font-style: normal; color: var(--dim); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; border-radius: var(--r-sm);
  background: #070809; border: 1px solid var(--line-2); color: var(--ink); font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 128px; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239a9da3' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(58, 157, 138, 0.22); }
.field [aria-invalid="true"] { border-color: var(--risk); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.form-status { font-size: 0.9375rem; color: var(--muted); }
.form-status.ok { color: var(--teal-ink); }
.form-status.err { color: var(--risk); }
.form-status a { text-decoration: underline; text-underline-offset: 3px; }
.form.is-sent .field, .form.is-sent .field-row { opacity: 0.5; pointer-events: none; }

.faq { display: grid; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:first-child { border-top: 0; }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 1.0625rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.375rem; line-height: 1; transition: transform 0.25s var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 22px; color: var(--muted); max-width: 62ch; }

/* ---------------------------------------------------------------- vlogs */
.vlog-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.vlog-copy h2 { font-size: var(--t-xl); }
.vlog-copy > p { margin-top: 16px; color: var(--muted); font-size: var(--t-md); line-height: 1.45; max-width: 46ch; }
.channel { display: flex; align-items: center; gap: 12px; margin: 28px 0; }
.channel > span:last-child { display: grid; line-height: 1.3; }
.channel > span:last-child span { color: var(--muted); font-size: 0.875rem; }
.channel .avatar { --s: 44px !important; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line-2); background: var(--panel); }
.video-btn { all: unset; position: absolute; inset: 0; cursor: pointer; }
.video-btn img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: rgba(0, 0, 0, 0.55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.25); transition: transform 0.25s var(--ease), background-color 0.2s; }
.video-play svg { width: 24px; height: 24px; margin-left: 3px; }
.video-btn:hover .video-play, .video-btn:focus-visible .video-play { transform: scale(1.06); background: rgba(0, 0, 0, 0.75); }
.video-btn:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: -4px; }
.video-cap { display: grid; gap: 2px; margin-top: 14px; }
.video-cap span { color: var(--muted); font-size: 0.875rem; }

/* ---------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: var(--t-sm); color: var(--dim); }
.foot-in { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 20px; }
.foot a:hover { color: var(--ink); }

/* ---------------------------------------------------------------- links hub */
.page-hub { background: radial-gradient(120% 60% at 50% -10%, rgba(46, 125, 113, 0.18), transparent 60%), var(--bg); min-height: 100vh; }
.hub { width: min(560px, 100% - 32px); margin-inline: auto; padding: clamp(48px, 9vw, 88px) 0 40px; }
.hub-head { display: grid; justify-items: center; text-align: center; margin-bottom: 40px; }
.hub-head h1 { margin-top: 20px; font-size: var(--t-lg); letter-spacing: -0.03em; }
.hub-handle { color: var(--muted); margin-top: 4px; }
.hub-bio { margin-top: 12px; color: var(--muted); max-width: 40ch; font-size: 0.9375rem; }
.chip-btn { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.04); font-size: 0.8125rem; font-weight: 600; cursor: pointer; transition: background-color 0.2s; }
.chip-btn svg { width: 14px; height: 14px; }
.chip-btn:hover { background: rgba(255, 255, 255, 0.08); }
.chip-btn.is-done { color: var(--teal-ink); border-color: rgba(58, 157, 138, 0.5); }
.hub-group { margin-top: 28px; }
.hub-group h2 { font-size: 0.8125rem; font-weight: 600; color: var(--dim); letter-spacing: 0; padding: 0 18px 10px; }
.hub-list { border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(12, 14, 15, 0.8); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); overflow: hidden; }
.hub-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 18px; align-items: center; gap: 14px; padding: 13px 16px; transition: background-color 0.2s; position: relative; }
.hub-row + .hub-row::before { content: ""; position: absolute; top: 0; left: 74px; right: 0; height: 1px; background: var(--line); }
.hub-row:hover { background: rgba(255, 255, 255, 0.04); }
.hub-ico { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.hub-ico svg { width: 21px; height: 21px; }
.hub-ico img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.i-yt { color: #ff3b3b; }
.i-tw { color: #a970ff; }
.i-kick { color: #53fc18; }
.i-tt { color: #f5f5f7; }
.i-web, .i-site { color: var(--teal-ink); }
.hub-txt { display: grid; min-width: 0; line-height: 1.3; }
.hub-txt b { font-weight: 600; }
.hub-txt span { color: var(--muted); font-size: 0.875rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hub-go { color: var(--dim); }
.hub-go svg { width: 16px; height: 16px; }
.hub-foot { text-align: center; margin-top: 40px; color: var(--dim); font-size: var(--t-sm); }

/* ---------------------------------------------------------------- homelab */
.secure { display: inline-flex; align-items: center; gap: 8px; color: var(--teal-ink); font-size: 0.875rem; margin-bottom: 20px; }
.secure svg { width: 15px; height: 15px; }
.lab-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.lab-card { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; gap: 14px 14px; padding: 22px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--panel); transition: border-color 0.2s, background-color 0.2s; }
a.lab-card:hover { border-color: var(--line-2); background: var(--panel-2); }
.lab-card.is-off { opacity: 0.55; }
.lab-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); color: var(--teal-ink); }
.lab-ico svg { width: 20px; height: 20px; }
.lab-txt { display: grid; align-content: center; line-height: 1.3; }
.lab-txt b { font-weight: 600; }
.lab-txt span { color: var(--muted); font-size: 0.875rem; }
.lab-host { grid-column: 1 / -1; font-size: 0.8125rem; color: var(--muted); display: flex; align-items: center; gap: 8px; overflow-wrap: anywhere; }
.lab-host::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--dim); }
.lab-host.on::before { background: var(--teal); }
.mesh { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; margin-top: 32px; padding: 22px; border-radius: var(--r-md); border: 1px solid var(--line); }
.mesh p { display: grid; gap: 2px; }
.mesh p span { color: var(--muted); font-size: 0.9375rem; }
.mesh .facts { margin: 0; }
.lab-out { margin-top: 28px; font-size: 0.875rem; }
.lab-out a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- gear */
.gear-top { display: flex; align-items: end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.gear-total { display: grid; text-align: right; }
.gear-total b { font-size: clamp(2rem, 4vw, 3rem); font-weight: 650; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.gear-total span { color: var(--muted); font-size: 0.875rem; }
.gear-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; align-items: start; }
.gear-cat { padding: 26px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--panel); }
.gear-cat h2 { font-size: var(--t-md); }
.gear-cat header p { color: var(--muted); font-size: 0.9375rem; margin-top: 6px; }
.gear-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 0.9375rem; }
.gear-table th, .gear-table td { padding: 11px 0; border-top: 1px solid var(--line); vertical-align: top; }
.gear-table th { text-align: left; font-weight: 400; }
.gear-table th b { display: block; font-weight: 600; }
.gear-table th span { color: var(--muted); font-size: 0.875rem; }
.gear-table td { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); padding-left: 12px; }
.gear-table tfoot th, .gear-table tfoot td { color: var(--ink); font-weight: 600; border-top-color: var(--line-2); }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .hero-grid, .spot, .prod, .vlog-grid, .split { grid-template-columns: 1fr; }
  .split .sec-head { position: static; margin-bottom: 8px; }
  .tiers { grid-template-columns: 1fr; max-width: 560px; }
  .display { max-width: 15ch; }
  .prod-shot { order: 2; }
}
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .feat-2, .field-row, .proof-grid { grid-template-columns: 1fr; }
  .ui-body { grid-template-columns: 1fr; }
  .ui-checkins { grid-row: auto; }
  .log-list a { grid-template-columns: 48px 1fr; }
  .log-kind { grid-column: 2; grid-row: 1; }
  .log-text { grid-column: 2; }
  .gear-total { text-align: left; }
  .cta-row .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
