:root {
  --ink: #12181f;
  --ink-soft: #4a5a66;
  --accent: #1f6f68;
  --accent-deep: #15554f;
  --font-brand: "Syne", sans-serif;
  --font-body: "Figtree", sans-serif;
}

* {
  box-sizing: border-box;
}

body.mkt {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--ink);
  background: #e8eef2;
}

.mkt-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 65% 50% at 10% 0%, rgba(31, 111, 104, 0.16), transparent 58%),
    radial-gradient(ellipse 50% 40% at 94% 12%, rgba(18, 40, 56, 0.1), transparent 55%),
    linear-gradient(165deg, #f3f5f6 0%, #e4e9ec 48%, #d5dde2 100%);
}

.mkt-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 1.4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.mkt-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.04em;
}

.mkt-brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.55rem;
  object-fit: cover;
  background: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(18, 24, 31, 0.06);
}

.mkt-hero-mark {
  width: clamp(5.2rem, 14vw, 7rem);
  height: clamp(5.2rem, 14vw, 7rem);
  border-radius: 1.35rem;
  object-fit: cover;
  background: #fff;
  margin: 0 auto 1rem;
  display: block;
  box-shadow: 0 22px 48px rgba(16, 24, 32, 0.14);
}

.mkt-brand-hero {
  font-family: var(--font-brand);
  font-size: clamp(2.8rem, 7.5vw, 4.6rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.94;
  margin: 0 0 0.85rem;
}

.mkt-nav nav {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.mkt-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
}

.mkt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #fff !important;
  border: 0;
  border-radius: 12px;
  padding: 0.65rem 1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.mkt-btn.big {
  width: 100%;
  min-height: 48px;
  font-size: 1.05rem;
  margin-top: 0.35rem;
}

.mkt-hero {
  max-width: 780px;
  margin: 0 auto;
  padding: 4.6rem 1.4rem 3.4rem;
  text-align: center;
}

.mkt-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 0.6rem;
}

.mkt-hero h1:not(.mkt-brand-hero) {
  font-family: var(--font-brand);
  font-size: clamp(2.6rem, 7.2vw, 4.5rem);
  letter-spacing: -0.055em;
  line-height: 0.94;
  margin: 0 0 1.1rem;
}

.mkt-lead {
  color: var(--ink-soft);
  font-size: 1.1rem;
  max-width: 28rem;
  margin: 0 auto 1.6rem;
}

.mkt-brand-hero + .mkt-lead {
  font-size: 1.2rem;
  max-width: 30rem;
}

.mkt-cta {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
}

.mkt-link {
  color: var(--ink-soft);
  font-weight: 600;
}

.mkt-card-wrap {
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem 3rem;
  min-height: calc(100dvh - 5.5rem);
}

.mkt-card {
  width: min(420px, 100%);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 22px;
  padding: 1.4rem 1.35rem 1.25rem;
  box-shadow: 0 28px 60px rgba(16, 24, 32, 0.12);
  backdrop-filter: blur(16px);
  display: grid;
  gap: 0.75rem;
}

.mkt-card-auth {
  width: min(440px, 100%);
  gap: 0.85rem;
  padding: 1.65rem 1.5rem 1.4rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(18, 24, 31, 0.08);
  box-shadow: 0 24px 56px rgba(16, 24, 32, 0.1);
}

.mkt-card-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-brand);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.mkt-card-brand img {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.55rem;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(18, 24, 31, 0.06);
}

.mkt-card h1 {
  font-family: var(--font-brand);
  margin: 0;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.mkt-card-auth h1 {
  font-size: 1.95rem;
  margin-top: 0.15rem;
}

.mkt-sub {
  margin: -0.25rem 0 0.25rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.mkt-card-auth .mkt-sub {
  margin: -0.35rem 0 0.35rem;
}

.mkt-card label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.mkt-card input {
  border: 1px solid rgba(16, 24, 32, 0.12);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mkt-card input:focus {
  outline: none;
  border-color: rgba(31, 111, 104, 0.55);
  box-shadow: 0 0 0 3px rgba(31, 111, 104, 0.12);
}

.mkt-card input::placeholder {
  color: #8a97a3;
}

.mkt-err {
  color: #b42318;
  font-weight: 600;
  margin: 0;
}

.mkt-ok {
  color: #0f5c4f;
  font-weight: 600;
  margin: 0;
}

.mkt-forgot {
  margin: -0.25rem 0 0;
  text-align: right;
  font-size: 0.88rem;
}

.mkt-forgot a {
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: none;
}

.mkt-forgot a:hover {
  text-decoration: underline;
}

.mkt-or {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0.2rem 0;
}

.mkt-or::before,
.mkt-or::after {
  content: "";
  height: 1px;
  background: rgba(18, 24, 31, 0.1);
}

.mkt-or span {
  white-space: nowrap;
}

.mkt-foot {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0.35rem 0 0;
}

.mkt-foot a {
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: none;
}

.mkt-foot a:hover {
  text-decoration: underline;
}

.google-slot {
  min-height: 48px;
  display: grid;
  place-items: center;
  width: 100%;
  overflow: hidden;
}

.google-slot iframe {
  margin: 0 auto !important;
  border-radius: 999px !important;
}

.google-placeholder {
  width: 100%;
  min-height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(18, 24, 31, 0.16);
  background: #fff;
  color: #1f1f1f;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.google-wrap {
  position: relative;
  width: 100%;
}

.google-gate {
  appearance: none;
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(18, 24, 31, 0.14);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  pointer-events: none;
}

.google-gate-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.google-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.01;
  z-index: 2;
  overflow: hidden;
  border-radius: 999px;
  max-width: none;
  margin: 0;
}

.google-overlay > div,
.google-overlay iframe {
  width: 100% !important;
  height: 100% !important;
  min-height: 48px !important;
  border-radius: 999px !important;
}

.hero-google {
  margin: 0 auto;
  max-width: 360px;
  width: 100%;
}

.google-wrap .hero-google {
  max-width: none;
}

.mkt-cta-primary {
  gap: 0.45rem;
  width: min(340px, 100%);
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.mkt-free-tag {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ink-soft);
}

.mkt-link-quiet {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}

.mkt-link-quiet:hover {
  color: var(--ink);
  text-decoration: underline;
}

.mkt-cta .mkt-btn.big {
  max-width: 320px;
}

.mkt-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

/* ——— Landing proof ——— */
.mkt-landing .mkt-hero-landing {
  padding: 3.2rem 1.4rem 1.6rem;
}

.mkt-proof {
  width: 100%;
  padding: 0 0 1.25rem;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.mkt-ready .mkt-proof {
  opacity: 1;
  transform: none;
}

.mkt-proof-line {
  margin: 0 auto 0.55rem;
  padding: 0 1.25rem;
  max-width: 28rem;
  text-align: center;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink-soft);
}

.mkt-proof-stat {
  color: var(--ink);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.mkt-reel {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.35rem max(1.25rem, calc((100vw - 1100px) / 2)) 0.85rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.mkt-reel::-webkit-scrollbar {
  height: 6px;
}

.mkt-reel::-webkit-scrollbar-thumb {
  background: rgba(18, 24, 31, 0.22);
  border-radius: 999px;
}

.mkt-clip {
  position: relative;
  flex: 0 0 auto;
  width: min(168px, 38vw);
  scroll-snap-align: start;
}

.mkt-clip video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #152028;
  border-radius: 14px;
  cursor: pointer;
}

.mkt-clip-play {
  position: absolute;
  inset: 0 auto auto 0;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 9 / 16;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: rgba(12, 18, 24, 0.28);
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 1;
}

.mkt-clip-play:hover,
.mkt-clip-play:focus-visible {
  background: rgba(12, 18, 24, 0.4);
  outline: none;
}

.mkt-clip-play-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: none;
  position: relative;
}

.mkt-clip-play-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #152028;
}

.mkt-clip.is-playing .mkt-clip-play {
  display: none;
}

.mkt-clip-meta {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mkt-clip-score {
  display: inline-block;
  margin-right: 0.25rem;
  color: var(--accent-deep);
  font-variant-numeric: tabular-nums;
}

.mkt-proof-note {
  margin: 0.55rem auto 0;
  padding: 0 1.4rem;
  max-width: 36rem;
  text-align: center;
  font-size: 0.84rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.mkt-proof-note a {
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: none;
}

.mkt-proof-note a:hover {
  text-decoration: underline;
}

/* YouTube wide frame → short (real thumbs + links) */
.mkt-transform {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.55rem;
  margin: 0.15rem auto 0;
  padding: 0 1rem;
  max-width: 640px;
}

.mkt-tf-yt {
  position: relative;
  display: block;
  width: 108px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #152028;
  flex-shrink: 0;
}

.mkt-tf-yt img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mkt-tf-yt-dur {
  position: absolute;
  right: 4px;
  bottom: 4px;
  padding: 0.08rem 0.28rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mkt-tf-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: var(--accent-deep);
  clip-path: polygon(0 28%, 62% 28%, 62% 0, 100% 50%, 62% 100%, 62% 72%, 0 72%);
  opacity: 0.85;
}

.mkt-tf-short {
  width: 34px;
  aspect-ratio: 9 / 16;
  border-radius: 6px;
  background: #152028;
  border: 1.5px solid var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.mkt-tf-short-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.mkt-how {
  padding: 1.75rem 1.4rem 3.5rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease 0.12s, transform 0.7s ease 0.12s;
}

.mkt-ready .mkt-how {
  opacity: 1;
  transform: none;
}

.mkt-how-steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 720px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem 1.25rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.35;
}

.mkt-how-steps strong {
  color: var(--ink);
  font-weight: 700;
}

.mkt-hero-landing .mkt-brand-hero,
.mkt-hero-landing .mkt-lead,
.mkt-hero-landing .mkt-cta {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.mkt-ready .mkt-hero-landing .mkt-brand-hero {
  opacity: 1;
  transform: none;
}

.mkt-ready .mkt-hero-landing .mkt-lead {
  opacity: 1;
  transform: none;
  transition-delay: 0.08s;
}

.mkt-ready .mkt-hero-landing .mkt-cta {
  opacity: 1;
  transform: none;
  transition-delay: 0.14s;
}

.mkt-ready .mkt-hero-landing .mkt-hero-mark {
  animation: mktMarkIn 0.65s ease both;
}

@keyframes mktMarkIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 720px) {
  .mkt-nav {
    padding: 0.85rem 1.1rem;
  }

  .mkt-nav nav {
    gap: 0.55rem;
  }

  .mkt-nav nav a:not(.mkt-btn) {
    font-size: 0.9rem;
  }

  .mkt-btn {
    padding: 0.55rem 0.85rem;
    font-size: 0.9rem;
    border-radius: 10px;
  }

  .mkt-landing .mkt-hero-landing {
    padding: 1.6rem 1.15rem 0.75rem;
  }

  .mkt-landing .mkt-hero-mark {
    width: 4rem;
    height: 4rem;
    border-radius: 1.05rem;
    margin-bottom: 0.65rem;
  }

  .mkt-landing .mkt-brand-hero {
    font-size: clamp(2.15rem, 10.5vw, 2.75rem);
    margin-bottom: 0.45rem;
  }

  .mkt-landing .mkt-lead {
    font-size: 0.98rem;
    line-height: 1.4;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.95rem;
  }

  .mkt-cta-primary {
    width: min(100%, 320px);
  }

  .mkt-proof {
    padding-bottom: 0.5rem;
  }

  .mkt-proof-line {
    font-size: 0.86rem;
    margin-bottom: 0.4rem;
    padding: 0 1.1rem;
  }

  .mkt-reel {
    --mkt-clip-w: min(72vw, 260px);
    gap: 0.75rem;
    padding: 0.4rem 0 0.9rem;
    padding-inline: calc((100% - var(--mkt-clip-w)) / 2);
    scroll-snap-type: x mandatory;
    scroll-padding-inline: calc((100% - var(--mkt-clip-w)) / 2);
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .mkt-reel::-webkit-scrollbar {
    display: none;
  }

  .mkt-clip {
    width: var(--mkt-clip-w);
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .mkt-clip video,
  .mkt-clip-play {
    border-radius: 18px;
  }

  .mkt-clip-play-icon {
    width: 52px;
    height: 52px;
  }

  .mkt-clip-play-icon::after {
    border-width: 9px 0 9px 15px;
  }

  .mkt-clip-meta {
    margin-top: 0.55rem;
    font-size: 0.84rem;
    text-align: center;
    -webkit-line-clamp: 2;
  }

  .mkt-proof-note {
    padding: 0 1.15rem;
    font-size: 0.8rem;
  }

  .mkt-how {
    padding: 1.25rem 1.15rem 2.75rem;
  }

  .mkt-how-steps {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    font-size: 0.92rem;
  }
}

@media (max-width: 560px) {
  .mkt-card-auth {
    padding: 1.35rem 1.15rem 1.2rem;
    border-radius: 18px;
  }

  .mkt-card-auth h1 {
    font-size: 1.7rem;
  }

  .mkt-landing .mkt-hero-landing {
    padding-top: 1.35rem;
  }

  .mkt-reel {
    --mkt-clip-w: min(78vw, 280px);
  }
}

@media (max-width: 380px) {
  .mkt-nav nav a[href*="credits"] {
    display: none;
  }

  .mkt-reel {
    --mkt-clip-w: min(82vw, 300px);
  }
}
