:root {
  --tm-yellow: #f0b429;
  --tm-yellow-deep: #d9a01e;
  --tm-yellow-soft: #f6c84a;
  --tm-ink: #1c1c1c;
  --tm-ink-soft: #5c5c5c;
  --tm-paper: #f3f4f6;
  --tm-white: #ffffff;
  --tm-line: #e2e4e8;
  --tm-max: 1120px;
  --tm-font: "Outfit", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body.tm-landing {
  margin: 0;
  font-family: var(--tm-font);
  color: var(--tm-ink);
  background: var(--tm-paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.tm-landing a {
  color: inherit;
  text-decoration: none;
}

body.tm-landing img {
  max-width: 100%;
  height: auto;
  display: block;
}

.tm-skip {
  position: absolute;
  left: -9999px;
}

.tm-skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  background: var(--tm-ink);
  color: var(--tm-white);
  padding: 0.5rem 0.75rem;
}

/* —— Nav —— */
.tm-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2rem, var(--tm-max));
  margin: 0 auto;
  padding: 1.25rem 0;
}

.tm-nav__brand {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--tm-ink);
}

.tm-nav__brand span {
  font-weight: 500;
  opacity: 0.7;
}

.tm-nav__toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--tm-ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0.35rem 0;
}

.tm-nav__links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tm-nav__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--tm-ink);
  opacity: 0.8;
}

.tm-nav__links a:hover,
.tm-nav__links a:focus-visible {
  opacity: 1;
}

/* —— Hero —— */
.tm-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.22), transparent 42%),
    radial-gradient(circle at 88% 78%, rgba(28, 28, 28, 0.08), transparent 40%),
    linear-gradient(145deg, var(--tm-yellow-soft) 0%, var(--tm-yellow) 48%, var(--tm-yellow-deep) 100%);
  color: var(--tm-ink);
}

.tm-hero__grain {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: repeating-linear-gradient(
    -18deg,
    transparent,
    transparent 11px,
    rgba(28, 28, 28, 0.35) 11px,
    rgba(28, 28, 28, 0.35) 12px
  );
}

.tm-hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, 40rem);
  text-align: center;
  padding: 6.5rem 0 4rem;
}

.tm-hero__logo {
  width: min(72vw, 18rem);
  margin: 0 auto 1.5rem;
  border-radius: 0.35rem;
  animation: tm-rise 0.9s ease-out both;
}

.tm-hero__rule {
  width: 0;
  height: 4px;
  margin: 0 auto 1.15rem;
  border-radius: 2px;
  background: var(--tm-ink);
  animation: tm-rule 0.8s 0.35s ease-out forwards;
}

.tm-hero__copy {
  margin: 0 auto 1.75rem;
  max-width: 28rem;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.45;
  color: rgba(28, 28, 28, 0.88);
  animation: tm-rise 0.9s 0.2s ease-out both;
}

.tm-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  animation: tm-rise 0.9s 0.35s ease-out both;
}

.tm-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.35rem;
  transition: transform 0.2s ease;
}

.tm-store:hover,
.tm-store:focus-visible {
  transform: translateY(-2px);
}

.tm-store img {
  height: 2.75rem;
  width: auto;
}

.tm-hero__scroll {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.65;
}

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

.tm-section--ink {
  background: var(--tm-ink);
  color: var(--tm-white);
}

.tm-wrap {
  width: min(100% - 2.5rem, var(--tm-max));
  margin: 0 auto;
}

.tm-kicker {
  display: block;
  width: 2.5rem;
  height: 4px;
  margin-bottom: 1.1rem;
  border-radius: 2px;
  background: var(--tm-yellow);
}

.tm-section--ink .tm-kicker {
  background: var(--tm-yellow);
}

.tm-section__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.tm-section__lead {
  margin: 0 0 2.5rem;
  max-width: 36rem;
  font-size: 1.05rem;
  color: var(--tm-ink-soft);
}

.tm-section--ink .tm-section__lead {
  color: rgba(255, 255, 255, 0.72);
}

/* Features: editorial rows, not icon cards */
.tm-features {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--tm-line);
}

.tm-feature {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--tm-line);
}

.tm-feature__index {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--tm-yellow-deep);
  padding-top: 0.2rem;
}

.tm-feature h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.tm-feature p {
  margin: 0;
  color: var(--tm-ink-soft);
  max-width: 40rem;
}

/* Download band */
.tm-download {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 880px) {
  .tm-download {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

.tm-download__visual {
  position: relative;
  min-height: 18rem;
  border-radius: 0.2rem;
  overflow: hidden;
  background: linear-gradient(160deg, #2a2a2a, #111);
}

.tm-download__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
}

.tm-download__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* FAQ */
.tm-faq {
  display: grid;
  gap: 0.65rem;
  max-width: 44rem;
}

.tm-faq details {
  border: 1px solid var(--tm-line);
  background: var(--tm-white);
  border-radius: 0.2rem;
  padding: 0.95rem 1.1rem;
}

.tm-faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.tm-faq summary::-webkit-details-marker {
  display: none;
}

.tm-faq summary::after {
  content: "+";
  float: right;
  font-weight: 700;
  color: var(--tm-ink-soft);
}

.tm-faq details[open] summary::after {
  content: "–";
}

.tm-faq p {
  margin: 0.75rem 0 0;
  color: var(--tm-ink-soft);
}

/* Contact */
.tm-contact {
  display: grid;
  gap: 2rem;
}

@media (min-width: 880px) {
  .tm-contact {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
  }
}

.tm-form {
  display: grid;
  gap: 0.85rem;
}

.tm-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.tm-form input,
.tm-form textarea {
  width: 100%;
  border: 1px solid var(--tm-line);
  background: var(--tm-white);
  border-radius: 0.2rem;
  padding: 0.85rem 0.95rem;
  font: inherit;
  color: var(--tm-ink);
}

.tm-form input:focus,
.tm-form textarea:focus {
  outline: 2px solid var(--tm-ink);
  outline-offset: 1px;
}

.tm-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.tm-form__error {
  color: #b42318;
  font-size: 0.85rem;
}

.tm-form__ok {
  padding: 0.75rem 0.9rem;
  background: #e8f5ee;
  border: 1px solid #b7dfc8;
  border-radius: 0.2rem;
  color: #1f5c3d;
}

.tm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.2rem;
  background: var(--tm-yellow);
  color: var(--tm-ink);
  font: inherit;
  font-weight: 700;
  padding: 0.9rem 1.35rem;
  cursor: pointer;
  width: fit-content;
}

.tm-btn:hover,
.tm-btn:focus-visible {
  background: var(--tm-yellow-soft);
}

.tm-aside {
  padding-top: 0.25rem;
}

.tm-aside dt {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tm-ink-soft);
  margin: 0 0 0.25rem;
}

.tm-aside dd {
  margin: 0 0 1.25rem;
  font-weight: 500;
}

/* Footer */
.tm-footer {
  border-top: 1px solid var(--tm-line);
  background: var(--tm-white);
  padding: 1.75rem 0;
}

.tm-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  color: var(--tm-ink-soft);
}

.tm-footer a:hover {
  color: var(--tm-ink);
}

/* Reveal */
.tm-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.tm-reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes tm-rise {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tm-rule {
  from {
    width: 0;
  }
  to {
    width: 3rem;
  }
}

@media (max-width: 760px) {
  .tm-nav__toggle {
    display: block;
  }

  .tm-nav__links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 0 1rem;
    background: rgba(240, 180, 41, 0.97);
    border-bottom: 1px solid rgba(28, 28, 28, 0.08);
  }

  .tm-nav.is-open .tm-nav__links {
    display: flex;
  }

  .tm-nav__links li {
    width: 100%;
  }

  .tm-nav__links a {
    display: block;
    padding: 0.7rem 0;
    opacity: 1;
  }

  .tm-feature {
    grid-template-columns: 2.5rem 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .tm-reveal {
    opacity: 1;
    transform: none;
  }
}
