/* ============================================================
   t1_hero — modern SaaS landing.
   Светлая тема, синий accent, sticky-nav.
   ============================================================ */

:root {
  --t1-bg: #ffffff;
  --t1-bg-alt: #f5f7fb;
  --t1-fg: #0e1320;
  --t1-fg-muted: #5a6477;
  --t1-border: #e3e7ee;
  --t1-accent: #2b6cff;
  --t1-accent-hover: #1f57d8;
  --t1-accent-soft: #e8efff;
  --t1-radius: 14px;
  --t1-radius-lg: 22px;
  --t1-shadow-sm: 0 1px 2px rgba(14, 19, 32, .06), 0 2px 6px rgba(14, 19, 32, .04);
  --t1-shadow-md: 0 6px 18px rgba(14, 19, 32, .08), 0 2px 6px rgba(14, 19, 32, .04);
}

.t1-page { background: var(--t1-bg); color: var(--t1-fg); }

/* ===== Header ===== */
.t1-header {
  position: sticky; top: 0;
  background: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
  z-index: 100;
}
.t1-header[data-stuck] {
  border-bottom-color: var(--t1-border);
  background: rgba(255, 255, 255, .96);
}
.t1-header__inner {
  max-width: 1180px; margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; gap: 24px;
}
.t1-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.05rem;
}
.t1-brand img { border-radius: 9px; }
.t1-nav { margin-left: auto; }
.t1-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 28px;
}
.t1-nav a {
  font-size: .94rem; color: var(--t1-fg-muted);
  transition: color .15s;
}
.t1-nav a:hover { color: var(--t1-fg); }

/* Mobile nav */
.t1-nav-toggle {
  display: none;
  background: none; border: 0; padding: 6px;
  flex-direction: column; gap: 4px;
}
.t1-nav-toggle span {
  width: 22px; height: 2px; background: var(--t1-fg); border-radius: 2px;
}
@media (max-width: 880px) {
  .t1-nav {
    position: fixed; top: 64px; left: 0; right: 0;
    background: #fff; border-top: 1px solid var(--t1-border);
    padding: 20px 24px;
    transform: translateY(-110%); transition: transform .25s;
    margin-left: 0;
  }
  .t1-nav[data-open] { transform: translateY(0); }
  .t1-nav ul { flex-direction: column; gap: 16px; }
  .t1-nav-toggle { display: flex; }
  .t1-header .t1-btn--cta { display: none; }
}

/* ===== Buttons ===== */
.t1-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600; font-size: .95rem;
  border: 1px solid transparent;
  transition: background .15s, color .15s, transform .05s, border-color .15s;
  text-align: center;
}
.t1-btn:active { transform: translateY(1px); }
.t1-btn--primary { background: var(--t1-accent); color: #fff; }
.t1-btn--primary:hover { background: var(--t1-accent-hover); }
.t1-btn--cta { background: var(--t1-fg); color: #fff; padding: 9px 18px; font-size: .9rem; }
.t1-btn--cta:hover { background: #000; }
.t1-btn--ghost { background: transparent; color: var(--t1-fg); border-color: var(--t1-border); }
.t1-btn--ghost:hover { background: var(--t1-bg-alt); }
.t1-btn--lg { padding: 14px 28px; font-size: 1rem; }

/* ===== Hero ===== */
.t1-hero { padding: 80px 24px 96px; overflow: hidden; }
.t1-hero__inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 56px; align-items: center;
}
.t1-hero__pill {
  display: inline-block;
  background: var(--t1-accent-soft); color: var(--t1-accent);
  padding: 6px 14px; border-radius: 999px;
  font-size: .82rem; font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 22px;
}
.t1-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  letter-spacing: -.02em;
  margin-bottom: 18px;
}
.t1-hero__lead {
  font-size: 1.15rem; color: var(--t1-fg-muted);
  max-width: 540px; margin-bottom: 32px;
}
.t1-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.t1-hero__stats {
  display: grid; grid-template-columns: repeat(3, auto); gap: 32px;
  margin: 0; padding: 24px 0 0;
  border-top: 1px solid var(--t1-border);
}
.t1-hero__stats div { display: flex; flex-direction: column; gap: 4px; }
.t1-hero__stats dt { font-size: 1.5rem; font-weight: 700; color: var(--t1-fg); }
.t1-hero__stats dd { font-size: .88rem; color: var(--t1-fg-muted); margin: 0; }

.t1-hero__visual {
  margin: 0;
  background: linear-gradient(160deg, var(--t1-accent-soft), var(--t1-bg-alt));
  border-radius: var(--t1-radius-lg);
  padding: 32px;
  box-shadow: var(--t1-shadow-md);
}
.t1-hero__visual img {
  border-radius: var(--t1-radius);
  margin: 0 auto;
  box-shadow: var(--t1-shadow-md);
}
@media (max-width: 880px) {
  .t1-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .t1-hero__stats { grid-template-columns: 1fr; gap: 16px; }
}

/* ===== Sections base ===== */
.t1-section__inner { max-width: 1180px; margin: 0 auto; padding: 80px 24px; }
.t1-section__inner--narrow { max-width: 760px; }
.t1-section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -.015em;
  margin-bottom: 16px;
  text-align: center;
}
.t1-section__lead {
  text-align: center;
  color: var(--t1-fg-muted);
  max-width: 680px; margin: 0 auto 56px;
  font-size: 1.05rem;
}

/* ===== Features ===== */
.t1-features { background: var(--t1-bg-alt); }
.t1-features__grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.t1-feature {
  background: #fff;
  border-radius: var(--t1-radius);
  padding: 28px;
  box-shadow: var(--t1-shadow-sm);
}
.t1-feature__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--t1-accent-soft);
  color: var(--t1-accent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.t1-feature__icon svg { width: 22px; height: 22px; }
.t1-feature__title { font-size: 1.1rem; margin-bottom: 8px; }
.t1-feature__text { color: var(--t1-fg-muted); margin: 0; font-size: .95rem; }
@media (max-width: 880px) { .t1-features__grid { grid-template-columns: 1fr; } }

/* ===== Screenshots ===== */
.t1-screens__strip {
  display: flex; gap: 20px; overflow-x: auto;
  padding: 8px 0 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.t1-screen {
  margin: 0; flex: 0 0 auto;
  scroll-snap-align: center;
  border-radius: var(--t1-radius);
  overflow: hidden;
  box-shadow: var(--t1-shadow-md);
}
.t1-screen img { width: 260px; height: auto; }

/* ===== Reviews ===== */
.t1-reviews { background: var(--t1-bg-alt); }
.t1-reviews__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.t1-review {
  background: #fff; border-radius: var(--t1-radius);
  padding: 24px;
  box-shadow: var(--t1-shadow-sm);
}
.t1-review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.t1-review__head img { border-radius: 50%; }
.t1-review__meta { flex: 1; line-height: 1.2; }
.t1-review__meta strong { display: block; font-size: .98rem; }
.t1-review__meta span { display: block; font-size: .82rem; color: var(--t1-fg-muted); margin-top: 2px; }
.t1-review__rating { color: #ffb400; letter-spacing: 1px; font-size: .95rem; }
.t1-review p { color: var(--t1-fg); margin: 0; font-size: .95rem; }
@media (max-width: 880px) { .t1-reviews__grid { grid-template-columns: 1fr; } }

/* ===== FAQ ===== */
.t1-faq__list { display: flex; flex-direction: column; gap: 8px; }
.t1-faq__item {
  background: var(--t1-bg-alt);
  border-radius: var(--t1-radius);
  padding: 4px 22px;
  border: 1px solid transparent;
  transition: border-color .15s;
}
.t1-faq__item[open] { border-color: var(--t1-border); background: #fff; }
.t1-faq__item summary {
  list-style: none;
  font-weight: 600;
  padding: 18px 0;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.t1-faq__item summary::-webkit-details-marker { display: none; }
.t1-faq__item summary::after {
  content: '+';
  font-size: 1.3rem; line-height: 1;
  transition: transform .15s;
}
.t1-faq__item[open] summary::after { content: '−'; }
.t1-faq__answer { padding: 0 0 18px; color: var(--t1-fg-muted); }

/* ===== Prose (privacy / terms) ===== */
.t1-prose__body { color: var(--t1-fg-muted); }
.t1-prose__body p { margin-bottom: 1em; }

/* ===== Contact form ===== */
.t1-contact { background: var(--t1-bg-alt); }
.t1-form { background: #fff; padding: 32px; border-radius: var(--t1-radius); box-shadow: var(--t1-shadow-sm); }
.t1-form__row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.t1-form__row label { font-size: .9rem; font-weight: 600; }
.t1-form__row input,
.t1-form__row textarea {
  padding: 12px 14px;
  border: 1px solid var(--t1-border);
  border-radius: 10px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.t1-form__row input:focus,
.t1-form__row textarea:focus {
  outline: 0;
  border-color: var(--t1-accent);
  box-shadow: 0 0 0 3px var(--t1-accent-soft);
}
.t1-form__thanks {
  color: #1f7d52; font-weight: 600; margin-top: 14px;
}

/* ===== Final CTA ===== */
.t1-final-cta {
  background: linear-gradient(135deg, var(--t1-accent), #6e3dff);
  color: #fff;
  text-align: center;
}
.t1-final-cta .t1-section__inner { padding: 72px 24px; }
.t1-final-cta h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 12px; }
.t1-final-cta p { color: rgba(255,255,255,.85); margin: 0 auto 28px; max-width: 540px; }
.t1-final-cta .t1-btn--primary {
  background: #fff; color: var(--t1-accent);
}
.t1-final-cta .t1-btn--primary:hover { background: #f5f7fb; }
