/* ==========================================================================
   TURKO Installer — kurulum merkezi (sunum katmanı)
   1. Tokens · 2. Base · 3. Layout · 4. Header · 5. Hero · 6. App preview
   7. Strip · 8. Steps · 9. Requirements · 10. Footer · 11. Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  --tk-bg: #F6F4F1;
  --tk-surface: #FCFBF9;
  --tk-surface-sunken: #F8F6F3;
  --tk-ink: #14130F;
  --tk-ink-strong: #14130F;
  --tk-ink-body: rgba(20, 19, 15, .66);
  --tk-ink-muted: rgba(20, 19, 15, .60);
  --tk-ink-faint: rgba(20, 19, 15, .44);
  --tk-line: rgba(20, 19, 15, .10);
  --tk-line-strong: rgba(20, 19, 15, .22);

  --tk-dark: #131211;
  --tk-dark-app: #1A1917;
  --tk-dark-bar: #232120;
  --tk-dark-tile: #302C28;
  --tk-dark-tile-2: #332F2A;
  --tk-on-dark: #FCFBF9;
  --tk-on-dark-body: rgba(255, 255, 255, .66);
  --tk-on-dark-muted: rgba(255, 255, 255, .48);
  --tk-on-dark-faint: rgba(255, 255, 255, .36);
  --tk-on-dark-line: rgba(255, 255, 255, .10);

  --tk-accent: #6A57D9;
  --tk-ok: #4FCB8B;
  --tk-ok-ink: #2E9E68;

  --tk-font: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --tk-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --tk-max: 1200px;
  --tk-gutter: clamp(20px, 3.2vw, 40px);
  --tk-radius: 10px;
  --tk-radius-lg: 18px;
  --tk-focus: 0 0 0 2px var(--tk-bg), 0 0 0 4px var(--tk-accent);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--tk-bg);
  color: var(--tk-ink);
  font-family: var(--tk-font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--tk-accent); }

/* `hidden` özniteliği YAZAR stillerine yenilmemeli. Tarayıcının [hidden] kuralı
   yazar stillerinden daha zayıftır; aşağıdaki `.tk-release p { display: flex }`
   onu ezer ve gizlenmiş sürüm satırları ("Sürüm bilgisi alınıyor…") ekranda
   takılı kalırdı. Bu satır kaldırılırsa o hata geri gelir. */
[hidden] { display: none !important; }

:focus-visible { outline: none; box-shadow: var(--tk-focus); border-radius: 6px; }

.tk-visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

.tk-skip {
  position: absolute; inset-inline-start: -9999px; top: 12px; z-index: 60;
  padding: 10px 16px; border-radius: 8px;
  background: var(--tk-ink); color: var(--tk-on-dark);
  font-size: 14px; font-weight: 600;
}
.tk-skip:focus { inset-inline-start: 16px; color: var(--tk-on-dark); }

/* 3. Layout ---------------------------------------------------------------- */
.tk-container {
  max-width: var(--tk-max);
  margin-inline: auto;
  padding-inline: var(--tk-gutter);
}

.tk-section { padding-top: clamp(48px, 5.4vw, 72px); scroll-margin-top: 80px; }

.tk-section__head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px;
  padding-bottom: 22px; border-bottom: 1px solid rgba(20, 19, 15, .12);
}

.tk-h2 {
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.05; letter-spacing: -.028em; font-weight: 700;
}

.tk-label {
  font-family: var(--tk-mono); font-size: 11.5px; font-weight: 400;
  letter-spacing: .13em; text-transform: uppercase; color: var(--tk-ink-faint);
}

/* Buttons */
.tk-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 24px; border: 1px solid transparent; border-radius: 9px;
  font: inherit; font-size: 16px; font-weight: 600; letter-spacing: -.01em;
  cursor: pointer; transition: background-color .15s ease, color .15s ease, transform .1s ease;
}
.tk-btn--primary {
  background: #FAF8F5; color: var(--tk-ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 20px -12px rgba(0, 0, 0, .6);
}
.tk-btn--primary:hover { background: #fff; color: var(--tk-ink); }
.tk-btn--primary:active { transform: translateY(1px); }
.tk-btn--primary:focus-visible { box-shadow: 0 0 0 2px var(--tk-dark), 0 0 0 4px #FAF8F5; }

.tk-btn--dark { background: var(--tk-ink); color: #FBFAF8; font-size: 14.5px; padding: 13px 20px; }
.tk-btn--dark:hover { background: #302C26; color: #fff; }
.tk-btn--dark:active { transform: translateY(1px); }

.tk-btn--sm { padding: 10px 16px; font-size: 14px; gap: 8px; }
.tk-btn__arrow { font-family: var(--tk-mono); font-size: 13px; }

/* Windows glyph: four squares */
.tk-win { display: grid; grid-template-columns: 6.5px 6.5px; grid-template-rows: 6.5px 6.5px; gap: 2.5px; }
.tk-btn--sm .tk-win { grid-template-columns: 5px 5px; grid-template-rows: 5px 5px; gap: 2px; opacity: .85; }
.tk-win i { background: currentColor; border-radius: 1px; }

/* Status dots */
.tk-dot { width: 6px; height: 6px; flex: none; border-radius: 50%; }
.tk-dot--idle { background: rgba(255, 255, 255, .5); animation: tk-pulse 1.5s ease-in-out infinite; }
.tk-dot--ok { background: var(--tk-ok); }
@keyframes tk-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* 4. Header ---------------------------------------------------------------- */
.tk-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(246, 244, 241, .9);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid rgba(20, 19, 15, .09);
}
.tk-header__inner { display: flex; align-items: center; gap: 16px; height: 64px; }

.tk-lockup { display: flex; align-items: center; gap: 11px; min-width: 0; }
.tk-lockup:hover { color: var(--tk-ink); }
.tk-lockup__mark {
  width: 25px; height: 25px; flex: none; border-radius: 6px; background: var(--tk-ink);
  display: grid; place-items: center;
}
.tk-lockup__mark::after { content: ""; width: 8px; height: 8px; border-radius: 1.5px; background: var(--tk-accent); }
.tk-lockup__brand { font-size: 16px; font-weight: 700; letter-spacing: .05em; }
.tk-lockup__rule { width: 1px; height: 15px; background: rgba(20, 19, 15, .18); }
.tk-lockup__product {
  font-family: var(--tk-mono); font-size: 12.5px; letter-spacing: .13em;
  text-transform: uppercase; color: rgba(20, 19, 15, .5);
}

.tk-nav { display: flex; align-items: center; gap: 30px; margin-inline-start: auto; }
.tk-nav__link { font-size: 14.5px; font-weight: 500; color: rgba(20, 19, 15, .62); }
.tk-nav__link:hover { color: var(--tk-ink); }

/* 5. Hero ------------------------------------------------------------------ */
.tk-hero-wrap { padding-top: 32px; }

.tk-hero {
  position: relative; overflow: hidden;
  border-radius: var(--tk-radius-lg); background: var(--tk-dark);
  box-shadow: 0 1px 2px rgba(20, 19, 15, .10), 0 24px 56px -32px rgba(20, 19, 15, .4);
}
.tk-hero__grid, .tk-hero__wash { position: absolute; inset: 0; pointer-events: none; }
.tk-hero__grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, .026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .026) 1px, transparent 1px);
  background-size: 64px 64px;
}
.tk-hero__wash {
  background:
    radial-gradient(880px 460px at 70% -8%, rgba(255, 255, 255, .045), transparent 60%),
    radial-gradient(520px 340px at 98% 4%, color-mix(in oklab, var(--tk-accent) 9%, transparent), transparent 70%);
}

.tk-hero__inner {
  position: relative; display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(32px, 3.6vw, 48px);
  padding: clamp(32px, 4vw, 56px) clamp(24px, 3.6vw, 52px) clamp(36px, 4vw, 56px);
}
.tk-hero__copy { flex: 1 1 400px; max-inline-size: 470px; min-inline-size: 0; }

.tk-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 12px 6px 10px; border: 1px solid rgba(255, 255, 255, .13); border-radius: 6px;
  font-family: var(--tk-mono); font-size: 11.5px; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255, 255, 255, .66);
}
.tk-eyebrow__dot { width: 5px; height: 5px; border-radius: 1px; background: var(--tk-accent); }

.tk-hero__title {
  margin-block-start: 22px;
  font-size: clamp(34px, 4.2vw, 54px); line-height: 1.04;
  letter-spacing: -.032em; font-weight: 700; color: var(--tk-on-dark);
}
.tk-hero__lede {
  margin-block-start: 18px; max-inline-size: 420px;
  font-size: 17.5px; line-height: 1.55; color: var(--tk-on-dark-body); text-wrap: pretty;
}

.tk-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-block-start: 32px; }

.tk-release { display: flex; flex-direction: column; gap: 6px; }
.tk-release p { display: flex; align-items: center; gap: 9px; font-family: var(--tk-mono); font-size: 13px; }
.tk-release__loading { color: rgba(255, 255, 255, .56); }
.tk-release__version { color: rgba(255, 255, 255, .88); font-weight: 500; }
.tk-release__meta { padding-inline-start: 15px; font-size: 12.5px; color: rgba(255, 255, 255, .5); gap: 0; }

.tk-trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin-block-start: 22px; padding-block-start: 18px;
  border-top: 1px solid rgba(255, 255, 255, .09);
}
.tk-trust__item { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.tk-trust__tick { font-family: var(--tk-mono); font-size: 12px; color: rgba(255, 255, 255, .45); }
.tk-trust__rule { width: 1px; height: 13px; background: rgba(255, 255, 255, .14); }
.tk-trust__note { margin-block-start: 12px; max-width: 46ch; font-size: 12.5px; line-height: 1.55; color: rgba(255, 255, 255, .5); text-wrap: pretty; }
.tk-trust__note strong { font-weight: 600; color: rgba(255, 255, 255, .72); }

/* 6. App preview ----------------------------------------------------------- */
.tk-preview { flex: 1.7 1 580px; min-inline-size: 0; }

.tk-app {
  border: 1px solid var(--tk-on-dark-line); border-radius: 12px; overflow: hidden;
  background: var(--tk-dark-app);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7);
  font-size: 13px; color: rgba(255, 255, 255, .9);
}

.tk-app__titlebar {
  display: flex; align-items: center; gap: 11px; height: 44px; padding-inline: 14px;
  background: var(--tk-dark-bar); border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.tk-app__icon {
  width: 18px; height: 18px; flex: none; border-radius: 5px;
  background: var(--tk-dark-tile); border: 1px solid rgba(255, 255, 255, .10);
  display: grid; place-items: center;
}
.tk-app__icon::after { content: ""; width: 6px; height: 6px; border-radius: 1.5px; background: var(--tk-accent); }
.tk-app__name { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .8); white-space: nowrap; }
.tk-app__org {
  font-family: var(--tk-mono); font-size: 11.5px; color: rgba(255, 255, 255, .32);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tk-app__controls { display: flex; align-items: center; gap: 14px; margin-inline-start: auto; flex: none; }
.tk-app__min { width: 11px; height: 1px; background: rgba(255, 255, 255, .4); }
.tk-app__max { width: 9px; height: 9px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 2px; }
.tk-app__close { font-family: var(--tk-mono); font-size: 12px; font-style: normal; color: rgba(255, 255, 255, .4); line-height: 1; }

.tk-app__toolbar {
  display: flex; align-items: center; gap: 8px; height: 44px; padding-inline: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
}
.tk-chip { padding: 6px 12px; border-radius: 6px; font-size: 12.5px; color: rgba(255, 255, 255, .48); white-space: nowrap; }
.tk-chip--on { background: rgba(255, 255, 255, .09); color: rgba(255, 255, 255, .88); font-weight: 600; }
.tk-app__search {
  display: flex; align-items: center; gap: 8px; margin-inline-start: auto; flex: none;
  padding: 6px 11px; border: 1px solid rgba(255, 255, 255, .07); border-radius: 7px;
  background: rgba(255, 255, 255, .045);
  font-family: var(--tk-mono); font-size: 12px; color: rgba(255, 255, 255, .34);
}
.tk-app__search i { width: 9px; height: 9px; border: 1.3px solid rgba(255, 255, 255, .32); border-radius: 50%; }

.tk-app__body { display: flex; min-block-size: 400px; }

.tk-app__side {
  inline-size: 162px; flex: none; padding: 16px 12px;
  display: flex; flex-direction: column; gap: 18px;
  background: rgba(0, 0, 0, .16); border-inline-end: 1px solid rgba(255, 255, 255, .06);
}
.tk-account { display: flex; align-items: center; gap: 10px; min-inline-size: 0; }
.tk-account__avatar {
  width: 32px; height: 32px; flex: none; border-radius: 8px;
  background: var(--tk-dark-tile); border: 1px solid rgba(255, 255, 255, .10);
  display: grid; place-items: center; font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .82);
}
.tk-account__text { display: grid; min-inline-size: 0; }
.tk-account__name, .tk-account__mail { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-account__name { font-size: 12.5px; font-weight: 600; color: rgba(255, 255, 255, .88); }
.tk-account__mail { font-family: var(--tk-mono); font-size: 11px; color: rgba(255, 255, 255, .38); }

.tk-side-nav { display: flex; flex-direction: column; gap: 2px; }
.tk-side-nav__item {
  display: flex; align-items: center; gap: 9px; padding: 9px 11px;
  border-radius: 7px; font-size: 13px; color: rgba(255, 255, 255, .52);
}
.tk-side-nav__item--on { background: rgba(255, 255, 255, .075); color: #fff; font-weight: 600; }
.tk-side-nav__count { margin-inline-start: auto; font-family: var(--tk-mono); font-size: 11px; color: rgba(255, 255, 255, .45); }
.tk-badge {
  margin-inline-start: auto; padding: 1px 6px; border-radius: 5px;
  background: rgba(255, 255, 255, .1); font-family: var(--tk-mono); font-size: 11px; color: rgba(255, 255, 255, .82);
}
.tk-bullet { width: 5px; height: 5px; flex: none; border-radius: 1px; background: rgba(255, 255, 255, .2); }
.tk-bullet--accent { background: var(--tk-accent); }

.tk-license { margin-block-start: auto; display: grid; gap: 5px; padding: 11px 12px; border: 1px solid rgba(255, 255, 255, .08); border-radius: 8px; }
.tk-license__label { font-family: var(--tk-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .36); }
.tk-license__value { font-size: 12px; color: rgba(255, 255, 255, .64); }
.tk-license__bar { margin-block-start: 4px; height: 3px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; display: block; }
.tk-license__bar i { display: block; inline-size: 75%; block-size: 100%; background: rgba(255, 255, 255, .28); }

.tk-app__main { flex: 1; min-inline-size: 0; display: flex; flex-direction: column; }

.tk-list__head {
  display: flex; align-items: center; gap: 10px; padding: 13px 18px 11px;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  font-family: var(--tk-mono); font-size: 11px; letter-spacing: .13em;
  text-transform: uppercase; color: rgba(255, 255, 255, .36);
}
.tk-col-name { flex: 1; min-inline-size: 0; display: grid; }
.tk-col-ver { inline-size: 84px; flex: none; font-family: var(--tk-mono); font-size: 12px; color: rgba(255, 255, 255, .62); white-space: nowrap; }
.tk-col-state { inline-size: 84px; flex: none; display: flex; justify-content: flex-end; }
.tk-list__head .tk-col-ver, .tk-list__head .tk-col-state { font-size: 11px; color: inherit; letter-spacing: .13em; }
.tk-list__head .tk-col-state { justify-content: flex-end; text-align: end; display: block; }

.tk-list { display: flex; flex-direction: column; gap: 7px; padding: 12px 14px; }

.tk-row {
  display: flex; align-items: center; gap: 10px; padding: 12px;
  border: 1px solid rgba(255, 255, 255, .06); border-radius: 9px;
}
.tk-row--active { flex-direction: column; align-items: stretch; border-color: rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); }
.tk-row__top { display: flex; align-items: center; gap: 10px; }
.tk-row__icon {
  width: 34px; height: 34px; flex: none; border-radius: 8px;
  background: var(--tk-dark-tile-2); border: 1px solid rgba(255, 255, 255, .09);
  display: grid; place-items: center; font-family: var(--tk-mono); font-size: 13px; color: rgba(255, 255, 255, .76);
}
.tk-row__name, .tk-row__meta, .tk-row__transfer { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk-row__name { font-size: 13.5px; font-weight: 600; }
.tk-row--active .tk-row__name { color: #fff; }
.tk-row__meta { margin-block-start: 2px; font-family: var(--tk-mono); font-size: 11.5px; color: rgba(255, 255, 255, .42); }
.tk-row__pct { display: block; text-align: end; font-family: var(--tk-mono); font-size: 12px; color: color-mix(in oklab, var(--tk-accent) 45%, white); }
.tk-row__transfer { margin-block-start: 8px; font-family: var(--tk-mono); font-size: 11.5px; color: rgba(255, 255, 255, .46); }

.tk-progress { display: block; margin-block-start: 11px; height: 4px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.tk-progress i { display: block; block-size: 100%; border-radius: 999px; background: var(--tk-accent); }

.tk-pill {
  padding: 6px 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 6px;
  font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .84); white-space: nowrap;
}
.tk-pill--solid { padding: 6px 12px; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .12); color: #fff; }

.tk-state-ok { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: rgba(255, 255, 255, .58); white-space: nowrap; }
.tk-state-ok i {
  width: 15px; height: 15px; flex: none; border-radius: 50%; background: rgba(79, 203, 139, .14);
  display: grid; place-items: center; font-size: 9px; font-style: normal; color: var(--tk-ok);
}

.tk-app__status {
  display: flex; align-items: center; gap: 10px; height: 36px; padding-inline: 16px;
  border-top: 1px solid rgba(255, 255, 255, .06); background: rgba(0, 0, 0, .18);
  font-family: var(--tk-mono); font-size: 11.5px; color: rgba(255, 255, 255, .5);
}
.tk-app__status-sep { color: rgba(255, 255, 255, .22); }
.tk-app__status-dim { color: rgba(255, 255, 255, .36); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-app__status-right { margin-inline-start: auto; flex: none; color: rgba(255, 255, 255, .36); }

/* 7. Product strip --------------------------------------------------------- */
.tk-strip-wrap { padding-top: 18px; }
.tk-strip {
  display: flex; flex-wrap: wrap; overflow: hidden;
  background: var(--tk-surface); border: 1px solid var(--tk-line); border-radius: var(--tk-radius);
}
.tk-strip__cell {
  flex: 1 1 300px; min-inline-size: 0; display: flex; flex-direction: column; gap: 7px;
  padding: 18px 24px; background: var(--tk-surface);
  border-left: 1px solid var(--tk-line); border-top: 1px solid var(--tk-line);
  margin: -1px 0 0 -1px;
}
.tk-strip__value { font-size: 16.5px; font-weight: 600; letter-spacing: -.012em; }

/* 8. Steps ----------------------------------------------------------------- */
.tk-steps {
  position: relative; display: grid; gap: 16px; margin-block-start: 24px;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
}
.tk-steps::before {
  content: ""; position: absolute; inset-inline: 0; top: 39px; height: 1px;
  background: rgba(20, 19, 15, .13); pointer-events: none;
}
.tk-step {
  position: relative; padding: 22px 22px 24px;
  background: var(--tk-surface); border: 1px solid var(--tk-line); border-radius: var(--tk-radius);
  transition: border-color .15s ease;
}
.tk-step:hover { border-color: rgba(20, 19, 15, .26); }
.tk-step--last { border-color: var(--tk-line-strong); box-shadow: inset 2px 0 0 var(--tk-ink); }
.tk-step--last:hover { border-color: rgba(20, 19, 15, .34); }

.tk-step__head { display: flex; align-items: center; justify-content: space-between; height: 34px; }
.tk-step__num {
  font-family: var(--tk-mono); font-size: 21px; font-weight: 500;
  letter-spacing: -.02em; line-height: 1; color: var(--tk-accent);
}
.tk-step--last .tk-step__num { color: var(--tk-ink); }
.tk-step__glyph {
  width: 32px; height: 32px; display: grid; place-items: center;
  border: 1px solid rgba(20, 19, 15, .13); border-radius: 8px; background: #fff;
  font-family: var(--tk-mono); font-size: 15px; color: rgba(20, 19, 15, .6);
}
.tk-step__glyph--dots { font-size: 12px; letter-spacing: .06em; }
.tk-step__glyph--filled { background: var(--tk-ink); border-color: var(--tk-ink); color: var(--tk-on-dark); }

.tk-step__title { margin-block-start: 18px; font-size: 19px; line-height: 1.25; letter-spacing: -.02em; font-weight: 600; }
.tk-step__text { margin-block-start: 10px; font-size: 15.5px; line-height: 1.6; color: var(--tk-ink-body); text-wrap: pretty; }

/* 9. Requirements ---------------------------------------------------------- */
.tk-req {
  margin-block-start: 24px; overflow: hidden;
  background: var(--tk-surface); border: 1px solid var(--tk-line); border-radius: var(--tk-radius);
}
.tk-req__grid { display: flex; flex-wrap: wrap; background: var(--tk-surface); }
.tk-req__cell {
  flex: 1 1 300px; min-inline-size: 0; display: flex; align-items: center; gap: 14px;
  padding: 22px 24px; background: var(--tk-surface);
  border-left: 1px solid var(--tk-line); border-top: 1px solid var(--tk-line);
  margin: -1px 0 0 -1px;
}
.tk-check {
  width: 22px; height: 22px; flex: none; border-radius: 6px;
  background: rgba(79, 203, 139, .13); border: 1px solid rgba(46, 158, 104, .26);
  display: grid; place-items: center; font-size: 11px; line-height: 1; color: var(--tk-ok-ink);
}
.tk-req__text { display: grid; gap: 7px; min-inline-size: 0; }
.tk-req__value { font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -.014em; }

.tk-req__foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px;
  padding: 20px 24px; border-top: 1px solid var(--tk-line); background: var(--tk-surface-sunken);
}
.tk-req__note { flex: 1 1 340px; font-size: 15px; line-height: 1.55; color: rgba(20, 19, 15, .62); text-wrap: pretty; }

/* 10. Footer --------------------------------------------------------------- */
.tk-footer { padding-top: clamp(44px, 5vw, 60px); padding-bottom: 44px; }
.tk-footer__inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px;
  padding-block-start: 24px; border-top: 1px solid rgba(20, 19, 15, .12);
}
.tk-footer__brand { display: flex; align-items: center; gap: 11px; }
.tk-footer__brand .tk-lockup__mark { width: 22px; height: 22px; }
.tk-footer__brand .tk-lockup__mark::after { width: 7px; height: 7px; }
.tk-footer__name { font-size: 14px; font-weight: 700; letter-spacing: .05em; }
.tk-footer__tag { font-size: 14px; color: var(--tk-ink-muted); }
.tk-footer__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-inline-start: auto; }
.tk-footer__link { font-size: 14px; color: var(--tk-ink-muted); }
.tk-footer__link:hover { color: var(--tk-ink); }
.tk-footer__host { font-family: var(--tk-mono); font-size: 13px; color: rgba(20, 19, 15, .42); }

/* 11. Responsive ----------------------------------------------------------- */
@media (max-width: 1000px) {
  /* Hero stacks: copy + CTA first, preview after (DOM order) */
  .tk-hero__copy { flex-basis: 100%; max-inline-size: 640px; }
  .tk-preview { flex-basis: 100%; }
  .tk-app__body { min-block-size: 0; }
}

@media (max-width: 780px) {
  .tk-nav { gap: 20px; }
  .tk-nav__link { display: none; }
  .tk-steps { grid-template-columns: 1fr; }
  .tk-steps::before { display: none; }
  .tk-step--last { box-shadow: inset 0 2px 0 var(--tk-ink); }
  .tk-footer__nav { margin-inline-start: 0; }
}

@media (max-width: 620px) {
  .tk-hero__title { font-size: clamp(30px, 8.6vw, 38px); }
  .tk-hero__lede { font-size: 16.5px; }
  .tk-cta { gap: 16px; }
  .tk-btn--primary { inline-size: 100%; justify-content: center; padding-block: 16px; }
  .tk-release { inline-size: 100%; }
  /* App preview keeps its own scale, never forces page overflow */
  .tk-app { font-size: 12px; }
  .tk-app__side { display: none; }
  .tk-app__org, .tk-app__status-dim, .tk-app__status-sep { display: none; }
  .tk-list__head { padding-inline: 12px; }
  .tk-col-ver { inline-size: 64px; }
  .tk-col-state { inline-size: 76px; }
  .tk-req__foot .tk-btn { inline-size: 100%; justify-content: center; }
}

@media (max-width: 420px) {
  .tk-chip:nth-child(3) { display: none; }
  .tk-app__search { display: none; }
  .tk-col-ver { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
