:root,
html.light {
  color-scheme: light;
  --tm-ivory: #f7f5f1;
  --tm-ivory-deep: #ede9e0;
  --tm-paper: #fdfbf7;
  --tm-ink: #0a0b0b;
  --tm-ink-soft: #151617;
  --tm-graphite: #27272a;
  --tm-graphite-soft: #52525b;
  --tm-bone: #a8a29a;
  --tm-teal: #0abab5;
  --tm-bg: var(--tm-ivory);
  --tm-bg-elevated: var(--tm-paper);
  --tm-fg: var(--tm-ink);
  --tm-fg-muted: var(--tm-graphite-soft);
  --tm-border: rgba(10, 11, 11, 0.1);
  --tm-border-strong: rgba(10, 11, 11, 0.2);
  --tm-nav-bg: rgba(247, 245, 241, 0.85);
}

html.dark {
  color-scheme: dark;
  --tm-bg: var(--tm-ink);
  --tm-bg-elevated: var(--tm-ink-soft);
  --tm-fg: var(--tm-ivory);
  --tm-fg-muted: var(--tm-bone);
  --tm-border: rgba(247, 245, 241, 0.1);
  --tm-border-strong: rgba(247, 245, 241, 0.2);
  --tm-nav-bg: rgba(10, 11, 11, 0.85);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--tm-bg);
  color: var(--tm-fg);
  font-family: Geist, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}

body {
  background: var(--tm-bg);
  color: var(--tm-fg);
  margin: 0;
  min-height: 100vh;
  transition: background-color 0.4s ease, color 0.4s ease;
}

a {
  color: var(--tm-teal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.tm-site-header {
  background: transparent;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  transition: background-color 0.5s ease, border-color 0.5s ease;
  z-index: 50;
}

.tm-site-header.is-scrolled,
.tm-site-header.menu-open {
  backdrop-filter: blur(24px);
  background: var(--tm-nav-bg);
  border-bottom: 1px solid var(--tm-border);
}

.tm-nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1440px;
  min-height: 80px;
  padding: 0 48px;
}

.tm-nav-left,
.tm-nav-desktop,
.tm-nav-links,
.tm-nav-actions,
.tm-nav-mobile-controls {
  align-items: center;
  display: flex;
}

.tm-nav-left {
  gap: 24px;
}

.tm-brand {
  align-items: center;
  color: var(--tm-fg);
  display: inline-flex;
  gap: 10px;
}

.tm-brand:hover,
.tm-nav-link:hover,
.tm-icon-button:hover,
.tm-download-button:hover {
  text-decoration: none;
}

.tm-brand-icon {
  display: grid;
  height: 32px;
  place-items: center;
  position: relative;
  width: 32px;
}

.tm-brand-glow {
  background: rgba(10, 186, 181, 0.2);
  border-radius: 999px;
  filter: blur(8px);
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 0.3s ease;
}

.tm-brand:hover .tm-brand-glow {
  opacity: 1;
}

.tm-brand img {
  height: 28px;
  object-fit: contain;
  position: relative;
  transition: transform 0.5s ease;
  width: 28px;
}

.tm-brand:hover img {
  transform: scale(1.1);
}

.tm-brand-text {
  color: var(--tm-fg);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 24px;
  line-height: 1;
  letter-spacing: 0;
}

.tm-product-hunt {
  display: inline-flex;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.tm-product-hunt:hover {
  opacity: 1;
}

.tm-product-hunt img {
  display: block;
  height: 28px;
  object-fit: contain;
  width: 130px;
}

.tm-nav-desktop {
  gap: 32px;
}

.tm-nav-links {
  gap: 40px;
}

.tm-nav-actions {
  gap: 12px;
}

.tm-nav-link,
.tm-menu-link {
  background: none;
  border: 0;
  color: var(--tm-fg-muted);
  cursor: pointer;
  display: inline-flex;
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  padding: 0;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.tm-nav-link:hover,
.tm-menu-link:hover {
  color: var(--tm-fg);
}

.tm-nav-divider {
  background: var(--tm-border);
  height: 20px;
  width: 1px;
}

.tm-icon-button {
  align-items: center;
  background: transparent;
  border: 1px solid var(--tm-border);
  border-radius: 999px;
  color: var(--tm-fg);
  cursor: pointer;
  display: inline-flex;
  height: 36px;
  justify-content: center;
  transition: border-color 0.3s ease, transform 0.2s ease;
  width: 36px;
}

.tm-icon-button:hover {
  border-color: rgba(10, 186, 181, 0.4);
}

.tm-icon-button:active,
.tm-download-button:active {
  transform: scale(0.98);
}

.theme-sun,
html.light .theme-moon,
.menu-close,
.tm-site-header.menu-open .menu-open {
  display: none;
}

html.light .theme-sun,
.tm-site-header.menu-open .menu-close {
  display: block;
}

.tm-download-button {
  align-items: center;
  background: var(--tm-ink);
  border-radius: 999px;
  color: var(--tm-ivory);
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  gap: 8px;
  padding: 8px 20px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

html.dark .tm-download-button {
  background: var(--tm-ivory);
  color: var(--tm-ink);
}

.tm-download-button:hover {
  background: var(--tm-graphite);
}

html.dark .tm-download-button:hover {
  background: var(--tm-ivory-deep);
}

.tm-download-dot {
  background: var(--tm-teal);
  border-radius: 999px;
  height: 4px;
  transition: transform 0.3s ease;
  width: 4px;
}

.tm-download-button:hover .tm-download-dot {
  transform: scale(1.5);
}

.tm-web-button {
  align-items: center;
  border: 1px solid var(--tm-border);
  border-radius: 999px;
  color: var(--tm-fg);
  display: inline-flex;
  font-size: 13px;
  font-weight: 500;
  gap: 8px;
  padding: 8px 20px;
  transition: border-color 0.3s ease, transform 0.2s ease;
}

.tm-web-button:hover {
  border-color: rgba(10, 186, 181, 0.4);
  text-decoration: none;
}

.tm-web-button:active {
  transform: scale(0.98);
}

.tm-nav-mobile-controls {
  display: none;
  gap: 12px;
}

.tm-mobile-menu {
  border-top: 1px solid var(--tm-border);
  display: none;
  margin: 0 auto;
  max-width: 1440px;
  padding: 24px 48px;
}

.tm-site-header.menu-open .tm-mobile-menu {
  display: block;
}

.tm-mobile-menu-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.legal-page {
  margin: 0 auto;
  max-width: 880px;
  padding: 128px 20px 80px;
}

h1 {
  color: var(--tm-fg);
  font-size: 56px;
  line-height: 1.05;
  margin: 0 0 10px;
}

.updated {
  color: var(--tm-fg-muted);
  margin: 0 0 48px;
}

section {
  margin: 0 0 40px;
}

h2 {
  color: var(--tm-fg);
  font-size: 1.5rem;
  line-height: 1.25;
  margin: 0 0 14px;
}

h3 {
  color: var(--tm-fg);
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 24px 0 10px;
}

p,
li {
  color: var(--tm-fg-muted);
  font-size: 1.03rem;
}

p {
  margin: 0 0 16px;
}

ul {
  margin: 0 0 16px 20px;
  padding: 0;
}

li + li {
  margin-top: 8px;
}

.contact {
  color: var(--tm-teal);
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid var(--tm-border);
  color: var(--tm-fg-muted);
  font-size: 14px;
  margin: 0 auto;
  max-width: 1440px;
  padding: 24px 20px 36px;
}

.static-page {
  margin: 0 auto;
  max-width: 1180px;
  padding: 128px 24px 80px;
}

.static-eyebrow {
  align-items: center;
  color: var(--tm-teal);
  display: flex;
  font-family: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  font-weight: 500;
  gap: 14px;
  letter-spacing: 0.14em;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.static-eyebrow::after {
  background: var(--tm-border);
  content: "";
  display: block;
  height: 1px;
  max-width: 160px;
  width: 100%;
}

.static-hero {
  display: grid;
  gap: 48px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  margin-bottom: 72px;
}

.static-hero h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.96;
  margin-bottom: 28px;
}

.static-lead {
  color: var(--tm-fg-muted);
  font-size: 1.18rem;
  line-height: 1.65;
  max-width: 58ch;
}

.static-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.static-primary,
.static-secondary {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 600;
  justify-content: center;
  padding: 14px 24px;
}

.static-primary {
  background: var(--tm-fg);
  color: var(--tm-bg);
}

.static-secondary {
  border: 1px solid var(--tm-border-strong);
  color: var(--tm-fg);
}

.static-primary:hover,
.static-secondary:hover {
  text-decoration: none;
}

.intent-card {
  background: var(--tm-bg-elevated);
  border: 1px solid var(--tm-border-strong);
  border-radius: 28px;
  padding: 32px;
}

.intent-card h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.05;
}

.intent-card ul {
  list-style: none;
  margin-left: 0;
}

.intent-card li {
  align-items: center;
  display: flex;
  gap: 10px;
}

.intent-card li::before {
  background: var(--tm-teal);
  border-radius: 999px;
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  height: 6px;
  width: 6px;
}

.static-grid {
  border-left: 1px solid var(--tm-border);
  border-top: 1px solid var(--tm-border);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 72px;
}

.static-grid section {
  border-bottom: 1px solid var(--tm-border);
  border-right: 1px solid var(--tm-border);
  margin: 0;
  padding: 32px;
}

.static-grid h2,
.static-faq h2 {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 2.1rem;
  font-weight: 400;
}

.static-faq {
  border-top: 1px solid var(--tm-border);
  margin: 0 0 72px;
}

.static-faq section {
  border-bottom: 1px solid var(--tm-border);
  margin: 0;
  padding: 28px 0;
}

.static-article {
  margin: 0 auto;
  max-width: 760px;
  padding: 128px 24px 80px;
}

.static-article h1 {
  font-family: Geist, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(42px, 7vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.static-meta {
  color: var(--tm-fg-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.95rem;
  gap: 16px;
  margin: 24px 0 48px;
}

.static-prose {
  border-top: 1px solid var(--tm-border);
  padding-top: 36px;
}

.static-prose h2 {
  font-family: Geist, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  margin-top: 36px;
}

.static-cta {
  background: rgba(10, 186, 181, 0.08);
  border: 1px solid rgba(10, 186, 181, 0.25);
  border-radius: 24px;
  margin-top: 56px;
  padding: 28px;
}

@media (max-width: 1023px) {
  .tm-product-hunt {
    display: none;
  }

  .static-hero,
  .static-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .tm-nav {
    min-height: 64px;
    padding: 0 24px;
  }

  .tm-nav-desktop {
    display: none;
  }

  .tm-nav-mobile-controls {
    display: flex;
  }

  .tm-mobile-menu {
    padding: 24px;
  }

  .legal-page {
    padding-top: 104px;
  }

  .static-page,
  .static-article {
    padding: 104px 24px 64px;
  }

  .static-actions {
    flex-direction: column;
  }

  h1 {
    font-size: 40px;
  }
}
