/* Telio.one — production static site styles */
/* No build pipeline. Open directly in a browser or deploy to any static host. */

:root {
  --bg: #0b0c0f;
  --surface: #12131a;
  --surface-2: #1a1c24;
  --surface-3: #22262f;
  --border: #272a35;
  --border-subtle: #1e2028;
  --text: #e7e9ef;
  --text-heading: #ffffff;
  --muted: #9aa3b2;
  --accent: #2dd4bf;
  --accent-dim: #115e59;
  --accent-glow: rgba(45, 212, 191, 0.18);
  --focus: #5eead4;
  --radius: 1rem;
  --radius-sm: 0.5rem;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --max-width: 1140px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--focus);
}

a:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.container {
  width: min(92%, var(--max-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 12, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-heading);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--text-heading);
}

.brand-logo {
  width: 36px;
  height: 36px;
  color: var(--text-heading);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.main-nav a {
  color: var(--muted);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    background: rgba(11, 12, 15, 0.96);
    border-bottom: 1px solid var(--border);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 1rem 4%;
    width: 100%;
    border-bottom: 1px solid var(--border-subtle);
  }
}

/* Hero */
.hero {
  padding: 8rem 0 6rem;
  text-align: center;
}

.hero-compact {
  padding: 6rem 0 4.5rem;
}

.eyebrow {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.hero-title {
  margin: 0 auto 1.5rem;
  max-width: 900px;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-heading);
}

.hero-title .accent {
  color: var(--accent);
}

.hero-lead {
  margin: 0 auto 2rem;
  max-width: 720px;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.55;
  color: var(--muted);
}

.hero-lead strong {
  color: var(--text);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #00100d;
  box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--focus);
  color: #00100d;
  box-shadow: 0 12px 32px var(--accent-glow);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-header h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
  color: var(--text-heading);
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
}

/* Cards */
.grid {
  display: grid;
  gap: 1.5rem;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card, .proof-card, .day-step, .capability {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.card.in, .proof-card.in, .day-step.in, .capability.in, .split > *.in, .section-header.in {
  opacity: 1;
  transform: translateY(0);
}

.card {
  padding: 1.75rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 1.25rem;
  padding: 10px;
  color: var(--accent);
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  color: var(--text-heading);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  letter-spacing: -0.02em;
  color: var(--text-heading);
}

.split p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.feature-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text);
  line-height: 1.55;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.feature-list strong {
  color: var(--text-heading);
}

.code-block {
  padding: 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
  box-shadow: var(--shadow);
}

.code-block pre {
  margin: 0;
}

.code-block .k {
  color: var(--accent);
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Proof */
.proof-card {
  max-width: 800px;
  padding: 2rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.proof-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--accent-dim);
  border-radius: 999px;
}

.proof-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.4rem;
  color: var(--text-heading);
}

.proof-card > p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.6;
}

.proof-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.chip {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  color: var(--text);
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.text-link {
  font-weight: 600;
}

/* Capability list */
.capability-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.capability {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.capability:hover {
  border-color: var(--accent-dim);
  box-shadow: var(--shadow);
}

.capability-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  padding-top: 0.25rem;
}

.capability-body h3 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: var(--text-heading);
}

.capability-body p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.6;
}

.capability-body ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--text);
  line-height: 1.65;
}

.capability-body li {
  margin-bottom: 0.5rem;
}

@media (max-width: 640px) {
  .capability {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 1.5rem;
  }
}

/* Day in the life */
.day-strip {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.day-step {
  flex: 1 1 0;
  min-width: 0;
  padding: 1.5rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.day-time {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
}

.day-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--text-heading);
}

.day-step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.day-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--accent);
}

@media (max-width: 900px) {
  .day-strip {
    flex-direction: column;
  }

  .day-arrow {
    width: auto;
    transform: rotate(90deg);
    padding: 0.25rem 0;
  }
}

/* CTA */
.cta {
  text-align: center;
}

.cta h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--text-heading);
}

.cta p {
  margin: 0 auto 1.75rem;
  max-width: 620px;
  color: var(--muted);
  font-size: 1.1rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-subtle);
  background: var(--surface);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-inner nav {
  display: flex;
  gap: 1.5rem;
}

.footer-inner a {
  color: var(--muted);
}

.footer-inner a:hover {
  color: var(--text);
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-inner nav {
    justify-content: center;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .card, .proof-card, .day-step, .capability, .split > *, .section-header {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:hover, .card:hover {
    transform: none;
  }
}
