:root {
  --color-bg: #ffffff;
  --color-bg-soft: #f7f9fc;
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-accent: #2196f3;
  --color-accent-dark: #1481d6;
  --color-border: #e6e9f0;
  --color-black: #0b1220;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.is-loaded {
  opacity: 1;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-accent), #6dd5fa);
  z-index: 200;
  transition: width 0.1s linear;
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 0.84, 0.44, 1), transform 0.7s cubic-bezier(0.16, 0.84, 0.44, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.94) translateY(16px);
  transition: opacity 0.8s cubic-bezier(0.16, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.16, 0.84, 0.44, 1);
}

.reveal-scale.in-view {
  opacity: 1;
  transform: scale(1) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  body {
    opacity: 1;
  }

  .reveal, .reveal-scale {
    opacity: 1;
    transform: none;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 22px 0;
  transition: padding 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 999px;
  padding: 0;
  background: transparent;
  box-shadow: 0 0 0 0 rgba(15, 23, 42, 0);
  transition:
    background 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.is-scrolled {
  padding: 14px 0;
}

.navbar.is-scrolled .navbar-inner {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  box-shadow: 0 12px 32px -12px rgba(15, 23, 42, 0.18), 0 2px 10px -2px rgba(15, 23, 42, 0.08);
  padding: 10px 14px 10px 22px;
  max-width: 1120px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 38px;
  width: auto;
  display: block;
  transition: height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.is-scrolled .brand-logo {
  height: 26px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  opacity: 0.85;
  transition: opacity 0.15s ease;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-accent);
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a:hover::after {
  right: 0;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.15s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary,
.btn-cta {
  isolation: isolate;
}

.btn-primary::before,
.btn-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.65s ease;
  z-index: 1;
}

.btn-primary:hover::before,
.btn-cta:hover::before {
  left: 130%;
}

.btn-primary {
  background: var(--color-black);
  color: #ffffff;
}

.btn-primary:hover {
  background: #1a2436;
  transform: translateY(-2px);
}

.btn-secondary {
  background: #ffffff;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-bg-soft);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -14px rgba(15, 23, 42, 0.3);
}

.btn-nav {
  padding: 11px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 15px 26px;
  font-size: 15.5px;
}

.icon-download {
  flex-shrink: 0;
}

/* Hero */
.hero {
  position: relative;
  padding: 40px 0 120px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(15, 23, 42, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 0%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 0%, #000 40%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  gap: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: #eaf5ff;
  color: var(--color-accent-dark);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 28px;
}

.hero-badge .dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  display: inline-block;
}

.hero-badge .dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.55;
  animation: pulse-ring 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.55; }
  70% { transform: scale(2.6); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}

.hero-title {
  font-size: 58px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--color-text);
}

.hero-title .accent {
  background: linear-gradient(90deg, var(--color-accent), #6dd5fa, var(--color-accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: text-shine 6s linear infinite;
}

@keyframes text-shine {
  to { background-position: 200% center; }
}

.hero-subtitle {
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 0 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.hero-footnote {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-accent);
  font-weight: 500;
}

/* Hero visual panel */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -60px;
  background: radial-gradient(circle at 50% 40%, rgba(33, 150, 243, 0.16), transparent 65%);
  z-index: 0;
  filter: blur(10px);
}

.hero-visual > .reveal-scale {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.app-shot {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: 360px;
  min-height: 460px;
  animation: floaty 6s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.app-shot {
  height: auto;
  min-height: 0;
  max-width: 440px;
  aspect-ratio: 428 / 800;
}

.app-shot img {
  position: absolute;
  display: block;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.18), 0 10px 20px -10px rgba(15, 23, 42, 0.08);
}

.app-shot .app-shot-front { width: 64%; left: 0; top: 0; z-index: 2; box-shadow: 0 40px 70px -24px rgba(8, 24, 80, 0.5); }
.app-shot .app-shot-back { width: 60%; right: 0; top: 14%; z-index: 1; }

.showcase { padding: 40px 0 120px; }
.showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
  padding: 56px;
  border-radius: 28px;
  background: linear-gradient(135deg, #0b1b3f, #10265a 60%, #0c2f6b);
  color: #fff;
}
.showcase-inner .eyebrow { color: #7cc4ff; }
.showcase-title { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; margin: 10px 0 14px; color: #fff; }
.showcase-sub { color: rgba(255, 255, 255, 0.75); line-height: 1.65; max-width: 440px; }
.showcase-shots { display: flex; gap: 22px; align-items: center; justify-content: center; }
.showcase-shots img { width: calc(50% - 11px); height: auto; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55); }
.showcase-shots img:nth-child(2) { margin-top: 60px; }
@media (max-width: 860px) {
  .showcase-inner { grid-template-columns: 1fr; padding: 32px 22px; gap: 32px; }
}

.app-shot img.legacy {
  height: 100%;
  object-fit: fill;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.18), 0 10px 20px -10px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.widget-stack {
  position: relative;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
}

.widget-card {
  width: 78%;
  margin-top: 14px;
  position: relative;
}

.widget-card:first-child {
  margin-top: 0;
}

.widget-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: #ffffff;
  box-shadow: 0 30px 60px -20px rgba(15, 23, 42, 0.18), 0 10px 20px -10px rgba(15, 23, 42, 0.08);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.widget-card:hover {
  z-index: 3;
}

.widget-card:hover img {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 40px 70px -24px rgba(33, 150, 243, 0.35), 0 10px 20px -10px rgba(15, 23, 42, 0.1);
}

.widget-card--1 { align-self: flex-start; z-index: 1; }
.widget-card--2 { align-self: flex-end; z-index: 2; }
.widget-card--3 { align-self: flex-start; margin-left: 8%; z-index: 1; }

/* Features */
.features {
  padding: 100px 0 140px;
}

.features-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-accent-dark);
  margin-bottom: 16px;
}

.features-title {
  font-size: 42px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--color-text);
}

.features-subtitle {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 480px;
  margin: 0 0 56px;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.feature-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: var(--color-accent-dark);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 16px -6px rgba(15, 23, 42, 0.15), 0 1px 3px rgba(15, 23, 42, 0.08);
}

.feature-text h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 6px;
}

.feature-text p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0;
  max-width: 420px;
}

.features-visual {
  display: flex;
  justify-content: center;
}

/* Tools */
.tools {
  padding: 40px 0 140px;
}

.tools-header {
  max-width: 600px;
  margin-bottom: 56px;
}

.tools-title {
  font-size: 42px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--color-text);
}

.tools-subtitle {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tool-item {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 28px 24px;
  background: #ffffff;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.tool-item:hover {
  box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.18);
  transform: translateY(-3px);
  border-color: #d7dce6;
}

.tool-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-bg-soft);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease;
}

.tool-item:hover .tool-item-icon {
  transform: scale(1.08) rotate(-4deg);
  background: var(--color-accent);
  color: #ffffff;
}

.tool-item h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 10px;
}

.tool-item p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0 0 24px;
  flex: 1;
}

.tool-item-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text);
}

.tool-item-link svg {
  transition: transform 0.2s ease;
}

.tool-item:hover .tool-item-link svg {
  transform: translateX(3px);
}

.tool-item.coming-soon {
  border: 1.5px dashed var(--color-accent);
  background: #f3faff;
}

.coming-soon-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: #eaf5ff;
  color: var(--color-accent-dark);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
}

.tool-item.coming-soon .tool-item-link {
  color: var(--color-accent-dark);
}

/* Why TuloDesk */
.why {
  padding: 100px 0 140px;
  background: var(--color-bg-soft);
}

.why-header {
  margin-bottom: 48px;
}

.why-title {
  font-size: 42px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--color-text);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-item {
  background: #ffffff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.why-item:hover {
  box-shadow: 0 20px 40px -20px rgba(15, 23, 42, 0.18);
  transform: translateY(-3px);
}

.why-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-bg-soft);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, color 0.3s ease;
}

.why-item:hover .why-item-icon {
  transform: scale(1.08) rotate(-4deg);
  background: var(--color-accent);
  color: #ffffff;
}

.why-item h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 10px;
}

.why-item p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0;
}

/* How It Works */
.how-it-works {
  padding: 100px 0 160px;
}

.how-header {
  margin-bottom: 90px;
}

.how-title {
  font-size: 42px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--color-text);
}

.steps-row {
  display: flex;
  align-items: flex-start;
}

.step-connector {
  flex: 1;
  height: 1px;
  background: var(--color-border);
  margin-top: 55px;
  min-width: 40px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
  width: 240px;
}

.step-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 16px 36px -16px rgba(15, 23, 42, 0.16), 0 2px 8px rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 28px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.step:hover .step-circle {
  transform: scale(1.06) translateY(-4px);
  box-shadow: 0 22px 44px -16px rgba(33, 150, 243, 0.35), 0 4px 10px rgba(15, 23, 42, 0.08);
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 10px;
}

.step p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
}

/* CTA / Download */
.cta {
  padding: 20px 0 140px;
}

.cta-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 40px 80px -30px rgba(15, 23, 42, 0.18), 0 10px 30px -10px rgba(15, 23, 42, 0.08);
  padding: 90px 40px;
  text-align: center;
}

.cta-glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 150, 243, 0.22), transparent 70%);
  pointer-events: none;
  animation: glow-pulse 5s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
}

.cta-title {
  font-size: 46px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: var(--color-text);
}

.cta-subtitle {
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0 0 36px;
}

.btn-cta {
  background: linear-gradient(135deg, #22c1e8, #1e9ce8);
  color: #ffffff;
  box-shadow: 0 16px 32px -12px rgba(33, 156, 232, 0.55);
}

.btn-cta:hover {
  box-shadow: 0 20px 40px -12px rgba(33, 156, 232, 0.65);
  transform: translateY(-1px);
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-store {
  background: var(--color-black);
  color: #ffffff;
}

.btn-store:hover {
  background: #1a2436;
  transform: translateY(-2px);
}

.btn-store[hidden] {
  display: none;
}

.btn[aria-disabled="true"] {
  cursor: default;
  opacity: 0.85;
  box-shadow: none;
}

.btn[aria-disabled="true"]:hover {
  transform: none;
}

.cta-checks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
  font-size: 14.5px;
  color: var(--color-text-muted);
}

.cta-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-muted);
}

.cta-check svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

.cta-dot {
  color: var(--color-border);
}

/* Ad slots — reserved placement, hidden until monetization is switched on.
   To activate: add class="ads-enabled" to <body> in index.html, uncomment the
   AdSense loader script in <head>, and replace each .ad-slot-inner placeholder
   with the actual <ins class="adsbygoogle"> unit for that slot. */
.ad-slot {
  display: none;
  justify-content: center;
  padding: 48px 0;
}

body.ads-enabled .ad-slot {
  display: flex;
}

.ad-slot-inner {
  width: 100%;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--color-border);
  border-radius: 12px;
  background: var(--color-bg-soft);
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ad-slot--leaderboard .ad-slot-inner {
  max-width: 728px;
  margin: 0 auto;
}

/* Contact */
.contact {
  padding: 100px 0 120px;
}

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--color-text);
}

.contact-subtitle {
  font-size: 16px;
  color: var(--color-text-muted);
  margin: 0 0 36px;
}

.contact-form {
  text-align: left;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-family: inherit;
  color: var(--color-text);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.15);
}

.contact-form textarea {
  margin-bottom: 18px;
  resize: vertical;
}

.contact-submit-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-feedback {
  font-size: 13.5px;
  color: var(--color-text-muted);
}

/* Footer social icons */
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.07);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-links a:hover {
  background: var(--color-accent);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Footer newsletter */
.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  max-width: 300px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 13.5px;
  font-family: inherit;
}

.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.4); }

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.newsletter-form button {
  padding: 10px 18px;
  border-radius: 999px;
  border: none;
  background: var(--color-accent);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease;
  white-space: nowrap;
}

.newsletter-form button:hover { background: var(--color-accent-dark); }

.newsletter-feedback {
  display: block;
  margin-top: 8px;
  font-size: 12.5px;
}

/* Footer */
.site-footer {
  background: var(--color-black);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  height: 32px;
  width: auto;
  display: block;
  margin-bottom: 18px;
}

.footer-tagline {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col a {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 14px;
  transition: color 0.15s ease;
  width: fit-content;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copy,
.footer-note {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-content {
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-footnote {
    justify-content: center;
  }

  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 44px;
  }

  .hero-visual {
    margin-top: 20px;
  }

  .features-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .features-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-list {
    text-align: left;
  }

  .features-visual {
    margin-top: 20px;
  }

  .features-title {
    font-size: 34px;
  }

  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tools-title {
    font-size: 34px;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-title {
    font-size: 34px;
  }

  .how-title {
    font-size: 34px;
  }

  .steps-row {
    flex-direction: column;
    align-items: center;
    gap: 36px;
  }

  .step-connector {
    width: 1px;
    height: 36px;
    margin: 0;
  }

  .step {
    width: 100%;
    max-width: 320px;
  }

  .cta-card {
    padding: 60px 28px;
  }

  .cta-title {
    font-size: 34px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 24px;
  }

  .contact-row {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 20px;
  }

  .hero-title {
    font-size: 34px;
  }

  .btn-nav {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Cookie choice banner (shown only when a connected tool can set cookies) ── */
#tulo-consent {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1000;
  width: min(380px, calc(100vw - 40px));
  background: #ffffff;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 24px 60px -20px rgba(15, 23, 42, 0.35);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
#tulo-consent.show { transform: none; opacity: 1; }
#tulo-consent .cc-title { font-weight: 700; margin-bottom: 6px; }
#tulo-consent .cc-text { margin: 0 0 14px; font-size: 13.5px; line-height: 1.55; color: var(--color-text-muted); }
#tulo-consent .cc-text a { color: var(--color-accent); }
#tulo-consent .cc-actions { display: flex; gap: 10px; }
#tulo-consent .cc-btn {
  flex: 1;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid var(--color-border);
  background: #ffffff;
  color: var(--color-text);
}
#tulo-consent .cc-accept { background: var(--color-black); border-color: var(--color-black); color: #ffffff; }
#tulo-consent .cc-btn:hover { filter: brightness(0.96); }
[data-cookie-settings][hidden] { display: none; }

/* ── Blog ──────────────────────────────────────────────────────────────── */
.bp-hero {
  position: relative;
  padding: 150px 0 56px;
  text-align: center;
  background:
    radial-gradient(900px 380px at 50% -10%, rgba(34, 193, 232, 0.18), transparent 70%),
    radial-gradient(600px 300px at 85% 10%, rgba(124, 92, 255, 0.10), transparent 70%);
}
.bp-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(33, 150, 243, 0.10);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.bp-title { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -0.03em; margin: 0 0 14px; }
.bp-sub { max-width: 620px; margin: 0 auto; color: var(--color-text-muted); font-size: 1.1rem; line-height: 1.6; }
.bp-list { padding-bottom: 90px; }

.bp-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0 0 36px; }
.bp-chip {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(33, 150, 243, 0.09);
  padding: 5px 12px;
  border-radius: 999px;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.bp-chip:hover { background: rgba(33, 150, 243, 0.18); }
.bp-chip-nav { font-size: 14px; padding: 8px 16px; color: var(--color-text); background: var(--color-bg-soft, #f1f5f9); border: 1px solid var(--color-border); }
.bp-chip-nav.active { background: var(--color-black); color: #fff; border-color: var(--color-black); }

.bp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 980px) { .bp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bp-grid { grid-template-columns: minmax(0, 1fr); } }

.bp-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}
.bp-card:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -26px rgba(15, 23, 42, 0.35); }
.bp-card-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #0b1b3a, #12315f); }
.bp-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.bp-card:hover .bp-card-media img { transform: scale(1.05); }
.bp-card-ph { height: 100%; display: flex; align-items: center; justify-content: center; }
.bp-card-ph img { width: 64px; height: 64px; object-fit: contain; border-radius: 14px; }
.bp-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bp-card-body h2 { font-size: 1.2rem; line-height: 1.3; margin: 0; letter-spacing: -0.01em; }
.bp-card-body h2 a { color: inherit; text-decoration: none; }
.bp-card-body h2 a:hover { color: var(--color-accent); }
.bp-card-body p { margin: 0; color: var(--color-text-muted); font-size: 0.95rem; line-height: 1.6; }
.bp-card-body .bp-chip { align-self: flex-start; }
.bp-meta { margin-top: auto; padding-top: 6px; display: flex; gap: 8px; font-size: 13px; color: var(--color-text-muted); }

.bp-card-featured { flex-direction: row; margin-bottom: 28px; }
.bp-card-featured .bp-card-media { flex: 1.15; aspect-ratio: auto; min-height: 320px; }
.bp-card-featured .bp-card-body { flex: 1; padding: 36px; justify-content: center; }
.bp-card-featured .bp-card-body h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2; }
.bp-card-featured .bp-card-body p { font-size: 1.02rem; }
@media (max-width: 820px) { .bp-card-featured { flex-direction: column; } .bp-card-featured .bp-card-media { min-height: 0; aspect-ratio: 16 / 9; } .bp-card-featured .bp-card-body { padding: 22px; } }

.bp-empty { text-align: center; padding: 70px 20px; border: 1px dashed var(--color-border); border-radius: 20px; max-width: 640px; margin: 0 auto; }
.bp-empty h2 { margin: 0 0 8px; }
.bp-empty p { color: var(--color-text-muted); margin: 0; }
.bp-pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 44px; }
.bp-page-n { color: var(--color-text-muted); font-size: 14px; }

/* Article page */
.bp-post-wrap { padding-top: 104px; padding-bottom: 80px; }
.bp-article { max-width: 1060px; margin: 0 auto; }
.bp-head { max-width: 760px; margin: 0 auto 28px; }
.bp-crumbs { display: flex; gap: 8px; font-size: 13.5px; color: var(--color-text-muted); margin-bottom: 18px; }
.bp-crumbs a { color: inherit; text-decoration: none; }
.bp-crumbs a:hover { color: var(--color-accent); }
.bp-head h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.12; letter-spacing: -0.03em; margin: 12px 0 14px; }
.bp-lead { font-size: 1.2rem; line-height: 1.6; color: var(--color-text-muted); margin: 0 0 22px; }
.bp-byline { display: flex; align-items: center; gap: 12px; }
.bp-avatar { width: 42px; height: 42px; border-radius: 50%; overflow: hidden; background: #0b1b3a; flex: none; }
.bp-avatar img { width: 100%; height: 100%; object-fit: cover; }
.bp-byline strong { display: block; font-size: 15px; }
.bp-byline span:not(.bp-avatar) { font-size: 13.5px; color: var(--color-text-muted); }
.bp-cover { margin: 0 auto 40px; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -34px rgba(15, 23, 42, 0.5); }
.bp-cover img { display: block; width: 100%; height: auto; }

.bp-layout { display: grid; grid-template-columns: minmax(0, 720px) 220px; justify-content: center; gap: 56px; align-items: start; }
.bp-layout:not(:has(.bp-side)) { grid-template-columns: minmax(0, 720px); }
@media (max-width: 1040px) { .bp-layout { grid-template-columns: minmax(0, 720px); } .bp-side { order: -1; } }
.bp-side { position: sticky; top: 110px; }
@media (max-width: 1040px) { .bp-side { position: static; } }
.bp-toc { border-left: 2px solid var(--color-border); padding-left: 16px; font-size: 14px; }
.bp-toc-title { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-muted); margin-bottom: 10px; }
.bp-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bp-toc li.l3 { padding-left: 12px; }
.bp-toc a { color: var(--color-text-muted); text-decoration: none; line-height: 1.4; }
.bp-toc a:hover { color: var(--color-accent); }

.bp-content { font-size: 1.1rem; line-height: 1.8; color: #1e293b; }
.bp-content > * + * { margin-top: 1.25em; }
.bp-content h2 { font-size: 1.75rem; line-height: 1.25; letter-spacing: -0.02em; margin-top: 2em; scroll-margin-top: 100px; }
.bp-content h3 { font-size: 1.3rem; line-height: 1.3; margin-top: 1.7em; scroll-margin-top: 100px; }
.bp-content a { color: var(--color-accent); text-decoration: underline; text-underline-offset: 3px; }
.bp-content ul, .bp-content ol { padding-left: 1.3em; }
.bp-content li + li { margin-top: .4em; }
.bp-content code { background: #f1f5f9; padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.bp-content pre { background: #0b1b3a; color: #e2e8f0; padding: 18px 20px; border-radius: 14px; overflow-x: auto; font-size: .92rem; line-height: 1.6; }
.bp-content pre code { background: none; padding: 0; color: inherit; }
.bp-content mark { background: #fff2a8; padding: 0 3px; border-radius: 3px; }
.bp-content hr { border: 0; height: 1px; background: var(--color-border); margin: 2.4em 0; }
.bp-content blockquote { margin-left: 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--color-accent); font-size: 1.25rem; line-height: 1.6; color: #0f172a; }
.bp-content blockquote p { margin: 0; }
.bp-content cite { display: block; margin-top: 8px; font-size: .9rem; font-style: normal; color: var(--color-text-muted); }
.bp-figure { margin-left: 0; margin-right: 0; }
.bp-figure img { width: 100%; height: auto; display: block; border-radius: 16px; }
.bp-figure.bp-wide { margin-left: -60px; margin-right: -60px; }
@media (max-width: 900px) { .bp-figure.bp-wide { margin-left: 0; margin-right: 0; } }
.bp-figure figcaption { margin-top: 10px; text-align: center; font-size: .9rem; color: var(--color-text-muted); }
.bp-callout { border-radius: 14px; padding: 16px 20px; border: 1px solid; display: grid; gap: 4px; font-size: 1rem; line-height: 1.65; }
.bp-callout strong { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.bp-callout.bp-info { background: #eaf5ff; border-color: #bcdcfb; color: #0b4a85; }
.bp-callout.bp-tip { background: #ecfdf3; border-color: #b7ebcd; color: #116b3a; }
.bp-callout.bp-warning { background: #fff7e6; border-color: #fcd9a0; color: #8a5a00; }
.bp-button-row { margin-top: 1.6em; }
.bp-faq { display: grid; gap: 10px; }
.bp-faq details { border: 1px solid var(--color-border); border-radius: 14px; padding: 14px 18px; background: #fff; }
.bp-faq summary { cursor: pointer; font-weight: 600; }
.bp-faq p { margin: 10px 0 0; color: var(--color-text-muted); font-size: 1rem; line-height: 1.7; }

.bp-tags { max-width: 720px; margin: 36px auto 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bp-tag { font-size: 13px; color: var(--color-text-muted); background: var(--color-bg-soft, #f1f5f9); padding: 4px 11px; border-radius: 999px; }
.bp-share { max-width: 720px; margin: 28px auto 0; padding: 18px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bp-share span { font-weight: 700; margin-right: 6px; }
.bp-share a { font-size: 14px; font-weight: 600; color: var(--color-text); text-decoration: none; border: 1px solid var(--color-border); padding: 7px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.bp-share a:hover { background: var(--color-black); color: #fff; border-color: var(--color-black); }
.bp-cta { max-width: 720px; margin: 36px auto 0; padding: 26px 28px; border-radius: 22px; color: #fff; background: radial-gradient(500px 220px at 90% 0, rgba(34,193,232,.35), transparent 70%), linear-gradient(135deg, #0b1b3a, #12315f); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.bp-cta strong { display: block; font-size: 1.15rem; margin-bottom: 4px; }
.bp-cta span { color: #c3d3ee; font-size: .95rem; }
.bp-related { max-width: 1060px; margin: 80px auto 0; }
.bp-related h2 { font-size: 1.6rem; margin: 0 0 22px; letter-spacing: -0.02em; }

/* ── "Try it online" pop-up ───────────────────────────────────────────────── */
.btn-try svg { flex: none; }
.try-modal { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s ease; }
.try-modal.show { opacity: 1; }
.try-modal[hidden] { display: none; }
.try-backdrop { position: absolute; inset: 0; background: rgba(8, 14, 26, 0.62); backdrop-filter: blur(6px); }
.try-window { position: relative; width: min(440px, 100vw); height: min(920px, calc(100vh - 32px)); display: flex; flex-direction: column; background: #0b1220; border-radius: 20px; overflow: hidden; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1); transform: translateY(18px) scale(0.97); transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); }
.try-modal.show .try-window { transform: none; }
.try-bar { display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 0 8px 0 14px; background: #0f1a2e; color: #e8eefc; flex: none; font-size: 13px; font-weight: 600; }
.try-title { display: inline-flex; align-items: center; gap: 8px; }
.try-title img { border-radius: 4px; }
.try-bar-actions { display: flex; gap: 2px; }
.try-btn { display: grid; place-items: center; width: 32px; height: 28px; border: 0; border-radius: 8px; background: transparent; color: #c3d0e8; cursor: pointer; }
.try-btn:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.try-frame { flex: 1; width: 100%; border: 0; background: #f1f3f7; }
.try-open body { overflow: hidden; }
@media (max-width: 560px) {
  .try-window { width: 100vw; height: 100dvh; border-radius: 0; }
  .try-bar { padding-top: env(safe-area-inset-top); height: calc(40px + env(safe-area-inset-top)); }
}

/* ── Free tool pages (/tools) ─────────────────────────────────────────────── */
.tp-ico { display: inline-block; width: 24px; height: 24px; flex: none; background: color-mix(in srgb, var(--tool) 80%, #000); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.tp-ico-lg { width: 30px; height: 30px; }
.tp-ico-sm { width: 18px; height: 18px; }
.tp-page { padding-top: 110px; padding-bottom: 70px; }
.tp-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 48px; align-items: start; padding-top: 24px; padding-bottom: 40px; }
@media (max-width: 960px) { .tp-hero { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.tp-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.1; letter-spacing: -0.03em; margin: 12px 0 14px; }
.tp-lead { font-size: 1.12rem; line-height: 1.7; color: var(--color-text-muted); margin: 0 0 18px; max-width: 620px; }
.tp-checks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 0 0 24px; font-size: 14px; font-weight: 600; }
.tp-checks li::before { content: "✓"; color: var(--color-accent); margin-right: 6px; }
.tp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tp-demo { border-radius: 24px; overflow: hidden; background: #fff; border: 1px solid var(--color-border); box-shadow: 0 40px 80px -40px rgba(15, 23, 42, 0.45); position: sticky; top: 96px; }
@media (max-width: 960px) { .tp-demo { position: static; } }
.tp-demo-bar { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--color-border); font-weight: 600; font-size: 14px; background: #f8fafc; }
.tp-live { margin-left: auto; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #15803d; background: #ecfdf3; padding: 2px 8px; border-radius: 999px; }
.tp-frame { display: block; width: 100%; border: 0; background: #f1f3f7; }
.tp-section { padding-top: 40px; padding-bottom: 8px; }
.tp-section h2 { font-size: 1.7rem; letter-spacing: -0.02em; margin: 0 0 20px; }
.tp-narrow { max-width: 820px; }
.tp-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.tp-feature { border: 1px solid var(--color-border); border-radius: 18px; padding: 20px; background: #fff; }
.tp-feature h3 { margin: 0 0 6px; font-size: 1.05rem; }
.tp-feature p { margin: 0; color: var(--color-text-muted); font-size: .95rem; line-height: 1.6; }
.tp-steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.tp-steps li { counter-increment: s; position: relative; padding: 14px 18px 14px 58px; border: 1px solid var(--color-border); border-radius: 16px; background: #fff; line-height: 1.6; }
.tp-steps li::before { content: counter(s); position: absolute; left: 16px; top: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--color-black); color: #fff; font-weight: 700; font-size: 14px; }
.tp-grid-wrap { padding-bottom: 20px; }
.tp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .tp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tp-grid { grid-template-columns: minmax(0, 1fr); } }
.tp-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--color-border); border-radius: 20px; background: #fff; text-decoration: none; color: inherit; transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s; }
.tp-card:hover { transform: translateY(-5px); box-shadow: 0 26px 46px -26px rgba(15, 23, 42, 0.35); border-color: var(--tool, var(--color-accent)); }
.tp-card .tp-ico-lg { margin-bottom: 6px; }
.tp-card h3 { margin: 0; font-size: 1.1rem; letter-spacing: -0.01em; }
.tp-card p { margin: 0; color: var(--color-text-muted); font-size: .95rem; line-height: 1.55; flex: 1; }
.tp-more { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--color-accent); }
.tp-cta { margin: 56px 0 0; padding: 30px 34px; border-radius: 26px; color: #fff; background: radial-gradient(520px 240px at 90% 0, rgba(34, 193, 232, .35), transparent 70%), linear-gradient(135deg, #0b1b3a, #12315f); display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.tp-cta h2 { margin: 0 0 6px; font-size: 1.5rem; color: #fff; }
.tp-cta p { margin: 0; color: #c3d3ee; max-width: 520px; }
