/* Light, single-page layout: white canvas, 1px borders, soft shadows, one pink-red accent. */
:root {
  --fg: #18181b;
  --muted: #6b7280;
  --border: #e5e7eb;
  --canvas: #ffffff;
  --subtle: #f8f9fb;
  --accent: #e11d48;
  --accent-hover: #be123c;
  --accent-soft: #fff1f3;
  --danger: #dc2626;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 12px rgba(16, 24, 40, .05);
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif;
  color: var(--fg);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
.sprite { display: none; }
.icon {
  width: 18px; height: 18px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .9); backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 0 20px; height: 64px;
  display: flex; align-items: center; gap: 16px;
}
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); text-decoration: none; font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.logo em { font-style: normal; color: var(--accent); }
.logo-mark { width: 28px; height: 28px; }
.logo-mark rect { fill: var(--accent); }
.logo-mark path { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.nav-links { flex: 1; display: flex; justify-content: center; gap: 4px; }
.nav-links a {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 8px;
  color: #3f3f46; text-decoration: none; font-size: 14px; font-weight: 500;
}
.nav-links a .icon { width: 16px; height: 16px; }
.nav-links a:hover { color: var(--fg); background: var(--subtle); }
.lang {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px;
  border: 1px solid var(--border); border-radius: 999px; font-size: 13px; font-weight: 600; color: #3f3f46;
}
.lang .icon { width: 15px; height: 15px; }
.nav-toggle {
  display: none; width: 40px; height: 40px; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 10px; background: var(--canvas); color: var(--fg); cursor: pointer;
}

/* Hero */
.hero { max-width: 760px; margin: 0 auto; padding: 72px 20px 32px; text-align: center; }
.hero h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; letter-spacing: -.025em; font-weight: 800; margin: 0 0 16px; }
.accent { color: var(--accent); }
.sub { color: var(--muted); font-size: 17px; max-width: 600px; margin: 0 auto 32px; }
.grab { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.pill {
  display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 8px 0 20px;
  background: var(--canvas); border: 1px solid var(--border); border-radius: 999px; box-shadow: var(--shadow);
  transition: border-color .15s, box-shadow .15s;
}
.pill:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(225, 29, 72, .12); }
.pill-icon { color: var(--muted); }
.pill input {
  flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 16px; color: var(--fg);
}
.pill input::placeholder { color: #9ca3af; }
.pill-btn {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer;
}
.pill-btn:hover { background: var(--subtle); color: var(--fg); }
.btn-main {
  height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; background: var(--accent); color: #fff;
  font: inherit; font-size: 16px; font-weight: 700; cursor: pointer;
  box-shadow: 0 6px 16px rgba(225, 29, 72, .22); transition: background .15s, transform .05s;
}
.btn-main:hover { background: var(--accent-hover); }
.btn-main:active { transform: translateY(1px); }
.btn-main:disabled { opacity: .65; cursor: progress; }
.status { margin: 14px 0 0; min-height: 1.6em; color: var(--muted); }
.status.error { color: var(--danger); }
.ticks { list-style: none; display: flex; justify-content: center; gap: 48px; padding: 0; margin: 20px 0 0; }
.ticks li { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ticks .icon { color: var(--accent); width: 22px; height: 22px; margin-bottom: 4px; }
.ticks b { font-size: 14px; }
.ticks span { font-size: 12.5px; color: var(--muted); }
.fineprint { margin: 24px 0 0; font-size: 13px; color: #9ca3af; }

/* Cards */
.card { background: var(--canvas); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }

/* Result */
.result-wrap { max-width: 880px; margin: 0 auto; padding: 0 20px 24px; }
.result { display: flex; gap: 24px; padding: 20px; }
.media { width: 240px; flex-shrink: 0; }
.media-youtube { width: 320px; }
video { display: block; width: 100%; max-height: 430px; background: #000; border-radius: 10px; }
.poster { display: block; width: 100%; border-radius: 10px; background: var(--subtle); }
video[hidden], .poster[hidden] { display: none; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; padding: 3px 10px 3px 8px;
  border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--subtle); color: var(--fg); border: 1px solid var(--border);
}
.badge .icon { width: 14px; height: 14px; }
.badge-tiktok .icon { color: #111827; }
.badge-instagram .icon { color: #c13584; }
.badge-youtube .icon { color: #ff0000; }
.meta { flex: 1; min-width: 0; }
.meta h2 {
  font-size: 17px; line-height: 1.4; margin: 0 0 4px; word-break: break-word;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden;
}
.author { margin: 0 0 4px; color: var(--accent); font-weight: 600; }
.facts { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.buttons { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.opt {
  display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 16px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--canvas);
  color: var(--fg); text-decoration: none; font-weight: 600; font-size: 14px;
}
.opt:hover { border-color: #d4d4d8; background: var(--subtle); }
.opt .icon { color: var(--accent); }
.opt small { margin-left: auto; color: var(--muted); font-weight: 500; white-space: nowrap; }
.opt.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.opt.primary .icon, .opt.primary small { color: #fff; }
.opt.primary:hover { background: var(--accent-hover); }

/* Content sections */
.section { max-width: 1040px; margin: 0 auto; padding: 56px 20px 0; }
.section-title { text-align: center; font-size: clamp(24px, 3.4vw, 30px); letter-spacing: -.02em; font-weight: 800; margin: 0 0 28px; }
.grid { display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.tile { padding: 22px; }
.tile h3 { font-size: 16px; margin: 12px 0 6px; }
.tile p { margin: 0; color: var(--muted); font-size: 14px; }
.tile-icon { color: var(--accent); width: 24px; height: 24px; }
.step {
  display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 800;
}
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { padding: 0 20px; box-shadow: none; }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 0; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { color: var(--muted); transition: transform .2s; }
.faq details[open] .chev { transform: rotate(180deg); }
.faq details p { margin: 0 0 16px; color: var(--muted); }
.prose { max-width: 760px; margin: 0 auto; padding: 20px 24px; color: #3f3f46; text-align: center; }
.prose p { margin: 0; }

/* Footer */
.footer { margin-top: 72px; padding: 28px 20px; border-top: 1px solid var(--border); background: var(--subtle); text-align: center; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-bottom: 8px; }
.footer a { color: #3f3f46; text-decoration: none; font-size: 14px; }
.footer a:hover { color: var(--accent); }
.footer p { margin: 0; color: #9ca3af; font-size: 13px; }
.footer .more-tools { gap: 6px 18px; margin: 4px auto 12px; max-width: 760px; }
.footer .more-tools-title { flex-basis: 100%; color: #71717a; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.footer .more-tools a { font-size: 13px; overflow-wrap: anywhere; }

/* Mobile */
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .lang { margin-left: auto; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 12px 12px;
    background: var(--canvas); border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px; font-size: 15px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .hero { padding: 44px 16px 24px; }
  .sub { font-size: 15.5px; margin-bottom: 24px; }
  .hero h1 br { display: none; }
  .ticks { gap: 12px; justify-content: space-between; }
  .ticks li { flex: 1; }
  .result { flex-direction: column; padding: 16px; }
  .media, .media-youtube { width: 100%; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .section { padding-top: 44px; }
}
