/* 10k Steps — marketing site */

:root {
  --tks-bg: #f0fdf9;
  --tks-bg-muted: #e2f5ef;
  --tks-surface: #ffffff;
  --tks-text: #134e4a;
  --tks-text-muted: #3d6b66;
  --tks-accent: #0d9488;
  --tks-accent-hover: #0f766e;
  --tks-accent-deep: #115e59;
  --tks-lime: #84cc16;
  --tks-border: #c9e8e0;
  --tks-radius: 12px;
  --tks-font: "DM Sans", system-ui, sans-serif;
  --tks-display: "Outfit", system-ui, sans-serif;
  --tks-wrap: min(1080px, 92vw);
  --tks-narrow: min(640px, 92vw);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.tks-site {
  margin: 0;
  font-family: var(--tks-font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--tks-text);
  background: var(--tks-bg);
}

.tks-wrap {
  width: var(--tks-wrap);
  margin-inline: auto;
}

.tks-narrow {
  max-width: var(--tks-narrow);
}

.tks-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--tks-accent-deep);
  color: #fff;
  z-index: 100;
}

.tks-skip:focus {
  left: 1rem;
  top: 1rem;
}

.tks-header {
  background: var(--tks-surface);
  border-bottom: 1px solid var(--tks-border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.tks-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.tks-brand {
  font-family: var(--tks-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--tks-accent-deep);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.tks-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.tks-nav a {
  color: var(--tks-text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.tks-nav a:hover,
.tks-nav a[aria-current="page"] {
  color: var(--tks-accent);
}

.tks-nav-cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: var(--tks-accent) !important;
  color: #fff !important;
}

.tks-nav-cta:hover {
  background: var(--tks-accent-hover) !important;
}

.tks-menu-toggle {
  display: none;
  border: 1px solid var(--tks-border);
  background: var(--tks-surface);
  border-radius: var(--tks-radius);
  padding: 0.5rem 0.65rem;
  cursor: pointer;
}

.tks-menu-bars {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--tks-text);
  box-shadow: 0 6px 0 var(--tks-text), 0 -6px 0 var(--tks-text);
}

@media (max-width: 720px) {
  .tks-menu-toggle {
    display: block;
  }

  .tks-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 4vw;
    background: var(--tks-surface);
    border-bottom: 1px solid var(--tks-border);
    box-shadow: 0 8px 24px rgba(17, 94, 89, 0.08);
  }

  .tks-nav.is-open {
    display: flex;
  }

  .tks-header-inner {
    position: relative;
    flex-wrap: wrap;
  }
}

.tks-hero {
  padding: 3rem 0 2.5rem;
  background: linear-gradient(160deg, #d1fae5 0%, var(--tks-bg) 45%, #ecfccb 100%);
}

.tks-hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 320px);
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 840px) {
  .tks-hero-grid {
    grid-template-columns: 1fr;
  }
}

.tks-ring {
  width: 3.75rem;
  height: 3.75rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: conic-gradient(var(--tks-lime) 0 72%, #e2f5ef 72% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.2);
}

.tks-ring-inner {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--tks-surface);
  border: 2px solid var(--tks-border);
}

.tks-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--tks-accent-hover);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.tks-hero h1 {
  font-family: var(--tks-display);
  font-size: clamp(2.35rem, 5vw, 3.1rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.05;
  color: var(--tks-accent-deep);
}

.tks-lede {
  font-size: 1.15rem;
  color: var(--tks-text-muted);
  margin: 0 0 1.5rem;
  max-width: 40ch;
}

.tks-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.tks-hero-pills li {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--tks-surface);
  border: 1px solid var(--tks-border);
  color: var(--tks-text-muted);
}

.tks-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.tks-actions-center {
  justify-content: center;
}

.tks-btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border-radius: var(--tks-radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
}

.tks-btn-block {
  display: block;
  width: 100%;
}

.tks-btn-primary {
  background: var(--tks-accent);
  color: #fff;
}

.tks-btn-primary:hover {
  background: var(--tks-accent-hover);
}

.tks-btn-secondary {
  background: var(--tks-accent-deep);
  color: #fff;
}

.tks-btn-secondary:hover {
  filter: brightness(1.08);
}

.tks-btn-quiet {
  background: var(--tks-surface);
  color: var(--tks-text);
  border: 1px solid var(--tks-border);
}

.tks-meta {
  font-size: 0.9rem;
  color: var(--tks-text-muted);
}

.tks-meta-center {
  text-align: center;
  margin-top: 1rem;
}

.tks-meta a {
  color: var(--tks-accent);
  text-decoration: none;
}

.tks-meta a:hover {
  text-decoration: underline;
}

.tks-aside-card {
  background: var(--tks-surface);
  border: 1px solid var(--tks-border);
  border-radius: calc(var(--tks-radius) + 4px);
  padding: 1.5rem 1.35rem;
  box-shadow: 0 12px 32px rgba(17, 94, 89, 0.08);
}

.tks-aside-card h2 {
  font-family: var(--tks-display);
  font-size: 1.45rem;
  margin: 0 0 0.75rem;
  color: var(--tks-accent-deep);
}

.tks-aside-note {
  font-size: 0.95rem;
  color: var(--tks-text-muted);
}

.tks-section {
  padding: 2.5rem 0 3rem;
}

.tks-section-muted {
  background: var(--tks-bg-muted);
}

.tks-section h2 {
  font-family: var(--tks-display);
  font-size: 1.75rem;
  margin-top: 0;
  color: var(--tks-accent-deep);
}

.tks-intro {
  color: var(--tks-text-muted);
  max-width: 52ch;
  margin-bottom: 2rem;
}

.tks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.tks-card {
  background: var(--tks-surface);
  border: 1px solid var(--tks-border);
  border-radius: var(--tks-radius);
  padding: 1.35rem 1.25rem;
}

.tks-card-icon {
  display: block;
  font-size: 1.5rem;
  color: var(--tks-accent);
  margin-bottom: 0.5rem;
}

.tks-card h3 {
  font-family: var(--tks-display);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.tks-card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--tks-text-muted);
}

.tks-cta-band {
  text-align: center;
  padding: 2rem 0;
}

.tks-cta-band > p:first-child {
  font-family: var(--tks-display);
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

.tks-prose {
  padding: 2.5rem 0 3rem;
  max-width: var(--tks-narrow);
}

.tks-prose h1 {
  font-family: var(--tks-display);
  font-size: 2rem;
  margin: 0.25rem 0 0.5rem;
  color: var(--tks-accent-deep);
}

.tks-prose h2 {
  font-family: var(--tks-display);
  font-size: 1.25rem;
  margin-top: 2rem;
  color: var(--tks-accent-deep);
}

.tks-updated {
  color: var(--tks-text-muted);
  font-size: 0.9rem;
}

.tks-prose a {
  color: var(--tks-accent);
}

.tks-prose code {
  font-size: 0.88em;
  background: var(--tks-bg-muted);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.tks-faq dt {
  font-weight: 600;
  margin-top: 1rem;
}

.tks-faq dd {
  margin: 0.35rem 0 0;
  color: var(--tks-text-muted);
}

.tks-form label {
  display: block;
  font-weight: 600;
  margin: 1rem 0 0.35rem;
}

.tks-form input,
.tks-form textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--tks-border);
  border-radius: var(--tks-radius);
  font: inherit;
  background: var(--tks-surface);
}

.tks-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.tks-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.tks-form-note {
  padding: 0.75rem 1rem;
  border-radius: var(--tks-radius);
}

.tks-form-error {
  background: #fde8e8;
  color: #8b1e1e;
}

.tks-form-success {
  background: #e6f4ea;
  color: #1e5631;
}

.tks-footer {
  border-top: 1px solid var(--tks-border);
  background: var(--tks-surface);
  padding: 2rem 0;
  margin-top: auto;
}

.tks-footer-lead {
  margin: 0 0 1rem;
}

.tks-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}

.tks-footer-nav a {
  color: var(--tks-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.tks-footer-nav a:hover {
  color: var(--tks-accent);
}

.tks-fine {
  font-size: 0.82rem;
  color: var(--tks-text-muted);
  margin: 0.5rem 0 0;
  max-width: 58ch;
}

.tks-copy code {
  font-size: 0.85em;
}
