/* Klyp — design system */
:root {
  color-scheme: dark;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Unbounded", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bg: #06060b;
  --bg-2: #0c0c15;
  --bg-3: #11111c;
  --text: #f5f5fb;
  --muted: #a4a4b8;
  --muted-2: #8a8aa2;
  --panel: rgba(18, 18, 30, 0.62);
  --glass: rgba(14, 14, 23, 0.86);
  --panel-solid: #101018;
  --panel-strong: rgba(22, 22, 38, 0.9);
  --field: rgba(255, 255, 255, 0.045);
  --field-hover: rgba(255, 255, 255, 0.075);
  --border: rgba(255, 255, 255, 0.075);
  --border-strong: rgba(255, 255, 255, 0.14);
  --header-bg: rgba(7, 7, 13, 0.72);
  --ring-core: #12121d;
  --shadow: 0 34px 90px -50px rgba(0, 0, 0, 0.9);
  --shadow-soft: 0 18px 50px -30px rgba(0, 0, 0, 0.8);
  --violet: #8b5cf6;
  --violet-soft: #a78bfa;
  --blue: #4f8cff;
  --mint: #2de2b9;
  --pink: #ff5c9d;
  --danger: #ff6b81;
  --success: #4ade9a;
  --grad: linear-gradient(105deg, #b39dff 0%, #74b6ff 48%, #54f0cf 100%);
  --grad-btn: linear-gradient(112deg, #7c5cff 0%, #4f8cff 58%, #2fd7c0 125%);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1160px;
  --header-h: 78px;
  --noise-opacity: 0.035;
  --grid-line: rgba(255, 255, 255, 0.032);
  --tag-bg: rgba(8, 8, 14, 0.72);
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f4fa;
  --bg-2: #ffffff;
  --bg-3: #eef0f8;
  --text: #12131c;
  --muted: #5d6074;
  --muted-2: #6a6e84;
  --panel: rgba(255, 255, 255, 0.74);
  --glass: rgba(255, 255, 255, 0.88);
  --panel-solid: #ffffff;
  --panel-strong: rgba(255, 255, 255, 0.94);
  --field: rgba(20, 22, 40, 0.045);
  --field-hover: rgba(20, 22, 40, 0.075);
  --border: rgba(20, 22, 40, 0.085);
  --border-strong: rgba(20, 22, 40, 0.14);
  --header-bg: rgba(246, 246, 251, 0.76);
  --ring-core: #fbfbff;
  --shadow: 0 34px 80px -55px rgba(37, 39, 80, 0.45);
  --shadow-soft: 0 18px 45px -30px rgba(37, 39, 80, 0.3);
  --noise-opacity: 0.022;
  --grid-line: rgba(20, 22, 40, 0.045);
  --tag-bg: rgba(8, 8, 14, 0.74);
  --mint: #067a60;
  --success: #0a7f55;
  --violet-soft: #5b46c9;
  --grad: linear-gradient(105deg, #6d4de0 0%, #2568d8 48%, #0a9d7d 100%);
  --grad-btn: linear-gradient(112deg, #6246e5 0%, #2f6fe0 58%, #0f9f89 125%);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom);
}

body.is-telegram {
  padding-top: env(safe-area-inset-top);
}

[hidden] {
  display: none !important;
}

::selection {
  background: rgba(139, 92, 246, 0.4);
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  border: 3px solid transparent;
  background-clip: padding-box;
}

[data-theme="light"] ::-webkit-scrollbar-thumb {
  background-color: rgba(20, 22, 40, 0.16);
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
a {
  font: inherit;
}

button {
  color: inherit;
}

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

button {
  border: 0;
  background: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--violet-soft);
  outline-offset: 3px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
}

/* ------------------------------------------------------------------ backdrop */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(107, 70, 229, 0.12), transparent 70%),
    var(--bg);
}

.backdrop__glow {
  position: absolute;
  border-radius: 50%;
  opacity: 0.42;
}

.backdrop__glow--violet {
  width: 58vw;
  height: 58vw;
  min-width: 520px;
  min-height: 520px;
  top: -28vw;
  left: -12vw;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.62), transparent 65%);
  animation: drift-a 26s ease-in-out infinite alternate;
}

.backdrop__glow--blue {
  width: 48vw;
  height: 48vw;
  min-width: 420px;
  min-height: 420px;
  top: 4vh;
  right: -17vw;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.45), transparent 65%);
  animation: drift-b 32s ease-in-out infinite alternate;
}

.backdrop__glow--mint {
  width: 46vw;
  height: 46vw;
  min-width: 380px;
  min-height: 380px;
  bottom: -26vw;
  left: 26%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.32), transparent 65%);
  animation: drift-c 28s ease-in-out infinite alternate;
}

[data-theme="light"] .backdrop {
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(120, 92, 255, 0.1), transparent 70%),
    var(--bg);
}

[data-theme="light"] .backdrop__glow {
  opacity: 0.28;
}

.backdrop__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 18%, #000 10%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 18%, #000 10%, transparent 78%);
}

.backdrop__noise {
  position: absolute;
  inset: 0;
  opacity: calc(var(--noise-opacity) * 0.8);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -2;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12), rgba(79, 140, 255, 0.05) 38%, transparent 68%);
  transform: translate3d(0, 0, 0) translate(-50%, -50%);
  transition: opacity 0.5s ease;
}

.cursor-glow.is-active {
  opacity: 1;
}

[data-theme="light"] .cursor-glow {
  background: radial-gradient(circle, rgba(124, 92, 246, 0.1), transparent 66%);
}

@keyframes drift-a {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(11vw, 7vh, 0) scale(1.08); }
}

@keyframes drift-b {
  from { transform: translate3d(0, 0, 0) scale(1.04); }
  to { transform: translate3d(-9vw, 10vh, 0) scale(0.94); }
}

@keyframes drift-c {
  from { transform: translate3d(0, 0, 0) scale(0.96); }
  to { transform: translate3d(7vw, -6vh, 0) scale(1.08); }
}

/* The aurora is static on touch devices: same look, nothing to composite. */
@media (max-width: 760px), (pointer: coarse) {
  .backdrop__glow {
    animation: none;
  }
}

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding-top: env(safe-area-inset-top);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--header-bg);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  opacity: 0;
  transition: opacity 0.35s ease, border-color 0.35s ease;
}

.site-header.is-scrolled::before {
  opacity: 1;
  border-bottom-color: var(--border);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 26px;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  box-shadow: 0 8px 24px -10px rgba(124, 92, 246, 0.75);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brand:hover .brand__mark {
  transform: rotate(-4deg) scale(1.04);
}

.brand__name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1;
}

.brand__dot {
  color: var(--mint);
}

.brand--small .brand__mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
}

.brand--small .brand__name {
  font-size: 18px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: 20px;
}

.nav a {
  position: relative;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.25s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-left: auto;
}

.env-pill,
.bot-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--field);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.env-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 4px rgba(45, 226, 185, 0.1);
}

.bot-link:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--field-hover);
}

.bot-link .icon {
  width: 15px;
  height: 15px;
}

.icon-btn {
  width: 37px;
  height: 37px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--field);
  color: var(--muted);
  transition: color 0.25s, background 0.25s, border-color 0.25s, transform 0.25s;
}

.icon-btn:hover {
  color: var(--text);
  background: var(--field-hover);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.theme-btn .icon {
  width: 17px;
  height: 17px;
}

.theme-btn__sun {
  display: none;
}

[data-theme="light"] .theme-btn__sun {
  display: block;
}

[data-theme="light"] .theme-btn__moon {
  display: none;
}

/* ------------------------------------------------------------------ type & buttons */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.eyebrow--live {
  color: var(--mint);
}

.eyebrow--success {
  color: var(--success);
}

.text-gradient {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-muted {
  color: var(--muted);
}

.dot-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted-2);
  display: inline-block;
}

.btn {
  --btn-h: 46px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: var(--btn-h);
  padding: 0 20px;
  border-radius: 13px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s, background 0.25s, border-color 0.25s, opacity 0.2s;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  color: #fff;
  background: var(--grad-btn);
  background-size: 160% 160%;
  box-shadow:
    0 12px 30px -12px rgba(79, 140, 255, 0.55),
    0 4px 12px -6px rgba(124, 92, 246, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -70%;
  width: 45%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(0) rotate(18deg);
  transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 20px 40px -14px rgba(79, 140, 255, 0.6),
    0 8px 20px -10px rgba(124, 92, 246, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-primary:hover::after {
  transform: translateX(422%) rotate(18deg);
}

.btn-primary:disabled,
.btn-primary[aria-disabled="true"] {
  opacity: 0.65;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.btn-ghost {
  border-color: var(--border);
  background: var(--field);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--field-hover);
  border-color: var(--border-strong);
}

.btn-large {
  --btn-h: 52px;
  padding: 0 24px;
  font-size: 14.5px;
  border-radius: 14px;
}

.btn-small {
  --btn-h: 38px;
  padding: 0 14px;
  font-size: 12.5px;
  border-radius: 11px;
}

.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  transition: color 0.25s;
}

.text-btn:hover {
  color: var(--text);
}

.text-btn .icon {
  width: 14px;
  height: 14px;
}

.btn-spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.btn.is-loading .btn-spinner {
  display: inline-block;
}

.btn.is-loading .icon {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  padding-top: clamp(58px, 8.5vw, 104px);
  padding-bottom: 24px;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--field);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  backdrop-filter: blur(12px);
}

.hero__badge-sep {
  width: 1px;
  height: 12px;
  background: var(--border-strong);
}

.live-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--mint);
  animation: live-pulse 2.4s ease-out infinite;
}

@keyframes live-pulse {
  0% { transform: scale(0.7); opacity: 0.9; }
  80%, 100% { transform: scale(2.1); opacity: 0; }
}

.hero__title {
  max-width: 1020px;
  margin: 24px auto 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 5.85vw, 73px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero__lead {
  max-width: 650px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(14.5px, 1.5vw, 16.5px);
  line-height: 1.68;
  text-wrap: pretty;
}

.search-card {
  position: relative;
  width: min(890px, 100%);
  margin: 36px auto 0;
  padding: 10px;
  border: 1px solid var(--border-strong);
  border-radius: 27px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.024)),
    var(--glass);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .search-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.62));
}

.search-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(125deg, rgba(167, 139, 250, 0.55), transparent 26%, transparent 72%, rgba(45, 226, 185, 0.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.search-card__glow {
  position: absolute;
  inset: 18% 10% -30%;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(94, 121, 255, 0.28), transparent 65%);
  pointer-events: none;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 64px;
  padding: 6px 8px 6px 18px;
  border: 1px solid var(--border);
  border-radius: 19px;
  background: var(--field);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.search-field:focus-within {
  border-color: rgba(139, 92, 246, 0.6);
  background: var(--field-hover);
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.search-field__icon {
  width: 20px;
  height: 20px;
  color: var(--muted-2);
}

.search-field input {
  flex: 1;
  min-width: 0;
  height: 50px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 16px;
  letter-spacing: -0.01em;
}

.search-field input::placeholder {
  color: var(--muted-2);
  opacity: 0.85;
}

.paste-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border-radius: 11px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.25s, background 0.25s;
}

.paste-btn:hover {
  color: var(--text);
  background: var(--field-hover);
}

.paste-btn .icon {
  width: 16px;
  height: 16px;
}

.search-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 7px 4px 10px;
}

.search-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  text-align: left;
}

.search-hint__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mint);
  flex: 0 0 auto;
  transition: background 0.25s;
}

.search-hint.is-detected {
  color: var(--text);
}

.search-hint.is-detected .search-hint__dot {
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 14%, transparent);
}

.search-submit {
  --btn-h: 49px;
  min-width: 158px;
  border-radius: 13px;
  font-size: 13.5px;
}

.analyze-skeleton {
  display: flex;
  gap: 16px;
  margin-top: 9px;
  padding: 13px;
  border-top: 1px solid var(--border);
}

.skeleton-media {
  width: 156px;
  height: 96px;
  border-radius: 13px;
  flex: 0 0 auto;
}

.skeleton-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
}

.skeleton-line {
  height: 11px;
  border-radius: 99px;
}

.shimmer {
  position: relative;
  overflow: hidden;
  background: var(--field);
}

.shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  100% { transform: translateX(100%); }
}

.alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 4px 3px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 107, 129, 0.25);
  border-radius: 13px;
  background: rgba(255, 107, 129, 0.08);
  color: #ffb4c0;
  font-size: 12.5px;
  line-height: 1.5;
  text-align: left;
}

[data-theme="light"] .alert {
  color: #b42342;
  background: rgba(255, 107, 129, 0.09);
}

.alert > .icon {
  width: 17px;
  height: 17px;
  margin-top: 1px;
  flex: 0 0 auto;
}

.alert span {
  flex: 1;
}

.alert__close {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: inherit;
  opacity: 0.65;
  border-radius: 6px;
}

.alert__close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
}

.alert__close .icon {
  width: 14px;
  height: 14px;
}

.quick-platforms {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 11px 16px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.quick-platforms__label {
  color: var(--muted-2);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.mini-platform {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s;
}

.mini-platform:hover {
  color: var(--text);
}

.mono {
  --brand: #2a2a36;
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-style: normal;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 4px 10px -6px rgba(0, 0, 0, 0.5);
  flex: 0 0 auto;
}

.mono--yt { --brand: #e6002e; }
.mono--ig { --brand: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 55%, #6228d7 100%); }
.mono--tt { --brand: linear-gradient(135deg, #25f4ee, #fe2c55); }
.mono--vk { --brand: #0060d0; }
.mono--x { --brand: #202028; }
.mono--twitch { --brand: #9146ff; }
.mono--rutube { --brand: #7b2ff7; }
.mono--fb { --brand: #1877f2; }
.mono--vimeo { --brand: #1ab7ea; }
.mono--reddit { --brand: #ff4500; }
.mono--pinterest { --brand: #e60023; }
.mono--soundcloud { --brand: #ff7700; }
.mono--dailymotion { --brand: #00aaff; }
.mono--likee { --brand: #6c2bd9; }
.mono--ok { --brand: #ee8208; }
.mono--bilibili { --brand: #00a1d6; }
.mono--kick { --brand: #53fc18; color: #0a0a0a; }
.mono--link { --brand: #23232f; color: var(--muted); }

.quick-platforms__more {
  color: var(--muted-2);
  font-size: 11px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 26px;
  margin-top: 26px;
  color: var(--muted-2);
  font-size: 11.5px;
  font-weight: 500;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-row .icon {
  width: 14px;
  height: 14px;
  color: var(--muted);
}

/* ------------------------------------------------------------------ panels */
.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-top: 36px;
}

#workspace,
#features,
#platforms,
#faq {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.panel {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--glass);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

[data-theme="light"] .panel {
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .progress-ring {
  background: conic-gradient(var(--mint) calc(var(--progress, 0) * 1%), rgba(20, 22, 40, 0.12) 0);
  box-shadow: 0 8px 20px -12px rgba(20, 22, 40, 0.45);
}

.preview-card {
  display: grid;
  grid-template-columns: minmax(300px, 420px) 1fr;
  gap: 24px;
  padding: 16px;
  animation: card-in 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(14px) scale(0.994); }
  to { opacity: 1; transform: none; }
}

.preview-media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 21px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 30% 10%, rgba(139, 92, 246, 0.32), transparent 60%),
    linear-gradient(145deg, #161629, #0a0a12);
  align-self: center;
}

.preview-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.preview-media img.is-loaded {
  opacity: 1;
}

.preview-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(5, 5, 10, 0.2), transparent 30%, transparent 62%, rgba(5, 5, 10, 0.6)),
    linear-gradient(90deg, rgba(5, 5, 10, 0.14), transparent 30%);
  pointer-events: none;
}

.media-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.35);
  background:
    radial-gradient(ellipse at 30% 12%, rgba(139, 92, 246, 0.4), transparent 58%),
    radial-gradient(ellipse at 85% 85%, rgba(45, 226, 185, 0.22), transparent 55%),
    linear-gradient(145deg, #1a1830, #0b0b13);
}

.media-fallback .icon {
  width: 42px;
  height: 42px;
  stroke-width: 1.3;
}

.media-fallback--small .icon {
  width: 28px;
  height: 28px;
}

.tag {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 27px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: var(--tag-bg);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.tag--platform {
  top: 12px;
  left: 12px;
}

.tag__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet-soft);
}

.tag--duration {
  right: 12px;
  bottom: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-variant-numeric: tabular-nums;
}

.preview-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px 10px 6px 0;
}

.preview-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-eyebrow span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.preview-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 9px 0 0;
  font-size: clamp(20px, 2.2vw, 27px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.035em;
}

.format-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
}

.tabs {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--field);
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 13px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  transition: color 0.25s, background 0.25s, box-shadow 0.25s;
}

.tab .icon {
  width: 14px;
  height: 14px;
}

.tab:hover {
  color: var(--text);
}

.tab.is-active {
  color: var(--text);
  background: var(--panel-solid);
  box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .tab.is-active {
  box-shadow: 0 4px 12px -8px rgba(20, 22, 40, 0.35);
}

.format-switch__label {
  color: var(--muted-2);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 8px;
  margin-top: 13px;
}

.quality-chip {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  min-height: 61px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--field);
  text-align: left;
  transition: border-color 0.22s, background 0.22s, transform 0.22s, box-shadow 0.22s;
}

.quality-chip:hover {
  border-color: var(--border-strong);
  background: var(--field-hover);
  transform: translateY(-1px);
}

.quality-chip__top {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-right: 14px;
}

.quality-chip__top b {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.quality-chip__top em {
  color: var(--muted-2);
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.quality-chip__size {
  color: var(--muted-2);
  font-size: 10.5px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.quality-chip__dot {
  position: absolute;
  top: 12px;
  right: 11px;
  width: 11px;
  height: 11px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.quality-chip.is-active {
  border-color: rgba(139, 92, 246, 0.65);
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.16), rgba(79, 140, 255, 0.055));
  box-shadow: 0 10px 30px -22px rgba(139, 92, 246, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.quality-chip.is-active .quality-chip__dot {
  border-color: var(--mint);
  background: var(--mint);
  box-shadow: 0 0 0 3px rgba(45, 226, 185, 0.12);
}

.quality-chip.is-active .quality-chip__top em {
  color: var(--violet-soft);
}

.preview-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 19px;
}

.quality-note {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.quality-note__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--mint);
  background: rgba(45, 226, 185, 0.09);
  border: 1px solid rgba(45, 226, 185, 0.14);
  flex: 0 0 auto;
}

.quality-note__icon .icon {
  width: 17px;
  height: 17px;
}

.quality-note b {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
}

.quality-note small {
  display: block;
  margin-top: 1px;
  color: var(--muted-2);
  font-size: 10.5px;
  line-height: 1.45;
}

#downloadBtn {
  min-width: 176px;
}

/* ------------------------------------------------------------------ job */
.job-card {
  padding: 22px;
  animation: card-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.job-main {
  display: flex;
  align-items: center;
  gap: 18px;
}

.job-thumb {
  position: relative;
  flex: 0 0 auto;
  width: 122px;
  height: 78px;
  border-radius: 14px;
  overflow: visible;
}

.job-thumb > img,
.job-thumb > .media-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  object-fit: cover;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s;
}

.job-thumb > img.is-loaded {
  opacity: 1;
}

.job-thumb > .media-fallback {
  z-index: 0;
  opacity: 1;
}

.progress-ring {
  position: absolute;
  z-index: 4;
  right: -15px;
  bottom: -13px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--mint) calc(var(--progress, 0) * 1%), rgba(255, 255, 255, 0.13) 0);
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.8);
}

.progress-ring::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--ring-core);
}

.progress-ring span {
  position: relative;
  z-index: 1;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.job-info {
  min-width: 0;
  flex: 1;
}

.job-info h2 {
  margin: 6px 0 3px;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.job-info p {
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}

#cancelBtn {
  flex: 0 0 auto;
}

.progress {
  position: relative;
  height: 7px;
  margin-top: 20px;
  border-radius: 999px;
  background: var(--field);
  overflow: hidden;
}

.progress > span {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--violet), var(--blue) 58%, var(--mint));
  box-shadow: 0 0 16px rgba(79, 140, 255, 0.5);
  transform: scaleX(var(--p, 0));
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.progress.is-indeterminate > span {
  width: 36% !important;
  transform: none;
  animation: indeterminate 1.5s ease-in-out infinite;
}

@keyframes indeterminate {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(320%); }
}

.job-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: var(--muted-2);
  font-size: 10.5px;
}

.job-foot span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.job-foot .icon {
  width: 12px;
  height: 12px;
}

.job-speed {
  font-variant-numeric: tabular-nums;
  color: var(--muted);
}

.job-card.is-error {
  border-color: rgba(255, 107, 129, 0.3);
}

.job-card.is-error .progress-ring {
  background: conic-gradient(var(--danger) calc(var(--progress, 0) * 1%), rgba(255, 255, 255, 0.13) 0);
}

/* ------------------------------------------------------------------ result */
.result-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 24px;
  overflow: hidden;
  border-color: rgba(45, 226, 185, 0.22);
  background:
    radial-gradient(ellipse at 10% 0%, rgba(45, 226, 185, 0.1), transparent 52%),
    linear-gradient(180deg, rgba(45, 226, 185, 0.045), transparent 60%),
    var(--glass);
  animation: result-in 0.55s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

.result-card::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -120px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 226, 185, 0.16), transparent 65%);
  pointer-events: none;
}

@keyframes result-in {
  from { opacity: 0; transform: translateY(14px) scale(0.99); }
  to { opacity: 1; transform: none; }
}

.result-check {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(45, 226, 185, 0.22), rgba(79, 140, 255, 0.14));
  border: 1px solid rgba(45, 226, 185, 0.26);
  color: var(--mint);
  box-shadow: 0 14px 34px -20px rgba(45, 226, 185, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  flex: 0 0 auto;
}

.result-check .icon {
  width: 30px;
  height: 30px;
  stroke-width: 2.2;
  animation: check-pop 0.55s 0.12s cubic-bezier(0.3, 1.4, 0.5, 1) both;
}

@keyframes check-pop {
  from { transform: scale(0.4); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.result-body {
  min-width: 0;
}

.result-body h2 {
  margin: 5px 0 4px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.025em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.result-meta {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
}

.result-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.data-chip {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--field);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.result-note {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 9px 0 0;
  color: var(--muted-2);
  font-size: 10.5px;
}

.result-note .icon {
  width: 12px;
  height: 12px;
}

.result-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  min-width: 190px;
}

.result-actions .text-btn {
  justify-content: center;
  margin-top: 2px;
}

/* ------------------------------------------------------------------ history */
.history-section {
  padding: 16px 2px 0;
}

.section-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 13px;
}

.section-line h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.history-grid {
  display: flex;
  gap: 11px;
  overflow-x: auto;
  padding: 2px 2px 10px;
  scrollbar-width: thin;
  scroll-snap-type: x proximity;
}

.history-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 282px;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--panel);
  color: inherit;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.history-card:hover {
  border-color: var(--border-strong);
  background: var(--field);
  transform: translateY(-2px);
}

.history-card.is-expired {
  opacity: 0.55;
}

.history-card__media {
  position: relative;
  width: 94px;
  height: 57px;
  flex: 0 0 auto;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(145deg, #1a1830, #0b0b13);
}

.history-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-card__media .icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.4);
}

.history-card__body {
  min-width: 0;
  flex: 1;
}

.history-card__body h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.history-card__body p {
  margin: 4px 0 0;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 600;
}

.history-card__action {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--muted);
  background: var(--field);
  transition: color 0.2s, background 0.2s;
}

.history-card:hover .history-card__action {
  color: var(--text);
  background: var(--field-hover);
}

.history-card__action .icon {
  width: 14px;
  height: 14px;
}

/* ------------------------------------------------------------------ sections & bento */
.section {
  padding: clamp(64px, 8vw, 100px) 28px;
}

.section-head {
  max-width: 690px;
  margin-bottom: 38px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  margin: 14px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(27px, 3.4vw, 42px);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.section-head p {
  max-width: 580px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
  text-wrap: pretty;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.bento-card {
  position: relative;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

[data-theme="light"] .bento-card {
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 20px 55px -45px rgba(37, 39, 80, 0.35), inset 0 1px 0 #fff;
}

.bento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 85% 0%, rgba(139, 92, 246, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.bento-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card--quality { grid-column: span 7; min-height: 276px; }
.bento-card--speed { grid-column: span 5; min-height: 276px; }
.bento-card--sites {
  grid-column: span 4;
  min-height: 250px;
  display: flex;
  flex-direction: column;
}
.bento-card--telegram { grid-column: span 8; min-height: 344px; }

.bento-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bento-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--violet-soft);
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.16), rgba(79, 140, 255, 0.06));
  border: 1px solid rgba(139, 92, 246, 0.15);
}

.bento-icon .icon {
  width: 19px;
  height: 19px;
}

.bento-index {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

.bento-card h3 {
  position: relative;
  margin: 18px 0 9px;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.9vw, 23px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.045em;
}

.bento-card p {
  position: relative;
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.quality-visual {
  position: absolute;
  right: 26px;
  bottom: 24px;
  left: 26px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.file-card {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--field);
}

.file-card--accent {
  border-color: rgba(45, 226, 185, 0.24);
  background: linear-gradient(145deg, rgba(45, 226, 185, 0.09), rgba(79, 140, 255, 0.04));
}

.file-card__icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 9px;
  color: var(--violet-soft);
  background: rgba(139, 92, 246, 0.1);
}

.file-card--accent .file-card__icon {
  color: var(--mint);
  background: rgba(45, 226, 185, 0.1);
}

.file-card__icon .icon {
  width: 16px;
  height: 16px;
}

.file-card__meta {
  min-width: 0;
}

.file-card__meta b {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
}

.file-card__meta small {
  display: block;
  margin-top: 1px;
  color: var(--muted-2);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 8.5px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quality-visual__arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--muted-2);
  flex: 0 0 auto;
}

.quality-visual__arrow .icon {
  width: 17px;
  height: 17px;
}

.quality-visual__arrow small {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 7.5px;
  letter-spacing: 0.05em;
}

.speed-visual {
  position: absolute;
  right: 22px;
  bottom: 16px;
  left: 26px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  pointer-events: none;
}

.speed-number {
  font-family: var(--font-display);
  font-size: clamp(58px, 7vw, 90px);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.09em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
}

.speed-number span {
  font-size: 0.4em;
  letter-spacing: -0.04em;
  vertical-align: top;
}

.speed-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 64px;
  padding-bottom: 4px;
}

.speed-bars i {
  display: block;
  width: 5px;
  height: var(--h);
  border-radius: 99px;
  background: linear-gradient(180deg, var(--mint), rgba(79, 140, 255, 0.25));
  opacity: 0.7;
  animation: bar-breathe 2.4s ease-in-out infinite alternate;
}

.speed-bars i:nth-child(2n) { animation-delay: -0.8s; }
.speed-bars i:nth-child(3n) { animation-delay: -1.4s; }

@keyframes bar-breathe {
  to { transform: scaleY(0.55); opacity: 0.35; }
}

.stack-visual {
  display: flex;
  align-items: center;
  margin-top: auto;
  padding-top: 26px;
  padding-left: 4px;
}

.stack-visual .mono {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 2px solid var(--panel-solid);
  margin-left: -9px;
  font-size: 10px;
}

.stack-visual .mono:first-child {
  margin-left: 0;
}

.stack-visual__more {
  display: inline-grid;
  place-items: center;
  height: 38px;
  padding: 0 11px;
  margin-left: -9px;
  border: 2px solid var(--panel-solid);
  border-radius: 11px;
  background: var(--field-hover);
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  position: relative;
  z-index: 2;
}

.telegram-copy {
  position: relative;
  z-index: 2;
  max-width: 56%;
}

.telegram-copy h3 {
  margin-top: 20px;
}

.mini-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
}

.mini-list li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}

.mini-list .icon {
  width: 13px;
  height: 13px;
  color: var(--mint);
}

.phone-visual {
  position: absolute;
  right: 42px;
  bottom: -60px;
  width: 196px;
  height: 330px;
  transform: rotate(4deg);
  z-index: 1;
  pointer-events: none;
}

.phone {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  background: #0a0a12;
  box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.09);
  overflow: hidden;
}

.phone__notch {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 56px;
  height: 13px;
  transform: translateX(-50%);
  border-radius: 99px;
  background: #0a0a12;
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 2;
}

.phone__top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 16px 6px 8px;
  color: #f5f5fb;
  font-size: 10px;
}

.phone__top img {
  width: 17px;
  height: 17px;
  border-radius: 5px;
}

.phone__top b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: -0.05em;
}

.phone__top span {
  margin-left: auto;
  color: rgba(245, 245, 251, 0.35);
  font-size: 7px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.phone__body {
  padding: 9px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.055);
}

.phone__input {
  height: 26px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(245, 245, 251, 0.42);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 7.5px;
}

.phone__preview {
  display: flex;
  gap: 7px;
  margin-top: 9px;
}

.phone__thumb {
  width: 58px;
  height: 39px;
  border-radius: 6px;
  background: linear-gradient(135deg, #5b4bff, #21c7c0);
  opacity: 0.85;
}

.phone__lines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  flex: 1;
}

.phone__lines i {
  display: block;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.15);
}

.phone__lines i:last-child {
  width: 62%;
  background: rgba(255, 255, 255, 0.08);
}

.phone__chips {
  display: flex;
  gap: 4px;
  margin-top: 9px;
}

.phone__chips span {
  flex: 1;
  display: grid;
  place-items: center;
  height: 19px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  color: rgba(245, 245, 251, 0.45);
  font-size: 6.5px;
  font-weight: 700;
}

.phone__chips span.is-on {
  border-color: rgba(139, 92, 246, 0.6);
  background: rgba(139, 92, 246, 0.16);
  color: #cbbcff;
}

.phone__button {
  display: grid;
  place-items: center;
  height: 28px;
  margin-top: 9px;
  border-radius: 7px;
  background: var(--grad-btn);
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  box-shadow: 0 6px 16px -8px rgba(79, 140, 255, 0.9);
}

/* ------------------------------------------------------------------ marquee */
.platforms-section {
  padding-bottom: 40px;
}

.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 6px 0;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee + .marquee {
  margin-top: 6px;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee--reverse .marquee__track {
  animation-direction: reverse;
  animation-duration: 48s;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee.is-paused .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  gap: 10px;
  padding-right: 10px;
  flex: 0 0 auto;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

.platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 48px;
  padding: 0 16px 0 9px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel);
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.25s, color 0.25s, transform 0.25s;
}

.platform-chip:hover {
  color: var(--text);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.platform-chip .mono {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 9.5px;
}

/* ------------------------------------------------------------------ FAQ */
.faq-section {
  padding-bottom: 30px;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 21px 2px;
  cursor: pointer;
  list-style: none;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

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

.faq-item summary:hover {
  color: var(--violet-soft);
}

.faq-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  transition: transform 0.3s, border-color 0.3s, color 0.3s, background 0.3s;
}

.faq-icon .icon {
  width: 14px;
  height: 14px;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  color: var(--text);
  border-color: var(--border-strong);
  background: var(--field);
}

.faq-body {
  padding: 0 54px 22px 2px;
}

.faq-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.72;
  text-wrap: pretty;
}

/* ------------------------------------------------------------------ CTA */
.cta {
  padding-top: 34px;
  padding-bottom: clamp(68px, 9vw, 112px);
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 6vw, 70px) 24px;
  border: 1px solid var(--border-strong);
  border-radius: 32px;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 90% at 50% 115%, rgba(45, 226, 185, 0.16), transparent 60%),
    radial-gradient(ellipse 55% 80% at 50% -20%, rgba(139, 92, 246, 0.22), transparent 60%),
    var(--glass);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cta-card__rings {
  position: absolute;
  inset: -45%;
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 79px, rgba(255, 255, 255, 0.035) 80px 81px);
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 68%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 68%);
  pointer-events: none;
}

.cta-card h2 {
  position: relative;
  margin: 14px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.cta-card p {
  position: relative;
  max-width: 510px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.66;
}

.cta-card .btn {
  position: relative;
}

/* ------------------------------------------------------------------ footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.12);
  padding: 34px 0 calc(30px + env(safe-area-inset-bottom));
}

[data-theme="light"] .site-footer {
  background: rgba(255, 255, 255, 0.32);
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
}

.footer__brand p {
  margin: 12px 0 0;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.65;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 7px;
}

.footer__links a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--text);
}

.footer__note {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  padding-top: 7px;
  color: var(--muted-2);
  font-size: 10.5px;
  text-align: right;
}

/* ------------------------------------------------------------------ toast & misc */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: min(440px, calc(100vw - 32px));
  padding: 11px 15px 11px 11px;
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  background: var(--panel-strong);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  transform: translate(-50%, 18px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast__icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--success);
  background: rgba(74, 222, 154, 0.12);
}

.toast__icon .icon {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
}

.toast--error .toast__icon {
  color: var(--danger);
  background: rgba(255, 107, 129, 0.12);
}

.noscript {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 200;
  padding: 14px;
  border: 1px solid rgba(255, 107, 129, 0.4);
  border-radius: 12px;
  background: #2a0e15;
  color: #ffd6dd;
  text-align: center;
  font-size: 13px;
}

/* ------------------------------------------------------------------ reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .bento-card.reveal:nth-child(2) { transition-delay: 0.06s; }
.js .bento-card.reveal:nth-child(3) { transition-delay: 0.12s; }
.js .bento-card.reveal:nth-child(4) { transition-delay: 0.18s; }

.js .faq-item.reveal:nth-child(2) { transition-delay: 0.04s; }
.js .faq-item.reveal:nth-child(3) { transition-delay: 0.08s; }
.js .faq-item.reveal:nth-child(4) { transition-delay: 0.12s; }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1060px) {
  .nav {
    gap: 22px;
    margin-left: 0;
  }

  .env-pill {
    display: none;
  }

  .preview-card {
    grid-template-columns: minmax(270px, 370px) 1fr;
    gap: 20px;
  }

  .preview-body {
    padding-right: 6px;
  }

  .phone-visual {
    right: 28px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 72px;
  }

  .nav {
    display: none;
  }

  .header__actions {
    margin-left: auto;
  }

  .hero {
    padding-top: 56px;
  }

  .preview-card {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .preview-media {
    aspect-ratio: 16 / 9;
    max-height: 420px;
  }

  .preview-body {
    padding: 0 6px 6px;
  }

  .format-switch {
    margin-top: 18px;
  }

  .bento-card--quality,
  .bento-card--speed,
  .bento-card--sites,
  .bento-card--telegram {
    grid-column: span 6;
  }

  .bento-card--quality {
    min-height: 300px;
  }

  .quality-visual {
    right: 20px;
    left: 20px;
    bottom: 20px;
  }

  .telegram-copy {
    max-width: 100%;
  }

  .phone-visual {
    display: none;
  }

  .bento-card--telegram {
    min-height: 240px;
  }

  .result-card {
    grid-template-columns: auto 1fr;
  }

  .result-actions {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    min-width: 0;
    margin-top: 4px;
  }

  .result-actions .btn-large {
    flex: 1;
  }

  .result-actions .text-btn {
    margin-left: 4px;
    white-space: nowrap;
  }
}

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

  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .brand__name {
    font-size: 20px;
  }

  .hero__title {
    font-size: clamp(32px, 8vw, 46px);
  }

  .hero__lead {
    font-size: 14px;
    max-width: 470px;
    margin-top: 18px;
  }

  .search-card {
    margin-top: 28px;
    padding: 8px;
    border-radius: 23px;
  }

  .search-field {
    min-height: 58px;
    padding-left: 14px;
    border-radius: 16px;
  }

  .search-field input {
    font-size: 15px;
    height: 46px;
  }

  .search-card__bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 11px 5px 3px;
  }

  .search-hint {
    padding-left: 6px;
    font-size: 11.5px;
  }

  .search-submit {
    width: 100%;
    --btn-h: 48px;
  }

  .quick-platforms {
    gap: 9px 12px;
    font-size: 11.5px;
  }

  .quick-platforms__label {
    width: 100%;
    text-align: center;
  }

  .mini-platform {
    gap: 5px;
  }

  .mini-platform .mono {
    width: 22px;
    height: 22px;
    border-radius: 7px;
    font-size: 8px;
  }

  .trust-row {
    gap: 8px 16px;
    margin-top: 20px;
    font-size: 10.5px;
  }

  .trust-row span:nth-child(3) {
    display: none;
  }

  .workspace {
    margin-top: 28px;
  }

  .mega {
    display: none;
  }

  .preview-card {
    padding: 11px;
    border-radius: 23px;
  }

  .preview-title {
    font-size: 21px;
  }

  .quality-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
  }

  .quality-chip {
    min-height: 57px;
    padding: 9px 10px;
  }

  .quality-chip__top {
    gap: 4px;
  }

  .quality-chip__top b {
    font-size: 13px;
  }

  .quality-chip__top em {
    display: none;
  }

  .quality-chip__size {
    font-size: 10px;
  }

  .preview-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding-top: 16px;
  }

  .quality-note small {
    font-size: 10px;
  }

  #downloadBtn {
    width: 100%;
    min-width: 0;
  }

  .job-card {
    padding: 17px;
    border-radius: 23px;
  }

  .job-main {
    gap: 13px;
  }

  .job-thumb {
    width: 94px;
    height: 62px;
  }

  .progress-ring {
    width: 48px;
    height: 48px;
    right: -11px;
    bottom: -10px;
  }

  .progress-ring span {
    font-size: 9.5px;
  }

  .job-info h2 {
    font-size: 14.5px;
  }

  .job-info p {
    font-size: 10.5px;
  }

  #cancelBtn {
    align-self: flex-start;
    padding: 0 10px;
    height: 32px;
    font-size: 11px;
  }

  .job-foot {
    font-size: 9.5px;
  }

  .job-foot span:first-child {
    max-width: 70%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .result-card {
    padding: 19px;
    border-radius: 23px;
    gap: 14px;
  }

  .result-check {
    width: 50px;
    height: 50px;
    border-radius: 15px;
  }

  .result-check .icon {
    width: 24px;
    height: 24px;
  }

  .result-body h2 {
    font-size: 17px;
  }

  .result-actions {
    flex-wrap: wrap;
  }

  .result-actions .btn {
    height: 46px;
    font-size: 13px;
  }

  .result-actions .text-btn {
    width: 100%;
    justify-content: center;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-head h2 {
    font-size: clamp(25px, 7vw, 34px);
    letter-spacing: -0.055em;
  }

  .section-head p {
    font-size: 13.5px;
  }

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

  .bento-card,
  .bento-card--quality,
  .bento-card--speed,
  .bento-card--sites,
  .bento-card--telegram {
    grid-column: auto;
    min-height: 0;
    padding: 22px;
    border-radius: 21px;
  }

  .bento-card--quality {
    min-height: 276px;
  }

  .quality-visual {
    gap: 7px;
  }

  .file-card {
    padding: 9px;
    gap: 7px;
  }

  .file-card__icon {
    width: 28px;
    height: 28px;
  }

  .file-card__meta b {
    font-size: 10.5px;
  }

  .file-card__meta small {
    font-size: 7.5px;
  }

  .quality-visual__arrow small {
    display: none;
  }

  .speed-visual {
    position: static;
    margin-top: 24px;
    padding: 0;
  }

  .speed-bars {
    height: 54px;
  }

  .stack-visual {
    margin-top: 22px;
  }

  .telegram-copy h3 {
    margin-top: 17px;
  }

  .platforms-section {
    padding-top: 64px;
  }

  .platform-chip {
    height: 43px;
    padding-right: 13px;
    font-size: 11.5px;
  }

  .platform-chip .mono {
    width: 27px;
    height: 27px;
    font-size: 8.5px;
  }

  .faq-item summary {
    padding: 18px 2px;
    font-size: 14px;
    gap: 14px;
  }

  .faq-body {
    padding-right: 12px;
  }

  .faq-body p {
    font-size: 12.5px;
  }

  .cta-card {
    padding: 44px 18px;
    border-radius: 25px;
  }

  .cta-card p {
    font-size: 13px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 22px;
  }

  .footer__links {
    flex-wrap: wrap;
    gap: 18px;
    padding-top: 0;
  }

  .footer__note {
    align-items: flex-start;
    text-align: left;
    padding-top: 0;
  }

  .toast {
    font-size: 11.5px;
  }
}

@media (max-width: 480px) {
  .header__inner {
    gap: 12px;
  }

  .brand__mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .brand__name {
    font-size: 19px;
  }

  .bot-link {
    display: none;
  }

  .icon-btn {
    width: 34px;
    height: 34px;
  }

  .hero {
    padding-top: 44px;
  }

  .hero__badge {
    font-size: 10px;
    gap: 7px;
    padding: 7px 11px;
  }

  .hero__badge-sep {
    display: none;
  }

  .hero__badge span:last-child {
    display: none;
  }

  .hero__title {
    font-size: clamp(30px, 9.3vw, 40px);
    margin-top: 19px;
  }

  .hero__lead {
    font-size: 13px;
  }

  .paste-btn {
    width: 38px;
    padding: 0;
    justify-content: center;
  }

  .paste-btn span {
    display: none;
  }

  .search-field {
    padding-left: 12px;
    gap: 8px;
  }

  .quick-platforms {
    gap: 8px 10px;
  }

  .quick-platforms__more {
    display: none;
  }

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

  .format-switch__label {
    display: none;
  }

  .job-thumb {
    width: 78px;
    height: 54px;
  }

  .job-main {
    flex-wrap: wrap;
  }

  .job-info {
    flex-basis: calc(100% - 92px);
  }

  .job-info h2 {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }

  #cancelBtn {
    margin-left: 91px;
  }

  .job-foot span:first-child {
    display: none;
  }

  .job-foot {
    justify-content: flex-end;
  }

  .result-card {
    grid-template-columns: 1fr;
  }

  .result-check {
    width: 46px;
    height: 46px;
  }

  .result-body {
    margin-top: -4px;
  }

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

  .result-actions .btn {
    width: 100%;
  }

  .history-card {
    flex-basis: 250px;
  }

  .quality-visual {
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
  }

  .quality-visual__arrow {
    transform: rotate(90deg);
    align-self: center;
  }

  .file-card {
    width: 100%;
  }

  .bento-card--quality {
    min-height: 390px;
  }

  .speed-number {
    font-size: 64px;
  }

  .footer__links a {
    font-size: 11px;
  }
}

@media (max-width: 370px) {
  .container {
    padding-inline: 15px;
  }

  .section {
    padding-left: 15px;
    padding-right: 15px;
  }

  .hero__title {
    font-size: 28px;
  }

  .search-hint {
    font-size: 10.5px;
  }
}

/* ------------------------------------------------------------------ motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .marquee__track {
    animation: none;
  }

  .cursor-glow {
    display: none;
  }
}
